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. |
|