PMD Results

The following document contains the results of PMD 4.2.2.

Files

org/apache/maven/plugin/eclipse/BuildCommand.java

Violation Line
Avoid empty if statements 150 - 152
Avoid empty if statements 155 - 157

org/apache/maven/plugin/eclipse/EclipsePlugin.java

Violation Line
These nested if statements could be combined 1831 - 1834

org/apache/maven/plugin/eclipse/MakeArtifactsMojo.java

Violation Line
Avoid empty if statements 124 - 126

org/apache/maven/plugin/eclipse/MyEclipsePlugin.java

Violation Line
These nested if statements could be combined 119 - 134
These nested if statements could be combined 202 - 205
These nested if statements could be combined 249 - 252

org/apache/maven/plugin/eclipse/writers/AbstractEclipseManifestWriter.java

Violation Line
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository' 32
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.EclipseSourceDir' 34

org/apache/maven/plugin/eclipse/writers/EclipseAntExternalLaunchConfigurationWriter.java

Violation Line
Overriding method merely calls super 77 - 83

org/apache/maven/plugin/eclipse/writers/EclipseClasspathWriter.java

Violation Line
These nested if statements could be combined 221 - 236

org/apache/maven/plugin/eclipse/writers/EclipseProjectWriter.java

Violation Line
Avoid unused method parameters such as 'basedir'. 311 - 325
Avoid unused method parameters such as 'basedir'. 327 - 343
Avoid unused method parameters such as 'basedir'. 345 - 361

org/apache/maven/plugin/eclipse/writers/rad/RadApplicationXMLWriter.java

Violation Line
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository' 31
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.EclipseSourceDir' 34

org/apache/maven/plugin/eclipse/writers/rad/RadEjbClasspathWriter.java

Violation Line
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository' 33
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.EclipseSourceDir' 36

org/apache/maven/plugin/eclipse/writers/rad/RadJ2EEWriter.java

Violation Line
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository' 27
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.EclipseSourceDir' 30

org/apache/maven/plugin/eclipse/writers/rad/RadLibCopier.java

Violation Line
Avoid unused imports such as 'org.apache.maven.artifact.Artifact' 24

org/apache/maven/plugin/eclipse/writers/rad/RadWebsiteConfigWriter.java

Violation Line
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository' 27
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.EclipseSourceDir' 30

org/apache/maven/plugin/eclipse/writers/wtp/EclipseWtpApplicationXMLWriter.java

Violation Line
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository' 13
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.EclipseSourceDir' 16

org/apache/maven/plugin/ide/AbstractIdeSupportMojo.java

Violation Line
These nested if statements could be combined 980 - 985

org/apache/maven/plugin/ide/IdeDependency.java

Violation Line
Avoid unused constructor parameters such as 'osgiSymbolicName'. 141 - 165
Avoid unused constructor parameters such as 'dependencyDepth'. 141 - 165

org/apache/maven/plugin/ide/IdeUtils.java

Violation Line
Avoid unused imports such as 'org.codehaus.plexus.util.PropertyUtils' 41

org/apache/maven/plugin/ide/JeeUtils.java

Violation Line
These nested if statements could be combined 240 - 241
These nested if statements could be combined 245 - 246
These nested if statements could be combined 276 - 277
Avoid unused method parameters such as 'project'. 299 - 302
These nested if statements could be combined 313 - 315
These nested if statements could be combined 319 - 321