Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.0.5.

Files

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

Violation Line
These nested if statements could be combined 1945–1948

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

Violation Line
Avoid unused private fields such as 'MYECLIPSE_DEFAULT_HIBERNATE_CFG_XML'. 83
These nested if statements could be combined 140–153
These nested if statements could be combined 213–216
These nested if statements could be combined 260–263

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

Violation Line
Avoid modifiers which are implied by the context 87–88

org/apache/maven/plugin/eclipse/writers/AbstractEclipseManifestWriter.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' 33

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

Violation Line
These nested if statements could be combined 220–235

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

Violation Line
Avoid unused method parameters such as 'basedir'. 277
Avoid unused method parameters such as 'basedir'. 293
Avoid unused method parameters such as 'basedir'. 309

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

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

Violation Line
These nested if statements could be combined 901–905

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

Violation Line
Avoid unused constructor parameters such as 'dependencyDepth'. 144
Avoid unused constructor parameters such as 'osgiSymbolicName'. 144

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

Violation Line
Unnecessary use of fully qualified name 'org.apache.maven.model.Plugin' due to existing import 'org.apache.maven.model.Plugin' 333

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 273–274
Avoid unused method parameters such as 'project'. 293
These nested if statements could be combined 307–309
These nested if statements could be combined 313–315