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. |
147 |
org/apache/maven/plugins/enforcer/BanDuplicatePomDependencyVersions.java
Violation |
Line |
Avoid unused method parameters such as 'helper'. |
115 |
org/apache/maven/plugins/enforcer/BanTransitiveDependencies.java
Violation |
Line |
Useless parentheses. |
107 |
org/apache/maven/plugins/enforcer/ReactorModuleConvergence.java
Violation |
Line |
Avoid empty if statements |
237–239 |
These nested if statements could be combined |
254–261 |
These nested if statements could be combined |
397–400 |
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 && |
34 |
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 private fields such as 'remoteRepositories'. |
173 |
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 |