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' |
39 |
| Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' |
52 |
| Unnecessary use of fully qualified name 'java.util.Properties' due to existing import 'java.util.Properties' |
65 |
org/apache/maven/shared/utils/StringUtils.java
| Violation |
Line |
| These nested if statements could be combined |
1028–1031 |
org/apache/maven/shared/utils/cli/CommandLineCallable.java
| Violation |
Line |
| Avoid modifiers which are implied by the context |
32–33 |
org/apache/maven/shared/utils/cli/Commandline.java
| Violation |
Line |
| These nested if statements could be combined |
315–322 |
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. |
513 |
| These nested if statements could be combined |
549–553 |
| Avoid using a branching statement as the last in a loop. |
755 |
org/apache/maven/shared/utils/xml/XMLEncode.java
| Violation |
Line |
| Avoid unused private methods such as 'contains(String,char)'. |
341 |
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 |