PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java

ViolationLine
Avoid unused imports such as 'org.apache.maven.plugin.MojoExecutionException'30

org/apache/maven/plugins/enforcer/RequireNoRepositories.java

ViolationLine
These nested if statements could be combined181 - 188

org/apache/maven/plugins/enforcer/RequirePluginVersions.java

ViolationLine
Avoid empty catch blocks530 - 532
Avoid empty catch blocks533 - 535

org/apache/maven/plugins/enforcer/utils/ArtifactMatcher.java

ViolationLine
These nested if statements could be combined97 - 102

org/apache/maven/plugins/enforcer/utils/DependencyVersionMap.java

ViolationLine
Avoid unused imports such as 'org.apache.maven.artifact.ArtifactUtils'27
Avoid unused private fields such as 'log'.35