PMD Results

The following document contains the results of PMD 4.2.2.

Files

org/apache/maven/artifact/InvalidRepositoryException.java

ViolationLine
Avoid unused constructor parameters such as 't'.50 - 54

org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

ViolationLine
Avoid empty if statements53 - 55

org/apache/maven/DefaultMaven.java

ViolationLine
Avoid unused imports such as 'org.sonatype.aether.RepositoryEvent'78

org/apache/maven/DefaultProjectDependencyGraph.java

ViolationLine
These nested if statements could be combined82 - 85
These nested if statements could be combined110 - 113

org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

ViolationLine
These nested if statements could be combined247 - 250

org/apache/maven/execution/MavenSession.java

ViolationLine
Avoid unused constructor parameters such as 'eventDispatcher'.94 - 108
Avoid unused constructor parameters such as 'unused'.94 - 108
Avoid unused private methods such as 'getId(MavenProject)'.366

org/apache/maven/lifecycle/internal/BuilderCommon.java

ViolationLine
Avoid empty if statements140 - 142

org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

ViolationLine
Avoid unused imports such as 'java.util.Set'56
Avoid unused imports such as 'java.util.TreeSet'58
Avoid unused private fields such as 'pluginVersionResolver'.72

org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

ViolationLine
These nested if statements could be combined80 - 83

org/apache/maven/lifecycle/internal/LifecycleThreadedBuilder.java

ViolationLine
Avoid unused method parameters such as 'muxer'.157 - 174

org/apache/maven/lifecycle/LifecycleExecutionException.java

ViolationLine
Avoid unused constructor parameters such as 'execution'.55 - 59
Avoid unused constructor parameters such as 'execution'.61 - 65

org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

ViolationLine
Avoid unused constructor parameters such as 'e'.36 - 41

org/apache/maven/plugin/PluginConfigurationException.java

ViolationLine
Avoid unused private fields such as 'pluginDescriptor'.34
Avoid unused private fields such as 'originalMessage'.36

org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

ViolationLine
Avoid unused constructor parameters such as 'pathTranslator'.52 - 57
Avoid unused constructor parameters such as 'project'.52 - 57
Avoid unused constructor parameters such as 'logger'.52 - 57
Avoid unused constructor parameters such as 'properties'.52 - 57
Avoid empty if statements420 - 422

org/apache/maven/project/artifact/MavenMetadataSource.java

ViolationLine
Avoid unused imports such as 'org.apache.maven.execution.MavenSession'55
These nested if statements could be combined164 - 167

org/apache/maven/project/MavenProject.java

ViolationLine
These nested if statements could be combined476 - 479
These nested if statements could be combined516 - 519
These nested if statements could be combined537 - 540
These nested if statements could be combined656 - 659
These nested if statements could be combined676 - 679
These nested if statements could be combined729 - 732
These nested if statements could be combined749 - 752
Avoid unused local variables such as 'version'.1130
These nested if statements could be combined1851 - 1871
These nested if statements could be combined1881 - 1901