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 324
Avoid unused method parameters such as 'result'. 489

org/apache/maven/bridge/MavenRepositorySystem.java

Violation Line
Do not hard code the IP address 717

org/apache/maven/execution/MavenSession.java

Violation Line
Avoid unused constructor parameters such as 'eventDispatcher'. 333
Avoid unused constructor parameters such as 'unused'. 333

org/apache/maven/execution/SettingsAdapter.java

Violation Line
Avoid unused private fields such as 'runtimeInfo'. 48

org/apache/maven/graph/DefaultGraphBuilder.java

Violation Line
Avoid unused private methods such as 'addExceptionToResult(MavenExecutionResult,Throwable)'. 371

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'. 76

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'. 182

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 4763

org/apache/maven/plugin/PluginArtifactsCache.java

Violation Line
Avoid modifiers which are implied by the context 5068

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 'logger'. 88
Avoid unused constructor parameters such as 'project'. 88
Avoid unused constructor parameters such as 'pathTranslator'. 88
Avoid unused constructor parameters such as 'properties'. 89

org/apache/maven/plugin/PluginRealmCache.java

Violation Line
Avoid modifiers which are implied by the context 4455

org/apache/maven/project/DefaultProjectBuildingHelper.java

Violation Line
Avoid unused private fields such as 'container'. 72

org/apache/maven/project/MavenProject.java

Violation Line
These nested if statements could be combined 356360
These nested if statements could be combined 15551558
These nested if statements could be combined 15801584
These nested if statements could be combined 17341737
These nested if statements could be combined 17541757

org/apache/maven/project/ProjectRealmCache.java

Violation Line
Avoid modifiers which are implied by the context 4659

org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

Violation Line
Avoid unused method parameters such as 'request'. 79