PMD Results

The following document contains the results of PMD 5.3.2.

Files

org/apache/maven/model/building/ModelProblemUtils.java

Violation Line
Useless parentheses. 113
Useless parentheses. 115
Useless parentheses. 117

org/apache/maven/model/building/Result.java

Violation Line
Too many static imports may lead to messy code 1246
Unnecessary use of fully qualified name 'Iterables.transform' due to existing import 'com.google.common.collect.Iterables' 86
Unnecessary use of fully qualified name 'Iterables.concat' due to existing import 'com.google.common.collect.Iterables' 86
Unnecessary use of fully qualified name 'Iterables.transform' due to existing import 'com.google.common.collect.Iterables' 111
Unnecessary use of fully qualified name 'Iterables.concat' due to existing import 'com.google.common.collect.Iterables' 111
Unnecessary use of fully qualified name 'Iterables.concat' due to existing import 'com.google.common.collect.Iterables' 162
Unnecessary use of fully qualified name 'Iterables.transform' due to existing import 'com.google.common.collect.Iterables' 162

org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

Violation Line
Useless parentheses. 127

org/apache/maven/model/merge/MavenModelMerger.java

Violation Line
These nested if statements could be combined 8488
Useless parentheses. 547
Useless parentheses. 603

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

Violation Line
Avoid unused method parameters such as 'request'. 208
Useless parentheses. 267
Useless parentheses. 274
Avoid unused method parameters such as 'request'. 532
Avoid unused method parameters such as 'request'. 591