Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
55434224

Files

FilesIWE
org/apache/commons/jelly/tags/jetty/AbstractMethodHandlerTag.java 0130
org/apache/commons/jelly/tags/jetty/DeleteRequestTag.java 030
org/apache/commons/jelly/tags/jetty/GetRequestTag.java 030
org/apache/commons/jelly/tags/jetty/HttpContextTag.java 0264
org/apache/commons/jelly/tags/jetty/JellyResourceHandlerTag.java 0101
org/apache/commons/jelly/tags/jetty/JellyResourceHttpHandler.java 0344
org/apache/commons/jelly/tags/jetty/JettyHttpServerTag.java 1334
org/apache/commons/jelly/tags/jetty/JettyTagLibrary.java 030
org/apache/commons/jelly/tags/jetty/NotFoundHandlerTag.java 090
org/apache/commons/jelly/tags/jetty/PostRequestTag.java 010
org/apache/commons/jelly/tags/jetty/PostRequestTag.java 030
org/apache/commons/jelly/tags/jetty/PutRequestTag.java 020
org/apache/commons/jelly/tags/jetty/PutRequestTag.java 030
org/apache/commons/jelly/tags/jetty/RealmTag.java 0162
org/apache/commons/jelly/tags/jetty/ResourceHandlerTag.java 0131
org/apache/commons/jelly/tags/jetty/ResponseBodyTag.java 090
org/apache/commons/jelly/tags/jetty/ResponseCodeTag.java 051
org/apache/commons/jelly/tags/jetty/ResponseHeaderTag.java 072
org/apache/commons/jelly/tags/jetty/SecurityHandlerTag.java 31373
org/apache/commons/jelly/tags/jetty/SocketListenerTag.java 0122

org/apache/commons/jelly/tags/jetty/AbstractMethodHandlerTag.java

ErrorLine
Warning First sentence should end with a period. 23
Warning 'public' modifier out of order with the JLS suggestions. 30
Warning First sentence should end with a period. 32
Warning Expected an @return tag. 33
Warning 'public' modifier out of order with the JLS suggestions. 33
Warning Unused @throws tag for 'Exception'. 41
Warning Expected @throws tag for 'JellyTagException'. 43
Warning '(' is followed by whitespace. 48
Warning ')' is preceded with whitespace. 48
Warning '(' is followed by whitespace. 49
Warning '+' should be on a new line. 49
Warning Line is longer than 100 characters. 50
Warning ')' is preceded with whitespace. 50

org/apache/commons/jelly/tags/jetty/DeleteRequestTag.java

ErrorLine
Warning First sentence should end with a period. 20
Warning First sentence should end with a period. 28
Warning Expected an @return tag. 29

org/apache/commons/jelly/tags/jetty/GetRequestTag.java

ErrorLine
Warning First sentence should end with a period. 19
Warning First sentence should end with a period. 27
Warning Expected an @return tag. 28

org/apache/commons/jelly/tags/jetty/HttpContextTag.java

ErrorLine
Warning Wrong order for 'java.io.IOException' import. 29
Warning First sentence should end with a period. 33
Warning First sentence should end with a period. 41
Error Name '_contextPath' must match pattern '^[a-z][a-zA-Z0-9]*$'. 42
Warning First sentence should end with a period. 44
Error Name '_resourceBase' must match pattern '^[a-z][a-zA-Z0-9]*$'. 45
Warning First sentence should end with a period. 47
Error Name '_realmName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
Warning First sentence should end with a period. 50
Error Name '_context' must match pattern '^[a-z][a-zA-Z0-9]*$'. 51
Warning First sentence should end with a period. 53
Warning Unused @throws tag for 'Exception'. 64
Warning Expected @throws tag for 'JellyTagException'. 66
Warning '(' is followed by whitespace. 70
Warning ')' is preceded with whitespace. 70
Warning Line is longer than 100 characters. 71
Warning '(' is followed by whitespace. 71
Warning ')' is preceded with whitespace. 71
Warning '}' should be on the same line. 84
Warning '}' should be on the same line. 87
Warning First sentence should end with a period. 99
Warning Unused @param tag for 'handler'. 102
Warning Expected @param tag for 'httHandler'. 104
Warning First sentence should end with a period. 108
Warning First sentence should end with a period. 119
Warning '{' should be on the previous line. 125
Warning Unused @param tag for 'path'. 144
Warning Expected @param tag for 'contextPath'. 146
Warning Unused @param tag for 'path'. 180
Warning Expected @param tag for 'realmName'. 182

org/apache/commons/jelly/tags/jetty/JellyResourceHandlerTag.java

ErrorLine
Warning First sentence should end with a period. 23
Error Name '_jellyResourceHttpHandler' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Warning First sentence should end with a period. 35
Warning Unused @throws tag for 'Exception'. 44
Warning Expected @throws tag for 'JellyTagException'. 46
Warning '(' is followed by whitespace. 49
Warning ')' is preceded with whitespace. 49
Warning Line is longer than 100 characters. 50
Warning '(' is followed by whitespace. 50
Warning ')' is preceded with whitespace. 50
Warning Missing a Javadoc comment. 66

org/apache/commons/jelly/tags/jetty/JellyResourceHttpHandler.java

ErrorLine
Warning Wrong order for 'java.io.BufferedReader' import. 31
Error Redundant import from the java.lang package - java.lang.StringBuffer. 35
Warning First sentence should end with a period. 39
Warning Field 'log' is used in only one method. 48
Warning Field 'OVERRIDE_SET_HANDLED_VAR' is used in only one method. 51
Warning First sentence should end with a period. 53
Error Name '_tagMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
Warning First sentence should end with a period. 56
Error Name '_xmlOutput' must match pattern '^[a-z][a-zA-Z0-9]*$'. 57
Warning First sentence should end with a period. 59
Warning '(' is followed by whitespace. 60
Warning Expected @param tag for 'xmlOutput'. 60
Warning ')' is preceded with whitespace. 60
Warning Missing a Javadoc comment. 71
Warning '{' is not preceded with whitespace. 71
Warning Missing a Javadoc comment. 86
Warning Redundant throws: 'HttpException' is subclass of 'IOException'. 90
Warning '{' should be on the previous line. 91
Warning '(' is followed by whitespace. 96
Warning '(' is followed by whitespace. 97
Warning '(' is followed by whitespace. 98
Warning '(' is followed by whitespace. 99
Warning '(' is followed by whitespace. 100
Warning ')' is preceded with whitespace. 112
Warning Line is longer than 100 characters. 114
Warning '+' should be on a new line. 117
Warning '+' should be on a new line. 118
Warning '+' should be on a new line. 119
Warning Missing a Javadoc comment. 126
Error Unused local variable 'br'. 131
Warning '1024' is a magic number. 133
Warning 'while' construct must use '{}'s. 136
Warning '1024' is a magic number. 136
Warning method call child at indentation level 10 not at correct indentation, 12 137
Warning 'if' construct must use '{}'s. 139
Warning if child at indentation level 10 not at correct indentation, 12 140
Warning 'else' construct must use '{}'s. 141
Warning else child at indentation level 10 not at correct indentation, 12 142

org/apache/commons/jelly/tags/jetty/JettyHttpServerTag.java

ErrorLine
Warning First sentence should end with a period. 39
Warning First sentence should end with a period. 47
Warning First sentence should end with a period. 50
Warning First sentence should end with a period. 53
Warning First sentence should end with a period. 56
Warning First sentence should end with a period. 59
Warning First sentence should end with a period. 66
Error Name '_logSink' must match pattern '^[a-z][a-zA-Z0-9]*$'. 67
Warning try at indentation level 8 not at correct indentation, 4 72
Warning try child at indentation level 12 not at correct indentation, 8 73
Warning try child at indentation level 12 not at correct indentation, 8 75
Warning try rcurly at indentation level 8 not at correct indentation, 4 76
Warning ')' is preceded with whitespace. 76
Warning catch child at indentation level 12 not at correct indentation, 8 77
Warning catch rcurly at indentation level 8 not at correct indentation, 4 78
Warning First sentence should end with a period. 82
Error Name '_var' must match pattern '^[a-z][a-zA-Z0-9]*$'. 83
Warning First sentence should end with a period. 85
Error Name '_server' must match pattern '^[a-z][a-zA-Z0-9]*$'. 86
Warning First sentence should end with a period. 88
Error Name '_logFileName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 89
Warning First sentence should end with a period. 91
Warning '=' is not preceded with whitespace. 95
Warning '=' is not followed by whitespace. 95
Warning Unused @throws tag for 'Exception'. 108
Info Cyclomatic Complexity is 13 (max allowed is 10). 110
Warning Expected @throws tag for 'JellyTagException'. 110
Warning ')' is preceded with whitespace. 116
Warning '=' is not preceded with whitespace. 126
Warning '=' is not followed by whitespace. 126
Warning '}' should be on the same line. 145
Warning '}' should be on the same line. 148
Warning '+' should be on a new line. 159
Warning '}' should be on the same line. 169
Warning First sentence should end with a period. 180
Warning First sentence should end with a period. 189
Warning First sentence should end with a period. 199
Warning '{' should be on the previous line. 206

org/apache/commons/jelly/tags/jetty/JettyTagLibrary.java

ErrorLine
Warning First sentence should end with a period. 23
Warning First sentence should end with a period. 31
Warning Javadoc has empty description section. 54

org/apache/commons/jelly/tags/jetty/NotFoundHandlerTag.java

ErrorLine
Warning First sentence should end with a period. 24
Warning First sentence should end with a period. 32
Warning Unused @throws tag for 'Exception'. 41
Warning Expected @throws tag for 'JellyTagException'. 43
Warning '(' is followed by whitespace. 46
Warning ')' is preceded with whitespace. 46
Warning Line is longer than 100 characters. 47
Warning '(' is followed by whitespace. 47
Warning ')' is preceded with whitespace. 47

org/apache/commons/jelly/tags/jetty/PostRequestTag.java

ErrorLine
Warning Found duplicate of 19 lines in C:\source\jakarta\jakarta-commons\jelly\jelly-tags\jetty\src\java\org\apache\commons\jelly\tags\jetty\GetRequestTag.java, starting from line 1 1

org/apache/commons/jelly/tags/jetty/PostRequestTag.java

ErrorLine
Warning First sentence should end with a period. 19
Warning First sentence should end with a period. 27
Warning Expected an @return tag. 28

org/apache/commons/jelly/tags/jetty/PutRequestTag.java

ErrorLine
Warning Found duplicate of 19 lines in C:\source\jakarta\jakarta-commons\jelly\jelly-tags\jetty\src\java\org\apache\commons\jelly\tags\jetty\GetRequestTag.java, starting from line 1 1
Warning Found duplicate of 19 lines in C:\source\jakarta\jakarta-commons\jelly\jelly-tags\jetty\src\java\org\apache\commons\jelly\tags\jetty\PostRequestTag.java, starting from line 1 1

org/apache/commons/jelly/tags/jetty/PutRequestTag.java

ErrorLine
Warning First sentence should end with a period. 25
Warning First sentence should end with a period. 28
Warning Expected an @return tag. 29

org/apache/commons/jelly/tags/jetty/RealmTag.java

ErrorLine
Warning Wrong order for 'java.io.IOException' import. 25
Warning First sentence should end with a period. 28
Warning First sentence should end with a period. 36
Error Name '_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. 37
Warning First sentence should end with a period. 39
Error Name '_config' must match pattern '^[a-z][a-zA-Z0-9]*$'. 40
Warning First sentence should end with a period. 42
Warning Unused @throws tag for 'Exception'. 52
Warning Expected @throws tag for 'JellyTagException'. 54
Warning '(' is followed by whitespace. 57
Warning ')' is preceded with whitespace. 57
Warning '(' is followed by whitespace. 58
Warning ')' is preceded with whitespace. 58
Warning '(' is followed by whitespace. 61
Warning ')' is preceded with whitespace. 61
Warning '(' is followed by whitespace. 68
Warning ')' is preceded with whitespace. 68
Warning ')' is preceded with whitespace. 68

org/apache/commons/jelly/tags/jetty/ResourceHandlerTag.java

ErrorLine
Warning Wrong order for 'java.util.StringTokenizer' import. 25
Warning First sentence should end with a period. 27
Warning First sentence should end with a period. 35
Error Name '_allowedMethods' must match pattern '^[a-z][a-zA-Z0-9]*$'. 36
Warning First sentence should end with a period. 38
Warning Unused @throws tag for 'Exception'. 47
Warning Expected @throws tag for 'JellyTagException'. 49
Warning '(' is followed by whitespace. 52
Warning ')' is preceded with whitespace. 52
Warning Line is longer than 100 characters. 53
Warning '(' is followed by whitespace. 53
Warning ')' is preceded with whitespace. 53
Warning '(' is followed by whitespace. 59
Warning ')' is preceded with whitespace. 59

org/apache/commons/jelly/tags/jetty/ResponseBodyTag.java

ErrorLine
Warning First sentence should end with a period. 28
Warning Unused @throws tag for 'Exception'. 40
Warning Expected @throws tag for 'JellyTagException'. 42
Warning '1500' is a magic number. 50
Warning try child at indentation level 13 not at correct indentation, 12 52
Warning try child at indentation level 13 not at correct indentation, 12 53
Warning try child at indentation level 13 not at correct indentation, 12 54
Warning try child at indentation level 13 not at correct indentation, 12 55
Warning '}' should be on the same line. 56

org/apache/commons/jelly/tags/jetty/ResponseCodeTag.java

ErrorLine
Warning First sentence should end with a period. 25
Warning First sentence should end with a period. 32
Error Name '_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Warning Unused @throws tag for 'Exception'. 40
Warning Expected @throws tag for 'JellyTagException'. 42
Warning '100' is a magic number. 44

org/apache/commons/jelly/tags/jetty/ResponseHeaderTag.java

ErrorLine
Warning First sentence should end with a period. 25
Warning First sentence should end with a period. 32
Error Name '_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Warning First sentence should end with a period. 35
Error Name '_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 36
Warning Unused @throws tag for 'Exception'. 43
Warning Expected @throws tag for 'JellyTagException'. 45
Warning Unused @param tag for 'path'. 83
Warning Expected @param tag for 'name'. 85

org/apache/commons/jelly/tags/jetty/SecurityHandlerTag.java

ErrorLine
Warning Wrong order for 'java.io.IOException' import. 36
Warning First sentence should end with a period. 40
Warning First sentence should end with a period. 48
Warning Field '_formAuthenticator' is used in only one method. 49
Error Name '_formAuthenticator' must match pattern '^[a-z][a-zA-Z0-9]*$'. 49
Warning First sentence should end with a period. 51
Error Name '_authenticationMethod' must match pattern '^[a-z][a-zA-Z0-9]*$'. 52
Warning First sentence should end with a period. 54
Warning Unclosed HTML tag found: <constraints> tag to allow parsing of a well-formed snippet, 63
Warning Unused @throws tag for 'Exception'. 93
Info Cyclomatic Complexity is 11 (max allowed is 10). 95
Warning Expected @throws tag for 'JellyTagException'. 95
Warning '(' is followed by whitespace. 98
Warning ')' is preceded with whitespace. 98
Warning Line is longer than 100 characters. 99
Warning '(' is followed by whitespace. 99
Warning ')' is preceded with whitespace. 99
Warning '}' should be on the same line. 119
Warning '}' should be on the same line. 122
Warning '=' is not preceded with whitespace. 127
Warning '=' is not followed by whitespace. 127
Warning '{' should be on the previous line. 130
Warning while child at indentation level 16 not at correct indentation, 12 131
Warning 'if' construct must use '{}'s. 132
Warning if at indentation level 16 not at correct indentation, 12 132
Warning while child at indentation level 16 not at correct indentation, 12 135
Warning '=' is not preceded with whitespace. 135
Warning '=' is not followed by whitespace. 135
Warning 'cast' is not followed by whitespace. 135
Warning while child at indentation level 16 not at correct indentation, 12 136
Warning '=' is not preceded with whitespace. 136
Warning '=' is not followed by whitespace. 136
Warning if at indentation level 16 not at correct indentation, 12 138
Warning if child at indentation level 20 not at correct indentation, 16 139
Warning if rcurly at indentation level 16 not at correct indentation, 12 140
Warning if child at indentation level 20 not at correct indentation, 16 141
Warning if rcurly at indentation level 16 not at correct indentation, 12 142
Warning Line is longer than 100 characters. 143
Warning else rcurly at indentation level 16 not at correct indentation, 12 144
Info Cyclomatic Complexity is 13 (max allowed is 10). 159
Warning Missing a Javadoc comment. 159
Warning '{' should be on the previous line. 161
Warning '=' is not preceded with whitespace. 164
Warning '=' is not followed by whitespace. 164
Warning '!=' is not preceded with whitespace. 165
Warning '!=' is not followed by whitespace. 165
Warning '{' should be on the previous line. 166
Warning '=' is not preceded with whitespace. 169
Warning 'while' is not followed by whitespace. 170
Warning '{' should be on the previous line. 171
Warning '=' is not preceded with whitespace. 172
Warning '=' is not followed by whitespace. 172
Warning 'cast' is not followed by whitespace. 172
Warning ',' is not followed by whitespace. 172
Warning '=' is not preceded with whitespace. 177
Warning '=' is not followed by whitespace. 177
Warning '!=' is not preceded with whitespace. 178
Warning '!=' is not followed by whitespace. 178
Warning '{' should be on the previous line. 179
Warning '=' is not preceded with whitespace. 180
Warning '=' is not followed by whitespace. 180
Warning ',' is not followed by whitespace. 181
Warning 'if' construct must use '{}'s. 182
Warning '==' is not preceded with whitespace. 182
Warning '==' is not followed by whitespace. 182
Warning '==' is not preceded with whitespace. 182
Warning '==' is not followed by whitespace. 182
Warning '||' should be on a new line. 182
Warning 'if' construct must use '{}'s. 185
Warning 'if' construct must use '{}'s. 187
Warning '{' should be on the previous line. 190
Warning '+' is not preceded with whitespace. 191
Warning '+' is not followed by whitespace. 191
Warning '=' is not preceded with whitespace. 196
Warning 'while' is not followed by whitespace. 197
Warning '{' should be on the previous line. 198
Warning '=' is not preceded with whitespace. 199
Warning '=' is not followed by whitespace. 199
Warning 'cast' is not followed by whitespace. 199
Warning '=' is not preceded with whitespace. 200
Warning '=' is not followed by whitespace. 200
Warning ',' is not followed by whitespace. 200
Warning ',' is not followed by whitespace. 200
Warning 'cast' is not followed by whitespace. 201
Warning '=' is not preceded with whitespace. 204
Warning 'while' construct must use '{}'s. 205
Warning 'while' is not followed by whitespace. 205
Warning 'cast' is not followed by whitespace. 206
Warning ',' is not followed by whitespace. 207
Warning '=' is not preceded with whitespace. 209
Warning 'while' is not followed by whitespace. 210
Warning '{' should be on the previous line. 211
Warning '=' is not preceded with whitespace. 212
Warning 'cast' is not followed by whitespace. 213
Warning ',' is not followed by whitespace. 213
Warning ',' is not followed by whitespace. 214
Info Cyclomatic Complexity is 13 (max allowed is 10). 230
Warning Missing a Javadoc comment. 230
Warning '{' should be on the previous line. 232
Warning '=' is not preceded with whitespace. 233
Warning '=' is not followed by whitespace. 233
Warning '!=' is not preceded with whitespace. 234
Warning '!=' is not followed by whitespace. 234
Warning '{' should be on the previous line. 235
Warning '=' is not preceded with whitespace. 236
Warning '=' is not followed by whitespace. 236
Warning '=' is not preceded with whitespace. 237
Warning '=' is not followed by whitespace. 237
Warning ',' is not followed by whitespace. 237
Warning 'if' construct must use '{}'s. 239
Warning '=' is not preceded with whitespace. 240
Warning '=' is not followed by whitespace. 240
Warning '=' is not preceded with whitespace. 240
Error Inner assignments should be avoided. 240
Warning '=' is not followed by whitespace. 240
Warning 'if' construct must use '{}'s. 241
Warning '=' is not preceded with whitespace. 242
Warning '=' is not followed by whitespace. 242
Warning 'if' construct must use '{}'s. 243
Warning '=' is not preceded with whitespace. 244
Warning '=' is not followed by whitespace. 244
Warning 'if' construct must use '{}'s. 245
Warning '=' is not preceded with whitespace. 246
Warning '=' is not followed by whitespace. 246
Warning 'else' construct must use '{}'s. 247
Warning '+' is not preceded with whitespace. 248
Warning '+' is not followed by whitespace. 248
Warning '=' is not preceded with whitespace. 253
Warning '=' is not followed by whitespace. 253
Warning 'if' construct must use '{}'s. 254
Warning '!=' is not preceded with whitespace. 254
Warning '!=' is not followed by whitespace. 254
Warning ',' is not followed by whitespace. 255
Warning 'if' is not followed by whitespace. 258
Warning '{' should be on the previous line. 259
Warning 'if' construct must use '{}'s. 260
Warning '==' is not preceded with whitespace. 260
Warning '==' is not followed by whitespace. 260
Warning '{' should be on the previous line. 263
Warning 'if' construct must use '{}'s. 265
Warning ',' is not followed by whitespace. 266
Warning 'if' construct must use '{}'s. 268
Warning ',' is not followed by whitespace. 269

org/apache/commons/jelly/tags/jetty/SocketListenerTag.java

ErrorLine
Warning First sentence should end with a period. 28
Warning First sentence should end with a period. 36
Error Name '_port' must match pattern '^[a-z][a-zA-Z0-9]*$'. 37
Warning First sentence should end with a period. 39
Error Name '_host' must match pattern '^[a-z][a-zA-Z0-9]*$'. 40
Warning First sentence should end with a period. 42
Warning Unused @throws tag for 'Exception'. 51
Warning Expected @throws tag for 'JellyTagException'. 53
Warning '(' is followed by whitespace. 56
Warning ')' is preceded with whitespace. 56
Warning Line is longer than 100 characters. 57
Warning '(' is followed by whitespace. 57
Warning ')' is preceded with whitespace. 57
Warning '}' should be on the same line. 63