PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/apache/shiro/spring/security/interceptor/AuthorizationAttributeSourceAdvisor.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'log'. 40

Priority 4

org/apache/shiro/spring/LifecycleBeanPostProcessor.java

Rule Violation Line
UselessParentheses Useless parentheses. 146

org/apache/shiro/spring/config/AbstractShiroBeanConfiguration.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.springframework.beans.factory.annotation.Autowired' 25

org/apache/shiro/spring/config/ShiroConfiguration.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.apache.shiro.event.EventBus' 24

org/apache/shiro/spring/remoting/SecureRemoteInvocationExecutor.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.shiro.mgt.SecurityManager' due to existing import 'org.apache.shiro.mgt.SecurityManager' 70

org/apache/shiro/spring/security/interceptor/AuthorizationAttributeSourceAdvisor.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.shiro.mgt.SecurityManager' due to existing import 'org.apache.shiro.mgt.SecurityManager' 61

org/apache/shiro/spring/web/ShiroFilterFactoryBean.java

Rule Violation Line
UselessParentheses Useless parentheses. 476
UselessParentheses Useless parentheses. 488
UselessParentheses Useless parentheses. 500

org/apache/shiro/spring/web/config/ShiroWebConfiguration.java

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.springframework.context.annotation.DependsOn' 33

Files

org/apache/shiro/spring/LifecycleBeanPostProcessor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 146

org/apache/shiro/spring/config/AbstractShiroBeanConfiguration.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.springframework.beans.factory.annotation.Autowired' 4 25

org/apache/shiro/spring/config/ShiroConfiguration.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.apache.shiro.event.EventBus' 4 24

org/apache/shiro/spring/remoting/SecureRemoteInvocationExecutor.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.shiro.mgt.SecurityManager' due to existing import 'org.apache.shiro.mgt.SecurityManager' 4 70

org/apache/shiro/spring/security/interceptor/AuthorizationAttributeSourceAdvisor.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'log'. 3 40
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.shiro.mgt.SecurityManager' due to existing import 'org.apache.shiro.mgt.SecurityManager' 4 61

org/apache/shiro/spring/web/ShiroFilterFactoryBean.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 476
UselessParentheses Useless parentheses. 4 488
UselessParentheses Useless parentheses. 4 500

org/apache/shiro/spring/web/config/ShiroWebConfiguration.java

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.springframework.context.annotation.DependsOn' 4 33