PMD Results

The following document contains the results of PMD 4.1.

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
These nested if statements could be combined1447 - 1450
Overriding method merely calls super1522 - 1527

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

ViolationLine
Avoid unused method parameters such as 'bundleVersion'.415 - 419

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

ViolationLine
Avoid empty if statements123 - 125

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

ViolationLine
These nested if statements could be combined209 - 212
These nested if statements could be combined256 - 259

org/apache/maven/plugin/eclipse/osgiplugin/AbstractEclipseOsgiPlugin.java

ViolationLine
Avoid empty catch blocks87 - 90

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 combined190 - 206

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

ViolationLine
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository'27
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter'32

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

ViolationLine
Avoid unused method parameters such as 'basedir'.273 - 287
Avoid unused method parameters such as 'basedir'.289 - 305
Avoid unused method parameters such as 'basedir'.307 - 323

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

ViolationLine
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.EclipsePlugin'28

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
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter'37

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
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter'39

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
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter'33

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/RadManifestWriter.java

ViolationLine
Avoid unused imports such as 'org.apache.maven.artifact.repository.ArtifactRepository'32
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter'39

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
Avoid unused imports such as 'org.apache.maven.plugin.eclipse.writers.wtp.AbstractWtpResourceWriter'33

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
Avoid empty catch blocks656 - 659
These nested if statements could be combined873 - 876

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

ViolationLine
Avoid unused constructor parameters such as 'osgiSymbolicName'.131 - 155
Avoid unused constructor parameters such as 'dependencyDepth'.131 - 155

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

ViolationLine
Avoid empty catch blocks347 - 350

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

ViolationLine
These nested if statements could be combined240 - 241
These nested if statements could be combined245 - 246
These nested if statements could be combined276 - 277
Avoid unused method parameters such as 'project'.299 - 302
These nested if statements could be combined313 - 315
These nested if statements could be combined319 - 321