PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/workflow/modules/alertforms/business/retrieval/RetrievalTypeFactory.java
Rule |
Violation |
Line |
ClassNamingConventions |
The utility class name 'RetrievalTypeFactory' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
45–83 |
fr/paris/lutece/plugins/workflow/modules/alertforms/util/constants/AlertConstants.java
Rule |
Violation |
Line |
ClassNamingConventions |
The utility class name 'AlertConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
41–97 |
Priority 3
fr/paris/lutece/plugins/workflow/modules/alertforms/business/AlertDAO.java
fr/paris/lutece/plugins/workflow/modules/alertforms/business/TaskAlertConfigDAO.java
fr/paris/lutece/plugins/workflow/modules/alertforms/service/AlertService.java
fr/paris/lutece/plugins/workflow/modules/alertforms/service/TaskAlert.java
fr/paris/lutece/plugins/workflow/modules/alertforms/service/daemon/AlertCleanerDaemon.java
fr/paris/lutece/plugins/workflow/modules/alertforms/service/daemon/AlertDaemon.java
fr/paris/lutece/plugins/workflow/modules/alertforms/util/constants/AlertConstants.java
Rule |
Violation |
Line |
ShortVariable |
Avoid variables with short names like ID |
45 |
fr/paris/lutece/plugins/workflow/modules/alertforms/web/AlertTaskComponent.java
Priority 4
fr/paris/lutece/plugins/workflow/modules/alertforms/service/AlertService.java
Rule |
Violation |
Line |
UnusedImports |
Avoid unused imports such as 'java.text.ParseException' |
67 |
UnusedImports |
Avoid unused imports such as 'java.text.SimpleDateFormat' |
68 |
fr/paris/lutece/plugins/workflow/modules/alertforms/web/AlertTaskComponent.java
Rule |
Violation |
Line |
UnusedImports |
Avoid unused imports such as 'fr.paris.lutece.plugins.workflowcore.business.state.State' |
43 |
Files
fr/paris/lutece/plugins/workflow/modules/alertforms/business/AlertDAO.java
fr/paris/lutece/plugins/workflow/modules/alertforms/business/TaskAlertConfigDAO.java
fr/paris/lutece/plugins/workflow/modules/alertforms/business/retrieval/RetrievalTypeFactory.java
Rule |
Violation |
Priority |
Line |
ClassNamingConventions |
The utility class name 'RetrievalTypeFactory' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
1 |
45–83 |
fr/paris/lutece/plugins/workflow/modules/alertforms/service/AlertService.java
fr/paris/lutece/plugins/workflow/modules/alertforms/service/TaskAlert.java
fr/paris/lutece/plugins/workflow/modules/alertforms/service/daemon/AlertCleanerDaemon.java
fr/paris/lutece/plugins/workflow/modules/alertforms/service/daemon/AlertDaemon.java
fr/paris/lutece/plugins/workflow/modules/alertforms/util/constants/AlertConstants.java
Rule |
Violation |
Priority |
Line |
ClassNamingConventions |
The utility class name 'AlertConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
1 |
41–97 |
ShortVariable |
Avoid variables with short names like ID |
3 |
45 |
fr/paris/lutece/plugins/workflow/modules/alertforms/web/AlertTaskComponent.java
Rule |
Violation |
Priority |
Line |
UnusedImports |
Avoid unused imports such as 'fr.paris.lutece.plugins.workflowcore.business.state.State' |
4 |
43 |
UnusedPrivateField |
Avoid unused private fields such as '_stateService'. |
3 |
76 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
86 |
UnusedLocalVariable |
Avoid unused local variables such as 'resourceHistory'. |
3 |
111 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
111 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
116 |