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/htmlpage/modules/rest/rs/Constants.java

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

fr/paris/lutece/plugins/htmlpage/modules/rest/util/AllowCorsOriginUtil.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 50125

Priority 3

fr/paris/lutece/plugins/htmlpage/modules/rest/rs/Constants.java

Rule Violation Line
ShortVariable Avoid variables with short names like ID 46

fr/paris/lutece/plugins/htmlpage/modules/rest/rs/HtmlPageRest.java

Rule Violation Line
ShortVariable Avoid variables with short names like id 80
ShortVariable Avoid variables with short names like id 102

fr/paris/lutece/plugins/htmlpage/modules/rest/util/AllowCorsOriginUtil.java

Rule Violation Line
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 113120

Files

fr/paris/lutece/plugins/htmlpage/modules/rest/rs/Constants.java

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

fr/paris/lutece/plugins/htmlpage/modules/rest/rs/HtmlPageRest.java

Rule Violation Priority Line
ShortVariable Avoid variables with short names like id 3 80
ShortVariable Avoid variables with short names like id 3 102

fr/paris/lutece/plugins/htmlpage/modules/rest/util/AllowCorsOriginUtil.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 50125
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 113120