PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/maven/shared/release/DefaultReleaseManager.java
Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'listener'. 474
org/apache/maven/shared/release/phase/AbstractRewritePomsPhase.java
Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'parentVersion'. 284
EmptyControlStatement Empty else statement 630632
EmptyControlStatement Empty else statement 638640
org/apache/maven/shared/release/phase/CheckDependencySnapshotsPhase.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 133135
org/apache/maven/shared/release/phase/GenerateReleasePomsPhase.java
Rule Violation Line
UnusedLocalVariable Avoid unused local variables such as 'projectVersion'. 233

Priority 4

org/apache/maven/shared/release/config/PropertiesReleaseDescriptorStore.java
Rule Violation Line
UselessParentheses Useless parentheses. 293
UselessParentheses Useless parentheses. 294
org/apache/maven/shared/release/exec/TeeOutputStream.java
Rule Violation Line
UselessParentheses Useless parentheses. 58
UselessParentheses Useless parentheses. 74
org/apache/maven/shared/release/phase/AbstractRewritePomsPhase.java
Rule Violation Line
UselessParentheses Useless parentheses. 211
UselessParentheses Useless parentheses. 427
UselessParentheses Useless parentheses. 756
UselessParentheses Useless parentheses. 756
org/apache/maven/shared/release/transform/jdom2/JDomUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 51
org/apache/maven/shared/release/versions/DefaultVersionInfo.java
Rule Violation Line
UselessParentheses Useless parentheses. 382

Files

org/apache/maven/shared/release/DefaultReleaseManager.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'listener'. 3 474

org/apache/maven/shared/release/config/PropertiesReleaseDescriptorStore.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 293
UselessParentheses Useless parentheses. 4 294

org/apache/maven/shared/release/exec/TeeOutputStream.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 58
UselessParentheses Useless parentheses. 4 74

org/apache/maven/shared/release/phase/AbstractRewritePomsPhase.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 211
UnusedLocalVariable Avoid unused local variables such as 'parentVersion'. 3 284
UselessParentheses Useless parentheses. 4 427
EmptyControlStatement Empty else statement 3 630632
EmptyControlStatement Empty else statement 3 638640
UselessParentheses Useless parentheses. 4 756
UselessParentheses Useless parentheses. 4 756

org/apache/maven/shared/release/phase/CheckDependencySnapshotsPhase.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 133135

org/apache/maven/shared/release/phase/GenerateReleasePomsPhase.java

Rule Violation Priority Line
UnusedLocalVariable Avoid unused local variables such as 'projectVersion'. 3 233

org/apache/maven/shared/release/transform/jdom2/JDomUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 51

org/apache/maven/shared/release/versions/DefaultVersionInfo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 382