Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 6.13.0.

Violations By Priority

Priority 1

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

Rule Violation Ligne
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 Ligne
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 Ligne
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 Ligne
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 Ligne
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 Ligne
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 Ligne
FieldNamingConventions The final field name '_configurationHandler' doesn't match '[a-z][a-zA-Z0-9]*' 87
FieldNamingConventions The final field name '_taskFormHandler' doesn't match '[a-z][a-zA-Z0-9]*' 88

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

Rule Violation Ligne
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 Ligne
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 Ligne
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 Ligne
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 Ligne
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 Ligne
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/config/TaskUnitAssignmentNotificationConfig.java

Rule Violation Ligne
CommentRequired Header comments are required 3874

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

Rule Violation Ligne
CommentRequired Header comments are required 39118

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

Rule Violation Ligne
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 Ligne
CommentRequired Header comments are required 42110

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

Rule Violation Ligne
CommentRequired Header comments are required 53126
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 5962
CommentRequired Public method and constructor comments are required 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 Ligne
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
CommentRequired Public method and constructor comments are required 6265
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 6265

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

Rule Violation Ligne
CyclomaticComplexity The method 'buildUnitAssignmentListToDeactivate(List, UnitAssignment)' has a cyclomatic complexity of 13. 278335

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

Rule Violation Ligne
CommentRequired Header comments are required 61152
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 118124

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

Rule Violation Ligne
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 Ligne
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

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

Rule Violation Ligne
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 Ligne
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 Ligne
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 Ligne
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

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

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

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

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

Rule Violation Ligne
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 Ligne
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 Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 69
UnusedLocalVariable Avoid unused local variables such as 'config'. 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 Ligne
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

Rule Violation Ligne
CommentRequired Header comments are required 5189
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 73

Priority 4

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

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 59

Fichiers

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

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3874

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

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 39118

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

Rule Violation Priority Ligne
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 Ligne
CommentRequired Header comments are required 3 42110

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

Rule Violation Priority Ligne
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 Ligne
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 Ligne
CommentRequired Header comments are required 3 53126
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 3 5962
CommentRequired Public method and constructor comments are required 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 Ligne
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
CommentRequired Public method and constructor comments are required 3 6265
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 3 6265

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

Rule Violation Priority Ligne
CyclomaticComplexity The method 'buildUnitAssignmentListToDeactivate(List, UnitAssignment)' has a cyclomatic complexity of 13. 3 278335

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

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 4 59
CommentRequired Header comments are required 3 61152
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 118124

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

Rule Violation Priority Ligne
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

Rule Violation Priority Ligne
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 Ligne
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

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

Rule Violation Priority Ligne
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 Ligne
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 Ligne
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

Rule Violation Priority Ligne
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
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 Ligne
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 Ligne
MissingOverride The method 'setApplicationEventPublisher(ApplicationEventPublisher)' is missing an @Override annotation. 3 5154
CommentRequired Public method and constructor comments are required 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 Ligne
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 Ligne
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 Ligne
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 Ligne
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 69
UnusedLocalVariable Avoid unused local variables such as 'config'. 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 Ligne
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 Ligne
CommentRequired Header comments are required 3 5189
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 73