The following document contains the results of
Checkstyle.
Files | Infos | Warnings | Errors |
7 | 0 | 0 | 246 |
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Line has trailing spaces. |
3
|
| Missing a Javadoc comment. |
3
|
| Utility classes should not have a public or default constructor. |
3
|
| '{' should be on the previous line. |
4
|
| Missing a Javadoc comment. |
5
|
| '(' is followed by whitespace. |
5
|
| Parameter args should be final. |
5
|
| ')' is preceded with whitespace. |
5
|
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.util.*. |
19
|
| Line has trailing spaces. |
24
|
| Missing a Javadoc comment. |
28
|
| Line has trailing spaces. |
29
|
| Method 'addNarrowSpace' is not designed for extension - needs to be abstract, final or empty. |
30
|
| Missing a Javadoc comment. |
30
|
| Method 'addWideSpace' is not designed for extension - needs to be abstract, final or empty. |
33
|
| Missing a Javadoc comment. |
33
|
| Method 'addNarrowBar' is not designed for extension - needs to be abstract, final or empty. |
36
|
| Missing a Javadoc comment. |
36
|
| Method 'addWideBar' is not designed for extension - needs to be abstract, final or empty. |
39
|
| Missing a Javadoc comment. |
39
|
| Method 'addSpace' is not designed for extension - needs to be abstract, final or empty. |
42
|
| Missing a Javadoc comment. |
42
|
| Parameter size should be final. |
42
|
| Redundant throws: 'RuntimeException' is unchecked exception. |
42
|
| 'if' construct must use '{}'s. |
44
|
| '4' is a magic number. |
44
|
| 'if' construct must use '{}'s. |
48
|
| Method 'addBar' is not designed for extension - needs to be abstract, final or empty. |
53
|
| Missing a Javadoc comment. |
53
|
| Parameter size should be final. |
53
|
| Redundant throws: 'RuntimeException' is unchecked exception. |
53
|
| 'if' construct must use '{}'s. |
55
|
| '4' is a magic number. |
55
|
| 'if' construct must use '{}'s. |
59
|
| Method 'toString' is not designed for extension - needs to be abstract, final or empty. |
64
|
| Missing a Javadoc comment. |
64
|
| ';' is followed by whitespace. |
66
|
| Method 'toCompactString' is not designed for extension - needs to be abstract, final or empty. |
72
|
| Missing a Javadoc comment. |
72
|
| ';' is followed by whitespace. |
74
|
| 'if' construct must use '{}'s. |
76
|
| 'else' construct must use '{}'s. |
78
|
| '=' is not preceded with whitespace. |
83
|
| '=' is not followed by whitespace. |
83
|
| '<' is not preceded with whitespace. |
83
|
| '<' is not followed by whitespace. |
83
|
| Avoid inline conditionals. |
84
|
| Line has trailing spaces. |
89
|
Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Using the '.*' form of import should be avoided - java.io.*. |
19
|
| Using the '.*' form of import should be avoided - java.awt.*. |
20
|
| Using the '.*' form of import should be avoided - java.awt.image.*. |
21
|
| Unused import - java.util.Hashtable. |
22
|
| Using the '.*' form of import should be avoided - javax.imageio.*. |
23
|
| Using the '.*' form of import should be avoided - javax.swing.*. |
24
|
| Missing a Javadoc comment. |
33
|
| Variable 'imageFilename' must be private and have accessor methods. |
33
|
| Missing a Javadoc comment. |
34
|
| Missing a Javadoc comment. |
35
|
| Missing a Javadoc comment. |
36
|
| Missing a Javadoc comment. |
37
|
| Missing a Javadoc comment. |
38
|
| Missing a Javadoc comment. |
39
|
| '0xff' is a magic number. |
39
|
| '0xff' is a magic number. |
39
|
| '0xff' is a magic number. |
39
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
41
|
| Line has trailing spaces. |
42
|
| Missing a Javadoc comment. |
43
|
| Inner assignments should be avoided. |
44
|
| Line has trailing spaces. |
47
|
| Method 'guessWidths' is not designed for extension - needs to be abstract, final or empty. |
50
|
| Missing a Javadoc comment. |
50
|
| '1024' is a magic number. |
52
|
| '3' is a magic number. |
55
|
| 'if' construct must use '{}'s. |
57
|
| 'if' construct must use '{}'s. |
62
|
| 'if' construct must use '{}'s. |
64
|
| 'else' construct must use '{}'s. |
66
|
| 'if' construct must use '{}'s. |
68
|
| Line is longer than 80 characters. |
69
|
| Line contains a tab character. |
69
|
| Avoid inline conditionals. |
69
|
| '=' is not preceded with whitespace. |
71
|
| '=' is not followed by whitespace. |
71
|
| '<' is not preceded with whitespace. |
71
|
| '<' is not followed by whitespace. |
71
|
| Line has trailing spaces. |
75
|
| Line is longer than 80 characters. |
75
|
| Line is longer than 80 characters. |
76
|
| 'if' construct must use '{}'s. |
77
|
| Line is longer than 80 characters. |
78
|
| 'if' construct must use '{}'s. |
79
|
| 'if' construct must use '{}'s. |
81
|
| 'else' construct must use '{}'s. |
83
|
| Line is longer than 80 characters. |
85
|
| Line is longer than 80 characters. |
86
|
| 'if' construct must use '{}'s. |
91
|
| Line is longer than 80 characters. |
92
|
| Line contains a tab character. |
92
|
| Avoid inline conditionals. |
92
|
| Line is longer than 80 characters. |
99
|
| Line is longer than 80 characters. |
103
|
| Avoid inline conditionals. |
103
|
| Line is longer than 80 characters. |
104
|
| Avoid inline conditionals. |
104
|
| Line has trailing spaces. |
108
|
| Method 'translate' is not designed for extension - needs to be abstract, final or empty. |
111
|
| Missing a Javadoc comment. |
111
|
| '3' is a magic number. |
115
|
| 'if' construct must use '{}'s. |
117
|
| 'if' construct must use '{}'s. |
122
|
| 'if' construct must use '{}'s. |
124
|
| 'else' construct must use '{}'s. |
126
|
| '=' is not preceded with whitespace. |
129
|
| '=' is not followed by whitespace. |
129
|
| '<' is not preceded with whitespace. |
129
|
| '<' is not followed by whitespace. |
129
|
| Line has trailing spaces. |
133
|
| Line is longer than 80 characters. |
133
|
| Line is longer than 80 characters. |
134
|
| 'if' construct must use '{}'s. |
135
|
| Line is longer than 80 characters. |
136
|
| 'if' construct must use '{}'s. |
137
|
| 'if' construct must use '{}'s. |
139
|
| 'else' construct must use '{}'s. |
141
|
| Line is longer than 80 characters. |
143
|
| 'if' construct must use '{}'s. |
149
|
| 'else' construct must use '{}'s. |
151
|
| 'if' construct must use '{}'s. |
154
|
| Line contains a tab character. |
154
|
| 'else' construct must use '{}'s. |
156
|
| Line is longer than 80 characters. |
159
|
| Avoid inline conditionals. |
159
|
| Line is longer than 80 characters. |
165
|
| 'if' construct must use '{}'s. |
168
|
| 'else' construct must use '{}'s. |
170
|
| 'if' construct must use '{}'s. |
173
|
| 'else' construct must use '{}'s. |
175
|
| Line is longer than 80 characters. |
178
|
| Avoid inline conditionals. |
178
|
| Missing a Javadoc comment. |
183
|
| Parameter pixel should be final. |
183
|
| Parameter x should be final. |
183
|
| Parameter y should be final. |
183
|
| Redundant throws: 'RuntimeException' is unchecked exception. |
183
|
| '+' should be on a new line. |
184
|
| '16' is a magic number. |
185
|
| '+' should be on a new line. |
185
|
| '16' is a magic number. |
186
|
| '+' should be on a new line. |
186
|
| '16' is a magic number. |
187
|
| '+' should be on a new line. |
187
|
| Line has trailing spaces. |
190
|
| First sentence should end with a period. |
191
|
| Parameter a should be final. |
197
|
| Parameter b should be final. |
197
|
| 'if' construct must use '{}'s. |
198
|
| '5' is a magic number. |
199
|
| '&&' should be on a new line. |
199
|
| '5' is a magic number. |
200
|
| '&&' should be on a new line. |
200
|
| '5' is a magic number. |
201
|
| 'else' construct must use '{}'s. |
202
|
| Line has trailing spaces. |
205
|
| Line has trailing spaces. |
207
|
| Line contains a tab character. |
208
|
| Method 'getImageFilename' is not designed for extension - needs to be abstract, final or empty. |
208
|
| Missing a Javadoc comment. |
208
|
| Line contains a tab character. |
209
|
| Line contains a tab character. |
210
|
| Line contains a tab character. |
211
|
| Method 'setImageFilename' is not designed for extension - needs to be abstract, final or empty. |
211
|
| Missing a Javadoc comment. |
211
|
| Parameter imageFilename should be final. |
211
|
| 'imageFilename' hides a field. |
211
|
| Line contains a tab character. |
212
|
| Line contains a tab character. |
213
|
| Line contains a tab character. |
214
|
| Method 'getNarrowElementPixels' is not designed for extension - needs to be abstract, final or empty. |
214
|
| Missing a Javadoc comment. |
214
|
| Line contains a tab character. |
215
|
| Line contains a tab character. |
216
|
| Line contains a tab character. |
217
|
| Method 'setNarrowElementPixels' is not designed for extension - needs to be abstract, final or empty. |
217
|
| Missing a Javadoc comment. |
217
|
| Parameter narrowElementPixels should be final. |
217
|
| 'narrowElementPixels' hides a field. |
217
|
| Line contains a tab character. |
218
|
| Line contains a tab character. |
219
|
| Line contains a tab character. |
220
|
| Method 'getWideElementPixels' is not designed for extension - needs to be abstract, final or empty. |
220
|
| Missing a Javadoc comment. |
220
|
| Line contains a tab character. |
221
|
| Line contains a tab character. |
222
|
| Line contains a tab character. |
223
|
| Method 'setWideElementPixels' is not designed for extension - needs to be abstract, final or empty. |
223
|
| Missing a Javadoc comment. |
223
|
| Parameter wideElementPixels should be final. |
223
|
| 'wideElementPixels' hides a field. |
223
|
| Line contains a tab character. |
224
|
| Line contains a tab character. |
225
|
| Method 'setBarColor' is not designed for extension - needs to be abstract, final or empty. |
226
|
| Missing a Javadoc comment. |
226
|
| Parameter red should be final. |
226
|
| Parameter green should be final. |
226
|
| Parameter blue should be final. |
226
|
| 'if' construct must use '{}'s. |
227
|
| Line is longer than 80 characters. |
227
|
| '255' is a magic number. |
227
|
| 'if' construct must use '{}'s. |
228
|
| Line is longer than 80 characters. |
228
|
| '255' is a magic number. |
228
|
| 'if' construct must use '{}'s. |
229
|
| Line is longer than 80 characters. |
229
|
| '255' is a magic number. |
229
|
| Method 'setSpaceColor' is not designed for extension - needs to be abstract, final or empty. |
232
|
| Missing a Javadoc comment. |
232
|
| Parameter red should be final. |
232
|
| Parameter green should be final. |
232
|
| Parameter blue should be final. |
232
|
| 'if' construct must use '{}'s. |
233
|
| Line is longer than 80 characters. |
233
|
| '255' is a magic number. |
233
|
| 'if' construct must use '{}'s. |
234
|
| Line is longer than 80 characters. |
234
|
| '255' is a magic number. |
234
|
| 'if' construct must use '{}'s. |
235
|
| Line is longer than 80 characters. |
235
|
| '255' is a magic number. |
235
|
| Method 'setUseFuzzyPixelMatching' is not designed for extension - needs to be abstract, final or empty. |
238
|
| Missing a Javadoc comment. |
238
|
| Parameter b should be final. |
238
|
| Method 'getUseFuzzyPixelMatching' is not designed for extension - needs to be abstract, final or empty. |
241
|
| Missing a Javadoc comment. |
241
|
| Line contains a tab character. |
244
|
| Method 'setDebug' is not designed for extension - needs to be abstract, final or empty. |
244
|
| Missing a Javadoc comment. |
244
|
| Parameter debug should be final. |
244
|
| 'debug' hides a field. |
244
|
| Line contains a tab character. |
245
|
| Line contains a tab character. |
246
|
Error | Line |
| Missing package documentation file. | 0 |