PMD Results
The following document contains the results of PMD 5.3.5.
Files
fr/paris/lutece/plugins/workflow/modules/archive/service/TaskArchive.java
Violation |
Line |
A high number of imports can indicate a high degree of coupling within an object. |
34–378 |
The class 'TaskArchive' has a Standard Cyclomatic Complexity of 4 (Highest = 17). |
94–378 |
The class 'TaskArchive' has a Modified Cyclomatic Complexity of 4 (Highest = 17). |
94–378 |
The class 'TaskArchive' has a Cyclomatic Complexity of 5 (Highest = 23). |
94–378 |
Document empty method |
150–151 |
Document empty method |
176–178 |
The method 'processTask' has a Modified Cyclomatic Complexity of 17. |
184–352 |
The method processTask() has an NPath complexity of 5403 |
184–352 |
The method 'processTask' has a Standard Cyclomatic Complexity of 17. |
184–352 |
Avoid really long methods. |
184–352 |
The method 'processTask' has a Cyclomatic Complexity of 23. |
184–352 |
The method processTask() has an NCSS line count of 100 |
184–352 |
Avoid variables with short names like os |
272 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
346 |
fr/paris/lutece/plugins/workflow/modules/archive/service/WorkflowArchivePlugin.java
Violation |
Line |
Document empty method |
56–58 |
fr/paris/lutece/plugins/workflow/modules/archive/web/ArchiveTaskComponent.java
Violation |
Line |
The class 'ArchiveTaskComponent' has a Cyclomatic Complexity of 4 (Highest = 10). |
74–273 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
126 |
No need to call String.valueOf to append to a string. |
149 |
The method 'doSaveConfig' has a Cyclomatic Complexity of 10. |
219–272 |
fr/paris/lutece/plugins/workflow/modules/archive/web/DownloadArchive.java
Violation |
Line |
Private field '_authenticator' could be made final; it is only initialized in the declaration or constructor. |
84 |
Avoid variables with short names like os |
124 |
Avoid variables with short names like is |
128 |