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' 41
Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' 54
Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' 67

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

Violation Line
These nested if statements could be combined 10301033

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

Violation Line
These nested if statements could be combined 315322

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

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

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

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

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

Violation Line
Avoid using a branching statement as the last in a loop. 329
Avoid using a branching statement as the last in a loop. 517
These nested if statements could be combined 553557
Avoid using a branching statement as the last in a loop. 759

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

Violation Line
Avoid unused private methods such as 'contains(String,char)'. 379

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

Violation Line
Avoid unused private fields such as 'DEFAULT_CHILDREN_COMBINATION_MODE'. 62
Avoid unused private fields such as 'DEFAULT_SELF_COMBINATION_MODE'. 71
Avoid unused private methods such as 'merge(Xpp3Dom,Xpp3Dom,Boolean)'. 242