PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/apache/shiro/codec/Base64.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 335340
CollapsibleIfStatements These nested if statements could be combined 375378

org/apache/shiro/util/ByteSource.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'static' on class 'Util': types nested within an interface type are implicitly static 73190
UnnecessaryModifier Unnecessary modifier 'public' on class 'Util': members of interface types are implicitly public 73190

org/apache/shiro/util/ClassUtils.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'ClassLoaderAccessor': member interfaces are implicitly static 240243

Priority 4

org/apache/shiro/codec/Base64.java

Rule Violation Line
UselessParentheses Useless parentheses. 286287
UselessParentheses Useless parentheses. 338

org/apache/shiro/util/StringUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 98

Files

org/apache/shiro/codec/Base64.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 286287
CollapsibleIfStatements These nested if statements could be combined 3 335340
UselessParentheses Useless parentheses. 4 338
CollapsibleIfStatements These nested if statements could be combined 3 375378

org/apache/shiro/util/ByteSource.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'static' on class 'Util': types nested within an interface type are implicitly static 3 73190
UnnecessaryModifier Unnecessary modifier 'public' on class 'Util': members of interface types are implicitly public 3 73190

org/apache/shiro/util/ClassUtils.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'static' on interface 'ClassLoaderAccessor': member interfaces are implicitly static 3 240243

org/apache/shiro/util/StringUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 98