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/userassignment/business/information/UserTaskInformation.java

Rule Violation Ligne
FieldNamingConventions The final field name '_nIdHistory' doesn't match '[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The final field name '_nIdTask' doesn't match '[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The final field name '_items' doesn't match '[a-z][a-zA-Z0-9]*' 50

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AbstractUserAssignedPrerequisite.java

Rule Violation Ligne
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 60–63
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 72–75

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignCurrentUserResourceTask.java

Rule Violation Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 55

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignUserResourceTask.java

Rule Violation Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 58

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignUserResourceTaskService.java

Rule Violation Ligne
FieldNamingConventions The final field name '_workflowPlugin' doesn't match '[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The final field name '_resourceUserDAO' doesn't match '[a-z][a-zA-Z0-9]*' 59
FieldNamingConventions The final field name '_taskConfigDAO' doesn't match '[a-z][a-zA-Z0-9]*' 60

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/UnassignUserResourceAutomaticTask.java

Rule Violation Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 60
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 61

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/UnassignUserResourceTask.java

Rule Violation Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 58
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 59

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/AssignUserResourceTaskComponent.java

Rule Violation Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 76

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/UnassignUserResourceTaskComponent.java

Rule Violation Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 71

Priority 3

fr/paris/lutece/plugins/workflow/modules/userassignment/business/AssignUserResourceTaskConfigDao.java

Rule Violation Ligne
CommentRequired Header comments are required 39–109

fr/paris/lutece/plugins/workflow/modules/userassignment/service/archiver/WorkflowUserassignmentResourceArchiver.java

Rule Violation Ligne
UnusedPrivateField Avoid unused private fields such as '_anonymizeArchiveProcessingService'. 57

fr/paris/lutece/plugins/workflow/modules/userassignment/service/prerequiste/NoUserAssignedPrerequisite.java

Rule Violation Ligne
CommentRequired Header comments are required 39–60
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 45–48
CommentRequired Public method and constructor comments are required 45–48
CommentRequired Public method and constructor comments are required 50–53
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 50–53

fr/paris/lutece/plugins/workflow/modules/userassignment/service/prerequiste/UserAssignedPrerequisite.java

Rule Violation Ligne
CommentRequired Header comments are required 39–60
CommentRequired Public method and constructor comments are required 45–48
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 45–48
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 50–53
CommentRequired Public method and constructor comments are required 50–53

fr/paris/lutece/plugins/workflow/modules/userassignment/service/prerequiste/UserAssignedToResourcePrerequisite.java

Rule Violation Ligne
CommentRequired Header comments are required 48–111
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 54–57
CommentRequired Public method and constructor comments are required 54–57
CommentRequired Public method and constructor comments are required 59–62
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 59–62

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AbstractUserAssignedPrerequisite.java

Rule Violation Ligne
CommentRequired Header comments are required 47–82
CommentRequired Protected method constructor comments are required 77–81

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignCurrentUserResourceTask.java

Rule Violation Ligne
CommentRequired Header comments are required 49–100
CommentRequired Public method and constructor comments are required 58–63

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignUserResourceTask.java

Rule Violation Ligne
CommentRequired Header comments are required 50–105
CommentRequired Public method and constructor comments are required 61–66

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignUserResourceTaskService.java

Rule Violation Ligne
CommentRequired Header comments are required 55–135

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/IAssignUserResourceTaskService.java

Rule Violation Ligne
CommentRequired Header comments are required 44–87

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/TaskUserAssignmentNotification.java

Rule Violation Ligne
UnusedPrivateField Avoid unused private fields such as '_taskService'. 89
ConfusingTernary Avoid if (x != y) ..; else ..; 125–143
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 159

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/UnassignUserResourceAutomaticTask.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 64–69

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/UnassignUserResourceTask.java

Rule Violation Ligne
CommentRequired Header comments are required 51–106
CommentRequired Public method and constructor comments are required 62–67

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/AssignCurrentUserResourceTaskComponent.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 50–52

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/AssignUserResourceTaskComponent.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 79–83
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 93
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 117
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 128

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/UnassignUserResourceTaskComponent.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 74–78
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 107

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/UserAssignmentNotificationTaskComponent.java

Rule Violation Ligne
UnusedPrivateField Avoid unused private fields such as '_taskService'. 92
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 97
ConfusingTernary Avoid if (x != y) ..; else ..; 120–129

Fichiers

fr/paris/lutece/plugins/workflow/modules/userassignment/business/AssignUserResourceTaskConfigDao.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 39–109

fr/paris/lutece/plugins/workflow/modules/userassignment/business/information/UserTaskInformation.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_nIdHistory' doesn't match '[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The final field name '_nIdTask' doesn't match '[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The final field name '_items' doesn't match '[a-z][a-zA-Z0-9]*' 1 50

fr/paris/lutece/plugins/workflow/modules/userassignment/service/archiver/WorkflowUserassignmentResourceArchiver.java

Rule Violation Priority Ligne
UnusedPrivateField Avoid unused private fields such as '_anonymizeArchiveProcessingService'. 3 57

fr/paris/lutece/plugins/workflow/modules/userassignment/service/prerequiste/NoUserAssignedPrerequisite.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 39–60
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 3 45–48
CommentRequired Public method and constructor comments are required 3 45–48
CommentRequired Public method and constructor comments are required 3 50–53
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 3 50–53

fr/paris/lutece/plugins/workflow/modules/userassignment/service/prerequiste/UserAssignedPrerequisite.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 39–60
CommentRequired Public method and constructor comments are required 3 45–48
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 3 45–48
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 3 50–53
CommentRequired Public method and constructor comments are required 3 50–53

fr/paris/lutece/plugins/workflow/modules/userassignment/service/prerequiste/UserAssignedToResourcePrerequisite.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 48–111
MissingOverride The method 'getTitleI18nKey()' is missing an @Override annotation. 3 54–57
CommentRequired Public method and constructor comments are required 3 54–57
CommentRequired Public method and constructor comments are required 3 59–62
MissingOverride The method 'getPrerequisiteType()' is missing an @Override annotation. 3 59–62

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AbstractUserAssignedPrerequisite.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 47–82
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 1 60–63
EmptyMethodInAbstractClassShouldBeAbstract An empty method in an abstract class should be abstract instead 1 72–75
CommentRequired Protected method constructor comments are required 3 77–81

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignCurrentUserResourceTask.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 49–100
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 1 54
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 1 55
CommentRequired Public method and constructor comments are required 3 58–63

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignUserResourceTask.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 50–105
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 1 57
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
CommentRequired Public method and constructor comments are required 3 61–66

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/AssignUserResourceTaskService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 55–135
FieldNamingConventions The final field name '_workflowPlugin' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FieldNamingConventions The final field name '_resourceUserDAO' doesn't match '[a-z][a-zA-Z0-9]*' 1 59
FieldNamingConventions The final field name '_taskConfigDAO' doesn't match '[a-z][a-zA-Z0-9]*' 1 60

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/IAssignUserResourceTaskService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 44–87

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/TaskUserAssignmentNotification.java

Rule Violation Priority Ligne
UnusedPrivateField Avoid unused private fields such as '_taskService'. 3 89
ConfusingTernary Avoid if (x != y) ..; else ..; 3 125–143
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 159

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/UnassignUserResourceAutomaticTask.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 1 60
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 1 61
CommentRequired Public method and constructor comments are required 3 64–69

fr/paris/lutece/plugins/workflow/modules/userassignment/service/task/UnassignUserResourceTask.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 51–106
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 1 58
FieldNamingConventions The final field name '_resourceHistoryService' doesn't match '[a-z][a-zA-Z0-9]*' 1 59
CommentRequired Public method and constructor comments are required 3 62–67

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/AssignCurrentUserResourceTaskComponent.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 50–52

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/AssignUserResourceTaskComponent.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 1 76
CommentRequired Public method and constructor comments are required 3 79–83
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 93
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 117
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 128

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/UnassignUserResourceTaskComponent.java

Rule Violation Priority Ligne
FieldNamingConventions The final field name '_assignUserResourceTaskService' doesn't match '[a-z][a-zA-Z0-9]*' 1 71
CommentRequired Public method and constructor comments are required 3 74–78
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 107

fr/paris/lutece/plugins/workflow/modules/userassignment/web/task/UserAssignmentNotificationTaskComponent.java

Rule Violation Priority Ligne
UnusedPrivateField Avoid unused private fields such as '_taskService'. 3 92
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 97
ConfusingTernary Avoid if (x != y) ..; else ..; 3 120–129