Fork me on GitHub

Résultats PMD

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

Fichiers

fr/paris/lutece/plugins/identitystoreagent/IdentityStoreAgentPlugin.java

Violation Ligne
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 4451

fr/paris/lutece/plugins/identitystoreagent/service/IdentityAgentManagementResourceIdService.java

Violation Ligne
It is a good practice to call super() in a constructor 6265
Avoid variables with short names like rt 73
Avoid variables with short names like p 79

fr/paris/lutece/plugins/identitystoreagent/utils/IdentityUtils.java

Violation Ligne
The class 'IdentityUtils' has a Cyclomatic Complexity of 5 (Highest = 11). 61235
The field name indicates a constant but its modifiers do not 66
The field name indicates a constant but its modifiers do not 67
The method 'updateIdentity' has a Cyclomatic Complexity of 11. 116179
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 119
Deeply nested if..then statements are hard to read 156159
The method 'agentCertification' has a Cyclomatic Complexity of 11. 181234

fr/paris/lutece/plugins/identitystoreagent/web/ManageCustomerIdentityJspBean.java

Violation Ligne
The class 'ManageCustomerIdentityJspBean' has a Modified Cyclomatic Complexity of 5 (Highest = 10). 67396
The class 'ManageCustomerIdentityJspBean' has a Cyclomatic Complexity of 6 (Highest = 14). 67396
The class 'ManageCustomerIdentityJspBean' has a Standard Cyclomatic Complexity of 5 (Highest = 10). 67396
Private field '_mapReferenceList' could be made final; it is only initialized in the declaration or constructor. 83
It is a good practice to call super() in a constructor 91141
Assigning an Object to null is a code smell. Consider refactoring. 140
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 207
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 225
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 244
The method 'initFromRequest' has a Cyclomatic Complexity of 14. 344395
The method 'initFromRequest' has a Modified Cyclomatic Complexity of 10. 344395
The method 'initFromRequest' has a Standard Cyclomatic Complexity of 10. 344395