PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/Constants.java
Rule |
Violation |
Line |
ClassNamingConventions |
The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
39–69 |
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SubscriptionRest.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SwaggerRest.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/service/NotificationAlertBroadcastService.java
Priority 2
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SubscriptionRest.java
Rule |
Violation |
Line |
LoggerIsNotStaticFinal |
The Logger variable declaration does not contain the static and final modifiers |
65 |
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SwaggerRest.java
Rule |
Violation |
Line |
LoggerIsNotStaticFinal |
The Logger variable declaration does not contain the static and final modifiers |
69 |
Priority 3
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/Constants.java
Rule |
Violation |
Line |
ShortVariable |
Avoid variables with short names like ID |
45 |
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SubscriptionRest.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SwaggerRest.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/service/NotificationAlertBroadcastService.java
Rule |
Violation |
Line |
UseUtilityClass |
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
59–159 |
CommentRequired |
Public method and constructor comments are required |
78–147 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
90 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
91 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
129 |
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/web/AbstractManageSubscriptionsJspBean.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/web/SubscriptionJspBean.java
Priority 4
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/service/NotificationAlertBroadcastService.java
Rule |
Violation |
Line |
UnusedImports |
Avoid unused imports such as 'java.util.Map.Entry' |
52 |
Files
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/Constants.java
Rule |
Violation |
Priority |
Line |
ClassNamingConventions |
The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
1 |
39–69 |
ShortVariable |
Avoid variables with short names like ID |
3 |
45 |
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SubscriptionRest.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/rs/SwaggerRest.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/service/NotificationAlertBroadcastService.java
Rule |
Violation |
Priority |
Line |
UnusedImports |
Avoid unused imports such as 'java.util.Map.Entry' |
4 |
52 |
UseUtilityClass |
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
3 |
59–159 |
FieldNamingConventions |
The static field name 'DEMAND_SERVICE_BEAN_NAME' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
62 |
FieldNamingConventions |
The static field name 'STATUS_FAILED' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
63 |
FieldNamingConventions |
The static field name 'KEY_NOTIFICATION_EVENT_LIST' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
64 |
FieldNamingConventions |
The static field name 'KEY_START' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
65 |
FieldNamingConventions |
The static field name 'KEY_END' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
66 |
FieldNamingConventions |
The static field name 'PROPERTY_GRU_ALERTS_FROM_NAME' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
68 |
FieldNamingConventions |
The static field name 'PROPERTY_GRU_ALERTS_FROM_MAIL' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
69 |
FieldNamingConventions |
The static field name 'PROPERTY_GRU_ALERTS_SUBJECT' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
70 |
FieldNamingConventions |
The static field name 'GRU_ALERTS_FROM_NAME' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
71 |
FieldNamingConventions |
The static field name 'GRU_ALERTS_FROM_MAIL' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
72 |
FieldNamingConventions |
The static field name 'GRU_ALERTS_SUBJECT' doesn't match '_[a-z][a-zA-Z0-9]*' |
1 |
73 |
CommentRequired |
Public method and constructor comments are required |
3 |
78–147 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
90 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
91 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
129 |
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/web/AbstractManageSubscriptionsJspBean.java
fr/paris/lutece/plugins/grustoragedb/modules/broadcast/web/SubscriptionJspBean.java