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. 454
UselessParentheses Useless parentheses. 466
UselessParentheses Useless parentheses. 478

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

Rule Violation Line
UnusedImports Avoid unused imports such as 'org.apache.shiro.config.Ini' 21
UnusedImports Avoid unused imports such as 'org.apache.shiro.realm.Realm' 26
UnusedImports Avoid unused imports such as 'org.apache.shiro.realm.text.IniRealm' 27

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

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

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 454
UselessParentheses Useless parentheses. 4 466
UselessParentheses Useless parentheses. 4 478

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

Rule Violation Priority Line
UnusedImports Avoid unused imports such as 'org.apache.shiro.config.Ini' 4 21
UnusedImports Avoid unused imports such as 'org.apache.shiro.realm.Realm' 4 26
UnusedImports Avoid unused imports such as 'org.apache.shiro.realm.text.IniRealm' 4 27

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

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