PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/codehaus/plexus/interpolation/InterpolatorFilterReader.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 304312
org/codehaus/plexus/interpolation/RecursionInterceptor.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'clear': the method is declared in an interface type 69
org/codehaus/plexus/interpolation/ValueSource.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type 31
org/codehaus/plexus/interpolation/fixed/FixedValueSource.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type 26
org/codehaus/plexus/interpolation/fixed/PrefixedValueSourceWrapper.java
Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'lastExpression'. 39
org/codehaus/plexus/interpolation/multi/MultiDelimiterInterpolatorFilterReader.java
Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 339347
org/codehaus/plexus/interpolation/multi/MultiDelimiterStringSearchInterpolator.java
Rule Violation Line
UnusedNullCheckInEquals Invoke equals() on the object you've already ensured is not null 176
org/codehaus/plexus/interpolation/os/OperatingSystemUtils.java
Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getEnvMap': the method is declared in an interface type 86

Priority 4

org/codehaus/plexus/interpolation/InterpolatorFilterReader.java
Rule Violation Line
UselessParentheses Useless parentheses. 230
UselessParentheses Useless parentheses. 245
UselessParentheses Useless parentheses. 246
UselessParentheses Useless parentheses. 247249
org/codehaus/plexus/interpolation/PrefixedValueSourceWrapper.java
Rule Violation Line
UselessParentheses Useless parentheses. 128
UselessParentheses Useless parentheses. 137
org/codehaus/plexus/interpolation/multi/MultiDelimiterInterpolatorFilterReader.java
Rule Violation Line
UselessParentheses Useless parentheses. 244
UselessParentheses Useless parentheses. 289
UselessParentheses Useless parentheses. 290
org/codehaus/plexus/interpolation/os/Os.java
Rule Violation Line
UselessParentheses Useless parentheses. 380
org/codehaus/plexus/interpolation/util/StringUtils.java
Rule Violation Line
UselessParentheses Useless parentheses. 92
UselessParentheses Useless parentheses. 92
UselessParentheses Useless parentheses. 92
UselessParentheses Useless parentheses. 92

Files

org/codehaus/plexus/interpolation/InterpolatorFilterReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 230
UselessParentheses Useless parentheses. 4 245
UselessParentheses Useless parentheses. 4 246
UselessParentheses Useless parentheses. 4 247249
CollapsibleIfStatements These nested if statements could be combined 3 304312

org/codehaus/plexus/interpolation/PrefixedValueSourceWrapper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 128
UselessParentheses Useless parentheses. 4 137

org/codehaus/plexus/interpolation/RecursionInterceptor.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'clear': the method is declared in an interface type 3 69

org/codehaus/plexus/interpolation/ValueSource.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type 3 31

org/codehaus/plexus/interpolation/fixed/FixedValueSource.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getValue': the method is declared in an interface type 3 26

org/codehaus/plexus/interpolation/fixed/PrefixedValueSourceWrapper.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'lastExpression'. 3 39

org/codehaus/plexus/interpolation/multi/MultiDelimiterInterpolatorFilterReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 244
UselessParentheses Useless parentheses. 4 289
UselessParentheses Useless parentheses. 4 290
CollapsibleIfStatements These nested if statements could be combined 3 339347

org/codehaus/plexus/interpolation/multi/MultiDelimiterStringSearchInterpolator.java

Rule Violation Priority Line
UnusedNullCheckInEquals Invoke equals() on the object you've already ensured is not null 3 176

org/codehaus/plexus/interpolation/os/OperatingSystemUtils.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getEnvMap': the method is declared in an interface type 3 86

org/codehaus/plexus/interpolation/os/Os.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 380

org/codehaus/plexus/interpolation/util/StringUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 92
UselessParentheses Useless parentheses. 4 92
UselessParentheses Useless parentheses. 4 92
UselessParentheses Useless parentheses. 4 92