Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.5.1.

Files

fr/paris/lutece/plugins/workflow/modules/state/daemon/ChooseStateDaemon.java

Violation Line
The class 'ChooseStateDaemon' has a Cyclomatic Complexity of 11 (Highest = 10). 2895
Private field '_chooseStateTask' could be made final; it is only initialized in the declaration or constructor. 31
Private field '_chooseStateTaskService' could be made final; it is only initialized in the declaration or constructor. 32
Private field '_workflowService' could be made final; it is only initialized in the declaration or constructor. 33
Private field '_resourceWorkflowService' could be made final; it is only initialized in the declaration or constructor. 34
Private field '_actionService' could be made final; it is only initialized in the declaration or constructor. 35
Private field '_taskService' could be made final; it is only initialized in the declaration or constructor. 36
The method 'run' has a Cyclomatic Complexity of 10. 3993
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 85

fr/paris/lutece/plugins/workflow/modules/state/service/task/ChooseStateTask.java

Violation Line
Document empty method 2425

fr/paris/lutece/plugins/workflow/modules/state/web/task/ChooseStateTaskComponent.java

Violation Line
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 40
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 54
Avoid declaring a variable if it is unreferenced before a possible exit point. 54