Résultats PMD
Le document suivant contient les résultats de PMD 5.3.5.
Fichiers
fr/paris/lutece/plugins/theme/business/ThemeDAO.java
Violation |
Ligne |
Use block level rather than method level synchronization |
69–85 |
fr/paris/lutece/plugins/theme/business/ThemeHome.java
Violation |
Ligne |
Avoid unnecessary if..then..else statements when returning booleans |
145–148 |
fr/paris/lutece/plugins/theme/service/ThemeResourceIdService.java
Violation |
Ligne |
It is a good practice to call super() in a constructor |
68–71 |
Avoid variables with short names like rt |
78 |
Avoid variables with short names like p |
83 |
fr/paris/lutece/plugins/theme/service/ThemeService.java
Violation |
Ligne |
Singleton is not thread safe |
66–69 |
Document empty method |
78–79 |
Deeply nested if..then statements are hard to read |
136–144 |
fr/paris/lutece/plugins/theme/web/ThemeJspBean.java
Violation |
Ligne |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
89 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
92 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
95 |