Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

fr/paris/lutece/plugins/form/modules/comparevalidators/business/Rule.java

Violation Line
Avoid short class names like Rule 39175

fr/paris/lutece/plugins/form/modules/comparevalidators/service/CompareValidatorsResourceIdService.java

Violation Line
It is a good practice to call super() in a constructor 6063
Avoid variables with short names like rt 70
Avoid variables with short names like p 76

fr/paris/lutece/plugins/form/modules/comparevalidators/service/CompareValidatorsService.java

Violation Line
Avoid unused private fields such as 'PLUGIN_FORM'. 62

fr/paris/lutece/plugins/form/modules/comparevalidators/service/validator/CompareValidatorsValidator.java

Violation Line
A high number of imports can indicate a high degree of coupling within an object. 34272
The class 'CompareValidatorsValidator' has a Standard Cyclomatic Complexity of 4 (Highest = 11). 77272
The class 'CompareValidatorsValidator' has a Modified Cyclomatic Complexity of 4 (Highest = 11). 77272
The class 'CompareValidatorsValidator' has a Cyclomatic Complexity of 4 (Highest = 11). 77272
Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. 99
Singleton is not thread safe 109112
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 135
The method 'validateForm' has a Cyclomatic Complexity of 11. 209271
The method 'validateForm' has a Modified Cyclomatic Complexity of 11. 209271
The method 'validateForm' has a Standard Cyclomatic Complexity of 11. 209271

fr/paris/lutece/plugins/form/modules/comparevalidators/web/CompareValidatorsJspBean.java

Violation Line
The class 'CompareValidatorsJspBean' has a Cyclomatic Complexity of 4 (Highest = 11). 69279
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 123
The method 'getFields' has a Cyclomatic Complexity of 11. 178231