PMD Results
The following document contains the results of PMD 4.3.
Files
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
Violation |
Line |
Avoid empty catch blocks |
1777 - 1779 |
These nested if statements could be combined |
2168 - 2171 |
org/apache/maven/plugin/surefire/report/ConsoleOutputFileReporter.java
Violation |
Line |
An empty statement (semicolon) not part of a loop |
77 |
org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
Violation |
Line |
Avoid using java.lang.ThreadGroup; it is not thread safe |
105 |
Avoid unused method parameters such as 'fw'. |
273 - 299 |
Avoid unused private fields such as 'CDATA_ESCAPE_STRING_BYTES'. |
462 |
Avoid unused private fields such as 'AMP_BYTES'. |
464 |
org/apache/maven/plugin/surefire/report/TestSetRunListener.java
Violation |
Line |
Avoid unused imports such as 'org.apache.commons.io.output.DeferredFileOutputStream' |
22 |
Avoid unused imports such as 'java.io.File' |
31 |
org/apache/maven/plugin/surefire/util/DependencyScanner.java
Violation |
Line |
These nested if statements could be combined |
91 - 114 |
org/apache/maven/plugin/surefire/util/DirectoryScanner.java
Violation |
Line |
Avoid using java.lang.ThreadGroup; it is not thread safe |
65 |
org/apache/maven/plugins/surefire/report/TestSuiteXmlParser.java
Violation |
Line |
Avoid unused imports such as 'java.io.InputStream' |
25 |
These nested if statements could be combined |
105 - 108 |