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. 148

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 235237
These nested if statements could be combined 252259
These nested if statements could be combined 395398

org/apache/maven/plugins/enforcer/RequireActiveProfile.java

Violation Line
These nested if statements could be combined 97100

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 217224

org/apache/maven/plugins/enforcer/RequireOS.java

Violation Line
Useless parentheses. 217
Useless parentheses. 288

org/apache/maven/plugins/enforcer/utils/ArtifactMatcher.java

Violation Line
These nested if statements could be combined 116122

org/apache/maven/plugins/enforcer/utils/DependencyVersionMap.java

Violation Line
Avoid unused constructor parameters such as 'log'. 43