Apache Commons logo Commons Crypto? logo

PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

org/apache/commons/crypto/cipher/CryptoCipherFactory.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'CipherProvider(Class)': enum constructors are implicitly private 9295

org/apache/commons/crypto/jna/OpenSslNativeJna.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 5254

org/apache/commons/crypto/random/CryptoRandomFactory.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'RandomProvider(Class)': enum constructors are implicitly private 123126

org/apache/commons/crypto/stream/PositionedCryptoInputStream.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 296297

org/apache/commons/crypto/utils/Utils.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'is': resource specifications are implicitly final 6667

Priority 4

org/apache/commons/crypto/cipher/OpenSslGaloisCounterMode.java

Rule Violation Line
UselessParentheses Useless parentheses. 290

Files

org/apache/commons/crypto/cipher/CryptoCipherFactory.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'CipherProvider(Class)': enum constructors are implicitly private 3 9295

org/apache/commons/crypto/cipher/OpenSslGaloisCounterMode.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 290

org/apache/commons/crypto/jna/OpenSslNativeJna.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 5254

org/apache/commons/crypto/random/CryptoRandomFactory.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'RandomProvider(Class)': enum constructors are implicitly private 3 123126

org/apache/commons/crypto/stream/PositionedCryptoInputStream.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 296297

org/apache/commons/crypto/utils/Utils.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'is': resource specifications are implicitly final 3 6667