PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 2
fr/paris/lutece/plugins/subscribe/business/SubscriptionDAO.java
fr/paris/lutece/plugins/subscribe/service/SubscribePlugin.java
Priority 3
fr/paris/lutece/plugins/subscribe/business/Subscription.java
Rule |
Violation |
Line |
AvoidDuplicateLiterals |
The String literal "#i18n{portal.validation.message.notEmpty}" appears 4 times in this file; the first occurrence is on line 53 |
53 |
fr/paris/lutece/plugins/subscribe/business/SubscriptionDAO.java
fr/paris/lutece/plugins/subscribe/service/ISubscriptionProviderService.java
Rule |
Violation |
Line |
CommentRequired |
Public method and constructor comments are required |
68 |
fr/paris/lutece/plugins/subscribe/service/SubscribePlugin.java
fr/paris/lutece/plugins/subscribe/service/SubscriptionService.java
Rule |
Violation |
Line |
ImmutableField |
Private field '_dao' could be made final; it is only initialized in the declaration or constructor. |
57 |
fr/paris/lutece/plugins/subscribe/web/SubscribeApp.java
Rule |
Violation |
Line |
ExcessiveImports |
A high number of imports can indicate a high degree of coupling within an object. |
34–253 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
149 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
175 |
Priority 4
fr/paris/lutece/plugins/subscribe/business/SubscriptionDTO.java
Files
fr/paris/lutece/plugins/subscribe/business/Subscription.java
Rule |
Violation |
Priority |
Line |
AvoidDuplicateLiterals |
The String literal "#i18n{portal.validation.message.notEmpty}" appears 4 times in this file; the first occurrence is on line 53 |
3 |
53 |
fr/paris/lutece/plugins/subscribe/business/SubscriptionDAO.java
fr/paris/lutece/plugins/subscribe/business/SubscriptionDTO.java
fr/paris/lutece/plugins/subscribe/service/ISubscriptionProviderService.java
Rule |
Violation |
Priority |
Line |
CommentRequired |
Public method and constructor comments are required |
3 |
68 |
fr/paris/lutece/plugins/subscribe/service/SubscribePlugin.java
fr/paris/lutece/plugins/subscribe/service/SubscriptionService.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field '_dao' could be made final; it is only initialized in the declaration or constructor. |
3 |
57 |
fr/paris/lutece/plugins/subscribe/web/SubscribeApp.java
Rule |
Violation |
Priority |
Line |
ExcessiveImports |
A high number of imports can indicate a high degree of coupling within an object. |
3 |
34–253 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
149 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
175 |