PMD Results

The following document contains the results of PMD 4.2.5.

Files

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

ViolationLine
Avoid empty if statements150 - 152
Avoid empty if statements155 - 157

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

ViolationLine
An empty statement (semicolon) not part of a loop1281
These nested if statements could be combined1992 - 1995

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

ViolationLine
Avoid empty if statements124 - 126

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

ViolationLine
These nested if statements could be combined119 - 134
These nested if statements could be combined202 - 205
These nested if statements could be combined249 - 252

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

ViolationLine
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

ViolationLine
Overriding method merely calls super77 - 83

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

ViolationLine
These nested if statements could be combined221 - 236

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

ViolationLine
Avoid unused method parameters such as 'basedir'.312 - 326
Avoid unused method parameters such as 'basedir'.328 - 344
Avoid unused method parameters such as 'basedir'.346 - 362

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

ViolationLine
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

ViolationLine
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

ViolationLine
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

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

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

ViolationLine
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

ViolationLine
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

ViolationLine
These nested if statements could be combined980 - 985

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

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

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

ViolationLine
These nested if statements could be combined241 - 242
These nested if statements could be combined246 - 247
These nested if statements could be combined277 - 278
Avoid unused method parameters such as 'project'.300 - 303
These nested if statements could be combined314 - 316
These nested if statements could be combined320 - 322