PMD Results
The following document contains the results of PMD 5.5.1.
Files
fr/paris/lutece/plugins/genericattributes/modules/ocr/business/MappingHome.java
Violation |
Line |
Singleton is not thread safe |
105–108 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/exceptions/CallOcrException.java
Violation |
Line |
Avoid variables with short names like e |
67 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/service/OcrCniProvider.java
Violation |
Line |
Avoid unused private fields such as 'PROPERTY_AUTHORIZED_ENTRY_TYPE'. |
58 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/service/OcrDriverLicenceProvider.java
Violation |
Line |
Avoid unused imports such as 'java.util.Map' |
37 |
Avoid unused imports such as 'java.util.Map' |
37 |
Avoid unused private fields such as 'PROPERTY_AUTHORIZED_ENTRY_TYPE'. |
59 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/service/OcrRibProvider.java
Violation |
Line |
Avoid unused private fields such as 'PROPERTY_AUTHORIZED_ENTRY_TYPE'. |
59 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/service/OcrTaxAssessmentProvider.java
Violation |
Line |
Avoid unused imports such as 'java.util.Map' |
37 |
Avoid unused imports such as 'java.util.Map' |
37 |
Avoid unused private fields such as 'PROPERTY_AUTHORIZED_ENTRY_TYPE'. |
59 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/service/listener/OcrEntryListener.java
Violation |
Line |
Document empty method |
56–57 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/utils/OcrProviderUtils.java
Violation |
Line |
A high number of imports can indicate a high degree of coupling within an object. |
1–399 |
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. |
39–399 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
58 |
Avoid variables with short names like p |
63 |
Avoid variables with short names like ma |
63 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
79 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
108 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
110 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
117 |
Avoid using implementation types like 'HashMap'; use the interface instead |
117 |
Avoid using implementation types like 'HashMap'; use the interface instead |
117 |
fr/paris/lutece/plugins/genericattributes/modules/ocr/web/ModifyMappingOcrJspBean.java
Violation |
Line |
Avoid variables with short names like c |
172 |