Résultats PMD
Le document suivant contient les résultats de PMD 5.3.5.
Fichiers
fr/paris/lutece/plugins/crm/modules/mydashboardfavorites/listener/ListenerFavoritesRemoval.java
Violation |
Ligne |
Avoid using if statements without curly braces |
27–39 |
These nested if statements could be combined |
28–39 |
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks |
34 |
fr/paris/lutece/plugins/crm/modules/mydashboardfavorites/service/FavoritesSubscriptionProviderService.java
Violation |
Ligne |
Avoid using redundant field initializer for '_instance' |
49 |
Use explicit scoping instead of the default package private level |
49 |
Singleton is not thread safe |
52–56 |
Avoid using if...else statements without curly braces |
56 |
Document empty method |
88–89 |
fr/paris/lutece/plugins/crm/modules/mydashboardfavorites/web/MyDashboardFavoritesComponent.java
Violation |
Ligne |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
71 |