Fork me on GitHub

Résultats PMD

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

Violations By Priority

Priority 1

fr/paris/lutece/plugins/notifygru/modules/forms/services/provider/Constants.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 334
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 334

fr/paris/lutece/plugins/notifygru/modules/forms/services/provider/FormsProvider.java

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

Priority 3

fr/paris/lutece/plugins/notifygru/modules/forms/services/provider/Constants.java

Rule Violation Ligne
CommentRequired Header comments are required 334

fr/paris/lutece/plugins/notifygru/modules/forms/services/provider/FormsProvider.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34407
DataClass The class 'FormsProvider' is suspected to be a Data Class (WOC=0.000%, NOPA=5, NOAM=0, WMC=16) 83407
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 335356
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 355
UnusedFormalParameter Avoid unused method parameters such as 'formResponse'. 395

Fichiers

fr/paris/lutece/plugins/notifygru/modules/forms/services/provider/Constants.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 334
CommentRequired Header comments are required 3 334
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 334

fr/paris/lutece/plugins/notifygru/modules/forms/services/provider/FormsProvider.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34407
DataClass The class 'FormsProvider' is suspected to be a Data Class (WOC=0.000%, NOPA=5, NOAM=0, WMC=16) 3 83407
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 335356
UseStringBufferForStringAppends Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings 3 355
UnusedFormalParameter Avoid unused method parameters such as 'formResponse'. 3 395