The following document contains the results of PMD 4.2.5.
| 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 | 310 - 314 |
| These nested if statements could be combined | 311 - 313 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.lang.reflect.Method' | 15 |
| Avoid empty catch blocks | 92 - 93 |
| Avoid empty catch blocks | 93 - 94 |
| Avoid empty catch blocks | 94 - 95 |
| Avoid empty catch blocks | 123 - 124 |
| Avoid empty catch blocks | 124 - 125 |
| Avoid empty catch blocks | 125 - 126 |
| Avoid empty catch blocks | 237 - 240 |
| Avoid empty catch blocks | 273 - 276 |
| Avoid empty catch blocks | 737 - 739 |
| These nested if statements could be combined | 779 - 790 |
| These nested if statements could be combined | 885 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 1109 |
| 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. | 141 |
| Avoid unused method parameters such as 'certificateChain'. | 236 - 243 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'c'. | 71 |
| Avoid unused local variables such as 'c'. | 82 |
| Avoid unused local variables such as 'c'. | 88 |
| 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.io.File' | 3 |
| Avoid unused imports such as 'java.io.FileNotFoundException' | 4 |
| Avoid unused imports such as 'java.util.StringTokenizer' | 7 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 86 - 87 |
| Avoid empty catch blocks | 87 - 88 |
| Avoid empty catch blocks | 111 - 112 |
| Avoid empty catch blocks | 135 - 136 |
| Avoid empty catch blocks | 136 - 137 |
| Avoid empty catch blocks | 215 - 217 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.FileNotFoundException' | 6 |
| Avoid unused imports such as 'java.security.PrivateKey' | 9 |
| Avoid unused imports such as 'java.security.UnrecoverableKeyException' | 10 |
| Avoid unused imports such as 'java.security.cert.X509Certificate' | 11 |
| Avoid unused imports such as 'es.caib.signatura.api.SignaturePrivKeyException' | 14 |
| Avoid unused imports such as 'es.caib.signatura.api.ParsedCertificate' | 16 |
| Avoid unused imports such as 'es.caib.signatura.api.SignatureCertNotFoundException' | 18 |
| Avoid unused imports such as 'es.caib.signatura.api.SignatureProviderException' | 20 |
| Avoid unused imports such as 'es.caib.signatura.api.SignatureSignException' | 21 |