Fork me on GitHub

Résultats PMD

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

Fichiers

fr/paris/lutece/plugins/urlrewriteradmin/service/AliasGeneratorService.java

Violation Ligne
A class which only has private constructors should be final 49158
Use block level rather than method level synchronization 6777
The method processRuleList() has an NPath complexity of 875 106144

fr/paris/lutece/plugins/urlrewriteradmin/service/AliasGeneratorUtils.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. 4358
When doing a String.toLowerCase()/toUpperCase() call, use a Locale 51

fr/paris/lutece/plugins/urlrewriteradmin/service/PageAliasGenerator.java

Violation Ligne
The method findPage() has an NPath complexity of 250 85102
Prefer StringBuffer over += for concatenating strings 93

fr/paris/lutece/plugins/urlrewriteradmin/service/RuleFileService.java

Violation Ligne
Avoid variables with short names like t 90

fr/paris/lutece/plugins/urlrewriteradmin/web/UrlRewriterAdminJspBean.java

Violation Ligne
Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. 113
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 138
Do not add empty strings 140
Avoid unnecessary if..then..else statements when returning booleans 356359