PMD Results
The following document contains the results of PMD 5.6.1.
Files
org/apache/maven/plugins/enforcer/AbstractVersionEnforcer.java
Violation |
Line |
Useless parentheses. |
134 |
org/apache/maven/plugins/enforcer/BanDuplicatePomDependencyVersions.java
Violation |
Line |
Avoid unused method parameters such as 'helper'. |
99 |
org/apache/maven/plugins/enforcer/BanTransitiveDependencies.java
Violation |
Line |
Useless parentheses. |
110 |
org/apache/maven/plugins/enforcer/ReactorModuleConvergence.java
Violation |
Line |
Avoid empty if statements |
236–238 |
These nested if statements could be combined |
253–260 |
These nested if statements could be combined |
396–399 |
org/apache/maven/plugins/enforcer/RequireActiveProfile.java
Violation |
Line |
These nested if statements could be combined |
97–100 |
org/apache/maven/plugins/enforcer/RequireFilesDontExist.java
Violation |
Line |
Ternary operators that can be simplified with || or && |
34 |
org/apache/maven/plugins/enforcer/RequireFilesExist.java
Violation |
Line |
Ternary operators that can be simplified with || or && |
35 |
org/apache/maven/plugins/enforcer/RequireFilesSize.java
Violation |
Line |
Useless parentheses. |
127 |
org/apache/maven/plugins/enforcer/RequireNoRepositories.java
Violation |
Line |
These nested if statements could be combined |
217–224 |
org/apache/maven/plugins/enforcer/RequireOS.java
Violation |
Line |
Useless parentheses. |
216 |
Useless parentheses. |
287 |
org/apache/maven/plugins/enforcer/RequirePluginVersions.java
Violation |
Line |
Avoid unused method parameters such as 'model'. |
989 |
Avoid unused method parameters such as 'model'. |
1002 |
Avoid unused method parameters such as 'model'. |
1017 |
org/apache/maven/plugins/enforcer/utils/ArtifactMatcher.java
Violation |
Line |
These nested if statements could be combined |
116–122 |
org/apache/maven/plugins/enforcer/utils/DependencyVersionMap.java
Violation |
Line |
Avoid unused constructor parameters such as 'log'. |
43 |
org/apache/maven/plugins/enforcer/utils/EnforcerRuleUtils.java
Violation |
Line |
Avoid unused constructor parameters such as 'theFactory'. |
70 |
org/apache/maven/plugins/enforcer/utils/NormalizeLineSeparatorReader.java
Violation |
Line |
These nested if statements could be combined |
72–75 |
These nested if statements could be combined |
79–82 |