PMD Results
The following document contains the results of PMD 5.3.5.
Files
fr/paris/lutece/plugins/quiz/modules/exportdirectory/business/FreeHtmlParameterDAO.java
Violation |
Line |
Use block level rather than method level synchronization |
78–88 |
fr/paris/lutece/plugins/quiz/modules/exportdirectory/business/QuizQuestionEntryDAO.java
Violation |
Line |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
132 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
150 |
fr/paris/lutece/plugins/quiz/modules/exportdirectory/service/DirectoryRemovalListener.java
Violation |
Line |
Avoid variables with short names like id |
58 |
Avoid variables with short names like id |
76 |
fr/paris/lutece/plugins/quiz/modules/exportdirectory/service/EntryRemovalListener.java
Violation |
Line |
Avoid variables with short names like id |
54 |
Avoid variables with short names like id |
66 |
fr/paris/lutece/plugins/quiz/modules/exportdirectory/service/QuizExportDirectoryOutputProcessor.java
Violation |
Line |
A high number of imports can indicate a high degree of coupling within an object. |
34–567 |
Possible God class (WMC=63, ATFD=103, TCC=0.02564102564102564) |
34–567 |
The class 'QuizExportDirectoryOutputProcessor' has a Cyclomatic Complexity of 5 (Highest = 22). |
82–567 |
The class 'QuizExportDirectoryOutputProcessor' has a Standard Cyclomatic Complexity of 4 (Highest = 16). |
82–567 |
The class 'QuizExportDirectoryOutputProcessor' has a Modified Cyclomatic Complexity of 4 (Highest = 16). |
82–567 |
The method 'doProcessOutputProcessor' has a Cyclomatic Complexity of 12. |
128–185 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
219 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
261 |
Prefer StringBuffer over += for concatenating strings |
401 |
The method 'updateQuizDirectoryMapping' has a Modified Cyclomatic Complexity of 16. |
425–541 |
The method updateQuizDirectoryMapping() has an NPath complexity of 10818 |
425–541 |
The method 'updateQuizDirectoryMapping' has a Cyclomatic Complexity of 22. |
425–541 |
Avoid really long methods. |
425–541 |
The method 'updateQuizDirectoryMapping' has a Standard Cyclomatic Complexity of 16. |
425–541 |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
436 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
462 |