Fork me on GitHub

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

Rule Violation Line
FieldNamingConventions The final field name '_nIdHistory' doesn't match '[a-z][a-zA-Z0-9]*' 45
FieldNamingConventions The final field name '_nIdTask' doesn't match '[a-z][a-zA-Z0-9]*' 46
FieldNamingConventions The final field name '_items' doesn't match '[a-z][a-zA-Z0-9]*' 47

fr/paris/lutece/plugins/workflow/modules/unittree/service/UnitAssignmentService.java

Rule Violation Line
FieldNamingConventions The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' 51

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

Rule Violation Line
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 7275
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 8184

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

Rule Violation Line
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 70
FieldNamingConventions The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' 71

fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionFromAll.java

Rule Violation Line
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 76
FieldNamingConventions The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' 77

fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionParent.java

Rule Violation Line
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 68
FieldNamingConventions The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' 69

fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/UnitSelectionSpecificUnit.java

Rule Violation Line
FieldNamingConventions The final field name '_unitService' doesn't match '[a-z][a-zA-Z0-9]*' 70
FieldNamingConventions The final field name '_configDAO' doesn't match '[a-z][a-zA-Z0-9]*' 71
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 73
FieldNamingConventions The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' 74

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)' 4051

fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnitAssignmentTaskComponent.java

Rule Violation Line
FieldNamingConventions The final field name '_strId' doesn't match '[a-z][a-zA-Z0-9]*' 262
FieldNamingConventions The final field name '_strTitle' doesn't match '[a-z][a-zA-Z0-9]*' 263
FieldNamingConventions The final field name '_strHtmlForm' doesn't match '[a-z][a-zA-Z0-9]*' 264

fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnittreeTaskComponent.java

Rule Violation Line
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 8588

Priority 3

fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfig.java

Rule Violation Line
CommentRequired Header comments are required 4387
CommentRequired Public method and constructor comments are required 6471

fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfigDao.java

Rule Violation Line
CommentRequired Header comments are required 42110

fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/ChildUnitAssignedResourcePrerequisite.java

Rule Violation Line
CommentRequired Header comments are required 53126
CommentRequired Public method and constructor comments are required 5962
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 5962
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 6467
CommentRequired Public method and constructor comments are required 6467

fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/UserUnitAssignedResourcePrerequisite.java

Rule Violation Line
CommentRequired Header comments are required 51122
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 5760
CommentRequired Public method and constructor comments are required 5760
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 6265
CommentRequired Public method and constructor comments are required 6265

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. 278335

fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/UnitSelectionService.java

Rule Violation Line
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 111

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

Rule Violation Line
CommentRequired Header comments are required 58217
ShortVariable Avoid variables with short names like ID 60
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 144
ConfusingTernary Avoid if (x != y) ..; else ..; 148159
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 174
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 192
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 197
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 202

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
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 176
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 64
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 180
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 197

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
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 179
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
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 203
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 217
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 236
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 264
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 279
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 288
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 322
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

Rule Violation Line
CommentRequired Public method and constructor comments are required 5155

fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEventPublisher.java

Rule Violation Line
CommentRequired Public method and constructor comments are required 5154
MissingOverride The method 'setApplicationEventPublisher(ApplicationEventPublisher)' is missing an @Override annotation. 5154
CommentRequired Public method and constructor comments are required 5659

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
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 73

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

Files

fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfig.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4387
CommentRequired Public method and constructor comments are required 3 6471

fr/paris/lutece/plugins/workflow/modules/unittree/business/assignment/task/selection/config/ParametrableUnitSelectionConfigDao.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 42110

fr/paris/lutece/plugins/workflow/modules/unittree/business/task/information/TaskInformation.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_nIdHistory' doesn't match '[a-z][a-zA-Z0-9]*' 1 45
FieldNamingConventions The final field name '_nIdTask' doesn't match '[a-z][a-zA-Z0-9]*' 1 46
FieldNamingConventions The final field name '_items' doesn't match '[a-z][a-zA-Z0-9]*' 1 47

fr/paris/lutece/plugins/workflow/modules/unittree/service/UnitAssignmentService.java

Rule Violation Priority Line
FieldNamingConventions The constant name '_plugin' doesn't match '[A-Z][A-Z_0-9]*' 1 51

fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/ChildUnitAssignedResourcePrerequisite.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 53126
CommentRequired Public method and constructor comments are required 3 5962
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 3 5962
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 3 6467
CommentRequired Public method and constructor comments are required 3 6467

fr/paris/lutece/plugins/workflow/modules/unittree/service/prerequisite/UserUnitAssignedResourcePrerequisite.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 51122
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 3 5760
CommentRequired Public method and constructor comments are required 3 5760
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 3 6265
CommentRequired Public method and constructor comments are required 3 6265

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 278335

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
AccessorClassGeneration Avoid instantiation through private constructors from outside of the constructors class. 3 111

fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/AbstractEmptyConfigurationHandler.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 61
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 1 7275
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 1 8184

fr/paris/lutece/plugins/workflow/modules/unittree/service/task/selection/impl/ParametrableUnitSelection.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 58217
ShortVariable Avoid variables with short names like ID 3 60
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 144
ConfusingTernary Avoid if (x != y) ..; else ..; 3 148159
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 174
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 192
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 197
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 202

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
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 176
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 64
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 1 76
FieldNamingConventions The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' 1 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 180
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 197

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
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 179
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

Rule Violation Priority Line
ShortVariable Avoid variables with short names like ID 3 67
FieldNamingConventions The final field name '_unitService' doesn't match '[a-z][a-zA-Z0-9]*' 1 70
FieldNamingConventions The final field name '_configDAO' doesn't match '[a-z][a-zA-Z0-9]*' 1 71
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 1 73
FieldNamingConventions The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' 1 74
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 184
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 203
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 217
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 236
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 264
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 279
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 288
AccessorMethodGeneration Avoid autogenerated methods to access private fields and methods of inner / outer classes 3 322
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 324

fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEvent.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_oldAssignmentList' doesn't match '[a-z][a-zA-Z0-9]*' 1 49
CommentRequired Public method and constructor comments are required 3 5155

fr/paris/lutece/plugins/workflow/modules/unittree/util/ChangeUnitEventPublisher.java

Rule Violation Priority Line
CommentRequired Public method and constructor comments are required 3 5154
MissingOverride The method 'setApplicationEventPublisher(ApplicationEventPublisher)' is missing an @Override annotation. 3 5154
CommentRequired Public method and constructor comments are required 3 5659

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 4051

fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnitAssignmentTaskComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 113
FieldNamingConventions The final field name '_strId' doesn't match '[a-z][a-zA-Z0-9]*' 1 262
FieldNamingConventions The final field name '_strTitle' doesn't match '[a-z][a-zA-Z0-9]*' 1 263
FieldNamingConventions The final field name '_strHtmlForm' doesn't match '[a-z][a-zA-Z0-9]*' 1 264

fr/paris/lutece/plugins/workflow/modules/unittree/web/task/AbstractUnittreeTaskComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 70
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 1 8588

fr/paris/lutece/plugins/workflow/modules/unittree/web/task/UnitAssignmentAutomaticTaskComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 73

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