Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/apache/maven/plugin/surefire/AbstractSurefireMojo.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.maven.plugin.logging.Log' due to existing import 'org.apache.maven.plugin.logging.Log' 984
Avoid empty catch blocks 19081910
These nested if statements could be combined 23122315
These nested if statements could be combined 23662382

org/apache/maven/plugin/surefire/SurefireDependencyResolver.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.maven.plugin.logging.Log' due to existing import 'org.apache.maven.plugin.logging.Log' 59

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 1713
Unnecessary use of fully qualified name 'TimeUnit.SECONDS' due to existing import 'java.util.concurrent.TimeUnit' 262
Unnecessary use of fully qualified name 'TimeUnit.SECONDS' due to existing import 'java.util.concurrent.TimeUnit' 343
Unnecessary use of fully qualified name 'TimeUnit.SECONDS' due to existing import 'java.util.concurrent.TimeUnit' 443

org/apache/maven/plugin/surefire/booterclient/lazytestprovider/TestProvidingInputStream.java

Violation Line
Too many static imports may lead to messy code 1182

org/apache/maven/plugin/surefire/report/ConsoleOutputFileReporter.java

Violation Line
Avoid empty catch blocks 7375

org/apache/maven/plugin/surefire/report/StatelessXmlReporter.java

Violation Line
Avoid unused private fields such as 'CDATA_ESCAPE_STRING_BYTES'. 620
Avoid unused private fields such as 'AMP_BYTES'. 622