PMD Results

The following document contains the results of PMD 4.2.2.

Files

org/apache/maven/profiles/DefaultProfileManager.java

Violation Line
These nested if statements could be combined 273 - 276

org/apache/maven/project/DefaultMavenProjectBuilder.java

Violation Line
Avoid unused method parameters such as 'parent'. 429 - 499
These nested if statements could be combined 514 - 521
Avoid unused method parameters such as 'strict'. 969 - 1101
These nested if statements could be combined 1296 - 1301
Avoid unused method parameters such as 'debugMessages'. 2431 - 2505

org/apache/maven/project/MavenProject.java

Violation Line
These nested if statements could be combined 489 - 492
These nested if statements could be combined 504 - 507
These nested if statements could be combined 519 - 522
These nested if statements could be combined 556 - 560
These nested if statements could be combined 578 - 582
These nested if statements could be combined 732 - 740
These nested if statements could be combined 758 - 761
These nested if statements could be combined 814 - 817
These nested if statements could be combined 835 - 838

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

Violation Line
Avoid unnecessary return statements 175

org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 35
These nested if statements could be combined 88 - 91
These nested if statements could be combined 408 - 425
These nested if statements could be combined 430 - 434
These nested if statements could be combined 439 - 444
Avoid empty if statements 527 - 529
Avoid empty if statements 533 - 537

org/apache/maven/project/interpolation/PathTranslatingPostProcessor.java

Violation Line
Avoid unused imports such as 'org.codehaus.plexus.interpolation.AbstractFunctionValueSourceWrapper' 23
Avoid unused imports such as 'org.codehaus.plexus.interpolation.ValueSource' 25

org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

Violation Line
Avoid unused constructor parameters such as 'envars'. 50 - 52

org/apache/maven/project/path/DefaultPathTranslator.java

Violation Line
These nested if statements could be combined 185 - 188

org/apache/maven/project/validation/DefaultModelValidator.java

Violation Line
These nested if statements could be combined 72 - 76