Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/mydashboard/modules/identity/business/DashboardAttribute.java

Rule Violation Line
FormalParameterNamingConventions The method parameter name '_bMandatory' doesn't match '[a-z][a-zA-Z0-9]*' 198

fr/paris/lutece/plugins/mydashboard/modules/identity/business/DashboardIdentity.java

Rule Violation Line
FormalParameterNamingConventions The method parameter name '_lastUpdateDate' doesn't match '[a-z][a-zA-Z0-9]*' 474

fr/paris/lutece/plugins/mydashboard/modules/identity/service/DashboardIdentityService.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 73643

fr/paris/lutece/plugins/mydashboard/modules/identity/util/Constants.java

Rule Violation Line
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 43202

fr/paris/lutece/plugins/mydashboard/modules/identity/util/DashboardIdentityUtils.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 821005

Priority 3

fr/paris/lutece/plugins/mydashboard/modules/identity/business/DashboardAttribute.java

Rule Violation Line
UncommentedEmptyConstructor Document empty constructor 5356
CommentRequired Public method and constructor comments are required 5356
CommentRequired Public method and constructor comments are required 5867
CommentRequired Public method and constructor comments are required 6976
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 73
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 74
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 75

fr/paris/lutece/plugins/mydashboard/modules/identity/business/DashboardIdentity.java

Rule Violation Line
ExcessivePublicCount This class has a bunch of public methods and attributes 34528
ImmutableField Private field '_mapAttributes' could be made final; it is only initialized in the declaration or constructor. 49
CommentRequired Public method and constructor comments are required 5356
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 55

fr/paris/lutece/plugins/mydashboard/modules/identity/service/DashboardIdentityService.java

Rule Violation Line
NonThreadSafeSingleton Singleton is not thread safe 113140
ShortVariable Avoid variables with short names like i 120
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 154
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 165
ExcessiveMethodLength Avoid really long methods. 228365
NPathComplexity The method 'checkDashboardIdentityFields(DashboardIdentity, HttpServletRequest, boolean, AttributeCategory)' has an NPath complexity of 2147483647 228365
CyclomaticComplexity The method 'checkDashboardIdentityFields(DashboardIdentity, HttpServletRequest, boolean, AttributeCategory)' has a cyclomatic complexity of 66. 228365
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 231
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 231
CyclomaticComplexity The method 'checkDashboardIdentityFieldsFromServiceContract(DashboardIdentity, HttpServletRequest, boolean, String)' has a cyclomatic complexity of 13. 371408
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 373
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 373
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 388393
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 398401
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 414
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 424
CyclomaticComplexity The method 'getErrorValidation(HttpServletRequest, String, String, String, boolean, AttributeCategory)' has a cyclomatic complexity of 14. 492533
CyclomaticComplexity The method 'getErrorValidation(DashboardAttribute, String, String)' has a cyclomatic complexity of 13. 543577
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 609

fr/paris/lutece/plugins/mydashboard/modules/identity/service/IDashBoardIdentityService.java

Rule Violation Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 61
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 71
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 108
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 119
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 167

fr/paris/lutece/plugins/mydashboard/modules/identity/util/DashboardIdentityUtils.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 341005
CyclomaticComplexity The class 'DashboardIdentityUtils' has a total cyclomatic complexity of 141 (highest 15). 821005
GodClass Possible God Class (WMC=141, ATFD=123, TCC=2.429%) 821005
TooManyMethods This class has too many methods, consider refactoring it. 831005
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 102
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 103
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 104
CommentRequired Public method and constructor comments are required 146176
NonThreadSafeSingleton Singleton is not thread safe 148174
ShortVariable Avoid variables with short names like i 154
ConfusingTernary Avoid if (x != y) ..; else ..; 223
CommentRequired Public method and constructor comments are required 243269
CyclomaticComplexity The method 'needCertification(DashboardIdentity, ServiceContractSearchResponse, List, int, int)' has a cyclomatic complexity of 12. 243269
CyclomaticComplexity The method 'convertToIdentityDto(DashboardIdentity, boolean, AttributeCategory)' has a cyclomatic complexity of 10. 299332
ConfusingTernary Avoid if (x != y) ..; else ..; 304
ConfusingTernary Avoid if (x != y) ..; else ..; 305
ConfusingTernary Avoid if (x != y) ..; else ..; 391409
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 418
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 515
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 516
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 579
CyclomaticComplexity The method 'updateIdentity(IdentityDto)' has a cyclomatic complexity of 14. 579611
ConfusingTernary Avoid if (x != y) ..; else ..; 585605
ConfusingTernary Avoid if (x != y) ..; else ..; 590
ConfusingTernary Avoid if (x != y) ..; else ..; 600
ConfusingTernary Avoid if (x != y) ..; else ..; 670677
NPathComplexity The method 'updateDashboardIdentityInSession(DashboardIdentity, DashboardIdentity)' has an NPath complexity of 2187 857895
CyclomaticComplexity The method 'updateDashboardIdentityInSession(DashboardIdentity, DashboardIdentity)' has a cyclomatic complexity of 15. 857895
ShortVariable Avoid variables with short names like o 971

fr/paris/lutece/plugins/mydashboard/modules/identity/web/AbstractMyDashboardIdentity.java

Rule Violation Line
CommentRequired Header comments are required 5588
SingularField Perhaps '_dashboardIdentity' could be replaced by a local variable. 66
CommentRequired Public method and constructor comments are required 6887
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 77

fr/paris/lutece/plugins/mydashboard/modules/identity/web/EditIdentityXPage.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34370
ImmutableField Private field '_securityTokenService' could be made final; it is only initialized in the declaration or constructor. 115
ImmutableField Private field '_dashboardPropertiesGroup' could be made final; it is only initialized in the declaration or constructor. 116
ImmutableField Private field '_lstGenderList' could be made final; it is only initialized in the declaration or constructor. 117
ShortVariable Avoid variables with short names like i 128
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 204
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 296
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 343
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 364

fr/paris/lutece/plugins/mydashboard/modules/identity/web/IdentityXPage.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34978
TooManyMethods This class has too many methods, consider refactoring it. 80978
UnusedPrivateField Avoid unused private fields such as 'PROPERTY_FC_CERTIFIER_CODE'. 150
ImmutableField Private field '_lstContactModeList' could be made final; it is only initialized in the declaration or constructor. 158
ImmutableField Private field '_lstGenderList' could be made final; it is only initialized in the declaration or constructor. 159
SingularField Perhaps '_identityService' could be replaced by a local variable. 168
ImmutableField Private field '_identityService' could be made final; it is only initialized in the declaration or constructor. 168
UnusedPrivateField Avoid unused private fields such as '_identityService'. 168
UnusedPrivateField Avoid unused private fields such as '_bReInitAppCode'. 169
RedundantFieldInitializer Avoid using redundant field initializer for '_bReInitAppCode' 169
ImmutableField Private field '_securityTokenService' could be made final; it is only initialized in the declaration or constructor. 171
ShortVariable Avoid variables with short names like i 183
ConfusingTernary Avoid if (x != y) ..; else ..; 248
CyclomaticComplexity The method 'getModifyIdentity(HttpServletRequest)' has a cyclomatic complexity of 10. 270317
ConfusingTernary Avoid if (x != y) ..; else ..; 307
ExcessiveMethodLength Avoid really long methods. 346449
NPathComplexity The method 'getCheckIdentity(HttpServletRequest)' has an NPath complexity of 2976 346449
CyclomaticComplexity The method 'getCheckIdentity(HttpServletRequest)' has a cyclomatic complexity of 19. 346449
ConfusingTernary Avoid if (x != y) ..; else ..; 409419
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 411414
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 512
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 523
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 524
CyclomaticComplexity The method 'doCheckIdentity(HttpServletRequest)' has a cyclomatic complexity of 11. 543601
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 588
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 595
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 596
CommentRequired Public method and constructor comments are required 912938
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 914
CommentRequired Public method and constructor comments are required 941976

fr/paris/lutece/plugins/mydashboard/modules/identity/web/MyDashboardIdentityComponent.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 58129
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 81
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 81

fr/paris/lutece/plugins/mydashboard/modules/identity/web/MyDashboardIdentityCoordinates.java

Rule Violation Line
CommentRequired Header comments are required 4271

fr/paris/lutece/plugins/mydashboard/modules/identity/web/MyDashboardIdentityInformations.java

Rule Violation Line
CommentRequired Header comments are required 4271

Priority 4

fr/paris/lutece/plugins/mydashboard/modules/identity/web/AbstractMyDashboardIdentity.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.security.UserNotSignedException' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 51

Files

fr/paris/lutece/plugins/mydashboard/modules/identity/business/DashboardAttribute.java

Rule Violation Priority Line
UncommentedEmptyConstructor Document empty constructor 3 5356
CommentRequired Public method and constructor comments are required 3 5356
CommentRequired Public method and constructor comments are required 3 5867
CommentRequired Public method and constructor comments are required 3 6976
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 73
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 74
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 75
FormalParameterNamingConventions The method parameter name '_bMandatory' doesn't match '[a-z][a-zA-Z0-9]*' 1 198

fr/paris/lutece/plugins/mydashboard/modules/identity/business/DashboardIdentity.java

Rule Violation Priority Line
ExcessivePublicCount This class has a bunch of public methods and attributes 3 34528
ImmutableField Private field '_mapAttributes' could be made final; it is only initialized in the declaration or constructor. 3 49
CommentRequired Public method and constructor comments are required 3 5356
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 55
FormalParameterNamingConventions The method parameter name '_lastUpdateDate' doesn't match '[a-z][a-zA-Z0-9]*' 1 474

fr/paris/lutece/plugins/mydashboard/modules/identity/service/DashboardIdentityService.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 73643
NonThreadSafeSingleton Singleton is not thread safe 3 113140
ShortVariable Avoid variables with short names like i 3 120
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 154
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 165
ExcessiveMethodLength Avoid really long methods. 3 228365
NPathComplexity The method 'checkDashboardIdentityFields(DashboardIdentity, HttpServletRequest, boolean, AttributeCategory)' has an NPath complexity of 2147483647 3 228365
CyclomaticComplexity The method 'checkDashboardIdentityFields(DashboardIdentity, HttpServletRequest, boolean, AttributeCategory)' has a cyclomatic complexity of 66. 3 228365
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 231
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 231
CyclomaticComplexity The method 'checkDashboardIdentityFieldsFromServiceContract(DashboardIdentity, HttpServletRequest, boolean, String)' has a cyclomatic complexity of 13. 3 371408
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 373
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 373
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 388393
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 398401
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 414
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 424
CyclomaticComplexity The method 'getErrorValidation(HttpServletRequest, String, String, String, boolean, AttributeCategory)' has a cyclomatic complexity of 14. 3 492533
CyclomaticComplexity The method 'getErrorValidation(DashboardAttribute, String, String)' has a cyclomatic complexity of 13. 3 543577
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 609

fr/paris/lutece/plugins/mydashboard/modules/identity/service/IDashBoardIdentityService.java

Rule Violation Priority Line
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 61
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 71
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 108
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 119
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 167

fr/paris/lutece/plugins/mydashboard/modules/identity/util/Constants.java

Rule Violation Priority Line
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 43202

fr/paris/lutece/plugins/mydashboard/modules/identity/util/DashboardIdentityUtils.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 341005
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 821005
CyclomaticComplexity The class 'DashboardIdentityUtils' has a total cyclomatic complexity of 141 (highest 15). 3 821005
GodClass Possible God Class (WMC=141, ATFD=123, TCC=2.429%) 3 821005
TooManyMethods This class has too many methods, consider refactoring it. 3 831005
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 102
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 103
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 104
CommentRequired Public method and constructor comments are required 3 146176
NonThreadSafeSingleton Singleton is not thread safe 3 148174
ShortVariable Avoid variables with short names like i 3 154
ConfusingTernary Avoid if (x != y) ..; else ..; 3 223
CommentRequired Public method and constructor comments are required 3 243269
CyclomaticComplexity The method 'needCertification(DashboardIdentity, ServiceContractSearchResponse, List, int, int)' has a cyclomatic complexity of 12. 3 243269
CyclomaticComplexity The method 'convertToIdentityDto(DashboardIdentity, boolean, AttributeCategory)' has a cyclomatic complexity of 10. 3 299332
ConfusingTernary Avoid if (x != y) ..; else ..; 3 304
ConfusingTernary Avoid if (x != y) ..; else ..; 3 305
ConfusingTernary Avoid if (x != y) ..; else ..; 3 391409
UseCollectionIsEmpty Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 3 418
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 515
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 516
AvoidUncheckedExceptionsInSignatures A method or constructor should not explicitly declare unchecked exceptions in its 'throws' clause 3 579
CyclomaticComplexity The method 'updateIdentity(IdentityDto)' has a cyclomatic complexity of 14. 3 579611
ConfusingTernary Avoid if (x != y) ..; else ..; 3 585605
ConfusingTernary Avoid if (x != y) ..; else ..; 3 590
ConfusingTernary Avoid if (x != y) ..; else ..; 3 600
ConfusingTernary Avoid if (x != y) ..; else ..; 3 670677
NPathComplexity The method 'updateDashboardIdentityInSession(DashboardIdentity, DashboardIdentity)' has an NPath complexity of 2187 3 857895
CyclomaticComplexity The method 'updateDashboardIdentityInSession(DashboardIdentity, DashboardIdentity)' has a cyclomatic complexity of 15. 3 857895
ShortVariable Avoid variables with short names like o 3 971

fr/paris/lutece/plugins/mydashboard/modules/identity/web/AbstractMyDashboardIdentity.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.security.UserNotSignedException' 4 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppLogService' 4 51
CommentRequired Header comments are required 3 5588
SingularField Perhaps '_dashboardIdentity' could be replaced by a local variable. 3 66
CommentRequired Public method and constructor comments are required 3 6887
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 77

fr/paris/lutece/plugins/mydashboard/modules/identity/web/EditIdentityXPage.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34370
ImmutableField Private field '_securityTokenService' could be made final; it is only initialized in the declaration or constructor. 3 115
ImmutableField Private field '_dashboardPropertiesGroup' could be made final; it is only initialized in the declaration or constructor. 3 116
ImmutableField Private field '_lstGenderList' could be made final; it is only initialized in the declaration or constructor. 3 117
ShortVariable Avoid variables with short names like i 3 128
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 204
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 285
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 296
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 343
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 364

fr/paris/lutece/plugins/mydashboard/modules/identity/web/IdentityXPage.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34978
TooManyMethods This class has too many methods, consider refactoring it. 3 80978
UnusedPrivateField Avoid unused private fields such as 'PROPERTY_FC_CERTIFIER_CODE'. 3 150
ImmutableField Private field '_lstContactModeList' could be made final; it is only initialized in the declaration or constructor. 3 158
ImmutableField Private field '_lstGenderList' could be made final; it is only initialized in the declaration or constructor. 3 159
SingularField Perhaps '_identityService' could be replaced by a local variable. 3 168
ImmutableField Private field '_identityService' could be made final; it is only initialized in the declaration or constructor. 3 168
UnusedPrivateField Avoid unused private fields such as '_identityService'. 3 168
UnusedPrivateField Avoid unused private fields such as '_bReInitAppCode'. 3 169
RedundantFieldInitializer Avoid using redundant field initializer for '_bReInitAppCode' 3 169
ImmutableField Private field '_securityTokenService' could be made final; it is only initialized in the declaration or constructor. 3 171
ShortVariable Avoid variables with short names like i 3 183
ConfusingTernary Avoid if (x != y) ..; else ..; 3 248
CyclomaticComplexity The method 'getModifyIdentity(HttpServletRequest)' has a cyclomatic complexity of 10. 3 270317
ConfusingTernary Avoid if (x != y) ..; else ..; 3 307
ExcessiveMethodLength Avoid really long methods. 3 346449
NPathComplexity The method 'getCheckIdentity(HttpServletRequest)' has an NPath complexity of 2976 3 346449
CyclomaticComplexity The method 'getCheckIdentity(HttpServletRequest)' has a cyclomatic complexity of 19. 3 346449
ConfusingTernary Avoid if (x != y) ..; else ..; 3 409419
AvoidDeeplyNestedIfStmts Deeply nested if..then statements are hard to read 3 411414
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 512
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 523
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 524
CyclomaticComplexity The method 'doCheckIdentity(HttpServletRequest)' has a cyclomatic complexity of 11. 3 543601
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 588
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 595
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 596
CommentRequired Public method and constructor comments are required 3 912938
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 914
CommentRequired Public method and constructor comments are required 3 941976

fr/paris/lutece/plugins/mydashboard/modules/identity/web/MyDashboardIdentityComponent.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 58129
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 81
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 81

fr/paris/lutece/plugins/mydashboard/modules/identity/web/MyDashboardIdentityCoordinates.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4271

fr/paris/lutece/plugins/mydashboard/modules/identity/web/MyDashboardIdentityInformations.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4271