Résultats PMD
Le document suivant contient les résultats de 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 |
Ligne |
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 |
Ligne |
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 |
Ligne |
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 |
Ligne |
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
Fichiers
fr/paris/lutece/plugins/subscribe/business/Subscription.java
Rule |
Violation |
Priority |
Ligne |
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
Rule |
Violation |
Priority |
Ligne |
BooleanGetMethodName |
A getX() method which returns a boolean should be named isX() |
4 |
93–96 |
fr/paris/lutece/plugins/subscribe/service/ISubscriptionProviderService.java
Rule |
Violation |
Priority |
Ligne |
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 |
Ligne |
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 |
Ligne |
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 |