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'. 960 - 1092
These nested if statements could be combined 1294 - 1299
Avoid unused method parameters such as 'debugMessages'. 2421 - 2495

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/ProjectSorter.java

Violation Line
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/java/org/apache/maven/project/ProjectSorter.java: Can't use generics unless running in JDK 1.5 mode! 0

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

Violation Line
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java: Can't use generics unless running in JDK 1.5 mode! 0

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/AbstractStringBasedModelInterpolator.java

Violation Line
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java: Can't use generics unless running in JDK 1.5 mode! 0

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

Violation Line
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/java/org/apache/maven/project/interpolation/ModelInterpolationException.java: Can't use annotations when running in JDK 1.4 mode! 0

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

Violation Line
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/java/org/apache/maven/project/interpolation/ModelInterpolator.java: Can't use generics unless running in JDK 1.5 mode! 0

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

Violation Line
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/java/org/apache/maven/project/interpolation/PathTranslatingPostProcessor.java: Can't use generics unless running in JDK 1.5 mode! 0

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

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

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

Violation Line
Error while parsing /home/herve/projet/maven/maven-2/tags/maven-2.2.1/maven-project/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java: Can't use generics unless running in JDK 1.5 mode! 0

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

Violation Line
These nested if statements could be combined 186 - 189

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

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