Fork me on GitHub

Résultats PMD

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

Violations By Priority

Priority 3

fr/paris/lutece/plugins/announce/modules/workflow/business/TaskChangeAnnounceStatusConfigDAO.java

Rule Violation Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 55–66

fr/paris/lutece/plugins/announce/modules/workflow/business/TaskNotifyAnnounceConfigDAO.java

Rule Violation Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 59–75

fr/paris/lutece/plugins/announce/modules/workflow/business/prerequisite/PublicationDatePrerequisiteConfig.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 43–82

fr/paris/lutece/plugins/announce/modules/workflow/service/AnnounceConfigService.java

Rule Violation Ligne
UselessOverridingMethod Overriding method merely calls super 51–54
UselessOverridingMethod Overriding method merely calls super 60–63
UselessOverridingMethod Overriding method merely calls super 69–72

fr/paris/lutece/plugins/announce/modules/workflow/service/TaskNotifyAnnounce.java

Rule Violation Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 98
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 163
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 163

fr/paris/lutece/plugins/announce/modules/workflow/service/prerequisite/PublicationDatePrerequisite.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 118
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 118

fr/paris/lutece/plugins/announce/modules/workflow/web/ChangeAnnounceStatusTaskComponent.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 122
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 122

fr/paris/lutece/plugins/announce/modules/workflow/web/NotifyAnnounceTaskComponent.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 122
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 122
CyclomaticComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask)' has a cyclomatic complexity of 11. 138–208
NPathComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask)' has an NPath complexity of 512 138–208
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 144
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 145

Priority 4

fr/paris/lutece/plugins/announce/modules/workflow/business/TaskChangeAnnounceStatusConfig.java

Rule Violation Ligne
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 50–53

Fichiers

fr/paris/lutece/plugins/announce/modules/workflow/business/TaskChangeAnnounceStatusConfig.java

Rule Violation Priority Ligne
BooleanGetMethodName A getX() method which returns a boolean should be named isX() 4 50–53

fr/paris/lutece/plugins/announce/modules/workflow/business/TaskChangeAnnounceStatusConfigDAO.java

Rule Violation Priority Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 55–66

fr/paris/lutece/plugins/announce/modules/workflow/business/TaskNotifyAnnounceConfigDAO.java

Rule Violation Priority Ligne
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 59–75

fr/paris/lutece/plugins/announce/modules/workflow/business/prerequisite/PublicationDatePrerequisiteConfig.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 43–82

fr/paris/lutece/plugins/announce/modules/workflow/service/AnnounceConfigService.java

Rule Violation Priority Ligne
UselessOverridingMethod Overriding method merely calls super 3 51–54
UselessOverridingMethod Overriding method merely calls super 3 60–63
UselessOverridingMethod Overriding method merely calls super 3 69–72

fr/paris/lutece/plugins/announce/modules/workflow/service/TaskNotifyAnnounce.java

Rule Violation Priority Ligne
ConfusingTernary Avoid if (x != y) ..; else ..; 3 98
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 163
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 163

fr/paris/lutece/plugins/announce/modules/workflow/service/prerequisite/PublicationDatePrerequisite.java

Rule Violation Priority Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 118
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 118

fr/paris/lutece/plugins/announce/modules/workflow/web/ChangeAnnounceStatusTaskComponent.java

Rule Violation Priority Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 122
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 122

fr/paris/lutece/plugins/announce/modules/workflow/web/NotifyAnnounceTaskComponent.java

Rule Violation Priority Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 122
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 122
CyclomaticComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask)' has a cyclomatic complexity of 11. 3 138–208
NPathComplexity The method 'doSaveConfig(HttpServletRequest, Locale, ITask)' has an NPath complexity of 512 3 138–208
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 144
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 145