PMD Results

The following document contains the results of PMD 5.0.5.

Files

org/apache/maven/shared/utils/PropertyUtils.java

Violation Line
Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' 51

org/apache/maven/shared/utils/StringUtils.java

Violation Line
These nested if statements could be combined 10311034

org/apache/maven/shared/utils/cli/Commandline.java

Violation Line
These nested if statements could be combined 330337

org/apache/maven/shared/utils/introspection/ClassMap.java

Violation Line
Avoid unused private methods such as 'makeMethodKey(Method)'. 188

org/apache/maven/shared/utils/io/FileUtils.java

Violation Line
Avoid unused private fields such as 'ONE_GB'. 111

org/apache/maven/shared/utils/io/SelectorUtils.java

Violation Line
Avoid using a branching statement as the last in a loop. 341
Avoid using a branching statement as the last in a loop. 529
These nested if statements could be combined 565569
Avoid using a branching statement as the last in a loop. 771

org/apache/maven/shared/utils/xml/Xpp3Dom.java

Violation Line
Avoid unused private fields such as 'DEFAULT_CHILDREN_COMBINATION_MODE'. 67
Avoid unused private fields such as 'DEFAULT_SELF_COMBINATION_MODE'. 85
Avoid unused private methods such as 'merge(Xpp3Dom,Xpp3Dom,Boolean)'. 317