Le document suivant contient les résultats de PMD 5.3.5.
Violation | Ligne |
---|---|
A high number of imports can indicate a high degree of coupling within an object. | 34–447 |
Avoid unused imports such as 'java.io.Reader' | 39 |
Avoid unused imports such as 'java.io.Reader' | 39 |
Avoid unused imports such as 'java.io.StringReader' | 40 |
Avoid unused imports such as 'java.io.StringReader' | 40 |
The class 'SolrDirectoryIndexer' has a Modified Cyclomatic Complexity of 3 (Highest = 11). | 86–447 |
The class 'SolrDirectoryIndexer' has a Standard Cyclomatic Complexity of 3 (Highest = 11). | 86–447 |
The class 'SolrDirectoryIndexer' has a Cyclomatic Complexity of 3 (Highest = 14). | 86–447 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 191 |
Avoid declaring a variable if it is unreferenced before a possible exit point. | 222 |
Avoid throwing raw exception types. | 279 |
The method 'getDocument' has a Standard Cyclomatic Complexity of 11. | 295–397 |
The method 'getDocument' has a Modified Cyclomatic Complexity of 11. | 295–397 |
The method 'getDocument' has a Cyclomatic Complexity of 14. | 295–397 |
Avoid really long methods. | 295–397 |
The method getDocument() has an NPath complexity of 720 | 295–397 |
Avoid declaring a variable if it is unreferenced before a possible exit point. | 299 |
Avoid printStackTrace(); use a logger call instead. | 344 |
Avoid printStackTrace(); use a logger call instead. | 346 |
Avoid variables with short names like sb | 415 |
Avoid appending characters as strings in StringBuffer.append. | 423 |
Avoid variables with short names like sb | 442 |