Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
1400867

Files

FilesIWE
edu/stanford/suif/keepresident/KeepResidentPlugin.java 00103
edu/stanford/suif/keepresident/KernelException.java 001
edu/stanford/suif/keepresident/KernelException.java 0012
edu/stanford/suif/keepresident/KernelInterface.java 001
edu/stanford/suif/keepresident/KernelInterface.java 00318
edu/stanford/suif/keepresident/LabelledScaleFieldEditor.java 00108
edu/stanford/suif/keepresident/WindowsHeap.java 00294
edu/stanford/suif/keepresident/package.html 001
edu/stanford/suif/keepresident/preferences/KeepResidentPreferencePage.java 0028
edu/stanford/suif/keepresident/preferences/package.html 001

edu/stanford/suif/keepresident/KeepResidentPlugin.java

ErrorLine
Error Line does not match expected header line of 'Common Public License Version 1.0'. 1
Error Missing a Javadoc comment. 24
Error Missing a Javadoc comment. 26
Error Missing a Javadoc comment. 28
Error Variable 'i' must be private and have accessor methods. 28
Error Missing a Javadoc comment. 29
Error Variable 'heap' must be private and have accessor methods. 29
Error Missing a Javadoc comment. 30
Error Variable 'hardMinimum' must be private and have accessor methods. 30
Error Variable 'hardMaximum' must be private and have accessor methods. 30
Error Missing a Javadoc comment. 31
Error Variable 'currentMinimum' must be private and have accessor methods. 31
Error Variable 'currentMaximum' must be private and have accessor methods. 31
Error Missing a Javadoc comment. 32
Error Variable 'pageSize' must be private and have accessor methods. 32
Error Line has trailing spaces. 33
Error Method 'getHardMinimum' is not designed for extension - needs to be abstract, final or empty. 34
Error Missing a Javadoc comment. 34
Error Method 'getHardMaximum' is not designed for extension - needs to be abstract, final or empty. 37
Error Missing a Javadoc comment. 37
Error Method 'getLockedBytes' is not designed for extension - needs to be abstract, final or empty. 40
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 44
Error '256' is a magic number. 47
Error 'if' construct must use '{}'s. 57
Error Line has trailing spaces. 58
Error '20' is a magic number. 59
Error '512' is a magic number. 60
Error Line has trailing spaces. 61
Error Line is longer than 80 characters. 62
Error Line has trailing spaces. 64
Error Line has trailing spaces. 66
Error Missing a Javadoc comment. 67
Error Line is longer than 80 characters. 71
Error '100000000' is a magic number. 72
Error '500000000' is a magic number. 73
Error Line has trailing spaces. 76
Error Parameter d should be final. 81
Error Expected @param tag for 'd'. 81
Error Line is longer than 80 characters. 87
Error Method 'updateProcessWorkingSetSize' is not designed for extension - needs to be abstract, final or empty. 99
Error Missing a Javadoc comment. 99
Error Line is longer than 80 characters. 110
Error Line has trailing spaces. 115
Error Missing a Javadoc comment. 116
Error Name 'TECHNIQUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 116
Error Variable 'TECHNIQUE' must be private and have accessor methods. 116
Error Line has trailing spaces. 117
Error Line is longer than 80 characters. 118
Error Method 'setProcessWorkingSetSize' is not designed for extension - needs to be abstract, final or empty. 118
Error Missing a Javadoc comment. 118
Error Parameter min should be final. 118
Error Parameter max should be final. 118
Error Parameter useVirtualLock should be final. 118
Error Line has trailing spaces. 120
Error Line has trailing spaces. 124
Error '+' is not preceded with whitespace. 126
Error '+' is not followed by whitespace. 126
Error '+' is not preceded with whitespace. 126
Error '+' is not followed by whitespace. 126
Error '+' is not preceded with whitespace. 126
Error '+' is not followed by whitespace. 126
Error Line has trailing spaces. 128
Error Avoid nested blocks. 130
Error Line is longer than 80 characters. 131
Error Line is longer than 80 characters. 132
Error Must have at least one statement. 137
Error Line has trailing spaces. 140
Error '3' is a magic number. 151
Error Line is longer than 80 characters. 152
Error Line is longer than 80 characters. 153
Error Line is longer than 80 characters. 157
Error '+' is not preceded with whitespace. 157
Error '+' is not followed by whitespace. 157
Error '+' is not preceded with whitespace. 159
Error '+' is not followed by whitespace. 159
Error Line has trailing spaces. 160
Error Avoid nested blocks. 161
Error Line has trailing spaces. 171
Error Method 'update' is not designed for extension - needs to be abstract, final or empty. 175
Error Line has trailing spaces. 187
Error First sentence should end with a period. 188
Error Method 'start' is not designed for extension - needs to be abstract, final or empty. 191
Error Parameter context should be final. 191
Error Expected @param tag for 'context'. 191
Error Expected @throws tag for 'Exception'. 191
Error First sentence should end with a period. 195
Error Method 'stop' is not designed for extension - needs to be abstract, final or empty. 198
Error Parameter context should be final. 198
Error Expected @param tag for 'context'. 198
Error Expected @throws tag for 'Exception'. 198
Error Expected an @return tag. 205
Error Expected an @return tag. 213
Error Parameter key should be final. 213
Error Expected @param tag for 'key'. 213
Error Avoid inline conditionals. 217
Error First sentence should end with a period. 223
Error Expected an @return tag. 226
Error Method 'getResourceBundle' is not designed for extension - needs to be abstract, final or empty. 226
Error Line has trailing spaces. 229
Error Method 'earlyStartup' is not designed for extension - needs to be abstract, final or empty. 233
Error Missing a Javadoc comment. 233
Error Line has trailing spaces. 241

edu/stanford/suif/keepresident/KernelException.java

ErrorLine
Error File does not end with a newline. 0

edu/stanford/suif/keepresident/KernelException.java

ErrorLine
Error Missing a header - not enough lines in file. 1
Error First sentence should end with a period. 6
Error Line has trailing spaces. 8
Error Line has trailing spaces. 14
Error Parameter message should be final. 23
Error Expected @param tag for 'message'. 23
Error Parameter message should be final. 31
Error Expected @param tag for 'message'. 31
Error Parameter cause should be final. 31
Error Expected @param tag for 'cause'. 31
Error Parameter cause should be final. 38
Error Expected @param tag for 'cause'. 38

edu/stanford/suif/keepresident/KernelInterface.java

ErrorLine
Error File does not end with a newline. 0

edu/stanford/suif/keepresident/KernelInterface.java

ErrorLine
Error Line does not match expected header line of 'Common Public License Version 1.0'. 1
Error First sentence should end with a period. 9
Error Line has trailing spaces. 11
Error Line has trailing spaces. 16
Error Line has trailing spaces. 21
Error Missing a Javadoc comment. 22
Error Line has trailing spaces. 23
Error Line has trailing spaces. 25
Error Line has trailing spaces. 32
Error Method 'free' is not designed for extension - needs to be abstract, final or empty. 33
Error Missing a Javadoc comment. 33
Error Line has trailing spaces. 42
Error Missing a Javadoc comment. 43
Error '0x1100' is a magic number. 51
Error '128' is a magic number. 56
Error '+' is not preceded with whitespace. 61
Error '+' is not followed by whitespace. 61
Error Line has trailing spaces. 69
Error Method 'convertToString' is not designed for extension - needs to be abstract, final or empty. 70
Error Missing a Javadoc comment. 70
Error Parameter p should be final. 70
Error Line has trailing spaces. 78
Error Method 'call' is not designed for extension - needs to be abstract, final or empty. 79
Error Missing a Javadoc comment. 79
Error Parameter procName should be final. 79
Error Line has trailing spaces. 82
Error Method 'call' is not designed for extension - needs to be abstract, final or empty. 83
Error Missing a Javadoc comment. 83
Error Parameter procName should be final. 83
Error Parameter a should be final. 83
Error Line has trailing spaces. 86
Error Method 'call' is not designed for extension - needs to be abstract, final or empty. 87
Error Missing a Javadoc comment. 87
Error Parameter procName should be final. 87
Error Parameter a should be final. 87
Error Parameter b should be final. 87
Error Line has trailing spaces. 90
Error Method 'call' is not designed for extension - needs to be abstract, final or empty. 91
Error Missing a Javadoc comment. 91
Error Parameter procName should be final. 91
Error Parameter a should be final. 91
Error Parameter b should be final. 91
Error Parameter c should be final. 91
Error Line has trailing spaces. 94
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 95
Error Missing a Javadoc comment. 95
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 95
Error Parameter procName should be final. 95
Error 'if' construct must use '{}'s. 97
Error Line has trailing spaces. 101
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 102
Error Missing a Javadoc comment. 102
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 102
Error Parameter procName should be final. 102
Error Parameter a should be final. 102
Error 'if' construct must use '{}'s. 104
Error Line has trailing spaces. 108
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 109
Error Missing a Javadoc comment. 109
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 109
Error Parameter procName should be final. 109
Error Parameter a should be final. 109
Error Parameter b should be final. 109
Error 'if' construct must use '{}'s. 111
Error Line has trailing spaces. 115
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 116
Error Missing a Javadoc comment. 116
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 116
Error Parameter procName should be final. 116
Error Parameter a should be final. 116
Error Parameter b should be final. 116
Error Parameter c should be final. 116
Error 'if' construct must use '{}'s. 118
Error Line has trailing spaces. 122
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 123
Error Missing a Javadoc comment. 123
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 123
Error Parameter procName should be final. 123
Error Parameter a should be final. 123
Error Parameter b should be final. 123
Error Parameter c should be final. 123
Error Parameter d should be final. 123
Error 'if' construct must use '{}'s. 125
Error Line has trailing spaces. 129
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 130
Error Missing a Javadoc comment. 130
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 130
Error Parameter procName should be final. 130
Error Parameter a should be final. 130
Error Parameter b should be final. 130
Error Parameter c should be final. 130
Error Parameter d should be final. 130
Error Parameter e should be final. 130
Error 'if' construct must use '{}'s. 132
Error Line has trailing spaces. 136
Error Line is longer than 80 characters. 137
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 137
Error Missing a Javadoc comment. 137
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 137
Error Parameter procName should be final. 137
Error Parameter a should be final. 137
Error Parameter b should be final. 137
Error Parameter c should be final. 137
Error Parameter d should be final. 137
Error Parameter e should be final. 137
Error Parameter f should be final. 137
Error 'if' construct must use '{}'s. 139
Error Line has trailing spaces. 143
Error Line is longer than 80 characters. 144
Error Method 'call_z' is not designed for extension - needs to be abstract, final or empty. 144
Error Missing a Javadoc comment. 144
Error More than 7 parameters. 144
Error Name 'call_z' must match pattern '^[a-z][a-zA-Z0-9]*$'. 144
Error Parameter procName should be final. 144
Error Parameter a should be final. 144
Error Parameter b should be final. 144
Error Parameter c should be final. 144
Error Parameter d should be final. 144
Error Parameter e should be final. 144
Error Parameter f should be final. 144
Error Parameter g should be final. 144
Error 'if' construct must use '{}'s. 146
Error Line has trailing spaces. 150
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 151
Error Missing a Javadoc comment. 151
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 151
Error Parameter procName should be final. 151
Error 'if' construct must use '{}'s. 153
Error Line has trailing spaces. 157
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 158
Error Missing a Javadoc comment. 158
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 158
Error Parameter procName should be final. 158
Error Parameter a should be final. 158
Error 'if' construct must use '{}'s. 160
Error Line has trailing spaces. 164
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 165
Error Missing a Javadoc comment. 165
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 165
Error Parameter procName should be final. 165
Error Parameter a should be final. 165
Error Parameter b should be final. 165
Error 'if' construct must use '{}'s. 167
Error Line has trailing spaces. 171
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 172
Error Missing a Javadoc comment. 172
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 172
Error Parameter procName should be final. 172
Error Parameter a should be final. 172
Error Parameter b should be final. 172
Error Parameter c should be final. 172
Error 'if' construct must use '{}'s. 174
Error Line has trailing spaces. 178
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 179
Error Missing a Javadoc comment. 179
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 179
Error Parameter procName should be final. 179
Error Parameter a should be final. 179
Error Parameter b should be final. 179
Error Parameter c should be final. 179
Error Parameter d should be final. 179
Error 'if' construct must use '{}'s. 181
Error Line has trailing spaces. 185
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 186
Error Missing a Javadoc comment. 186
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 186
Error Parameter procName should be final. 186
Error Parameter a should be final. 186
Error Parameter b should be final. 186
Error Parameter c should be final. 186
Error Parameter d should be final. 186
Error Parameter e should be final. 186
Error 'if' construct must use '{}'s. 188
Error Line has trailing spaces. 192
Error Line is longer than 80 characters. 193
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 193
Error Missing a Javadoc comment. 193
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 193
Error Parameter procName should be final. 193
Error Parameter a should be final. 193
Error Parameter b should be final. 193
Error Parameter c should be final. 193
Error Parameter d should be final. 193
Error Parameter e should be final. 193
Error Parameter f should be final. 193
Error 'if' construct must use '{}'s. 195
Error Line has trailing spaces. 199
Error Line is longer than 80 characters. 200
Error Method 'call_nz' is not designed for extension - needs to be abstract, final or empty. 200
Error Missing a Javadoc comment. 200
Error More than 7 parameters. 200
Error Name 'call_nz' must match pattern '^[a-z][a-zA-Z0-9]*$'. 200
Error Parameter procName should be final. 200
Error Parameter a should be final. 200
Error Parameter b should be final. 200
Error Parameter c should be final. 200
Error Parameter d should be final. 200
Error Parameter e should be final. 200
Error Parameter f should be final. 200
Error Parameter g should be final. 200
Error 'if' construct must use '{}'s. 202
Error Line has trailing spaces. 206
Error Missing a Javadoc comment. 207
Error Parameter name should be final. 207
Error 'if' construct must use '{}'s. 211
Error Line is longer than 80 characters. 211
Error '+' is not preceded with whitespace. 211
Error '+' is not followed by whitespace. 211
Error Line has trailing spaces. 217
Error Missing a Javadoc comment. 219
Error Missing a Javadoc comment. 221
Error Missing a Javadoc comment. 223
Error Line has trailing spaces. 224
Error Missing a Javadoc comment. 226
Error Name 'GetIntArrayElements' must match pattern '^[a-z][a-zA-Z0-9]*$'. 226
Error Parameter a should be final. 226
Error Missing a Javadoc comment. 227
Error Name 'ReleaseIntArrayElements' must match pattern '^[a-z][a-zA-Z0-9]*$'. 227
Error Parameter a should be final. 227
Error Parameter b should be final. 227
Error Missing a Javadoc comment.