PMD Results

The following document contains the results of PMD 5.5.1.

Files

org/apache/shiro/spring/LifecycleBeanPostProcessor.java

Violation Line
Useless parentheses. 146

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

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

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

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

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

Violation Line
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

Violation Line
Avoid unused private fields such as 'log'. 40
Unnecessary use of fully qualified name 'org.apache.shiro.mgt.SecurityManager' due to existing import 'org.apache.shiro.mgt.SecurityManager' 61
Avoid empty catch blocks 9497

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

Violation Line
Useless parentheses. 454
Useless parentheses. 466
Useless parentheses. 478

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

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

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

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