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–4128 |
Unnecessary use of fully qualified name 'Collections.emptyList' due to existing static import 'java.util.Collections.emptyList' |
1838 |
Unnecessary use of fully qualified name 'Collections.emptyList' due to existing static import 'java.util.Collections.emptyList' |
2175 |
Unnecessary use of fully qualified name 'Collections.singletonList' due to existing static import 'java.util.Collections.singletonList' |
2197 |
Avoid empty catch blocks |
2519–2521 |
These nested if statements could be combined |
2879–2882 |
These nested if statements could be combined |
2933–2950 |
org/apache/maven/plugin/surefire/StartupReportConfiguration.java
Violation |
Line |
Too many static imports may lead to messy code |
1–275 |
org/apache/maven/plugin/surefire/SurefireDependencyResolver.java
Violation |
Line |
Too many static imports may lead to messy code |
1–288 |
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–204 |
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–917 |
These nested if statements could be combined |
719–730 |
org/apache/maven/plugin/surefire/booterclient/JarManifestForkConfiguration.java
Violation |
Line |
Too many static imports may lead to messy code |
1–247 |
org/apache/maven/plugin/surefire/booterclient/ModularClasspathForkConfiguration.java
Violation |
Line |
Too many static imports may lead to messy code |
1–239 |
org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java
Violation |
Line |
Too many static imports may lead to messy code |
1–188 |
org/apache/maven/plugin/surefire/booterclient/output/ForkedProcessEventNotifier.java
Violation |
Line |
Too many static imports may lead to messy code |
1–248 |
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/extensions/StreamFeeder.java
Violation |
Line |
Too many static imports may lead to messy code |
1–203 |
org/apache/maven/plugin/surefire/extensions/SurefireForkChannel.java
Violation |
Line |
Too many static imports may lead to messy code |
1–176 |
Avoid empty try blocks |
172–174 |
org/apache/maven/plugin/surefire/report/DefaultReporterFactory.java
Violation |
Line |
Too many static imports may lead to messy code |
1–497 |
org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java
Violation |
Line |
Too many static imports may lead to messy code |
1–711 |
org/apache/maven/plugin/surefire/report/TestSetRunListener.java
Violation |
Line |
Too many static imports may lead to messy code |
1–330 |
Useless parentheses. |
323 |
org/apache/maven/plugin/surefire/report/WrappedReportEntry.java
Violation |
Line |
Useless parentheses. |
149 |
org/apache/maven/plugin/surefire/util/ScannerUtil.java
Violation |
Line |
Useless parentheses. |
37 |