PMD Results
The following document contains the results of PMD 4.3.
Files
org/apache/maven/DefaultMaven.java
Violation |
Line |
Avoid using java.lang.ThreadGroup; it is not thread safe |
421 |
Avoid using java.lang.ThreadGroup; it is not thread safe |
625 |
org/apache/maven/DefaultProjectDependencyGraph.java
Violation |
Line |
These nested if statements could be combined |
82 - 85 |
org/apache/maven/RepositoryUtils.java
Violation |
Line |
Avoid using java.lang.ThreadGroup; it is not thread safe |
91 |
org/apache/maven/artifact/InvalidRepositoryException.java
Violation |
Line |
Avoid unused constructor parameters such as 't'. |
49 - 53 |
org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
Violation |
Line |
Avoid empty if statements |
53 - 55 |
org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
Violation |
Line |
These nested if statements could be combined |
247 - 250 |
org/apache/maven/execution/MavenSession.java
Violation |
Line |
Avoid unused constructor parameters such as 'eventDispatcher'. |
93 - 107 |
Avoid unused constructor parameters such as 'unused'. |
93 - 107 |
org/apache/maven/execution/ReactorManager.java
Violation |
Line |
Avoid unused imports such as 'java.util.Iterator' |
32 |
org/apache/maven/lifecycle/LifecycleExecutionException.java
Violation |
Line |
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
Violation |
Line |
Avoid empty if statements |
154 - 156 |
org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
Violation |
Line |
Avoid unused private fields such as 'pluginVersionResolver'. |
75 |
org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java
Violation |
Line |
These nested if statements could be combined |
80 - 83 |
org/apache/maven/lifecycle/internal/LifecycleThreadedBuilder.java
Violation |
Line |
Avoid unused method parameters such as 'muxer'. |
159 - 176 |
org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java
Violation |
Line |
Avoid unused imports such as 'java.util.Iterator' |
25 |
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Violation |
Line |
Avoid unused constructor parameters such as 'e'. |
35 - 40 |
org/apache/maven/plugin/PluginConfigurationException.java
Violation |
Line |
Avoid unused private fields such as 'pluginDescriptor'. |
33 |
Avoid unused private fields such as 'originalMessage'. |
35 |
org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Violation |
Line |
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 statements |
447 - 449 |
org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java
Violation |
Line |
Avoid using java.lang.ThreadGroup; it is not thread safe |
175 |
org/apache/maven/plugin/version/internal/DefaultPluginVersionResolver.java
Violation |
Line |
Avoid empty catch blocks |
197 - 199 |
org/apache/maven/project/MavenProject.java
Violation |
Line |
Avoid unused imports such as 'java.util.Iterator' |
74 |
These nested if statements could be combined |
477 - 480 |
These nested if statements could be combined |
521 - 524 |
These nested if statements could be combined |
542 - 545 |
These nested if statements could be combined |
673 - 676 |
These nested if statements could be combined |
693 - 696 |
These nested if statements could be combined |
750 - 753 |
These nested if statements could be combined |
770 - 773 |
These nested if statements could be combined |
1883 - 1901 |
These nested if statements could be combined |
1911 - 1930 |
org/apache/maven/project/artifact/MavenMetadataSource.java
Violation |
Line |
These nested if statements could be combined |
163 - 166 |
org/apache/maven/settings/SettingsUtils.java
Violation |
Line |
Avoid using java.lang.ThreadGroup; it is not thread safe |
98 |
Avoid using java.lang.ThreadGroup; it is not thread safe |
138 |
Avoid using java.lang.ThreadGroup; it is not thread safe |
148 |
Avoid using java.lang.ThreadGroup; it is not thread safe |
158 |
Avoid using java.lang.ThreadGroup; it is not thread safe |
170 |
Avoid using java.lang.ThreadGroup; it is not thread safe |
224 |
Avoid using java.lang.ThreadGroup; it is not thread safe |
249 |