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' 972
Avoid empty catch blocks 18841886
These nested if statements could be combined 22882291
These nested if statements could be combined 23422358

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 1714
Unnecessary use of fully qualified name 'TimeUnit.SECONDS' due to existing import 'java.util.concurrent.TimeUnit' 263
Unnecessary use of fully qualified name 'TimeUnit.SECONDS' due to existing import 'java.util.concurrent.TimeUnit' 344
Unnecessary use of fully qualified name 'TimeUnit.SECONDS' due to existing import 'java.util.concurrent.TimeUnit' 444

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
Unnecessary use of fully qualified name 'org.apache.maven.shared.utils.xml.XMLWriter' due to existing import 'org.apache.maven.shared.utils.xml.XMLWriter' 127
Avoid unused private fields such as 'CDATA_ESCAPE_STRING_BYTES'. 620
Avoid unused private fields such as 'AMP_BYTES'. 622