PMD Results
The following document contains the results of PMD 5.0.5.
Files
org/apache/maven/DefaultMaven.java
Violation |
Line |
Avoid returning from a finally block |
372 |
org/apache/maven/bridge/MavenRepositorySystem.java
Violation |
Line |
Avoid unused private fields such as 'artifactResolver'. |
84 |
Avoid unused private fields such as 'plexus'. |
90 |
org/apache/maven/bridge/MirrorSelector.java
Violation |
Line |
Do not hard code the IP address |
130 |
org/apache/maven/execution/MavenSession.java
Violation |
Line |
Avoid unused constructor parameters such as 'unused'. |
101 |
Avoid unused constructor parameters such as 'eventDispatcher'. |
101 |
org/apache/maven/execution/SettingsAdapter.java
Violation |
Line |
Avoid unused private fields such as 'runtimeInfo'. |
48 |
org/apache/maven/lifecycle/LifecycleExecutionException.java
Violation |
Line |
Avoid unused constructor parameters such as 'execution'. |
54 |
Avoid unused constructor parameters such as 'execution'. |
60 |
org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
Violation |
Line |
Avoid unused private fields such as 'pluginVersionResolver'. |
75 |
org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
Violation |
Line |
Avoid unused private fields such as 'projectExecutionListeners'. |
66 |
org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java
Violation |
Line |
Avoid unused method parameters such as 'muxer'. |
181 |
org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
Violation |
Line |
Avoid unused constructor parameters such as 'e'. |
35 |
org/apache/maven/plugin/DefaultBuildPluginManager.java
Violation |
Line |
Avoid unused private fields such as 'mojoExecutionListeners'. |
61 |
org/apache/maven/plugin/ExtensionRealmCache.java
Violation |
Line |
Avoid modifiers which are implied by the context |
47–60 |
org/apache/maven/plugin/PluginArtifactsCache.java
Violation |
Line |
Avoid modifiers which are implied by the context |
50–68 |
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'. |
80 |
Avoid unused constructor parameters such as 'logger'. |
80 |
Avoid unused constructor parameters such as 'pathTranslator'. |
80 |
Avoid unused constructor parameters such as 'properties'. |
81 |
org/apache/maven/plugin/PluginRealmCache.java
Violation |
Line |
Avoid modifiers which are implied by the context |
44–55 |
org/apache/maven/project/MavenProject.java
Violation |
Line |
These nested if statements could be combined |
356–360 |
These nested if statements could be combined |
1554–1557 |
These nested if statements could be combined |
1579–1583 |
These nested if statements could be combined |
1733–1736 |
These nested if statements could be combined |
1753–1756 |
org/apache/maven/project/ProjectRealmCache.java
Violation |
Line |
Avoid modifiers which are implied by the context |
46–59 |