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/identityquality/v3/web/rs/service/HttpApiManagerAccessTransport.java

Rule Violation Ligne
FieldNamingConventions The constant name '_objectMapper' doesn't match '[A-Z][A-Z_0-9]*' 63

fr/paris/lutece/plugins/identityquality/v3/web/service/CustomResponseStatusValidator.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 3860
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 40

Priority 3

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/AbstractTransportRest.java

Rule Violation Ligne
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 4691

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/HttpAccessTransport.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 64435
CommentRequired Public method and constructor comments are required 6871
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 81
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 91
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 108
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 122
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 139
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 153
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 170
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 184
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 214
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 244
UnusedLocalVariable Avoid unused local variables such as 'mapHeadersResponse'. 256
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 256
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 256
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 279
ShortVariable Avoid variables with short names like e 297
MissingOverride The method 'setApiEndPointUrl(String)' is missing an @Override annotation. 331335
MissingOverride The method 'getApiEndPointUrl()' is missing an @Override annotation. 342346
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 367
ShortVariable Avoid variables with short names like er 370
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 401
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 419
ShortVariable Avoid variables with short names like er 422

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/HttpApiManagerAccessTransport.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 101
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 101
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 102
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 102
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 117

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/IdentityQualityTransportRest.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 112
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 117
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 138
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 143
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 159
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 164
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 182
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 205
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 222
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 238
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 254

fr/paris/lutece/plugins/identityquality/v3/web/service/CustomResponseStatusValidator.java

Rule Violation Ligne
CommentRequired Header comments are required 3860
CommentRequired Public method and constructor comments are required 4249
NonThreadSafeSingleton Singleton is not thread safe 4447
ShortVariable Avoid variables with short names like i 56

fr/paris/lutece/plugins/identityquality/v3/web/service/IHttpTransportProvider.java

Rule Violation Ligne
UnnecessaryModifier Unnecessary modifier 'public' on method 'setApiEndPointUrl': the method is declared in an interface type 195
UnnecessaryModifier Unnecessary modifier 'public' on method 'getApiEndPointUrl': the method is declared in an interface type 202

fr/paris/lutece/plugins/identityquality/v3/web/service/IIdentityQualityTransportProvider.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 160164
CommentRequired Public method and constructor comments are required 166167

Priority 4

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/AbstractTransportRest.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeRequest' 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeResponse' 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException' 41

fr/paris/lutece/plugins/identityquality/v3/web/service/IdentityQualityService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' 49

Fichiers

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/AbstractTransportRest.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeRequest' 4 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.crud.SuspiciousIdentityChangeResponse' 4 40
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException' 4 41
AbstractClassWithoutAbstractMethod This abstract class does not have any abstract methods 3 4691

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/HttpAccessTransport.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 64435
CommentRequired Public method and constructor comments are required 3 6871
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 81
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 91
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 108
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 122
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 139
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 153
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 170
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 184
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 214
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 244
UnusedLocalVariable Avoid unused local variables such as 'mapHeadersResponse'. 3 256
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 256
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 256
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 279
ShortVariable Avoid variables with short names like e 3 297
MissingOverride The method 'setApiEndPointUrl(String)' is missing an @Override annotation. 3 331335
MissingOverride The method 'getApiEndPointUrl()' is missing an @Override annotation. 3 342346
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 367
ShortVariable Avoid variables with short names like er 3 370
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 401
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 419
ShortVariable Avoid variables with short names like er 3 422

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/HttpApiManagerAccessTransport.java

Rule Violation Priority Ligne
FieldNamingConventions The constant name '_objectMapper' doesn't match '[A-Z][A-Z_0-9]*' 1 63
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 101
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 101
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 102
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 102
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 110
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 117

fr/paris/lutece/plugins/identityquality/v3/web/rs/service/IdentityQualityTransportRest.java

Rule Violation Priority Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 112
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 117
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 138
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 143
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 159
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 164
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 182
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 205
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 222
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 238
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 254

fr/paris/lutece/plugins/identityquality/v3/web/service/CustomResponseStatusValidator.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 3860
CommentRequired Header comments are required 3 3860
FieldNamingConventions The static field name 'instance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 40
CommentRequired Public method and constructor comments are required 3 4249
NonThreadSafeSingleton Singleton is not thread safe 3 4447
ShortVariable Avoid variables with short names like i 3 56

fr/paris/lutece/plugins/identityquality/v3/web/service/IHttpTransportProvider.java

Rule Violation Priority Ligne
UnnecessaryModifier Unnecessary modifier 'public' on method 'setApiEndPointUrl': the method is declared in an interface type 3 195
UnnecessaryModifier Unnecessary modifier 'public' on method 'getApiEndPointUrl': the method is declared in an interface type 3 202

fr/paris/lutece/plugins/identityquality/v3/web/service/IIdentityQualityTransportProvider.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 160164
CommentRequired Public method and constructor comments are required 3 166167

fr/paris/lutece/plugins/identityquality/v3/web/service/IdentityQualityService.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.identitystore.v3.web.rs.util.Constants' 4 49