PMD Results
The following document contains the results of PMD 5.5.1.
Files
fr/paris/lutece/plugins/easyrulesbot/modules/ldap/service/AddCriteriaLoopProcessor.java
Violation |
Line |
When doing a String.toLowerCase()/toUpperCase() call, use a Locale |
110 |
fr/paris/lutece/plugins/easyrulesbot/modules/ldap/service/DataExistCondition.java
Violation |
Line |
Avoid appending characters as strings in StringBuffer.append. |
77 |
fr/paris/lutece/plugins/easyrulesbot/modules/ldap/service/DataValueOrNullCondition.java
Violation |
Line |
StringBuffer constructor is initialized with size 16, but has at least 79 characters appended. |
64 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
67 |
Avoid appending characters as strings in StringBuffer.append. |
67 |
fr/paris/lutece/plugins/easyrulesbot/modules/ldap/service/SearchValueProcessor.java
Violation |
Line |
Avoid unused imports such as 'java.util.Collection' |
49 |
Avoid unused imports such as 'java.util.Collection' |
49 |
Prefer StringBuffer over += for concatenating strings |
114 |
Avoid unused method parameters such as 'mapData'. |
231 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
233 |
Avoid using implementation types like 'ArrayList'; use the interface instead |
249 |
Avoid using implementation types like 'ArrayList'; use the interface instead |
249 |
Avoid variables with short names like sr |
252 |
Avoid empty catch blocks |
320–323 |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
337 |
String.indexOf(char) is faster than String.indexOf(String). |
347 |
Avoid variables with short names like x |
347 |
Prefer StringBuffer over += for concatenating strings |
382 |
Prefer StringBuffer over += for concatenating strings |
385 |
Avoid variables with short names like sb |
400 |
StringBuffer constructor is initialized with size 16, but has at least 30 characters appended. |
400 |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
401 |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
402 |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
403 |