Résultats PMD
Le document suivant contient les résultats de PMD 5.3.5.
Fichiers
fr/paris/lutece/plugins/adminauthenticationdatabase/AdminDatabaseAuthentication.java
Violation |
Ligne |
Private field '_dao' could be made final; it is only initialized in the declaration or constructor. |
59 |
Avoid unnecessary constructors - the compiler will generate these for you |
64–67 |
Document empty method |
125–126 |
fr/paris/lutece/plugins/adminauthenticationdatabase/AdminDatabaseUserDAO.java
Violation |
Ligne |
The class 'AdminDatabaseUserDAO' has a Standard Cyclomatic Complexity of 4 (Highest = 11). |
48–240 |
The class 'AdminDatabaseUserDAO' has a Cyclomatic Complexity of 5 (Highest = 17). |
48–240 |
The class 'AdminDatabaseUserDAO' has a Modified Cyclomatic Complexity of 4 (Highest = 11). |
48–240 |
Use explicit scoping instead of the default package private level |
65–68 |
The method 'selectAllDatabaseUsers' has a Standard Cyclomatic Complexity of 11. |
144–211 |
The method 'selectAllDatabaseUsers' has a Cyclomatic Complexity of 17. |
144–211 |
The method selectAllDatabaseUsers() has an NPath complexity of 18522 |
144–211 |
The method 'selectAllDatabaseUsers' has a Modified Cyclomatic Complexity of 11. |
144–211 |
Prefer StringBuffer over += for concatenating strings |
155 |
Prefer StringBuffer over += for concatenating strings |
156 |
Prefer StringBuffer over += for concatenating strings |
163 |
Prefer StringBuffer over += for concatenating strings |
164 |
Prefer StringBuffer over += for concatenating strings |
171 |
Prefer StringBuffer over += for concatenating strings |
172 |