PMD Results
The following document contains the results of PMD 5.3.5.
Files
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
Violation |
Line |
Too many static imports may lead to messy code |
2–3509 |
Avoid empty catch blocks |
2017–2019 |
These nested if statements could be combined |
2460–2463 |
These nested if statements could be combined |
2514–2530 |
Unnecessary use of fully qualified name 'Thread.currentThread' due to existing static import 'java.lang.Thread.currentThread' |
2937 |
Unnecessary use of fully qualified name 'Thread.currentThread' due to existing static import 'java.lang.Thread.currentThread' |
2957 |
org/apache/maven/plugin/surefire/SurefireHelper.java
Violation |
Line |
Too many static imports may lead to messy code |
1–284 |
org/apache/maven/plugin/surefire/booterclient/ChecksumCalculator.java
Violation |
Line |
Useless parentheses. |
137 |
org/apache/maven/plugin/surefire/booterclient/ForkNumberBucket.java
Violation |
Line |
Avoid unused private methods such as 'getHighestDrawnNumber()'. |
85 |
org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
Violation |
Line |
Too many static imports may lead to messy code |
1–818 |
org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
Violation |
Line |
Too many static imports may lead to messy code |
1–190 |
org/apache/maven/plugin/surefire/booterclient/output/ForkClient.java
Violation |
Line |
Too many static imports may lead to messy code |
1–523 |
org/apache/maven/plugin/surefire/report/ConsoleOutputFileReporter.java
Violation |
Line |
Avoid empty catch blocks |
80–82 |
Avoid empty catch blocks |
89–91 |
org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java
Violation |
Line |
Too many static imports may lead to messy code |
1–507 |
Avoid unused private methods such as 'err(String)'. |
490 |
org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
Violation |
Line |
Too many static imports may lead to messy code |
1–614 |
org/apache/maven/plugin/surefire/report/TestSetRunListener.java
Violation |
Line |
Useless parentheses. |
302 |
org/apache/maven/plugin/surefire/report/WrappedReportEntry.java
Violation |
Line |
Useless parentheses. |
129 |
org/apache/maven/plugin/surefire/util/ScannerUtil.java
Violation |
Line |
Useless parentheses. |
37 |