Résultats PMD
Le document suivant contient les résultats de PMD 5.3.5.
Fichiers
fr/paris/lutece/plugins/search/solr/nutch/business/NutchSearchEngine.java
Violation |
Ligne |
Singleton is not thread safe |
83–86 |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
100 |
Avoid reassigning parameters such as 'strQuery' |
120 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid reassigning parameters such as 's' |
171 |
Avoid variables with short names like s |
171 |
Avoid reassigning parameters such as 's' |
171 |
fr/paris/lutece/plugins/search/solr/nutch/business/NutchSearchItem.java
Violation |
Ligne |
It is a good practice to call super() in a constructor |
58–64 |
fr/paris/lutece/plugins/search/solr/nutch/business/NutchServerService.java
Violation |
Ligne |
Private field '_solrServer' could be made final; it is only initialized in the declaration or constructor. |
54 |
Singleton is not thread safe |
70–73 |
fr/paris/lutece/plugins/search/solr/nutch/util/NutchUtil.java
Violation |
Ligne |
Avoid using Literals in Conditional Statements |
109 |
fr/paris/lutece/plugins/search/solr/nutch/web/NutchSearchApp.java
Violation |
Ligne |
Avoid instantiating Integer objects. Call Integer.valueOf() instead. |
132 |
Prefer StringBuffer over += for concatenating strings |
135 |
Prefer StringBuffer over += for concatenating strings |
135 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
159 |