PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/maven/DefaultMaven.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe403
Avoid using java.lang.ThreadGroup; it is not thread safe623

org/apache/maven/DefaultProjectDependencyGraph.java

ViolationLine
These nested if statements could be combined82 - 85

org/apache/maven/RepositoryUtils.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe90

org/apache/maven/artifact/InvalidRepositoryException.java

ViolationLine
Avoid unused constructor parameters such as 't'.49 - 53

org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

ViolationLine
Avoid empty if statements53 - 55

org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

ViolationLine
These nested if statements could be combined247 - 250

org/apache/maven/execution/DefaultMavenExecutionResult.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'22

org/apache/maven/execution/MavenSession.java

ViolationLine
Avoid unused constructor parameters such as 'eventDispatcher'.93 - 107
Avoid unused constructor parameters such as 'unused'.93 - 107
Avoid unused private methods such as 'getId(MavenProject)'.365

org/apache/maven/lifecycle/LifecycleExecutionException.java

ViolationLine
Avoid unused constructor parameters such as 'execution'.54 - 58
Avoid unused constructor parameters such as 'execution'.60 - 64

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

ViolationLine
Avoid empty if statements140 - 142

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

ViolationLine
Avoid unused private fields such as 'pluginVersionResolver'.70

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/plugin/CycleDetectedInPluginGraphException.java

ViolationLine
Avoid unused constructor parameters such as 'e'.35 - 40

org/apache/maven/plugin/PluginConfigurationException.java

ViolationLine
Avoid unused private fields such as 'pluginDescriptor'.33
Avoid unused private fields such as 'originalMessage'.35

org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

ViolationLine
Avoid unused constructor parameters such as 'project'.79 - 84
Avoid unused constructor parameters such as 'logger'.79 - 84
Avoid unused constructor parameters such as 'properties'.79 - 84
Avoid unused constructor parameters such as 'pathTranslator'.79 - 84
Avoid empty if statements447 - 449

org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe182

org/apache/maven/project/MavenProject.java

ViolationLine
These nested if statements could be combined474 - 477
These nested if statements could be combined518 - 521
These nested if statements could be combined539 - 542
These nested if statements could be combined670 - 673
These nested if statements could be combined690 - 693
These nested if statements could be combined747 - 750
These nested if statements could be combined767 - 770
These nested if statements could be combined1858 - 1876
These nested if statements could be combined1886 - 1905

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

ViolationLine
These nested if statements could be combined163 - 166

org/apache/maven/settings/SettingsUtils.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe98
Avoid using java.lang.ThreadGroup; it is not thread safe138
Avoid using java.lang.ThreadGroup; it is not thread safe148
Avoid using java.lang.ThreadGroup; it is not thread safe158
Avoid using java.lang.ThreadGroup; it is not thread safe170
Avoid using java.lang.ThreadGroup; it is not thread safe224
Avoid using java.lang.ThreadGroup; it is not thread safe249