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/elasticdata/modules/identity/business/IdentityAttributeDataObject.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_nIdAttribute' doesn't match '[a-z][a-zA-Z0-9]*' 143
FormalParameterNamingConventions The method parameter name '_strCertifierCode' doesn't match '[a-z][a-zA-Z0-9]*' 153
FormalParameterNamingConventions The method parameter name '_certificateDate' doesn't match '[a-z][a-zA-Z0-9]*' 164
FormalParameterNamingConventions The method parameter name '_certificateExpirationDate' doesn't match '[a-z][a-zA-Z0-9]*' 175
FormalParameterNamingConventions The method parameter name '_strCertificateLevel' doesn't match '[a-z][a-zA-Z0-9]*' 185

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataObject.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_dateLastUpdate' doesn't match '[a-z][a-zA-Z0-9]*' 77
FormalParameterNamingConventions The method parameter name '_mapAttributes' doesn't match '[a-z][a-zA-Z0-9]*' 87
FormalParameterNamingConventions The method parameter name '_dateCreation' doesn't match '[a-z][a-zA-Z0-9]*' 98
FormalParameterNamingConventions The method parameter name '_dateDeleted' doesn't match '[a-z][a-zA-Z0-9]*' 109
FormalParameterNamingConventions The method parameter name '_strConnectionId' doesn't match '[a-z][a-zA-Z0-9]*' 119
FormalParameterNamingConventions The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' 129

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataObjectDAO.java

Rule Violation Ligne
LocalVariableNamingConventions The local variable name 'ListIdentityAttributes' doesn't match '[a-z][a-zA-Z0-9]*' 68

Priority 3

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IIdentityDataObjectDAO.java

Rule Violation Ligne
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'BEAN_NAME': the field is declared in an interface type 47
CommentRequired Public method and constructor comments are required 49
CommentRequired Public method and constructor comments are required 51
CommentRequired Public method and constructor comments are required 53
CommentRequired Public method and constructor comments are required 55

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityAttributeDataObject.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 138141
CommentRequired Public method and constructor comments are required 143146
CommentRequired Public method and constructor comments are required 148151
CommentRequired Public method and constructor comments are required 153156
CommentRequired Public method and constructor comments are required 180183
CommentRequired Public method and constructor comments are required 185188

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityAttributeHome.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 7579
CommentRequired Public method and constructor comments are required 8185
CommentRequired Public method and constructor comments are required 8791

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataObject.java

Rule Violation Ligne
CommentRequired Header comments are required 45134
CallSuperInConstructor It is a good practice to call super() in a constructor 5769
CommentRequired Public method and constructor comments are required 5769
CommentRequired Public method and constructor comments are required 7275
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8285
CommentRequired Public method and constructor comments are required 8790
CommentRequired Public method and constructor comments are required 114117
CommentRequired Public method and constructor comments are required 119122
CommentRequired Public method and constructor comments are required 124127
CommentRequired Public method and constructor comments are required 129132

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataObjectDAO.java

Rule Violation Ligne
UnusedLocalVariable Avoid unused local variables such as 'id'. 72
ControlStatementBraces This statement should have braces 7275
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 161

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataSource.java

Rule Violation Ligne
CommentRequired Header comments are required 49118
DefaultPackage Use explicit scoping instead of the default package private level 51
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _mapAttributes field if you want a default access modifier 51
RedundantFieldInitializer Avoid using redundant field initializer for '_mapAttributes' 51
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 6297
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 101
LinguisticNaming Linguistics Antipattern - The getter 'getAttributesList' should not return void linguistically 110116

Priority 4

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataObject.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.util.List' 38

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataSource.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.sql.Date' 36

fr/paris/lutece/plugins/elasticdata/modules/identity/service/listener/IdentityIndexing.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' 38

Fichiers

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IIdentityDataObjectDAO.java

Rule Violation Priority Ligne
UnnecessaryModifier Unnecessary modifiers 'public static final' on field 'BEAN_NAME': the field is declared in an interface type 3 47
CommentRequired Public method and constructor comments are required 3 49
CommentRequired Public method and constructor comments are required 3 51
CommentRequired Public method and constructor comments are required 3 53
CommentRequired Public method and constructor comments are required 3 55

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityAttributeDataObject.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 138141
CommentRequired Public method and constructor comments are required 3 143146
FormalParameterNamingConventions The method parameter name '_nIdAttribute' doesn't match '[a-z][a-zA-Z0-9]*' 1 143
CommentRequired Public method and constructor comments are required 3 148151
CommentRequired Public method and constructor comments are required 3 153156
FormalParameterNamingConventions The method parameter name '_strCertifierCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 153
FormalParameterNamingConventions The method parameter name '_certificateDate' doesn't match '[a-z][a-zA-Z0-9]*' 1 164
FormalParameterNamingConventions The method parameter name '_certificateExpirationDate' doesn't match '[a-z][a-zA-Z0-9]*' 1 175
CommentRequired Public method and constructor comments are required 3 180183
CommentRequired Public method and constructor comments are required 3 185188
FormalParameterNamingConventions The method parameter name '_strCertificateLevel' doesn't match '[a-z][a-zA-Z0-9]*' 1 185

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityAttributeHome.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 7579
CommentRequired Public method and constructor comments are required 3 8185
CommentRequired Public method and constructor comments are required 3 8791

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataObject.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.util.List' 4 38
CommentRequired Header comments are required 3 45134
CallSuperInConstructor It is a good practice to call super() in a constructor 3 5769
CommentRequired Public method and constructor comments are required 3 5769
CommentRequired Public method and constructor comments are required 3 7275
FormalParameterNamingConventions The method parameter name '_dateLastUpdate' doesn't match '[a-z][a-zA-Z0-9]*' 1 77
CommentRequired Public method and constructor comments are required 3 7780
CommentRequired Public method and constructor comments are required 3 8285
CommentRequired Public method and constructor comments are required 3 8790
FormalParameterNamingConventions The method parameter name '_mapAttributes' doesn't match '[a-z][a-zA-Z0-9]*' 1 87
FormalParameterNamingConventions The method parameter name '_dateCreation' doesn't match '[a-z][a-zA-Z0-9]*' 1 98
FormalParameterNamingConventions The method parameter name '_dateDeleted' doesn't match '[a-z][a-zA-Z0-9]*' 1 109
CommentRequired Public method and constructor comments are required 3 114117
FormalParameterNamingConventions The method parameter name '_strConnectionId' doesn't match '[a-z][a-zA-Z0-9]*' 1 119
CommentRequired Public method and constructor comments are required 3 119122
CommentRequired Public method and constructor comments are required 3 124127
FormalParameterNamingConventions The method parameter name '_strCustomerId' doesn't match '[a-z][a-zA-Z0-9]*' 1 129
CommentRequired Public method and constructor comments are required 3 129132

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataObjectDAO.java

Rule Violation Priority Ligne
LocalVariableNamingConventions The local variable name 'ListIdentityAttributes' doesn't match '[a-z][a-zA-Z0-9]*' 1 68
UnusedLocalVariable Avoid unused local variables such as 'id'. 3 72
ControlStatementBraces This statement should have braces 3 7275
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 77
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 161

fr/paris/lutece/plugins/elasticdata/modules/identity/business/IdentityDataSource.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.sql.Date' 4 36
CommentRequired Header comments are required 3 49118
DefaultPackage Use explicit scoping instead of the default package private level 3 51
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _mapAttributes field if you want a default access modifier 3 51
RedundantFieldInitializer Avoid using redundant field initializer for '_mapAttributes' 3 51
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 6297
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 101
LinguisticNaming Linguistics Antipattern - The getter 'getAttributesList' should not return void linguistically 3 110116

fr/paris/lutece/plugins/elasticdata/modules/identity/service/listener/IdentityIndexing.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'org.apache.commons.lang3.StringUtils' 4 38