PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/maven/DefaultProjectDependencyGraph.java
Violation | Line |
---|
These nested if statements could be combined | 82 - 85 |
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/DefaultMavenExecutionResult.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.ArrayList' | 22 |
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 |
Avoid unused private methods such as 'getId(MavenProject)'. | 365 |
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 | 140 - 142 |
org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java
Violation | Line |
---|
Avoid unused private fields such as 'pluginVersionResolver'. | 70 |
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'. | 157 - 174 |
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'. | 52 - 57 |
Avoid unused constructor parameters such as 'logger'. | 52 - 57 |
Avoid unused constructor parameters such as 'properties'. | 52 - 57 |
Avoid unused constructor parameters such as 'pathTranslator'. | 52 - 57 |
Avoid empty if statements | 420 - 422 |
org/apache/maven/plugin/internal/DefaultPluginManager.java
Violation | Line |
---|
Avoid unused imports such as 'org.codehaus.plexus.classworlds.realm.ClassRealm' | 58 |
org/apache/maven/project/MavenProject.java
Violation | Line |
---|
These nested if statements could be combined | 474 - 477 |
These nested if statements could be combined | 514 - 517 |
These nested if statements could be combined | 535 - 538 |
These nested if statements could be combined | 654 - 657 |
These nested if statements could be combined | 674 - 677 |
These nested if statements could be combined | 727 - 730 |
These nested if statements could be combined | 747 - 750 |
These nested if statements could be combined | 1838 - 1856 |
These nested if statements could be combined | 1866 - 1885 |
org/apache/maven/project/artifact/MavenMetadataSource.java
Violation | Line |
---|
Avoid unused imports such as 'org.apache.maven.execution.MavenSession' | 55 |
These nested if statements could be combined | 164 - 167 |