The following document contains the results of PMD 5.3.5.
Violation | Line |
---|---|
A high number of imports can indicate a high degree of coupling within an object. | 34–297 |
Avoid unused imports such as 'java.io.Reader' | 39 |
Avoid unused imports such as 'java.io.Reader' | 39 |
Avoid unused imports such as 'java.io.StringReader' | 40 |
Avoid unused imports such as 'java.io.StringReader' | 40 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 148 |
Avoid throwing raw exception types. | 201 |
Avoid unused method parameters such as 'plugin'. | 217 |
Avoid printStackTrace(); use a logger call instead. | 239 |
Avoid printStackTrace(); use a logger call instead. | 241 |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 270 |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. | 272 |
Avoid appending characters as strings in StringBuffer.append. | 272 |
Avoid variables with short names like sb | 284 |