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/workflow/modules/extendrating/util/Constants.java

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

Priority 3

fr/paris/lutece/plugins/workflow/modules/extendrating/business/UpdateTaskStateResourceConfigDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6075

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceCleanerDaemon.java

Rule Violation Line
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 43 characters appended. 59

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceDaemon.java

Rule Violation Line
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 41 characters appended. 61

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceListener.java

Rule Violation Line
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 88
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 109112
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 117

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceQueueService.java

Rule Violation Line
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 188

fr/paris/lutece/plugins/workflow/modules/extendrating/web/UpdateTaskStateResourceComponent.java

Rule Violation Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 86

Files

fr/paris/lutece/plugins/workflow/modules/extendrating/business/UpdateTaskStateResourceConfigDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6075

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceCleanerDaemon.java

Rule Violation Priority Line
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 43 characters appended. 3 59

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceDaemon.java

Rule Violation Priority Line
InsufficientStringBufferDeclaration StringBuffer constructor is initialized with size 16, but has at least 41 characters appended. 3 61

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceListener.java

Rule Violation Priority Line
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 88
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 109112
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 117

fr/paris/lutece/plugins/workflow/modules/extendrating/service/UpdateTaskStateResourceQueueService.java

Rule Violation Priority Line
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 188

fr/paris/lutece/plugins/workflow/modules/extendrating/util/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 4484

fr/paris/lutece/plugins/workflow/modules/extendrating/web/UpdateTaskStateResourceComponent.java

Rule Violation Priority Line
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 86