Checkstyle Results
The following document contains the results of
Checkstyle
.
Summary
| Files | Infos | Warnings | Errors |
| 14 | 0 | 0 | 867 |
Files
edu/stanford/suif/keepresident/KeepResidentPlugin.java
| Error | Line |
| Line does not match expected header line of 'Common Public License Version 1.0'. |
1
|
| Missing a Javadoc comment. |
24
|
| Missing a Javadoc comment. |
26
|
| Missing a Javadoc comment. |
28
|
| Variable 'i' must be private and have accessor methods. |
28
|
| Missing a Javadoc comment. |
29
|
| Variable 'heap' must be private and have accessor methods. |
29
|
| Missing a Javadoc comment. |
30
|
| Variable 'hardMinimum' must be private and have accessor methods. |
30
|
| Variable 'hardMaximum' must be private and have accessor methods. |
30
|
| Missing a Javadoc comment. |
31
|
| Variable 'currentMinimum' must be private and have accessor methods. |
31
|
| Variable 'currentMaximum' must be private and have accessor methods. |
31
|
| Missing a Javadoc comment. |
32
|
| Variable 'pageSize' must be private and have accessor methods. |
32
|
| Line has trailing spaces. |
33
|
| Method 'getHardMinimum' is not designed for extension - needs to be abstract, final or empty. |
34
|
| Missing a Javadoc comment. |
34
|
| Method 'getHardMaximum' is not designed for extension - needs to be abstract, final or empty. |
37
|
| Missing a Javadoc comment. |
37
|
| Method 'getLockedBytes' is not designed for extension - needs to be abstract, final or empty. |
40
|
| Missing a Javadoc comment. |
40
|
| Missing a Javadoc comment. |
44
|
| '256' is a magic number. |
47
|
| 'if' construct must use '{}'s. |
57
|
| Line has trailing spaces. |
58
|
| '20' is a magic number. |
59
|
| '512' is a magic number. |
60
|
| Line has trailing spaces. |
61
|
| Line is longer than 80 characters. |
62
|
| Line has trailing spaces. |
64
|
| Line has trailing spaces. |
66
|
| Missing a Javadoc comment. |
67
|
| Line is longer than 80 characters. |
71
|
| '100000000' is a magic number. |
72
|
| '500000000' is a magic number. |
73
|
| Line has trailing spaces. |
76
|
| Parameter d should be final. |
81
|
| Expected @param tag for 'd'. |
81
|
| Line is longer than 80 characters. |
87
|
| Method 'updateProcessWorkingSetSize' is not designed for extension - needs to be abstract, final or empty. |
99
|
| Missing a Javadoc comment. |
99
|
| Line is longer than 80 characters. |
110
|
| Line has trailing spaces. |
115
|
| Missing a Javadoc comment. |
116
|
| Name 'TECHNIQUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
116
|
| Variable 'TECHNIQUE' must be private and have accessor methods. |
116
|
| Line has trailing spaces. |
117
|
| Line is longer than 80 characters. |
118
|
| Method 'setProcessWorkingSetSize' is not designed for extension - needs to be abstract, final or empty. |
118
|
| Missing a Javadoc comment. |
118
|
| Parameter min should be final. |
118
|
| Parameter max should be final. |
118
|
| Parameter useVirtualLock should be final. |
118
|
| Line has trailing spaces. |
120
|
| Line has trailing spaces. |
124
|
| '+' is not preceded with whitespace. |
126
|
| '+' is not followed by whitespace. |
126
|
| '+' is not preceded with whitespace. |
126
|
| '+' is not followed by whitespace. |
126
|
| '+' is not preceded with whitespace. |
126
|
| '+' is not followed by whitespace. |
126
|
| Line has trailing spaces. |
128
|
| Avoid nested blocks. |
130
|
| Line is longer than 80 characters. |
131
|
| Line is longer than 80 characters. |
132
|
| Must have at least one statement. |
137
|
| Line has trailing spaces. |
140
|
| '3' is a magic number. |
151
|
| Line is longer than 80 characters. |
152
|
| Line is longer than 80 characters. |
153
|
| Line is longer than 80 characters. |
157
|
| '+' is not preceded with whitespace. |
157
|
| '+' is not followed by whitespace. |
157
|
| '+' is not preceded with whitespace. |
159
|
| '+' is not followed by whitespace. |
159
|
| Line has trailing spaces. |
160
|
| Avoid nested blocks. |
161
|
| Line has trailing spaces. |
171
|
| Method 'update' is not designed for extension - needs to be abstract, final or empty. |
175
|
| Line has trailing spaces. |
187
|
| First sentence should end with a period. |
188
|
| Method 'start' is not designed for extension - needs to be abstract, final or empty. |
191
|
| Parameter context should be final. |
191
|
| Expected @param tag for 'context'. |
191
|
| Expected @throws tag for 'Exception'. |
191
|
| First sentence should end with a period. |
195
|
| Method 'stop' is not designed for extension - needs to be abstract, final or empty. |
198
|
| Parameter context should be final. |
198
|
| Expected @param tag for 'context'. |
198
|
| Expected @throws tag for 'Exception'. |
198
|
| Expected an @return tag. |
205
|
| Expected an @return tag. |
213
|
| Parameter key should be final. |
213
|
| Expected @param tag for 'key'. |
213
|
| Avoid inline conditionals. |
217
|
| First sentence should end with a period. |
223
|
| Expected an @return tag. |
226
|
| Method 'getResourceBundle' is not designed for extension - needs to be abstract, final or empty. |
226
|
| Line has trailing spaces. |
229
|
| Method 'earlyStartup' is not designed for extension - needs to be abstract, final or empty. |
233
|
| Missing a Javadoc comment. |
233
|
| Line has trailing spaces. |
241
|
edu/stanford/suif/keepresident/KernelException.java
| Error | Line |
| File does not end with a newline. |
0
|
edu/stanford/suif/keepresident/KernelException.java
| Error | Line |
| Missing a header - not enough lines in file. |
1
|
| First sentence should end with a period. |
6
|
| Line has trailing spaces. |
8
|
| Line has trailing spaces. |
14
|
| Parameter message should be final. |
23
|
| Expected @param tag for 'message'. |
23
|
| Parameter message should be final. |
31
|
| Expected @param tag for 'message'. |
31
|
| Parameter cause should be final. |
31
|
| Expected @param tag for 'cause'. |
31
|
| Parameter cause should be final. |
38
|
| Expected @param tag for 'cause'. |
38
|
edu/stanford/suif/keepresident/KernelInterface.java
| Error | Line |
| File does not end with a newline. |
0
|
edu/stanford/suif/keepresident/KernelInterface.java
| Error | Line |
| Line does not match expected header line of 'Common Public License Version 1.0'. |
1
|
| First sentence should end with a period. |
9
|
| Line has trailing spaces. |
11
|
| Line has trailing spaces. |
16
|
| Line has trailing spaces. |
21
|
| Missing a Javadoc comment. |
22
|
| Line has trailing spaces. |
23
|
| Line has trailing spaces. |
25
|
| Line has trailing spaces. |
32
|
| Method 'free' is not designed for extension - needs to be abstract, final or empty. |
33
|
| Missing a Javadoc comment. |
33
|
| Line has trailing spaces. |
42
|
| Missing a Javadoc comment. |
43
|
| '0x1100' is a magic number. |
51
|
| '128' is a magic number. |
56
|
| '+' is not preceded with whitespace. |
61
|
| '+' is not followed by whitespace. |
61
|
| Line has trailing spaces. |
69
|
| Method 'convertToString' is not designed for extension - needs to be abstract, final or empty. |
70
|
| Missing a Javadoc comment. |
70
|
| Parameter p should be final. |
70
|
| Line has trailing spaces. |
78
|
| Method 'call' is not designed for extension - needs to be abstract, final or empty. |
79
|
| Missing a Javadoc comment. |
79
|
| Parameter procName should be final. |
79
|
| Line has trailing spaces. |
82
|
| Method 'call' is not designed for extension - needs to be abstract, final or empty. |
83
|
| Missing a Javadoc comment. |
83
|
| Parameter procName should be final. |
83
|
| Parameter a should be final. |
83
|
| Line has trailing spaces. |
86
|
| Method 'call' is not designed for extension - needs to be abstract, final or empty. |
87
|
| Missing a Javadoc comment. |
87
|
| Parameter procName should be final. |
87
|
| Parameter a should be final. |
87
|
| Parameter b should be final. |
87
|
| Line has trailing spaces. |
90
|
| Method 'call' is not designed for extension - needs to be abstract, final or empty. |
91
|
| Missing a Javadoc comment. |
91
|
| Parameter procName should be final. |
91
|
| Parameter a should be final. |
91
|
| Parameter b should be final. |
91
|
| Parameter c should be final. |
91
|
| Line has trailing spaces. |
94
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Missing a Javadoc comment. |
95
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
95
|
| Parameter procName should be final. |
95
|
| 'if' construct must use '{}'s. |
97
|
| Line has trailing spaces. |
101
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
102
|
| Missing a Javadoc comment. |
102
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
102
|
| Parameter procName should be final. |
102
|
| Parameter a should be final. |
102
|
| 'if' construct must use '{}'s. |
104
|
| Line has trailing spaces. |
108
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
109
|
| Missing a Javadoc comment. |
109
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
109
|
| Parameter procName should be final. |
109
|
| Parameter a should be final. |
109
|
| Parameter b should be final. |
109
|
| 'if' construct must use '{}'s. |
111
|
| Line has trailing spaces. |
115
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
116
|
| Missing a Javadoc comment. |
116
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
116
|
| Parameter procName should be final. |
116
|
| Parameter a should be final. |
116
|
| Parameter b should be final. |
116
|
| Parameter c should be final. |
116
|
| 'if' construct must use '{}'s. |
118
|
| Line has trailing spaces. |
122
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
123
|
| Missing a Javadoc comment. |
123
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
123
|
| Parameter procName should be final. |
123
|
| Parameter a should be final. |
123
|
| Parameter b should be final. |
123
|
| Parameter c should be final. |
123
|
| Parameter d should be final. |
123
|
| 'if' construct must use '{}'s. |
125
|
| Line has trailing spaces. |
129
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
130
|
| Missing a Javadoc comment. |
130
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
130
|
| Parameter procName should be final. |
130
|
| Parameter a should be final. |
130
|
| Parameter b should be final. |
130
|
| Parameter c should be final. |
130
|
| Parameter d should be final. |
130
|
| Parameter e should be final. |
130
|
| 'if' construct must use '{}'s. |
132
|
| Line has trailing spaces. |
136
|
| Line is longer than 80 characters. |
137
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
137
|
| Missing a Javadoc comment. |
137
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
137
|
| Parameter procName should be final. |
137
|
| Parameter a should be final. |
137
|
| Parameter b should be final. |
137
|
| Parameter c should be final. |
137
|
| Parameter d should be final. |
137
|
| Parameter e should be final. |
137
|
| Parameter f should be final. |
137
|
| 'if' construct must use '{}'s. |
139
|
| Line has trailing spaces. |
143
|
| Line is longer than 80 characters. |
144
|
| Method 'call_z' is not designed for extension - needs to be abstract, final or empty. |
144
|
| Missing a Javadoc comment. |
144
|
| More than 7 parameters. |
144
|
| Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
144
|
| Parameter procName should be final. |
144
|
| Parameter a should be final. |
144
|
| Parameter b should be final. |
144
|
| Parameter c should be final. |
144
|
| Parameter d should be final. |
144
|
| Parameter e should be final. |
144
|
| Parameter f should be final. |
144
|
| Parameter g should be final. |
144
|
| 'if' construct must use '{}'s. |
146
|
| Line has trailing spaces. |
150
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
151
|
| Missing a Javadoc comment. |
151
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
151
|
| Parameter procName should be final. |
151
|
| 'if' construct must use '{}'s. |
153
|
| Line has trailing spaces. |
157
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
158
|
| Missing a Javadoc comment. |
158
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
158
|
| Parameter procName should be final. |
158
|
| Parameter a should be final. |
158
|
| 'if' construct must use '{}'s. |
160
|
| Line has trailing spaces. |
164
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
165
|
| Missing a Javadoc comment. |
165
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
165
|
| Parameter procName should be final. |
165
|
| Parameter a should be final. |
165
|
| Parameter b should be final. |
165
|
| 'if' construct must use '{}'s. |
167
|
| Line has trailing spaces. |
171
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
172
|
| Missing a Javadoc comment. |
172
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
172
|
| Parameter procName should be final. |
172
|
| Parameter a should be final. |
172
|
| Parameter b should be final. |
172
|
| Parameter c should be final. |
172
|
| 'if' construct must use '{}'s. |
174
|
| Line has trailing spaces. |
178
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
179
|
| Missing a Javadoc comment. |
179
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
179
|
| Parameter procName should be final. |
179
|
| Parameter a should be final. |
179
|
| Parameter b should be final. |
179
|
| Parameter c should be final. |
179
|
| Parameter d should be final. |
179
|
| 'if' construct must use '{}'s. |
181
|
| Line has trailing spaces. |
185
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
186
|
| Missing a Javadoc comment. |
186
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
186
|
| Parameter procName should be final. |
186
|
| Parameter a should be final. |
186
|
| Parameter b should be final. |
186
|
| Parameter c should be final. |
186
|
| Parameter d should be final. |
186
|
| Parameter e should be final. |
186
|
| 'if' construct must use '{}'s. |
188
|
| Line has trailing spaces. |
192
|
| Line is longer than 80 characters. |
193
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
193
|
| Missing a Javadoc comment. |
193
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
193
|
| Parameter procName should be final. |
193
|
| Parameter a should be final. |
193
|
| Parameter b should be final. |
193
|
| Parameter c should be final. |
193
|
| Parameter d should be final. |
193
|
| Parameter e should be final. |
193
|
| Parameter f should be final. |
193
|
| 'if' construct must use '{}'s. |
195
|
| Line has trailing spaces. |
199
|
| Line is longer than 80 characters. |
200
|
| Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. |
200
|
| Missing a Javadoc comment. |
200
|
| More than 7 parameters. |
200
|
| Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
200
|
| Parameter procName should be final. |
200
|
| Parameter a should be final. |
200
|
| Parameter b should be final. |
200
|
| Parameter c should be final. |
200
|
| Parameter d should be final. |
200
|
| Parameter e should be final. |
200
|
| Parameter f should be final. |
200
|
| Parameter g should be final. |
200
|
| 'if' construct must use '{}'s. |
202
|
| Line has trailing spaces. |
206
|
| Missing a Javadoc comment. |
207
|
| Parameter name should be final. |
207
|
| 'if' construct must use '{}'s. |
211
|
| Line is longer than 80 characters. |
211
|
| '+' is not preceded with whitespace. |
211
|
| '+' is not followed by whitespace. |
211
|
| Line has trailing spaces. |
217
|
| Missing a Javadoc comment. |
219
|
| Missing a Javadoc comment. |
221
|
| Missing a Javadoc comment. |
223
|
| Line has trailing spaces. |
224
|
| Missing a Javadoc comment. |
226
|
| Name 'GetIntArrayElements' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
226
|
| Parameter a should be final. |
226
|
| Missing a Javadoc comment. |
227
|
| Name 'ReleaseIntArrayElements' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
227
|
| Parameter a should be final. |
227
|
| Parameter b should be final. |
227
|
| Missing a Javadoc comment. |
228
|
| Name 'GetByteArrayElements' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
228
|
| Parameter a should be final. |
228
|
| Missing a Javadoc comment. |
229
|
| Name 'ReleaseByteArrayElements' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
229
|
| Parameter a should be final. |
229
|
| Parameter b should be final. |
229
|
| Line has trailing spaces. |
230
|
| Missing a Javadoc comment. |
232
|
| Parameter p should be final. |
232
|
| Missing a Javadoc comment. |
233
|
| Parameter to should be final. |
233
|
| Parameter from should be final. |
233
|
| Parameter size should be final. |
233
|
| Line has trailing spaces. |
234
|
| Method 'LoadLibrary' is not designed for extension - needs to be abstract, final or empty. |
236
|
| Missing a Javadoc comment. |
236
|
| Name 'LoadLibrary' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
236
|
| Parameter name should be final. |
236
|
| Method 'FreeLibrary' is not designed for extension - needs to be abstract, final or empty. |
237
|
| Missing a Javadoc comment. |
237
|
| Name 'FreeLibrary' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
237
|
| Parameter handle should be final. |
237
|
| Method 'GetProcAddress' is not designed for extension - needs to be abstract, final or empty. |
238
|
| Missing a Javadoc comment. |
238
|
| Name 'GetProcAddress' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
238
|
| Parameter lib should be final. |
238
|
| Parameter name should be final. |
238
|
| Line has trailing spaces. |
239
|
| Missing a Javadoc comment. |
241
|
| Name 'call_0' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
241
|
| Parameter addr should be final. |
241
|
| Missing a Javadoc comment. |
242
|
| Name 'call_4' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
242
|
| Parameter addr should be final. |
242
|
| Parameter a should be final. |
242
|
| Missing a Javadoc comment. |
243
|
| Name 'call_8' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
243
|
| Parameter addr should be final. |
243
|
| Parameter a should be final. |
243
|
| Parameter b should be final. |
243
|
| Missing a Javadoc comment. |
244
|
| Name 'call_12' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
244
|
| Parameter addr should be final. |
244
|
| Parameter a should be final. |
244
|
| Parameter b should be final. |
244
|
| Parameter c should be final. |
244
|
| Missing a Javadoc comment. |
245
|
| Name 'call_16' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
245
|
| Parameter addr should be final. |
245
|
| Parameter a should be final. |
245
|
| Parameter b should be final. |
245
|
| Parameter c should be final. |
245
|
| Parameter d should be final. |
245
|
| Missing a Javadoc comment. |
246
|
| Name 'call_20' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
246
|
| Parameter addr should be final. |
246
|
| Parameter a should be final. |
246
|
| Parameter b should be final. |
246
|
| Parameter c should be final. |
246
|
| Parameter d should be final. |
246
|
| Parameter e should be final. |
246
|
| Line is longer than 80 characters. |
247
|
| Missing a Javadoc comment. |
247
|
| Name 'call_24' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
247
|
| Parameter addr should be final. |
247
|
| Parameter a should be final. |
247
|
| Parameter b should be final. |
247
|
| Parameter c should be final. |
247
|
| Parameter d should be final. |
247
|
| Parameter e should be final. |
247
|
| Parameter f should be final. |
247
|
| Line is longer than 80 characters. |
248
|
| Missing a Javadoc comment. |
248
|
| More than 7 parameters. |
248
|
| Name 'call_28' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
248
|
| Parameter addr should be final. |
248
|
| Parameter a should be final. |
248
|
| Parameter b should be final. |
248
|
| Parameter c should be final. |
248
|
| Parameter d should be final. |
248
|
| Parameter e should be final. |
248
|
| Parameter f should be final. |
248
|
| Parameter g should be final. |
248
|
| Line is longer than 80 characters. |
249
|
| Missing a Javadoc comment. |
249
|
| More than 7 parameters. |
249
|
| Name 'call_32' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
249
|
| Parameter addr should be final. |
249
|
| Parameter a should be final. |
249
|
| Parameter b should be final. |
249
|
| Parameter c should be final. |
249
|
| Parameter d should be final. |
249
|
| Parameter e should be final. |
249
|
| Parameter f should be final. |
249
|
| Parameter g should be final. |
249
|
| Parameter h should be final. |
249
|
| Line has trailing spaces. |
250
|
edu/stanford/suif/keepresident/LabelledScaleFieldEditor.java
| Error | Line |
| Line does not match expected header line of 'Common Public License Version 1.0'. |
1
|
| First sentence should end with a period. |
18
|
| Line has trailing spaces. |
20
|
| Line is longer than 80 characters. |
22
|
| Variable 'scale' must be private and have accessor methods. |
48
|
| Missing a Javadoc comment. |
49
|
| Variable 'myLabel' must be private and have accessor methods. |
49
|
| Line has trailing spaces. |
53
|
| Line is longer than 80 characters. |
61
|
| Parameter name should be final. |
61
|
| Parameter labelText should be final. |
61
|
| Parameter parent should be final. |
61
|
| Line has trailing spaces. |
68
|
| Line is longer than 80 characters. |
84
|
| Parameter name should be final. |
84
|
| Parameter labelText should be final. |
84
|
| Parameter parent should be final. |
84
|
| Parameter min should be final. |
84
|
| Parameter max should be final. |
84
|
| Parameter increment should be final. |
85
|
| Parameter pageIncrement should be final. |
85
|
| Line has trailing spaces. |
92
|
| Method 'adjustForNumColumns' is not designed for extension - needs to be abstract, final or empty. |
95
|
| Missing a Javadoc comment. |
95
|
| Parameter numColumns should be final. |
95
|
| Line has trailing spaces. |
102
|
| Line is longer than 80 characters. |
103
|
| Method 'doFillIntoGrid' is not designed for extension - needs to be abstract, final or empty. |
106
|
| Missing a Javadoc comment. |
106
|
| Parameter parent should be final. |
106
|
| Parameter numColumns should be final. |
106
|
| Line has trailing spaces. |
110
|
| Line has trailing spaces. |
117
|
| Line has trailing spaces. |
122
|
| Line has trailing spaces. |
128
|
| Method 'doLoad' is not designed for extension - needs to be abstract, final or empty. |
131
|
| Missing a Javadoc comment. |
131
|
| Line has trailing spaces. |
144
|
| Method 'doLoadDefault' is not designed for extension - needs to be abstract, final or empty. |
147
|
| Missing a Javadoc comment. |
147
|
| Line has trailing spaces. |
160
|
| Method 'doStore' is not designed for extension - needs to be abstract, final or empty. |
163
|
| Missing a Javadoc comment. |
163
|
| Line is longer than 80 characters. |
164
|
| Line has trailing spaces. |
169
|
| Method 'getIncrement' is not designed for extension - needs to be abstract, final or empty. |
173
|
| Line has trailing spaces. |
179
|
| Method 'getMaximum' is not designed for extension - needs to be abstract, final or empty. |
183
|
| Line has trailing spaces. |
189
|
| Method 'getMinimum' is not designed for extension - needs to be abstract, final or empty. |
193
|
| Line has trailing spaces. |
199
|
| Method 'getNumberOfControls' is not designed for extension - needs to be abstract, final or empty. |
202
|
| Missing a Javadoc comment. |
202
|
| '3' is a magic number. |
203
|
| Line has trailing spaces. |
208
|
| Method 'getPageIncrement' is not designed for extension - needs to be abstract, final or empty. |
212
|
| Line has trailing spaces. |
218
|
| Method 'getScaleControl' is not designed for extension - needs to be abstract, final or empty. |
222
|
| Line has trailing spaces. |
229
|
| Parameter parent should be final. |
234
|
| Parameter event should be final. |
239
|
| Parameter event should be final. |
244
|
| Missing a Javadoc comment. |
254
|
| Parameter parent should be final. |
254
|
| Parameter event should be final. |
259
|
| Line has trailing spaces. |
268
|
| '10' is a magic number. |
279
|
| Line has trailing spaces. |
284
|
| Method 'setFocus' is not designed for extension - needs to be abstract, final or empty. |
287
|
| Missing a Javadoc comment. |
287
|
| Line has trailing spaces. |
296
|
| Method 'setIncrement' is not designed for extension - needs to be abstract, final or empty. |
301
|
| Parameter increment should be final. |
301
|
| Line has trailing spaces. |
308
|
| Method 'setMaximum' is not designed for extension - needs to be abstract, final or empty. |
313
|
| Parameter max should be final. |
313
|
| Line has trailing spaces. |
320
|
| Method 'setMinimum' is not designed for extension - needs to be abstract, final or empty. |
325
|
| Parameter min should be final. |
325
|
| Line has trailing spaces. |
333
|
| Method 'setPageIncrement' is not designed for extension - needs to be abstract, final or empty. |
338
|
| Parameter pageIncrement should be final. |
338
|
| Line has trailing spaces. |
345
|
| Parameter min should be final. |
355
|
| Parameter max should be final. |
355
|
| Parameter increment should be final. |
355
|
| Parameter pageIncrement should be final. |
355
|
| Method 'valueChanged' is not designed for extension - needs to be abstract, final or empty. |
385
|
| Line is longer than 80 characters. |
390
|
| Line has trailing spaces. |
395
|
| Expected an @return tag. |
400
|
| Parameter size should be final. |
400
|
| Expected @param tag for 'size'. |
400
|
| Name 'kb_min' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
401
|
| Name 'kb_max' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
402
|
| '1024' is a magic number. |
402
|
| '1024' is a magic number. |
402
|
| Name 'mb_min' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
403
|
| Name 'mb_max' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
404
|
| '1024' is a magic number. |
404
|
| '1024' is a magic number. |
404
|
| '1024' is a magic number. |
404
|
| Line has trailing spaces. |
426
|
| Missing a Javadoc comment. |
427
|
| Line has trailing spaces. |
428
|
| Missing a Javadoc comment. |
429
|
| Parameter sb should be final. |
429
|
| Parameter k should be final. |
429
|
edu/stanford/suif/keepresident/WindowsHeap.java
| Error | Line |
| Line does not match expected header line of 'Common Public License Version 1.0'. |
1
|
| First sentence should end with a period. |
11
|
| Line has trailing spaces. |
13
|
| Line has trailing spaces. |
18
|
| Missing a Javadoc comment. |
19
|
| Name 'SystemInfo' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
19
|
| '9' is a magic number. |
19
|
| Line has trailing spaces. |
20
|
| Missing a Javadoc comment. |
22
|
| Name 'dwOemId' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
22
|
| Missing a Javadoc comment. |
23
|
| Name 'dwPageSize' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
23
|
| Missing a Javadoc comment. |
24
|
| Name 'lpMinimumApplicationAddress' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
24
|
| Missing a Javadoc comment. |
25
|
| Name 'lpMaximumApplicationAddress' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
25
|
| Missing a Javadoc comment. |
26
|
| Name 'dwActiveProcessorMask' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
26
|
| Missing a Javadoc comment. |
27
|
| Name 'dwNumberOfProcessors' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
27
|
| Missing a Javadoc comment. |
28
|
| Name 'dwProcessorType' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
28
|
| Missing a Javadoc comment. |
29
|
| Name 'dwAllocationGranularity' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
29
|
| Missing a Javadoc comment. |
30
|
| Name 'wProcessorLevelAndRevision' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
30
|
| Line has trailing spaces. |
31
|
| Missing a Javadoc comment. |
32
|
| Parameter i should be final. |
32
|
| Line has trailing spaces. |
37
|
| Missing a Javadoc comment. |
38
|
| Name 'TECHNIQUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
38
|
| Variable 'TECHNIQUE' must be private and have accessor methods. |
38
|
| Line has trailing spaces. |
39
|
| Missing a Javadoc comment. |
40
|
| Parameter args should be final. |
40
|
| Redundant throws: 'Exception' is unchecked exception. |
40
|
| Line has trailing spaces. |
45
|
| '100000000' is a magic number. |
48
|
| '300000000' is a magic number. |
49
|
| Line has trailing spaces. |
51
|
| '5000' is a magic number. |
52
|
| Line has trailing spaces. |
54
|
| '+' is not preceded with whitespace. |
61
|
| '+' is not followed by whitespace. |
61
|
| '+' is not preceded with whitespace. |
61
|
| '+' is not followed by whitespace. |
61
|
| '+' is not preceded with whitespace. |
61
|
| '+' is not followed by whitespace. |
61
|
| '+' is not preceded with whitespace. |
61
|
| '+' is not followed by whitespace. |
61
|
| Line is longer than 80 characters. |
67
|
| '+' is not preceded with whitespace. |
67
|
| '+' is not followed by whitespace. |
67
|
| '+' is not preceded with whitespace. |
67
|
| '+' is not followed by whitespace. |
67
|
| '+' is not preceded with whitespace. |
67
|
| '+' is not followed by whitespace. |
67
|
| '+' is not preceded with whitespace. |
67
|
| '+' is not followed by whitespace. |
67
|
| '3' is a magic number. |
68
|
| Line has trailing spaces. |
72
|
| Line is longer than 80 characters. |
76
|
| '+' is not preceded with whitespace. |
76
|
| '+' is not followed by whitespace. |
76
|
| '+' is not preceded with whitespace. |
76
|
| '+' is not followed by whitespace. |
76
|
| '+' is not preceded with whitespace. |
76
|
| '+' is not followed by whitespace. |
76
|
| '+' is not preceded with whitespace. |
76
|
| '+' is not followed by whitespace. |
76
|
| Line has trailing spaces. |
78
|
| '5000' is a magic number. |
80
|
| Line has trailing spaces. |
81
|
| Line has trailing spaces. |
83
|
| Missing a Javadoc comment. |
84
|
| Parameter i should be final. |
84
|
| 'i' hides a field. |
84
|
| Line has trailing spaces. |
88
|
| Missing a Javadoc comment. |
89
|
| Variable 'i' must be private and have accessor methods. |
89
|
| Missing a Javadoc comment. |
90
|
| Variable 'locks' must be private and have accessor methods. |
90
|
| Line has trailing spaces. |
91
|
| Line has trailing spaces. |
95
|
| Method 'lockAllMemory' is not designed for extension - needs to be abstract, final or empty. |
101
|
| Parameter start should be final. |
101
|
| Parameter end should be final. |
101
|
| Parameter step should be final. |
101
|
| 'if' construct must use '{}'s. |
104
|
| Must have at least one statement. |
109
|
| Line has trailing spaces. |
115
|
| Method 'releaseAllLocks' is not designed for extension - needs to be abstract, final or empty. |
116
|
| Missing a Javadoc comment. |
116
|
| ';' is followed by whitespace. |
117
|
| Must have at least one statement. |
121
|
| Line has trailing spaces. |
126
|
| Method 'getLockedBytes' is not designed for extension - needs to be abstract, final or empty. |
127
|
| Missing a Javadoc comment. |
127
|
| ';' is followed by whitespace. |
129
|
| Line has trailing spaces. |
135
|
| Method 'IsBadReadPtr' is not designed for extension - needs to be abstract, final or empty. |
136
|
| Missing a Javadoc comment. |
136
|
| Name 'IsBadReadPtr' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
136
|
| Parameter p should be final. |
136
|
| Parameter size should be final. |
136
|
| Line has trailing spaces. |
140
|
| Method 'lockAllHeaps' is not designed for extension - needs to be abstract, final or empty. |
141
|
| Missing a Javadoc comment. |
141
|
| Parameter minSize should be final. |
141
|
| '+' is not preceded with whitespace. |
146
|
| '+' is not followed by whitespace. |
146
|
| 'if' construct must use '{}'s. |
150
|
| Line is longer than 80 characters. |
151
|
| '+' is not preceded with whitespace. |
151
|
| '+' is not followed by whitespace. |
151
|
| '+' is not preceded with whitespace. |
152
|
| '+' is not followed by whitespace. |
152
|
| '+' is not preceded with whitespace. |
158
|
| '+' is not followed by whitespace. |
158
|
| Line has trailing spaces. |
164
|
| Method 'VirtualLock' is not designed for extension - needs to be abstract, final or empty. |
165
|
| Missing a Javadoc comment. |
165
|
| Name 'VirtualLock' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
165
|
| Parameter addr should be final. |
165
|
| Parameter size should be final. |
165
|
| Line has trailing spaces. |
168
|
| Method 'VirtualUnlock' is not designed for extension - needs to be abstract, final or empty. |
169
|
| Missing a Javadoc comment. |
169
|
| Name 'VirtualUnlock' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
169
|
| Parameter addr should be final. |
169
|
| Parameter size should be final. |
169
|
| Line has trailing spaces. |
172
|
| Method 'GetProcessHeaps' is not designed for extension - needs to be abstract, final or empty. |
173
|
| Missing a Javadoc comment. |
173
|
| Name 'GetProcessHeaps' must match pattern '^[a-z][a-zA-Z0-9]*$'. |
173
|
| '256' is a magic number. |
174
|
| Line has trailing spaces. |
189
|
| Missing a Javadoc comment. |
190
|
| Parameter i should be final. |
190
|
| Parameter handle should be final. |
190
|
| Line has trailing spaces. |
193
|
| Missing a Javadoc comment. |
194
|
| Missing a Javadoc comment. |
196
|
| Variable 'i' must be private and have accessor methods. |
196
|
| Missing a Javadoc comment. |
197
|
| Variable 'heapHandle' must be private and have accessor methods. |
197
|
| Missing a Javadoc comment. |
198
|
| Variable 'sProcessHeapEntry' must be private and have accessor methods. |
198
|
| Missing a Javadoc comment. |
199
|
| Variable 'more' must be private and have accessor methods. |
199
|
| Line has trailing spaces. |
200
|
| Missing a Javadoc comment. |
201
|
| Parameter i should be final. |
201
|
| 'i' hides a field. |
201
|
| Parameter handle should be final. |
201
|
| '8' is a magic number. |
204
|
| Line has trailing spaces. |
207
|
| Missing a Javadoc comment. |
208
|
| Line is longer than 80 characters. |
209
|
| Line is longer than 80 characters. |
211
|
| Line has trailing spaces. |
214
|
| Method 'lpData' is not designed for extension - needs to be abstract, final or empty. |
215
|
| Missing a Javadoc comment. |
215
|
| Line has trailing spaces. |
218
|
| Method 'cbData' is not designed for extension - needs to be abstract, final or empty. |
219
|
| Missing a Javadoc comment. |
219
|
| Line has trailing spaces. |
222
|
| Method 'hasNext' is not designed for extension - needs to be abstract, final or empty. |
226
|
| Missing a Javadoc comment. |
226
|
| Method 'next' is not designed for extension - needs to be abstract, final or empty. |
233
|
| Missing a Javadoc comment. |
233
|
| Line has trailing spaces. |
236
|
| Method 'nextEntry' is not designed for extension - needs to be abstract, final or empty. |
237
|
| Missing a Javadoc comment. |
237
|
| 'if' construct must use '{}'s. |
238
|
| Method 'remove' is not designed for extension - needs to be abstract, final or empty. |
248
|
| Missing a Javadoc comment. |
248
|
| Line has trailing spaces. |
251
|
| Line has trailing spaces. |
253
|
| Missing a Javadoc comment. |
254
|
| Parameter i should be final. |
254
|
| Parameter process should be final. |
254
|
| Line has trailing spaces. |
257
|
| Method 'lockAllVM' is not designed for extension - needs to be abstract, final or empty. |
258
|
| Missing a Javadoc comment. |
258
|
| Line is longer than 80 characters. |
272
|
| Line is longer than 80 characters. |
273
|
| Line is longer than 80 characters. |
274
|
| Must have at least one statement. |
276
|
| Line has trailing spaces. |
286
|
| Method 'printAllVM' is not designed for extension - needs to be abstract, final or empty. |
287
|
| Missing a Javadoc comment. |
287
|
| Line is longer than 80 characters. |
294
|
| '+' is not preceded with whitespace. |
294
|
| '+' is not followed by whitespace. |
294
|
| Line is longer than 80 characters. |
295
|
| '+' is not preceded with whitespace. |
295
|
| '+' is not followed by whitespace. |
295
|
| Line is longer than 80 characters. |
296
|
| '+' is not preceded with whitespace. |
296
|
| '+' is not followed by whitespace. |
296
|
| Line is longer than 80 characters. |
297
|
| '+' is not preceded with whitespace. |
297
|
| '+' is not followed by whitespace. |
297
|
| '3' is a magic number. |
297
|
| Line is longer than 80 characters. |
298
|
| '+' is not preceded with whitespace. |
298
|
| '+' is not followed by whitespace. |
298
|
| '4' is a magic number. |
298
|
| Line is longer than 80 characters. |
299
|
| '+' is not preceded with whitespace. |
299
|
| '+' is not followed by whitespace. |
299
|
| '5' is a magic number. |
299
|
| Line is longer than 80 characters. |
300
|
| '+' is not preceded with whitespace. |
300
|
| '+' is not followed by whitespace. |
300
|
| '6' is a magic number. |
300
|
| Line has trailing spaces. |
317
|
| Missing a Javadoc comment. |
318
|
| Missing a Javadoc comment. |
319
|
| Variable 'i' must be private and have accessor methods. |
319
|
| Missing a Javadoc comment. |
320
|
| Variable 'maxAppAddress' must be private and have accessor methods. |
320
|
| Missing a Javadoc comment. |
321
|
| Variable 'processHandle' must be private and have accessor methods. |
321
|
| Missing a Javadoc comment. |
322
|
| Variable 'lpMem' must be private and have accessor methods. |
322
|
| Missing a Javadoc comment. |
323
|
| Variable 'sMBI' must be private and have accessor methods. |
323
|
| Line has trailing spaces. |
324
|
| Missing a Javadoc comment. |
325
|
| Parameter i should be final. |
325
|
| 'i' hides a field. |
325
|
| Parameter process should be final. |
325
|
| '7' is a magic number. |
326
|
| Line has trailing spaces. |
332
|
| Missing a Javadoc comment. |
333
|
| '256' is a magic number. |
334
|
| '3' is a magic number. |
338
|
| Line has trailing spaces. |
340
|
| Missing a Javadoc comment. |
341
|
| Name 'BaseAddress' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
341
|
| Missing a Javadoc comment. |
342
|
| Name 'AllocationBase' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
342
|
| Missing a Javadoc comment. |
343
|
| Name 'AllocationProtect' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
343
|
| Missing a Javadoc comment. |
344
|
| Name 'RegionSize' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
344
|
| Missing a Javadoc comment. |
345
|
| Name 'State' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
345
|
| Missing a Javadoc comment. |
346
|
| Name 'Protect' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
346
|
| Missing a Javadoc comment. |
347
|
| Name 'Type' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. |
347
|
| Line has trailing spaces. |
348
|
| Missing a Javadoc comment. |
350
|
| Missing a Javadoc comment. |
351
|
| Missing a Javadoc comment. |
352
|
| Line has trailing spaces. |
353
|
| Missing a Javadoc comment. |
355
|
| Missing a Javadoc comment. |
356
|
| Missing a Javadoc comment. |
357
|
| Missing a Javadoc comment. |
358
|
| Missing a Javadoc comment. |
359
|
| Missing a Javadoc comment. |
360
|
| Missing a Javadoc comment. |
361
|
| Missing a Javadoc comment. |
362
|
| Missing a Javadoc comment. |
363
|
| Missing a Javadoc comment. |
364
|
| Line has trailing spaces. |
365
|
| Missing a Javadoc comment. |
367
|
| Missing a Javadoc comment. |
368
|
| Missing a Javadoc comment. |
369
|
| Line has trailing spaces. |
370
|
| Missing a Javadoc comment. |
371
|
| Line is longer than 80 characters. |
373
|
| '*' is not preceded with whitespace. |
373
|
| '*' is not followed by whitespace. |
373
|
| '4' is a magic number. |
373
|
| Line has trailing spaces. |
378
|
| Method 'hasNext' is not designed for extension - needs to be abstract, final or empty. |
382
|
| Missing a Javadoc comment. |
382
|
| Line has trailing spaces. |
385
|
| Method 'next' is not designed for extension - needs to be abstract, final or empty. |
389
|
| Missing a Javadoc comment. |
389
|
| Line has trailing spaces. |
392
|
| Method 'nextEntry' is not designed for extension - needs to be abstract, final or empty. |
393
|
| Missing a Javadoc comment. |
393
|
| 'if' construct must use '{}'s. |
394
|
| Line has trailing spaces. |
400
|
| Method 'remove' is not designed for extension - needs to be abstract, final or empty. |
404
|
| Missing a Javadoc comment. |
404
|
| Line has trailing spaces. |
407
|
edu/stanford/suif/keepresident/package.html
| Error | Line |
| Missing package documentation file. | 0 |
edu/stanford/suif/keepresident/preferences/KeepResidentPreferencePage.java
| Error | Line |
| Missing a header - not enough lines in file. |
1
|
| Missing a Javadoc comment. |
27
|
| Missing a Javadoc comment. |
28
|
| Missing a Javadoc comment. |
29
|
| Missing a Javadoc comment. |
31
|
| Variable 'minEditor' must be private and have accessor methods. |
31
|
| Missing a Javadoc comment. |
32
|
| Variable 'maxEditor' must be private and have accessor methods. |
32
|
| Missing a Javadoc comment. |
33
|
| Variable 'lockEditor' must be private and have accessor methods. |
33
|
| Line has trailing spaces. |
34
|
| Missing a Javadoc comment. |
35
|
| Line is longer than 80 characters. |
37
|
| Method 'createFieldEditors' is not designed for extension - needs to be abstract, final or empty. |
46
|
| '1048576' is a magic number. |
51
|
| '10485760' is a magic number. |
51
|
| '1048576' is a magic number. |
55
|
| '10485760' is a magic number. |
55
|
| Line is longer than 80 characters. |
58
|
| Method 'init' is not designed for extension - needs to be abstract, final or empty. |
63
|
| Missing a Javadoc comment. |
63
|
| Parameter workbench should be final. |
63
|
| Line has trailing spaces. |
66
|
| Method 'performOk' is not designed for extension - needs to be abstract, final or empty. |
67
|
| Missing a Javadoc comment. |
67
|
| Must have at least one statement. |
77
|
| '+' is not preceded with whitespace. |
85
|
| '+' is not followed by whitespace. |
85
|
edu/stanford/suif/keepresident/preferences/package.html
| Error | Line |
| Missing package documentation file. | 0 |