The following document contains the results of PMD 4.2.2.
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.File' | 3 |
| Avoid unused imports such as 'java.net.MalformedURLException' | 5 |
| Avoid unused imports such as 'java.net.URL' | 6 |
| Avoid unused imports such as 'org.apache.log4j.Logger' | 9 |
| Avoid unused imports such as 'org.eclipse.core.runtime.Platform' | 12 |
| Avoid unused imports such as 'org.eparapher.rcp.tools.RCPSettings' | 16 |
| Overriding method merely calls super | 44 - 56 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'tokenstatusline'. | 87 |
| Avoid unused private fields such as 'oofficestatusline'. | 88 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 23 |
| Avoid unused private fields such as 'inittks'. | 28 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'usewizard'. | 13 |
| These nested if statements could be combined | 33 - 40 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 58 - 64 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eparapher.rcp.tools.RCPSettings' | 25 |
| Avoid unused private methods such as 'queryFile()'. | 81 |
| These nested if statements could be combined | 107 - 108 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'bais'. | 72 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eclipse.swt.graphics.FontData' | 18 |
| Avoid unused imports such as 'org.eclipse.swt.widgets.Label' | 26 |
| Avoid unused method parameters such as 'b'. | 436 - 504 |
| An empty statement (semicolon) not part of a loop | 571 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'panelheight'. | 25 |
| Avoid unused private fields such as 'panelwidth'. | 26 |
| Avoid unused local variables such as 'message'. | 47 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'emptylabel'. | 176 |
| Avoid unused local variables such as 'len'. | 307 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eclipse.ui.IFileEditorInput' | 15 |
| Avoid unused imports such as 'org.eclipse.ui.forms.widgets.Form' | 20 |
| Avoid unused private fields such as 'font'. | 37 |
| Avoid empty if statements | 146 - 148 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'timeStampValue'. | 41 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eparapher.core.crypto.timestamp.TimeStampManager' | 27 |
| Avoid unused method parameters such as 'monitor'. | 169 - 176 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 99 - 100 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 67 - 68 |
| Avoid empty catch blocks | 105 - 106 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'cmsinsertCRLs'. | 22 |
| Overriding method merely calls super | 44 - 46 |
| Overriding method merely calls super | 48 - 50 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 34 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 28 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eparapher.rcp.tools.RCPSettings' | 25 |
| Avoid unused private fields such as 'log'. | 34 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eparapher.rcp.tools.RCPSettings' | 16 |
| These nested if statements could be combined | 125 - 153 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'user'. | 33 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eparapher.rcp.tools.RCPSettings' | 13 |
| These nested if statements could be combined | 71 - 77 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 20 |
| These nested if statements could be combined | 87 - 105 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'ID'. | 47 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'ID'. | 20 |
| Avoid unused private fields such as 'TEXT_FIELD_WIDTH'. | 32 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 184 - 188 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'getRCPFloat(String)'. | 29 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'started'. | 23 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 327 - 329 |
| Violation | Line |
|---|---|
| Avoid unused method parameters such as 'manager'. | 264 - 265 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 25 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 163 - 176 |
| Avoid unnecessary return statements | 178 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eclipse.jface.viewers.ISelectionProvider' | 15 |
| Avoid unused private fields such as 'decryptwithwizardAction'. | 84 |
| Avoid unused private fields such as 'isReadableDir'. | 104 |
| Avoid unused constructor parameters such as 'misReadableDir'. | 111 - 114 |
| Avoid unused private fields such as 'rootnb'. | 150 |
| These nested if statements could be combined | 324 - 335 |
| Avoid empty if statements | 351 - 353 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 14 |
| Avoid unused private fields such as 'window'. | 17 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'window'. | 18 |
| Avoid unused private fields such as 'userCert'. | 23 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'window'. | 26 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eclipse.jface.viewers.ISelectionChangedListener' | 20 |
| Avoid unused imports such as 'org.eclipse.jface.viewers.SelectionChangedEvent' | 21 |
| Avoid unused imports such as 'org.eparapher.core.EParapherManager' | 35 |
| These nested if statements could be combined | 212 - 219 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eclipse.swt.widgets.TableItem' | 24 |
| These nested if statements could be combined | 209 - 213 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'emptylabel'. | 77 |
| These nested if statements could be combined | 134 - 139 |
| These nested if statements could be combined | 142 - 147 |
| These nested if statements could be combined | 174 - 175 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'window'. | 35 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 37 |
| These nested if statements could be combined | 333 - 334 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 13 |
| Avoid unused private fields such as 'window'. | 16 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eclipse.swt.layout.FillLayout' | 5 |
| Avoid unused imports such as 'org.eparapher.rcp.tools.RCPSettings' | 22 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eparapher.rcp.tools.RCPSettings' | 35 |
| Avoid unused constructor parameters such as 'pageName'. | 51 - 61 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 14 |
| Avoid unused private fields such as 'window'. | 17 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 8 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 8 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'log'. | 12 |
| Avoid unused private fields such as 'mds'. | 36 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'testPolicyRestrictionsForAllAlgorithms()'. | 72 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 108 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 110 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 60 |
| These nested if statements could be combined | 66 - 70 |
| These nested if statements could be combined | 72 - 80 |
| These nested if statements could be combined | 73 - 79 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'issuerdnfieldextractor'. | 133 |
| Avoid unused private fields such as 'subjectdnfieldextractor'. | 133 |
| Avoid unused private fields such as 'subjectdirattrstring'. | 135 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.security.Signature' | 23 |
| Avoid unused imports such as 'java.security.cert.CertSelector' | 31 |
| Avoid unused imports such as 'org.bouncycastle.cms.CMSSignedGenerator' | 81 |
| Avoid unused local variables such as 'cpvResult'. | 498 |
| Avoid unused private methods such as 'validateReply(KeyStore,KeyStore,String,X509Certificate,List,boolean,boolean)'. | 630 - 632 |
| Avoid empty catch blocks | 704 - 706 |
| These nested if statements could be combined | 791 - 792 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'extkeyusage'. | 20 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.DataOutputStream' | 6 |
| Avoid unused private fields such as 'X509_CERT_TYPE'. | 76 |
| Avoid unused private fields such as 'PKCS7_ENCODING'. | 77 |
| Avoid unused private methods such as 'getStringFromGeneralNames(DERObject)'. | 345 |
| These nested if statements could be combined | 427 - 430 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.eparapher.core.crypto.KeystoreEntry' | 14 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 169 - 170 |
| These nested if statements could be combined | 289 - 291 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 44 - 45 |
| Avoid unused method parameters such as 'currentCertChain'. | 133 - 136 |
| These nested if statements could be combined | 170 - 188 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'validatePIN(String)'. | 92 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 42 - 43 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'addTimestamp(CMSSignedData)'. | 65 |
| Avoid unused private fields such as 'KEYSTORE_PASSWORD'. | 170 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 76 - 77 |
| These nested if statements could be combined | 80 - 81 |
| These nested if statements could be combined | 84 - 85 |
| These nested if statements could be combined | 88 - 89 |
| These nested if statements could be combined | 92 - 93 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'userpkandcert'. | 26 |
| Avoid unused method parameters such as 'cmsencparams'. | 76 - 78 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'fileToSign'. | 5 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'ci'. | 80 |
| Avoid unused method parameters such as 'cmssignparams'. | 117 - 134 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 84 - 85 |
| Avoid unused method parameters such as 'xmlsignparams'. | 92 - 139 |
| Violation | Line |
|---|---|
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 196 |
| Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 356 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'filesize'. | 143 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.io.FileNotFoundException' | 5 |