Le document suivant contient les résultats de PMD 6.13.0.
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 3–34 |
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 3–34 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_strCustomerEmail' doesn't match '[a-z][a-zA-Z0-9]*' | 87 |
FieldNamingConventions | The final field name '_strConnectionId' doesn't match '[a-z][a-zA-Z0-9]*' | 88 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 89 |
FieldNamingConventions | The final field name '_strCustomerPhoneNumber' doesn't match '[a-z][a-zA-Z0-9]*' | 90 |
FieldNamingConventions | The final field name '_strDemandReference' doesn't match '[a-z][a-zA-Z0-9]*' | 91 |
FieldNamingConventions | The final field name '_strDemandTypeId' doesn't match '[a-z][a-zA-Z0-9]*' | 92 |
FieldNamingConventions | The final field name '_strProviderId' doesn't match '[a-z][a-zA-Z0-9]*' | 93 |
FieldNamingConventions | The final field name '_strProvideDemandeId' doesn't match '[a-z][a-zA-Z0-9]*' | 94 |
FieldNamingConventions | The final field name '_strBaseUrl' doesn't match '[a-z][a-zA-Z0-9]*' | 95 |
FieldNamingConventions | The final field name '_nIdFormResponse' doesn't match '[a-z][a-zA-Z0-9]*' | 96 |
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 97 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 3–34 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–407 |
DataClass | The class 'FormsProvider' is suspected to be a Data Class (WOC=0.000%, NOPA=5, NOAM=0, WMC=16) | 83–407 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 245 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 325 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 335–356 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 355 |
UnusedFormalParameter | Avoid unused method parameters such as 'formResponse'. | 395 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 3–34 |
CommentRequired | Header comments are required | 3 | 3–34 |
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 3–34 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–407 |
DataClass | The class 'FormsProvider' is suspected to be a Data Class (WOC=0.000%, NOPA=5, NOAM=0, WMC=16) | 3 | 83–407 |
FieldNamingConventions | The final field name '_strCustomerEmail' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 87 |
FieldNamingConventions | The final field name '_strConnectionId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 88 |
FieldNamingConventions | The final field name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 89 |
FieldNamingConventions | The final field name '_strCustomerPhoneNumber' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 90 |
FieldNamingConventions | The final field name '_strDemandReference' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 91 |
FieldNamingConventions | The final field name '_strDemandTypeId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 92 |
FieldNamingConventions | The final field name '_strProviderId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 93 |
FieldNamingConventions | The final field name '_strProvideDemandeId' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 94 |
FieldNamingConventions | The final field name '_strBaseUrl' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 95 |
FieldNamingConventions | The final field name '_nIdFormResponse' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 96 |
FieldNamingConventions | The final field name '_request' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 97 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 245 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 325 |
ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 335–356 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 355 |
UnusedFormalParameter | Avoid unused method parameters such as 'formResponse'. | 3 | 395 |