Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 5.3.5.

Fichiers

fr/paris/lutece/plugins/directory/modules/solr/search/SolrDirectoryIndexer.java

Violation Ligne
A high number of imports can indicate a high degree of coupling within an object. 34447
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). 86447
The class 'SolrDirectoryIndexer' has a Standard Cyclomatic Complexity of 3 (Highest = 11). 86447
The class 'SolrDirectoryIndexer' has a Cyclomatic Complexity of 3 (Highest = 14). 86447
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. 295397
The method 'getDocument' has a Modified Cyclomatic Complexity of 11. 295397
The method 'getDocument' has a Cyclomatic Complexity of 14. 295397
Avoid really long methods. 295397
The method getDocument() has an NPath complexity of 720 295397
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