PMD Results
The following document contains the results of PMD 5.6.1.
Files
org/apache/maven/plugin/surefire/AbstractSurefireMojo.java
Violation |
Line |
Too many static imports may lead to messy code |
2–3590 |
Unnecessary use of fully qualified name 'Collections.singletonList' due to existing static import 'java.util.Collections.singletonList' |
1939 |
Avoid empty catch blocks |
2229–2231 |
These nested if statements could be combined |
2549–2552 |
These nested if statements could be combined |
2603–2620 |
org/apache/maven/plugin/surefire/SurefireHelper.java
Violation |
Line |
Too many static imports may lead to messy code |
1–315 |
org/apache/maven/plugin/surefire/booterclient/BooterSerializer.java
Violation |
Line |
Too many static imports may lead to messy code |
1–199 |
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–802 |
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–524 |
org/apache/maven/plugin/surefire/booterclient/output/InPluginProcessDumpSingleton.java
Violation |
Line |
Too many static imports may lead to messy code |
1–104 |
org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java
Violation |
Line |
Too many static imports may lead to messy code |
1–489 |
org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
Violation |
Line |
Too many static imports may lead to messy code |
1–629 |
org/apache/maven/plugin/surefire/report/TestSetRunListener.java
Violation |
Line |
Useless parentheses. |
304 |
org/apache/maven/plugin/surefire/report/WrappedReportEntry.java
Violation |
Line |
Useless parentheses. |
130 |
org/apache/maven/plugin/surefire/util/ScannerUtil.java
Violation |
Line |
Useless parentheses. |
37 |