PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 3

org/apache/shiro/crypto/cipher/SimpleByteSourceBroker.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 5456

Priority 4

org/apache/shiro/crypto/cipher/AesCipherService.java
Rule Violation Line
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 111
org/apache/shiro/crypto/cipher/JcaCipherService.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.SecureRandom.getInstance' due to existing import 'java.security.SecureRandom' 257
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.SecureRandom' due to existing import 'java.security.SecureRandom' 261
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 484
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 598

Files

org/apache/shiro/crypto/cipher/AesCipherService.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 111

org/apache/shiro/crypto/cipher/JcaCipherService.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.SecureRandom.getInstance' due to existing import 'java.security.SecureRandom' 4 257
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.SecureRandom' due to existing import 'java.security.SecureRandom' 4 261
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 4 484
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 4 598

org/apache/shiro/crypto/cipher/SimpleByteSourceBroker.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 5456