Fork me on GitHub

Résultats PMD

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

Fichiers

fr/paris/lutece/plugins/workflow/modules/formincrement/business/TaskFormIncrementConfigDAO.java

Violation Ligne
Use block level rather than method level synchronization 6071

fr/paris/lutece/plugins/workflow/modules/formincrement/service/FormIncrementPlugin.java

Violation Ligne
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 4759

fr/paris/lutece/plugins/workflow/modules/formincrement/service/TaskFormIncrement.java

Violation Ligne
Avoid unused imports such as 'fr.paris.lutece.plugins.form.utils.FormUtils' 45
Avoid unused imports such as 'fr.paris.lutece.plugins.form.utils.FormUtils' 45
The class 'TaskFormIncrement' has a Cyclomatic Complexity of 5 (Highest = 10). 70180
The method 'processTask' has a Cyclomatic Complexity of 10. 91153
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 139
Avoid throwing raw exception types. 141
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 147
Avoid throwing raw exception types. 149
New exception is thrown in catch block, original stack trace may be lost 149

fr/paris/lutece/plugins/workflow/modules/formincrement/web/FormIncrementTaskComponent.java

Violation Ligne
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 84