PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/workflow/modules/unittree/business/task/information/TaskInformation.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/UnitAssignmentService.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/UnitSelectionService.java
Rule |
Violation |
Line |
FieldNamingConventions |
The final field name '_listUnitSelections' doesn't match '[a-z][a-zA-Z0-9]*' |
52 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/AbstractEmptyConfigurationHandler.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/ParametrableUnitSelection.java
Rule |
Violation |
Line |
FieldNamingConventions |
The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' |
65 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionAssignor.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionFromAll.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionParent.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionSpecificUnit.java
fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEvent.java
Rule |
Violation |
Line |
FieldNamingConventions |
The final field name '_oldAssignmentList' doesn't match '[a-z][a-zA-Z0-9]*' |
49 |
fr/paris/lutece/plugins/workflow/modules/unittree/util/WorkflowUnittreeConstants.java
Rule |
Violation |
Line |
ClassNamingConventions |
The utility class name 'WorkflowUnittreeConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
40–51 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnitAssignmentTaskComponent.java
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnittreeTaskComponent.java
Priority 3
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/config/TaskUnitAssignmentNotificationConfig.java
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/config/TaskUnitAssignmentNotificationConfigDAO.java
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfig.java
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfigDao.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/ChildUnitAssignedResourcePrerequisite.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/UserUnitAssignedResourcePrerequisite.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/AbstractTaskUnitAssignment.java
Rule |
Violation |
Line |
CyclomaticComplexity |
The method 'buildUnitAssignmentListToDeactivate(List, UnitAssignment)' has a cyclomatic complexity of 13. |
278–335 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/TaskUnitAssignmentNotification.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/AbstractEmptyConfigurationHandler.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
61 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/ParametrableUnitSelection.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionAssignor.java
Rule |
Violation |
Line |
ShortVariable |
Avoid variables with short names like ID |
64 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
178 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionFromAll.java
Rule |
Violation |
Line |
ShortVariable |
Avoid variables with short names like ID |
72 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
203 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionParent.java
Rule |
Violation |
Line |
ShortVariable |
Avoid variables with short names like ID |
62 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
181 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionSpecificUnit.java
Rule |
Violation |
Line |
ShortVariable |
Avoid variables with short names like ID |
67 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
184 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
324 |
fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEvent.java
fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEventPublisher.java
Rule |
Violation |
Line |
MissingOverride |
The method 'setApplicationEventPublisher(ApplicationEventPublisher)' is missing an @Override annotation. |
51–54 |
CommentRequired |
Public method and constructor comments are required |
51–54 |
CommentRequired |
Public method and constructor comments are required |
56–59 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnitAssignmentTaskComponent.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
113 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnittreeTaskComponent.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
70 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/UnitAssignmentAutomaticTaskComponent.java
Rule |
Violation |
Line |
UnusedLocalVariable |
Avoid unused local variables such as 'config'. |
69 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
69 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
72 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/UnitAssignmentManualTaskComponent.java
Rule |
Violation |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
100 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
118 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/UnitAssignmentNotificationTaskComponent.java
Priority 4
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/TaskUnitAssignmentNotification.java
Rule |
Violation |
Line |
UnusedImports |
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' |
59 |
Files
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/config/TaskUnitAssignmentNotificationConfig.java
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/config/TaskUnitAssignmentNotificationConfigDAO.java
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfig.java
fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfigDao.java
fr/paris/lutece/plugins/workflow/modules/unittree/business/task/information/TaskInformation.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/UnitAssignmentService.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/ChildUnitAssignedResourcePrerequisite.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/UserUnitAssignedResourcePrerequisite.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/AbstractTaskUnitAssignment.java
Rule |
Violation |
Priority |
Line |
CyclomaticComplexity |
The method 'buildUnitAssignmentListToDeactivate(List, UnitAssignment)' has a cyclomatic complexity of 13. |
3 |
278–335 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/TaskUnitAssignmentNotification.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/UnitSelectionService.java
Rule |
Violation |
Priority |
Line |
FieldNamingConventions |
The final field name '_listUnitSelections' doesn't match '[a-z][a-zA-Z0-9]*' |
1 |
52 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/AbstractEmptyConfigurationHandler.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/ParametrableUnitSelection.java
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionAssignor.java
Rule |
Violation |
Priority |
Line |
ShortVariable |
Avoid variables with short names like ID |
3 |
64 |
FieldNamingConventions |
The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' |
1 |
70 |
FieldNamingConventions |
The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' |
1 |
71 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
178 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionFromAll.java
Rule |
Violation |
Priority |
Line |
ShortVariable |
Avoid variables with short names like ID |
3 |
72 |
FieldNamingConventions |
The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' |
1 |
87 |
FieldNamingConventions |
The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' |
1 |
88 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
203 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionParent.java
Rule |
Violation |
Priority |
Line |
ShortVariable |
Avoid variables with short names like ID |
3 |
62 |
FieldNamingConventions |
The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' |
1 |
68 |
FieldNamingConventions |
The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' |
1 |
69 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
181 |
fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionSpecificUnit.java
fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEvent.java
fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEventPublisher.java
Rule |
Violation |
Priority |
Line |
MissingOverride |
The method 'setApplicationEventPublisher(ApplicationEventPublisher)' is missing an @Override annotation. |
3 |
51–54 |
CommentRequired |
Public method and constructor comments are required |
3 |
51–54 |
CommentRequired |
Public method and constructor comments are required |
3 |
56–59 |
fr/paris/lutece/plugins/workflow/modules/unittree/util/WorkflowUnittreeConstants.java
Rule |
Violation |
Priority |
Line |
ClassNamingConventions |
The utility class name 'WorkflowUnittreeConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
1 |
40–51 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnitAssignmentTaskComponent.java
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnittreeTaskComponent.java
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/UnitAssignmentAutomaticTaskComponent.java
Rule |
Violation |
Priority |
Line |
UnusedLocalVariable |
Avoid unused local variables such as 'config'. |
3 |
69 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
69 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
72 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/UnitAssignmentManualTaskComponent.java
Rule |
Violation |
Priority |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
100 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
118 |
fr/paris/lutece/plugins/workflow/modules/unittree/web/task/UnitAssignmentNotificationTaskComponent.java
Rule |
Violation |
Priority |
Line |
CommentRequired |
Header comments are required |
3 |
51–89 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
73 |