PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

org/apache/shiro/crypto/PaddingScheme.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'PaddingScheme(String)': enum constructors are implicitly private 150152

Priority 4

org/apache/shiro/crypto/AesCipherService.java

Rule Violation Line
UselessParentheses Useless parentheses. 103
UselessParentheses Useless parentheses. 104

org/apache/shiro/crypto/JcaCipherService.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.SecureRandom.getInstance' due to existing import 'java.security.SecureRandom' 254
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.SecureRandom' due to existing import 'java.security.SecureRandom' 258
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 477
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 592

Files

org/apache/shiro/crypto/AesCipherService.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103
UselessParentheses Useless parentheses. 4 104

org/apache/shiro/crypto/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 254
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.SecureRandom' due to existing import 'java.security.SecureRandom' 4 258
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 4 477
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.security.Key' due to existing import 'java.security.Key' 4 592

org/apache/shiro/crypto/PaddingScheme.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'PaddingScheme(String)': enum constructors are implicitly private 3 150152