PMD Results

The following document contains the results of PMD 3.7.

Files

org/apache/geronimo/util/crypto/params/DSAParameters.java

ViolationLine
Ensure you override both equals() and hashCode()75 - 76

org/apache/geronimo/util/crypto/params/DHKeyParameters.java

ViolationLine
Ensure you override both equals() and hashCode()41 - 42

org/apache/geronimo/util/crypto/params/DHParameters.java

ViolationLine
Avoid unused constructor parameters such as 'validation'54 - 65
Ensure you override both equals() and hashCode()97 - 98

org/apache/geronimo/util/crypto/params/DHPrivateKeyParameters.java

ViolationLine
Ensure you override both equals() and hashCode()42 - 43

org/apache/geronimo/util/crypto/params/DHPublicKeyParameters.java

ViolationLine
Ensure you override both equals() and hashCode()42 - 43

org/apache/geronimo/util/crypto/params/DHValidationParameters.java

ViolationLine
Ensure you override both equals() and hashCode()34 - 35

org/apache/geronimo/util/crypto/params/DSAValidationParameters.java

ViolationLine
Ensure you override both equals() and hashCode()44 - 45

org/apache/geronimo/util/jce/provider/X509CertificateObject.java

ViolationLine
Avoid unused local variables such as 'length'325

org/apache/geronimo/util/jce/provider/JCERSAPrivateKey.java

ViolationLine
Ensure you override both equals() and hashCode()99

org/apache/geronimo/util/jce/provider/JDKKeyFactory.java

ViolationLine
Avoid unused imports such as 'org.apache.geronimo.util.asn1.cryptopro.CryptoProObjectIdentifiers'51
No need to import a type that's in the same package60
No need to import a type that's in the same package61

org/apache/geronimo/util/jce/provider/JCERSAPrivateCrtKey.java

ViolationLine
Ensure you override both equals() and hashCode()224

org/apache/geronimo/util/jce/provider/JCERSAPublicKey.java

ViolationLine
Ensure you override both equals() and hashCode()129

org/apache/geronimo/util/asn1/DERConstructedSet.java

ViolationLine
Overriding method merely calls super57 - 61

org/apache/geronimo/util/asn1/DERInputStream.java

ViolationLine
Avoid empty catch blocks262 - 265

org/apache/geronimo/util/asn1/x509/ObjectDigestInfo.java

ViolationLine
No need to import a type that's in the same package30

org/apache/geronimo/util/asn1/x509/V2AttributeCertificateInfoGenerator.java

ViolationLine
Avoid unused private fields such as 'attrCertValidityPeriod'54

org/apache/geronimo/util/asn1/x509/X509Name.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.266
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.266
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.326
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.336
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.385
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.525
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.536
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.543

org/apache/geronimo/util/asn1/DERConstructedSequence.java

ViolationLine
Overriding method merely calls super31 - 35

org/apache/geronimo/util/encoders/HexEncoder.java

ViolationLine
Avoid unused local variables such as 'b3'153
Avoid unused local variables such as 'b4'153