Overview
Home
Tasks
Status
Reports
PMD Report
JavaNCSS Report
Project Documentation
Front Page
Project Info
Project Reports
JavaDocs
Source XReference
Development Process
PMD Report
org\webdocwf\util\smime\activation\CMSEnvelopedDataSource.java
Violation
Line
Avoid duplicate imports such as 'org.webdocwf.util.smime.util.MimeAssist'
15
org\webdocwf\util\smime\activation\CMSSignedDataSource.java
Violation
Line
Avoid duplicate imports such as 'org.webdocwf.util.smime.util.MimeAssist'
15
Avoid unused imports such as 'Vector'
21
Avoid using if statements without curly braces
100
Avoid using if statements without curly braces
166
Avoid using if statements without curly braces
169
Avoid using if statements without curly braces
179
Avoid using if statements without curly braces
189
Avoid using 'for' statements without curly braces
199
Avoid using if statements without curly braces
227
Avoid using 'for' statements without curly braces
290
Avoid using 'for' statements without curly braces
305
Avoid using if statements without curly braces
333
Avoid using if statements without curly braces
335
Avoid using if statements without curly braces
337
Avoid using if statements without curly braces
348
Avoid using if statements without curly braces
381
Avoid using if statements without curly braces
383
Avoid using if statements without curly braces
385
Switch statements should have a default label
388
Avoid instantiating String objects; this is usually unnecessary.
430
Avoid instantiating String objects; this is usually unnecessary.
435
Avoid using 'if...else' statements without curly braces
449
Avoid using 'if...else' statements without curly braces
467
org\webdocwf\util\smime\activation\StreamDataSource.java
Violation
Line
Avoid instantiating String objects; this is usually unnecessary.
61
Avoid using if statements without curly braces
63
org\webdocwf\util\smime\cms\Attribute.java
Violation
Line
Avoid using if statements without curly braces
89
org\webdocwf\util\smime\cms\CMSVersion.java
Violation
Line
Avoid using if statements without curly braces
32
org\webdocwf\util\smime\cms\CapabilitiesAttribute.java
Violation
Line
Avoid using 'if...else' statements without curly braces
39
org\webdocwf\util\smime\cms\Certificates.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
13
org\webdocwf\util\smime\cms\DESede3CBCParameter.java
Violation
Line
Avoid using if statements without curly braces
36
org\webdocwf\util\smime\cms\IssuerName.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
13
Avoid using 'for' statements without curly braces
81
Avoid using if statements without curly braces
107
Avoid using 'for' statements without curly braces
122
org\webdocwf\util\smime\cms\KeyTransRecipientInfo.java
Violation
Line
Avoid using if statements without curly braces
65
org\webdocwf\util\smime\cms\MessageDigestAttribute.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
13
org\webdocwf\util\smime\cms\RC2CBCParameter.java
Violation
Line
Avoid using 'if...else' statements without curly braces
47
Avoid using 'if...else' statements without curly braces
49
Avoid using 'if...else' statements without curly braces
51
Avoid using if statements without curly braces
56
org\webdocwf\util\smime\cms\RelativeDistinguishedName.java
Violation
Line
Avoid using 'if...else' statements without curly braces
88
Avoid using if statements without curly braces
90
Avoid using 'if...else' statements without curly braces
119
Avoid using if statements without curly braces
121
org\webdocwf\util\smime\cms\SignedAttributes.java
Violation
Line
Avoid using if statements without curly braces
70
org\webdocwf\util\smime\cms\SignerInfos.java
Violation
Line
Avoid using if statements without curly braces
85
Avoid using if statements without curly braces
94
Avoid using if statements without curly braces
100
org\webdocwf\util\smime\crypto\Algorithm.java
Violation
Line
Avoid using if statements without curly braces
52
Avoid using if statements without curly braces
57
Avoid using if statements without curly braces
62
org\webdocwf\util\smime\crypto\AsymmetricEncryption.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
15
org\webdocwf\util\smime\crypto\SigningProcessor.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
13
org\webdocwf\util\smime\crypto\SymmetricEncryption.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
20
Avoid using if statements without curly braces
113
Avoid using if statements without curly braces
205
Avoid using if statements without curly braces
207
Avoid unused local variables such as 'algorithmName'
235
org\webdocwf\util\smime\der\DERBitString.java
Violation
Line
Avoid using 'if...else' statements without curly braces
46
Avoid using if statements without curly braces
68
Avoid using if statements without curly braces
98
Avoid using 'if...else' statements without curly braces
113
Avoid using if statements without curly braces
120
Avoid using if statements without curly braces
122
Avoid using 'for' statements without curly braces
128
org\webdocwf\util\smime\der\DERClassContextSpecificPr.java
Violation
Line
Avoid using if statements without curly braces
56
org\webdocwf\util\smime\der\DERIA5String.java
Violation
Line
Avoid unused imports such as 'UnsupportedEncodingException'
12
Avoid unused imports such as 'ErrorStorage'
14
org\webdocwf\util\smime\der\DERInteger.java
Violation
Line
Avoid unnecessary temporaries when converting primitives to Strings
31
org\webdocwf\util\smime\der\DERObject.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
12
Avoid using 'if...else' statements without curly braces
78
Avoid using 'if...else' statements without curly braces
80
Avoid using if statements without curly braces
82
Avoid instantiating String objects; this is usually unnecessary.
119
Avoid using 'for' statements without curly braces
127
Avoid instantiating String objects; this is usually unnecessary.
139
Avoid using if statements without curly braces
156
Avoid instantiating String objects; this is usually unnecessary.
159
Avoid using if statements without curly braces
174
Avoid instantiating String objects; this is usually unnecessary.
182
Avoid instantiating String objects; this is usually unnecessary.
187
Avoid using if statements without curly braces
290
org\webdocwf\util\smime\der\DERObjectIdentifier.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
13
Avoid using if statements without curly braces
54
Avoid using if statements without curly braces
63
Avoid using 'for' statements without curly braces
70
Avoid instantiating String objects; this is usually unnecessary.
107
Avoid using if statements without curly braces
110
Avoid using 'for' statements without curly braces
113
Avoid using 'for' statements without curly braces
119
Avoid using if statements without curly braces
126
Avoid instantiating String objects; this is usually unnecessary.
129
org\webdocwf\util\smime\der\DERPrintableString.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
13
org\webdocwf\util\smime\der\DERUTCTime.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
12
org\webdocwf\util\smime\der\IdentifierStorage.java
Violation
Line
Avoid unused private fields such as 'PHONENUMBER'
29
Avoid using 'if...else' statements without curly braces
101
Avoid using 'if...else' statements without curly braces
103
Avoid using 'if...else' statements without curly braces
105
Avoid using 'if...else' statements without curly braces
107
Avoid using 'if...else' statements without curly braces
109
Avoid using 'if...else' statements without curly braces
111
Avoid using 'if...else' statements without curly braces
113
Avoid using 'if...else' statements without curly braces
115
Avoid using 'if...else' statements without curly braces
117
Avoid using 'if...else' statements without curly braces
119
Avoid using 'if...else' statements without curly braces
121
Avoid using 'if...else' statements without curly braces
123
Avoid using 'if...else' statements without curly braces
125
Avoid using 'if...else' statements without curly braces
127
Avoid using 'if...else' statements without curly braces
129
Avoid using 'if...else' statements without curly braces
131
Avoid using 'if...else' statements without curly braces
134
Avoid using 'if...else' statements without curly braces
136
Avoid using 'if...else' statements without curly braces
138
Avoid using 'if...else' statements without curly braces
140
Avoid using 'if...else' statements without curly braces
142
Avoid using 'if...else' statements without curly braces
144
Avoid using 'if...else' statements without curly braces
146
Avoid using 'if...else' statements without curly braces
148
Avoid using 'if...else' statements without curly braces
150
Avoid using 'if...else' statements without curly braces
152
Avoid using 'if...else' statements without curly braces
154
Avoid using 'if...else' statements without curly braces
156
Avoid using 'if...else' statements without curly braces
158
Avoid using 'if...else' statements without curly braces
160
Avoid using 'if...else' statements without curly braces
162
Avoid using 'if...else' statements without curly braces
164
Avoid using 'if...else' statements without curly braces
166
Avoid using 'if...else' statements without curly braces
168
Avoid using 'if...else' statements without curly braces
170
Avoid using 'if...else' statements without curly braces
172
Avoid using 'if...else' statements without curly braces
174
Avoid using 'if...else' statements without curly braces
177
Avoid using 'if...else' statements without curly braces
180
Avoid using 'if...else' statements without curly braces
182
Avoid using 'if...else' statements without curly braces
184
Avoid using 'if...else' statements without curly braces
186
Avoid using 'if...else' statements without curly braces
188
Avoid using 'if...else' statements without curly braces
190
Avoid using 'if...else' statements without curly braces
192
Avoid using 'if...else' statements without curly braces
194
Avoid using 'if...else' statements without curly braces
197
Avoid using 'if...else' statements without curly braces
199
Avoid using 'if...else' statements without curly braces
201
Avoid using 'if...else' statements without curly braces
203
Avoid using 'if...else' statements without curly braces
205
Avoid using 'if...else' statements without curly braces
208
Avoid using 'if...else' statements without curly braces
210
Avoid using 'if...else' statements without curly braces
212
Avoid using 'if...else' statements without curly braces
214
Avoid using 'if...else' statements without curly braces
216
Avoid using 'if...else' statements without curly braces
218
Avoid using 'if...else' statements without curly braces
220
Avoid using 'if...else' statements without curly braces
222
Avoid using 'if...else' statements without curly braces
224
Avoid using 'if...else' statements without curly braces
226
Avoid using 'if...else' statements without curly braces
228
Avoid using 'if...else' statements without curly braces
230
Avoid using 'if...else' statements without curly braces
232
Avoid using 'if...else' statements without curly braces
234
Avoid using 'if...else' statements without curly braces
236
Avoid using 'if...else' statements without curly braces
238
org\webdocwf\util\smime\exception\SMIMEException.java
Violation
Line
Avoid unused imports such as 'BadPaddingException'
16
Avoid unused imports such as 'IllegalBlockSizeException'
17
Avoid unused imports such as 'NoSuchPaddingException'
18
Avoid unused imports such as 'NoSuchProviderException'
19
Avoid unused imports such as 'NoSuchAlgorithmException'
20
Avoid unused imports such as 'InvalidKeyException'
21
Avoid unused imports such as 'CertificateException'
22
Avoid unused imports such as 'UnrecoverableKeyException'
23
Avoid unused imports such as 'KeyStoreException'
24
Avoid unused imports such as 'UnknownHostException'
25
Avoid duplicate imports such as 'java.io.FileNotFoundException'
26
Avoid unused imports such as 'SignatureException'
27
Avoid unused imports such as 'CertificateEncodingException'
28
Avoid using 'if...else' statements without curly braces
82
Avoid using 'if...else' statements without curly braces
144
Avoid using 'if...else' statements without curly braces
149
Avoid using 'if...else' statements without curly braces
151
Avoid using 'if...else' statements without curly braces
153
Avoid using 'if...else' statements without curly braces
155
Avoid using 'if...else' statements without curly braces
157
Avoid using 'if...else' statements without curly braces
159
Avoid using 'if...else' statements without curly braces
161
Avoid using 'if...else' statements without curly braces
163
Avoid using 'if...else' statements without curly braces
165
Avoid using 'if...else' statements without curly braces
167
Avoid using 'if...else' statements without curly braces
169
Avoid using 'if...else' statements without curly braces
171
Avoid using 'if...else' statements without curly braces
173
Avoid using 'if...else' statements without curly braces
175
Avoid using 'if...else' statements without curly braces
177
Avoid using 'if...else' statements without curly braces
179
Avoid using 'if...else' statements without curly braces
181
Avoid using 'if...else' statements without curly braces
183
Avoid using 'if...else' statements without curly braces
185
Avoid using 'if...else' statements without curly braces
187
Avoid using if statements without curly braces
189
Avoid using if statements without curly braces
192
Avoid instantiating String objects; this is usually unnecessary.
236
Avoid using 'if...else' statements without curly braces
257
Avoid using if statements without curly braces
273
Avoid using 'if...else' statements without curly braces
291
Avoid instantiating String objects; this is usually unnecessary.
315
org\webdocwf\util\smime\mail\MultipartGenerator.java
Violation
Line
Avoid using if statements without curly braces
136
org\webdocwf\util\smime\smime\EnvelopedSMIME.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
12
Avoid unused imports such as 'MimeAssist'
16
Avoid unused imports such as 'MimetypesFileTypeMap'
30
Avoid using if statements without curly braces
158
Avoid using if statements without curly braces
169
Avoid using if statements without curly braces
331
Avoid instantiating String objects; this is usually unnecessary.
337
Avoid using if statements without curly braces
378
Avoid instantiating String objects; this is usually unnecessary.
384
Avoid using if statements without curly braces
458
Avoid using if statements without curly braces
508
Avoid using 'if...else' statements without curly braces
513
Avoid using if statements without curly braces
515
Avoid using if statements without curly braces
544
Avoid using if statements without curly braces
606
org\webdocwf\util\smime\smime\SignedAndEnvelopedSMIME.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
14
Avoid unused imports such as 'CertificateException'
44
Avoid using if statements without curly braces
262
Avoid using if statements without curly braces
273
Avoid using if statements without curly braces
435
Avoid instantiating String objects; this is usually unnecessary.
441
Avoid using if statements without curly braces
482
Avoid instantiating String objects; this is usually unnecessary.
488
Avoid using if statements without curly braces
562
Avoid using if statements without curly braces
612
Avoid using 'if...else' statements without curly braces
617
Avoid using if statements without curly braces
619
Avoid using if statements without curly braces
648
Avoid using if statements without curly braces
736
Avoid using 'for' statements without curly braces
770
Avoid using 'for' statements without curly braces
773
Avoid using 'for' statements without curly braces
803
Avoid using 'for' statements without curly braces
806
Avoid using if statements without curly braces
849
Avoid using if statements without curly braces
852
org\webdocwf\util\smime\smime\SignedSMIME.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
12
Avoid unused imports such as 'MimetypesFileTypeMap'
29
Avoid unused imports such as 'KeyStoreException'
39
Avoid unused imports such as 'CertificateFactory'
43
Avoid unused imports such as 'CertificateException'
44
Avoid using if statements without curly braces
234
Avoid using if statements without curly braces
245
Avoid using if statements without curly braces
407
Avoid instantiating String objects; this is usually unnecessary.
413
Avoid using if statements without curly braces
454
Avoid instantiating String objects; this is usually unnecessary.
460
Avoid using if statements without curly braces
534
Avoid using if statements without curly braces
580
Avoid using 'if...else' statements without curly braces
585
Avoid using if statements without curly braces
587
Avoid using if statements without curly braces
616
Avoid using if statements without curly braces
704
Avoid using 'for' statements without curly braces
738
Avoid using 'for' statements without curly braces
741
Avoid using 'for' statements without curly braces
771
Avoid using 'for' statements without curly braces
774
Avoid using if statements without curly braces
809
org\webdocwf\util\smime\test\ExampleGenerator.java
Violation
Line
Avoid using 'if...else' statements without curly braces
83
Avoid instantiating String objects; this is usually unnecessary.
84
Avoid using 'if...else' statements without curly braces
85
Avoid instantiating String objects; this is usually unnecessary.
86
Avoid using 'if...else' statements without curly braces
87
Avoid instantiating String objects; this is usually unnecessary.
88
Avoid using 'if...else' statements without curly braces
89
Avoid instantiating String objects; this is usually unnecessary.
90
Avoid using if statements without curly braces
91
Avoid instantiating String objects; this is usually unnecessary.
92
Avoid using if statements without curly braces
101
Avoid using if statements without curly braces
103
Avoid using if statements without curly braces
105
Avoid using if statements without curly braces
107
Avoid using if statements without curly braces
109
Avoid using 'for' statements without curly braces
210
org\webdocwf\util\smime\test\TestEncSig.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid using 'if...else' statements without curly braces
76
Avoid using 'if...else' statements without curly braces
83
Avoid using if statements without curly braces
92
Avoid unused local variables such as 'addressCC'
95
Avoid unused local variables such as 'addressBCC'
96
org\webdocwf\util\smime\test\TestEncSigGeneratedHtml.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid unused imports such as 'ByteArrayInputStream'
15
Avoid using 'if...else' statements without curly braces
83
Avoid using 'if...else' statements without curly braces
90
Avoid using if statements without curly braces
99
Avoid unused local variables such as 'addressCC'
102
Avoid unused local variables such as 'addressBCC'
103
org\webdocwf\util\smime\test\TestEncSigHtml.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid unused imports such as 'FileInputStream'
14
Avoid using 'if...else' statements without curly braces
79
Avoid using 'if...else' statements without curly braces
86
Avoid using if statements without curly braces
95
Avoid unused local variables such as 'addressCC'
98
Avoid unused local variables such as 'addressBCC'
99
org\webdocwf\util\smime\test\TestEncrypt.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid using if statements without curly braces
64
Avoid unused local variables such as 'addressCC'
67
Avoid unused local variables such as 'addressBCC'
68
org\webdocwf\util\smime\test\TestEncryptGeneratedHtml.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid unused imports such as 'ByteArrayInputStream'
15
Avoid using if statements without curly braces
70
Avoid unused local variables such as 'addressCC'
73
Avoid unused local variables such as 'addressBCC'
74
org\webdocwf\util\smime\test\TestEncryptHtml.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid unused imports such as 'FileInputStream'
15
Avoid using if statements without curly braces
67
Avoid unused local variables such as 'addressCC'
70
Avoid unused local variables such as 'addressBCC'
71
org\webdocwf\util\smime\test\TestSigEnc.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid using 'if...else' statements without curly braces
76
Avoid using 'if...else' statements without curly braces
83
Avoid using if statements without curly braces
92
Avoid unused local variables such as 'addressCC'
95
Avoid unused local variables such as 'addressBCC'
96
org\webdocwf\util\smime\test\TestSigEncGeneratedHtml.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid unused imports such as 'ByteArrayInputStream'
15
Avoid unused local variables such as 'content'
51
Avoid using 'if...else' statements without curly braces
85
Avoid using 'if...else' statements without curly braces
92
Avoid using if statements without curly braces
101
Avoid unused local variables such as 'addressCC'
104
Avoid unused local variables such as 'addressBCC'
105
org\webdocwf\util\smime\test\TestSigEncHtml.java
Violation
Line
Avoid unused imports such as 'Transport'
11
Avoid unused imports such as 'FileInputStream'
14
Avoid unused local variables such as 'content'
47
Avoid using 'if...else' statements without curly braces
79
Avoid using 'if...else' statements without curly braces
86
Avoid using if statements without curly braces
95
Avoid unused local variables such as 'addressCC'
98
Avoid unused local variables such as 'addressBCC'
99
org\webdocwf\util\smime\test\TestSigned.java
Violation
Line
Avoid unused imports such as 'Transport'
13
Avoid unused imports such as 'FileInputStream'
14
Avoid unused imports such as 'File'
15
Avoid using 'if...else' statements without curly braces
74
Avoid using 'if...else' statements without curly braces
81
Avoid using 'if...else' statements without curly braces
90
Avoid using if statements without curly braces
97
Avoid unused local variables such as 'addressCC'
100
Avoid unused local variables such as 'addressBCC'
101
org\webdocwf\util\smime\test\TestSignedGeneratedHtml.java
Violation
Line
Avoid unused imports such as 'ByteArrayInputStream'
14
Avoid using 'if...else' statements without curly braces
79
Avoid using 'if...else' statements without curly braces
86
Avoid using 'if...else' statements without curly braces
95
Avoid using if statements without curly braces
102
Avoid unused local variables such as 'addressCC'
105
Avoid unused local variables such as 'addressBCC'
106
org\webdocwf\util\smime\test\TestSignedHtml.java
Violation
Line
Avoid unused imports such as 'Transport'
13
Avoid unused imports such as 'FileInputStream'
14
Avoid using 'if...else' statements without curly braces
75
Avoid using 'if...else' statements without curly braces
82
Avoid using 'if...else' statements without curly braces
91
Avoid using if statements without curly braces
98
Avoid unused local variables such as 'addressCC'
101
Avoid unused local variables such as 'addressBCC'
102
org\webdocwf\util\smime\util\ByteArrayComparator.java
Violation
Line
Avoid using if statements without curly braces
36
Avoid unused local variables such as 'prStr'
50
Avoid using if statements without curly braces
60
org\webdocwf\util\smime\util\ConvertAssist.java
Violation
Line
Avoid instantiating String objects; this is usually unnecessary.
37
Avoid instantiating String objects; this is usually unnecessary.
42
Avoid instantiating String objects; this is usually unnecessary.
46
Avoid instantiating String objects; this is usually unnecessary.
70
Avoid instantiating String objects; this is usually unnecessary.
75
Avoid instantiating String objects; this is usually unnecessary.
79
org\webdocwf\util\smime\util\DERLengthSearcher.java
Violation
Line
Avoid using 'for' statements without curly braces
65
Avoid using 'for' statements without curly braces
69
org\webdocwf\util\smime\util\Display.java
Violation
Line
Avoid using if statements without curly braces
26
Avoid using if statements without curly braces
62
org\webdocwf\util\smime\util\HtmlAnalyzer.java
Violation
Line
Avoid unused imports such as 'Attr'
19
Avoid instantiating String objects; this is usually unnecessary.
142
Switch statements should have a default label
233
Avoid using if statements without curly braces
243
Avoid instantiating String objects; this is usually unnecessary.
408
Avoid using 'if...else' statements without curly braces
417
Avoid using if statements without curly braces
429
Avoid using if statements without curly braces
433
Avoid using if statements without curly braces
437
org\webdocwf\util\smime\util\MimeAssist.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
12
Avoid duplicate imports such as 'java.io.File'
16
Avoid duplicate imports such as 'java.io.FileInputStream'
18
Avoid duplicate imports such as 'java.io.ByteArrayOutputStream'
19
Avoid instantiating String objects; this is usually unnecessary.
57
Avoid instantiating String objects; this is usually unnecessary.
108
Avoid using if statements without curly braces
312
Avoid instantiating String objects; this is usually unnecessary.
317
org\webdocwf\util\smime\util\PFXUtils.java
Violation
Line
Avoid unused imports such as 'ErrorStorage'
18
Avoid using if statements without curly braces
43
Avoid using if statements without curly braces
68
Avoid unused local variables such as 'certAlias'
94
Avoid using if statements without curly braces
129
Avoid using 'for' statements without curly braces
133
Avoid using if statements without curly braces
169
Avoid using if statements without curly braces
209
Avoid using if statements without curly braces
228
Avoid using if statements without curly braces
236