Résultats PMD
Le document suivant contient les résultats de PMD 5.5.1.
Fichiers
fr/paris/lutece/plugins/codewizard/business/BusinessObject.java
Violation |
Ligne |
Private field '_attributes' could be made final; it is only initialized in the declaration or constructor. |
51 |
fr/paris/lutece/plugins/codewizard/business/JavaType.java
Violation |
Ligne |
Private field '_strName' could be made final; it is only initialized in the declaration or constructor. |
43 |
Private field '_strPrefix' could be made final; it is only initialized in the declaration or constructor. |
44 |
Private field '_bIsDaoType' could be made final; it is only initialized in the declaration or constructor. |
45 |
Private field '_strImport' could be made final; it is only initialized in the declaration or constructor. |
46 |
Private field '_strTestInitValueFormat' could be made final; it is only initialized in the declaration or constructor. |
47 |
fr/paris/lutece/plugins/codewizard/service/GeneratorService.java
Violation |
Ligne |
Avoid variables with short names like bo |
68 |
Avoid variables with short names like i |
88 |
fr/paris/lutece/plugins/codewizard/service/JavaTypeService.java
Violation |
Ligne |
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. |
47–173 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
48 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
78 |
Avoid variables with short names like jt |
79 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
107 |
Avoid variables with short names like jt |
108 |
Avoid variables with short names like c |
132 |
Avoid using Literals in Conditional Statements |
134 |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
144 |
Avoid variables with short names like c |
168 |
fr/paris/lutece/plugins/codewizard/web/CodeWizardApp.java
Violation |
Ligne |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
123 |
Avoid variables with short names like bo |
147 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
161 |
Avoid variables with short names like bo |
177 |
Avoid using Literals in Conditional Statements |
189 |
Avoid using Literals in Conditional Statements |
195 |