PMD Results
The following document contains the results of PMD 4.3.
Files
de/smartics/maven/exceptions/AbstractElementReport.java
Violation |
Line |
The String literal "An error has occurred in " appears 3 times in this file; the first occurrence is on line 313 |
313 |
The String literal " report generation." appears 3 times in this file; the first occurrence is on line 315 |
315 |
de/smartics/maven/exceptions/AbstractSdocCodeMojo.java
Violation |
Line |
The String literal "rawtypes" appears 3 times in this file; the first occurrence is on line 78 |
78 |
The String literal "unchecked" appears 3 times in this file; the first occurrence is on line 329 |
329 |
de/smartics/maven/exceptions/AbstractSinkReportGenerator.java
Violation |
Line |
This class has too many methods, consider refactoring it. |
46 - 404 |
This call to String.startsWith can be rewritten using String.charAt(0) |
325 |
de/smartics/maven/exceptions/conf/DefaultJavadocProjectConfiguration.java
Violation |
Line |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
281 |
de/smartics/maven/exceptions/conf/DefaultProjectConfiguration.java
Violation |
Line |
Too many fields |
176 - 563 |
In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. |
466 |
de/smartics/maven/exceptions/ExceptionCodeReport.java
Violation |
Line |
Avoid printStackTrace(); use a logger call instead. |
241 |
de/smartics/maven/exceptions/report/CodeSortedSinkReportGenerator.java
Violation |
Line |
Parameter 'currentSection' is not assigned and could be declared final |
92 |
de/smartics/maven/exceptions/report/ComponentCodeSortedSinkReportGenerator.java
Violation |
Line |
Parameter 'currentSection' is not assigned and could be declared final |
93 |
de/smartics/maven/exceptions/runtime/AbstractProjectClassLoader.java
Violation |
Line |
The String literal "Cannot load class '" appears 4 times in this file; the first occurrence is on line 117 |
117 |
The String literal "' from file '" appears 4 times in this file; the first occurrence is on line 117 |
117 |
New exception is thrown in catch block, original stack trace may be lost |
215 |
de/smartics/maven/exceptions/sdoc/SdocCodeBuilder.java
Violation |
Line |
Avoid unused method parameters such as 'bundle'. |
468 - 505 |
de/smartics/maven/exceptions/sdoc/TagInfo.java
Violation |
Line |
An empty statement (semicolon) not part of a loop |
117 |
Avoid unused method parameters such as 'classDoc'. |
126 - 135 |