The following document contains the results of PMD 4.2.2.
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.security.UnrecoverableKeyException' | 9 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'trustedClassLoader'. | 14 |
| Avoid unused private fields such as 'systemClassLoader'. | 15 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 19 |
| These nested if statements could be combined | 23 - 26 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 30 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 40 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 50 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 64 |
| These nested if statements could be combined | 309 - 313 |
| These nested if statements could be combined | 310 - 312 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'es.caib.signatura.api.SignerFactory' | 34 |
| Avoid unused imports such as 'java.security.DigestInputStream' | 37 |
| Avoid unused imports such as 'java.security.MessageDigest' | 38 |
| Avoid unused imports such as 'java.security.NoSuchAlgorithmException' | 39 |
| Avoid unused imports such as 'java.security.NoSuchProviderException' | 40 |
| Avoid empty catch blocks | 65 - 66 |
| Avoid empty catch blocks | 66 - 67 |
| Avoid empty catch blocks | 92 - 95 |
| Avoid unused local variables such as 'c'. | 310 |
| Avoid empty catch blocks | 342 - 344 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 526 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 17 |
| No need to import a type that lives in the same package | 18 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'es.caib.signatura.api.SignatureProviderException' | 19 |
| Avoid unused imports such as 'es.caib.signatura.api.SignatureVerifyException' | 20 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 143 |
| Avoid unused method parameters such as 'certificateChain'. | 250 - 257 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.IOException' | 3 |
| Avoid unused imports such as 'java.util.Enumeration' | 7 |
| Avoid unused imports such as 'sun.misc.CompoundEnumeration' | 9 |
| Avoid empty finally blocks | 70 - 71 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'contentType'. | 24 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.security.InvalidAlgorithmParameterException' | 5 |
| Avoid unused imports such as 'java.security.NoSuchAlgorithmException' | 6 |
| Avoid unused imports such as 'java.security.NoSuchProviderException' | 7 |
| Avoid unused imports such as 'java.security.cert.CertStoreException' | 8 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 14 |
| No need to import a type that lives in the same package | 15 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'missatge'. | 19 |
| Avoid empty catch blocks | 36 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.lang.reflect.Constructor' | 9 |
| Avoid unused imports such as 'java.net.URLClassLoader' | 11 |
| Avoid unused imports such as 'java.security.AccessControlException' | 14 |
| Avoid unused imports such as 'java.util.MissingResourceException' | 18 |
| Avoid unused imports such as 'es.caib.signatura.api.Signature' | 21 |
| Avoid unused imports such as 'es.caib.signatura.api.SignerFactory' | 23 |
| Avoid unused private fields such as 'ENVIRONMENT'. | 37 |
| Avoid empty catch blocks | 76 - 77 |
| Avoid empty catch blocks | 77 - 78 |
| Avoid empty catch blocks | 101 - 102 |
| Avoid empty catch blocks | 126 - 127 |
| Avoid empty catch blocks | 127 - 128 |
| Avoid empty catch blocks | 206 - 208 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.FileNotFoundException' | 6 |
| Avoid unused imports such as 'java.security.UnrecoverableKeyException' | 9 |
| Avoid unused imports such as 'es.caib.signatura.api.SignatureProviderException' | 17 |
| Avoid unused imports such as 'es.caib.signatura.api.SignatureSignException' | 18 |