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/releaser/modules/rest/util/Constants.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3965

Priority 2

fr/paris/lutece/plugins/releaser/modules/rest/rs/SiteRest.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 92

Priority 3

fr/paris/lutece/plugins/releaser/modules/rest/rs/ClusterRest.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 73
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 88

fr/paris/lutece/plugins/releaser/modules/rest/rs/SiteRest.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 71107
AvoidDuplicateLiterals The String literal "Site releaser - Error : " appears 5 times in this file; the first occurrence is on line 88 88
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 126

fr/paris/lutece/plugins/releaser/modules/rest/util/Constants.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like ID 43

Fichiers

fr/paris/lutece/plugins/releaser/modules/rest/rs/ClusterRest.java

Rule Violation Priority Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 73
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 88

fr/paris/lutece/plugins/releaser/modules/rest/rs/SiteRest.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 71107
AvoidDuplicateLiterals The String literal "Site releaser - Error : " appears 5 times in this file; the first occurrence is on line 88 3 88
GuardLogStatement Logger calls should be surrounded by log level guards. 2 92
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 97
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 126

fr/paris/lutece/plugins/releaser/modules/rest/util/Constants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3965
ShortVariable Avoid variables with short names like ID 3 43