Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
32647515

Files

FilesIWE
org/apache/commons/jelly/tags/ant/AntTag.java 31917
org/apache/commons/jelly/tags/ant/AntTagLibrary.java 2892
org/apache/commons/jelly/tags/ant/FileIterator.java 1350
org/apache/commons/jelly/tags/ant/FileScanner.java 090
org/apache/commons/jelly/tags/ant/FileScannerTag.java 0240
org/apache/commons/jelly/tags/ant/JellyPropsHandler.java 023
org/apache/commons/jelly/tags/ant/SetPropertyTag.java 0132
org/apache/commons/jelly/tags/ant/TaskSource.java 090
org/apache/commons/jelly/task/AntJellyContext.java 0400
org/apache/commons/jelly/task/JellyTask.java 0631

org/apache/commons/jelly/tags/ant/AntTag.java

ErrorLine
Info Class Fan-Out Complexity is 25 (max allowed is 20). 51
Warning Missing a Javadoc comment. 56
Warning Field 'addTaskParamTypes' is used in only one method. 56
Error Name 'addTaskParamTypes' must match pattern '^(log)|[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 56
Warning '{' is followed by whitespace. 56
Warning First sentence should end with a period. 58
Error Unused private field 'ANT_MANIFEST_TAG'. 59
Warning Variable 'tagName' must be private and have accessor methods. 62
Warning Variable 'object' must be private and have accessor methods. 65
Warning Variable 'task' must be private and have accessor methods. 68
Warning Missing a Javadoc comment. 79
Warning First sentence should end with a period. 94
Warning Expected @param tag for 'name'. 97
Warning Expected @param tag for 'value'. 97
Warning Expected @throws tag for 'JellyTagException'. 97
Error 'object' hides a field. 98
Warning '(' is followed by whitespace. 99
Warning ')' is preceded with whitespace. 99
Warning '(' is followed by whitespace. 100
Warning ')' is preceded with whitespace. 100
Info Cyclomatic Complexity is 27 (max allowed is 10). 106
Warning Method length is 172 lines (max allowed is 150). 106
Warning Missing a Javadoc comment. 106
Info NPath Complexity is 3,380 (max allowed is 200). 106
Error 'tagName' hides a field. 109
Warning '(' is followed by whitespace. 121
Warning ')' is preceded with whitespace. 121
Warning '(' is followed by whitespace. 122
Warning ')' is preceded with whitespace. 122
Warning '(' is followed by whitespace. 126
Warning ')' is preceded with whitespace. 126
Warning '(' is followed by whitespace. 130
Warning ')' is preceded with whitespace. 130
Warning '(' is followed by whitespace. 131
Warning ')' is preceded with whitespace. 131
Warning '(' is followed by whitespace. 139
Warning ')' is preceded with whitespace. 139
Warning '(' is followed by whitespace. 140
Warning 'cast' is not followed by whitespace. 140
Warning ')' is preceded with whitespace. 140
Warning '}' should be on the same line. 141
Warning '(' is followed by whitespace. 143
Warning ')' is preceded with whitespace. 143
Warning '(' is followed by whitespace. 147
Warning ')' is preceded with whitespace. 147
Warning '(' is followed by whitespace. 148
Warning ')' is preceded with whitespace. 148
Warning '(' is followed by whitespace. 149
Warning ')' is preceded with whitespace. 149
Warning '(' is followed by whitespace. 164
Warning ')' is preceded with whitespace. 166
Warning '{' is followed by whitespace. 168
Warning '}' should be on the same line. 171
Warning '}' should be on the same line. 174
Warning '(' is followed by whitespace. 193
Warning ')' is preceded with whitespace. 193
Warning '(' is followed by whitespace. 194
Warning ')' is preceded with whitespace. 194
Warning '(' is followed by whitespace. 196
Warning ')' is preceded with whitespace. 196
Warning '}' should be on the same line. 197
Warning '(' is followed by whitespace. 199
Warning ')' is preceded with whitespace. 199
Warning '(' is followed by whitespace. 200
Warning ')' is preceded with whitespace. 200
Warning '(' is followed by whitespace. 204
Warning ')' is preceded with whitespace. 204
Warning '(' is followed by whitespace. 205
Warning ')' is preceded with whitespace. 205
Warning '(' is followed by whitespace. 208
Warning ')' is preceded with whitespace. 208
Warning '(' is followed by whitespace. 209
Warning ')' is preceded with whitespace. 209
Warning '(' is followed by whitespace. 210
Warning ')' is preceded with whitespace. 210
Warning Comment matches to-do format 'TODO:'. 213
Error Unused local variable 'body'. 223
Warning '(' is followed by whitespace. 229
Warning ')' is preceded with whitespace. 229
Warning Line is longer than 100 characters. 230
Warning '(' is followed by whitespace. 230
Warning ')' is preceded with whitespace. 230
Warning '(' is followed by whitespace. 239
Warning ')' is preceded with whitespace. 239
Warning '}' should be on the same line. 240
Warning '(' is followed by whitespace. 242
Warning ')' is preceded with whitespace. 242
Warning '(' is followed by whitespace. 249
Warning ')' is preceded with whitespace. 249
Warning '}' should be on the same line. 250
Warning Line is longer than 100 characters. 252
Warning '}' should be on the same line. 255
Warning Line is longer than 100 characters. 257
Warning '(' is followed by whitespace. 261
Warning ')' is preceded with whitespace. 261
Warning '(' is followed by whitespace. 262
Warning ')' is preceded with whitespace. 262
Warning Missing a Javadoc comment. 282
Warning Missing a Javadoc comment. 294
Warning First sentence should end with a period. 305
Warning Expected @throws tag for 'JellyTagException'. 308
Error 'object' hides a field. 309
Warning '(' is followed by whitespace. 310
Warning ')' is preceded with whitespace. 310
Warning '(' is followed by whitespace. 312
Warning ';' is followed by whitespace. 312
Warning '(' is followed by whitespace. 316
Warning ')' is preceded with whitespace. 316
Warning Missing a Javadoc comment. 321
Warning '(' is followed by whitespace. 322
Warning ')' is preceded with whitespace. 322
Warning '(' is followed by whitespace. 324
Warning ')' is preceded with whitespace. 324
Warning '}' should be on the same line. 325
Warning '(' is followed by whitespace. 327
Warning ')' is preceded with whitespace. 327
Warning '{' should be on the previous line. 328
Warning '(' is followed by whitespace. 329
Warning ')' is preceded with whitespace. 329
Warning '}' should be on the same line. 330
Warning '{' should be on the previous line. 332
Warning '(' is followed by whitespace. 333
Warning ')' is preceded with whitespace. 333
Warning Missing a Javadoc comment. 338
Warning '(' is followed by whitespace. 339
Warning ')' is preceded with whitespace. 339
Warning Line is longer than 100 characters. 340
Warning '(' is followed by whitespace. 340
Warning '+' is not preceded with whitespace. 340
Warning ')' is preceded with whitespace. 340
Warning '(' is followed by whitespace. 343
Warning ')' is preceded with whitespace. 343
Warning '(' is followed by whitespace. 345
Warning ')' is preceded with whitespace. 345
Warning '(' is followed by whitespace. 347
Warning ')' is preceded with whitespace. 347
Warning '}' should be on the same line. 349
Warning Must have at least one statement. 350
Warning '(' is followed by whitespace. 357
Warning ')' is preceded with whitespace. 357
Warning '}' should be on the same line. 358
Warning '(' is followed by whitespace. 363
Warning ')' is preceded with whitespace. 363
Warning '}' should be on the same line. 364
Warning '}' should be on the same line. 367
Warning First sentence should end with a period. 375
Warning Expected an @return tag. 378
Warning Expected @param tag for 'object'. 378
Warning Expected @param tag for 'name'. 378
Warning '(' is followed by whitespace. 380
Warning ')' is preceded with whitespace. 380
Warning '(' is followed by whitespace. 381
Warning ')' is preceded with whitespace. 381
Warning '(' is followed by whitespace. 383
Warning ')' is preceded with whitespace. 383
Warning '(' is followed by whitespace. 385
Warning ')' is preceded with whitespace. 385
Warning '{' should be on the previous line. 388
Warning Line is longer than 100 characters. 390
Warning '(' is followed by whitespace. 399
Warning ')' is preceded with whitespace. 399
Warning '(' is followed by whitespace. 400
Warning ')' is preceded with whitespace. 400
Warning Missing a Javadoc comment. 406
Warning '(' is followed by whitespace. 412
Warning ')' is preceded with whitespace. 412
Warning '}' should be on the same line. 422
Warning '{' is followed by whitespace. 425
Warning '}' should be on the same line. 435
Warning Line is longer than 100 characters. 437
Warning '{' is followed by whitespace. 437
Warning 'cast' is not followed by whitespace. 440
Warning '(' is followed by whitespace. 440
Warning ')' is preceded with whitespace. 440
Warning Javadoc has empty description section. 447
Warning Line is longer than 100 characters. 454
Warning Javadoc has empty description section. 468
Warning Expected an @return tag. 473
Warning Expected @param tag for 'taskName'. 473
Warning Expected @throws tag for 'JellyTagException'. 473
Warning '(' is followed by whitespace. 474
Warning '(' is followed by whitespace. 475
Warning ')' is preceded with whitespace. 475
Warning ')' is preceded with whitespace. 475
Warning Missing a Javadoc comment. 478
Warning '}' should be on the same line. 490
Error 'task' hides a field. 495
Warning '(' is followed by whitespace. 496
Warning ')' is preceded with whitespace. 496
Warning '}' should be on the same line. 498
Warning '=' is not preceded with whitespace. 500
Warning '=' is not followed by whitespace. 500
Warning '(' is followed by whitespace. 501
Warning ')' is preceded with whitespace. 501
Warning '=' is not preceded with whitespace. 502
Warning '=' is not followed by whitespace. 502
Warning Expected an @return tag. 517
Warning Expected @throws tag for 'JellyTagException'. 517
Warning First sentence should end with a period. 533
Warning Expected an @return tag. 536
Warning Expected @throws tag for 'JellyTagException'. 536

org/apache/commons/jelly/tags/ant/AntTagLibrary.java

ErrorLine
Info Class Data Abstraction Coupling is 12 (max allowed is 10). 46
Info Class Fan-Out Complexity is 21 (max allowed is 20). 46
Error Unused private field 'log'. 49
Warning Missing a Javadoc comment. 51
Error Variable access definition in wrong order. 51
Warning method def modifier at indentation level 16 not at correct indentation, 12 60
Warning if at indentation level 20 not at correct indentation, 16 61
Warning '(' is followed by whitespace. 61
Warning ')' is preceded with whitespace. 61
Warning if rcurly at indentation level 20 not at correct indentation, 16 63
Warning '}' should be on the same line. 63
Warning else at indentation level 20 not at correct indentation, 16 64
Warning '(' is followed by whitespace. 64
Warning ')' is preceded with whitespace. 64
Warning if child at indentation level 24 not at correct indentation, 20 65
Warning '(' is followed by whitespace. 66
Warning ')' is preceded with whitespace. 66
Warning if rcurly at indentation level 20 not at correct indentation, 16 67
Warning method def rcurly at indentation level 16 not at correct indentation, 12 69
Warning object def rcurly at indentation level 12 not at correct indentation, 8 70
Warning method call rparen at indentation level 12 not at correct indentation, 8 72
Warning method def modifier at indentation level 16 not at correct indentation, 12 76
Warning if at indentation level 20 not at correct indentation, 16 77
Warning '(' is followed by whitespace. 77
Warning ')' is preceded with whitespace. 77
Warning if rcurly at indentation level 20 not at correct indentation, 16 79
Warning '}' should be on the same line. 79
Warning else at indentation level 20 not at correct indentation, 16 80
Warning '(' is followed by whitespace. 80
Warning ')' is preceded with whitespace. 80
Warning if child at indentation level 24 not at correct indentation, 20 81
Warning if child at indentation level 24 not at correct indentation, 20 82
Warning '(' is followed by whitespace. 82
Warning ')' is preceded with whitespace. 82
Warning if rcurly at indentation level 20 not at correct indentation, 16 84
Warning method def rcurly at indentation level 16 not at correct indentation, 12 86
Warning object def rcurly at indentation level 12 not at correct indentation, 8 88
Warning method call rparen at indentation level 12 not at correct indentation, 8 90
Warning Expected an @return tag. 100
Warning Expected @param tag for 'context'. 100
Warning '(' is followed by whitespace. 101
Warning ')' is preceded with whitespace. 101
Warning '(' is followed by whitespace. 102
Warning ')' is preceded with whitespace. 102
Warning '(' is followed by whitespace. 104
Warning ')' is preceded with whitespace. 104
Warning Expected @param tag for 'context'. 114
Warning Expected @param tag for 'project'. 114
Warning '(' is followed by whitespace. 115
Warning ')' is preceded with whitespace. 115
Warning Expected an @return tag. 123
Warning Expected @param tag for 'context'. 123
Warning '(' is followed by whitespace. 129
Warning ')' is preceded with whitespace. 129
Warning '(' is followed by whitespace. 130
Warning ')' is preceded with whitespace. 130
Warning '(' is followed by whitespace. 131
Warning '(' is followed by whitespace. 133
Warning ')' is preceded with whitespace. 133
Warning First sentence should end with a period. 146
Warning Expected an @return tag. 147
Warning Expected @param tag for 'name'. 147
Warning Expected @param tag for 'attributes'. 147
Warning Expected @throws tag for 'JellyException'. 147
Warning '(' is followed by whitespace. 149
Warning ')' is preceded with whitespace. 149
Warning assign child at indentation level 12 not at correct indentation, 16 156
Warning Javadoc has empty description section. 161
Warning Line is longer than 100 characters. 164
Warning Expected @param tag for 'name'. 164
Warning Expected @param tag for 'attributes'. 164
Warning Expected @throws tag for 'JellyException'. 164
Warning '(' is followed by whitespace. 166
Warning ')' is preceded with whitespace. 166
Warning method def modifier at indentation level 20 not at correct indentation, 16 169
Warning method def rcurly at indentation level 20 not at correct indentation, 16 171
Warning object def rcurly at indentation level 16 not at correct indentation, 12 172
Warning '(' is followed by whitespace. 175
Warning ')' is preceded with whitespace. 175
Warning method def modifier at indentation level 20 not at correct indentation, 16 178
Warning method def rcurly at indentation level 20 not at correct indentation, 16 180
Warning object def rcurly at indentation level 16 not at correct indentation, 12 181
Warning First sentence should end with a period. 187
Warning Expected an @return tag. 190
Warning Expected @param tag for 'name'. 190
Warning Expected @param tag for 'attributes'. 190
Warning Expected @throws tag for 'JellyException'. 190
Warning '(' is followed by whitespace. 191
Warning ')' is preceded with whitespace. 191
Warning '(' is followed by whitespace. 192
Warning '(' is followed by whitespace. 192
Warning ')' is preceded with whitespace. 192
Warning ')' is preceded with whitespace. 192

org/apache/commons/jelly/tags/ant/FileIterator.java

ErrorLine
Warning First sentence should end with a period. 35
Warning First sentence should end with a period. 38
Warning First sentence should end with a period. 41
Warning Field 'ds' is used in only one method. 42
Warning First sentence should end with a period. 44
Warning Field 'files' is used in only one method. 45
Warning First sentence should end with a period. 47
Warning Field 'fileIndex' is used in only one method. 48
Warning First sentence should end with a period. 50
Warning Missing a Javadoc comment. 59
Warning '(' is followed by whitespace. 61
Warning Missing a Javadoc comment. 64
Warning Javadoc has empty description section. 75
Warning '(' is followed by whitespace. 77
Warning ')' is preceded with whitespace. 77
Warning '}' should be on the same line. 79
Warning Javadoc has empty description section. 85
Warning '(' is followed by whitespace. 87
Warning ')' is preceded with whitespace. 87
Warning First sentence should end with a period. 96
Warning Expected an @return tag. 110
Info Cyclomatic Complexity is 12 (max allowed is 10). 110
Warning '(' is followed by whitespace. 113
Warning '!' is followed by whitespace. 113
Warning ')' is preceded with whitespace. 113
Warning '}' should be on the same line. 121
Warning '(' is followed by whitespace. 125
Warning ')' is preceded with whitespace. 125
Warning '}' should be on the same line. 128
Warning '(' is followed by whitespace. 134
Warning ')' is preceded with whitespace. 134
Warning '(' is followed by whitespace. 135
Warning ')' is preceded with whitespace. 135
Warning '(' is followed by whitespace. 136
Warning ')' is preceded with whitespace. 136
Warning '}' should be on the same line. 139

org/apache/commons/jelly/tags/ant/FileScanner.java

ErrorLine
Warning First sentence should end with a period. 34
Warning First sentence should end with a period. 37
Warning Missing a Javadoc comment. 40
Warning '{' should be on the previous line. 41
Warning Missing a Javadoc comment. 45
Warning Missing a Javadoc comment. 49
Warning Missing a Javadoc comment. 53
Warning First sentence should end with a period. 57
Warning Expected @param tag for 'set'. 70

org/apache/commons/jelly/tags/ant/FileScannerTag.java

ErrorLine
Warning First sentence should end with a period. 26
Warning First sentence should end with a period. 35
Warning First sentence should end with a period. 38
Warning Missing a Javadoc comment. 41
Warning Missing a Javadoc comment. 47
Warning Redundant throws: 'MissingAttributeException' is subclass of 'JellyTagException'. 47
Warning '(' is followed by whitespace. 56
Warning ')' is preceded with whitespace. 56
Warning '(' is followed by whitespace. 57
Warning ')' is preceded with whitespace. 57
Warning '(' is followed by whitespace. 59
Warning ')' is preceded with whitespace. 59
Warning Missing a Javadoc comment. 65
Warning First sentence should end with a period. 69
Warning Expected @param tag for 'name'. 72
Warning Expected @param tag for 'value'. 72
Warning Expected @throws tag for 'JellyTagException'. 72
Warning '(' is followed by whitespace. 74
Warning ')' is preceded with whitespace. 74
Warning '}' should be on the same line. 75
Warning '}' should be on the same line. 78
Warning Javadoc has empty description section. 87
Warning First sentence should end with a period. 94
Warning Expected @param tag for 'var'. 95

org/apache/commons/jelly/tags/ant/JellyPropsHandler.java

ErrorLine
Error Line does not match expected header line of '/*'. 1
Warning '}' should be on the same line. 66
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 76
Error Declaring variables, return values or parameters of type 'Hashtable' is not allowed. 77
Warning ';' is followed by whitespace. 78

org/apache/commons/jelly/tags/ant/SetPropertyTag.java

ErrorLine
Error Unused private field 'log'. 37
Warning Missing a Javadoc comment. 39
Warning Missing a Javadoc comment. 40
Warning Missing a Javadoc comment. 41
Warning Missing a Javadoc comment. 43
Warning Missing a Javadoc comment. 48
Warning Redundant throws: 'MissingAttributeException' is subclass of 'JellyTagException'. 48
Warning '(' is followed by whitespace. 52
Warning ')' is preceded with whitespace. 52
Warning '(' is followed by whitespace. 53
Warning ')' is preceded with whitespace. 53
Warning '(' is followed by whitespace. 54
Warning ')' is preceded with whitespace. 54
Error 'value' hides a field. 56
Warning Expected @param tag for 'defaultValue'. 112

org/apache/commons/jelly/tags/ant/TaskSource.java

ErrorLine
Warning First sentence should end with a period. 20
Warning Javadoc has empty description section. 28
Warning Redundant 'public' modifier. 31
Warning Expected @throws tag for 'JellyTagException'. 31
Warning First sentence should end with a period. 33
Warning Redundant 'public' modifier. 36
Warning Expected @param tag for 'name'. 36
Warning Expected @param tag for 'value'. 36
Warning Expected @throws tag for 'JellyTagException'. 36

org/apache/commons/jelly/task/AntJellyContext.java

ErrorLine
Warning First sentence should end with a period. 36
Warning Missing a Javadoc comment. 42
Warning '(' is followed by whitespace. 43
Warning ')' is preceded with whitespace. 43
Warning Javadoc has empty description section. 47
Warning Expected @param tag for 'name'. 48
Warning '(' is followed by whitespace. 55
Warning ')' is preceded with whitespace. 55
Warning '(' is followed by whitespace. 56
Warning ')' is preceded with whitespace. 56
Warning First sentence should end with a period. 62
Warning Expected @param tag for 'name'. 63
Warning Expected @param tag for 'value'. 63
Warning '(' is followed by whitespace. 64
Warning ')' is preceded with whitespace. 64
Warning '(' is followed by whitespace. 65
Warning ')' is preceded with whitespace. 65
Warning '(' is followed by whitespace. 68
Warning ')' is preceded with whitespace. 68
Warning '(' is followed by whitespace. 71
Warning ')' is preceded with whitespace. 71
Warning First sentence should end with a period. 76
Warning Expected @param tag for 'name'. 77
Warning '(' is followed by whitespace. 78
Warning ')' is preceded with whitespace. 78
Warning Javadoc has empty description section. 82
Warning Javadoc has empty description section. 90
Warning '(' is followed by whitespace. 95
Warning ')' is preceded with whitespace. 95
Warning '(' is followed by whitespace. 98
Warning ')' is preceded with whitespace. 98
Warning First sentence should end with a period. 102
Warning Expected @param tag for 'variables'. 106
Warning '(' is followed by whitespace. 110
Warning ';' is followed by whitespace. 110
Warning '(' is followed by whitespace. 114
Warning ')' is preceded with whitespace. 114
Warning 'cast' is not followed by whitespace. 115
Warning First sentence should end with a period. 124
Warning Expected an @return tag. 127

org/apache/commons/jelly/task/JellyTask.java

ErrorLine
Warning Field 'log' is used in only one method. 50
Warning First sentence should end with a period. 52
Warning Field 'context' is used in only one method. 53
Warning First sentence should end with a period. 55
Warning First sentence should end with a period. 58
Warning First sentence should end with a period. 61
Warning First sentence should end with a period. 64
Warning First sentence should end with a period. 70
Warning Expected @throws tag for 'BuildException'. 73
Warning Redundant throws: 'BuildException' is unchecked exception. 73
Warning '(' is followed by whitespace. 75
Warning ')' is preceded with whitespace. 75
Warning '(' is followed by whitespace. 76
Warning ')' is preceded with whitespace. 76
Warning '(' is followed by whitespace. 77
Warning ')' is preceded with whitespace. 77
Error 'context' hides a field. 81
Warning '(' is followed by whitespace. 82
Warning ')' is preceded with whitespace. 82
Warning '(' is followed by whitespace. 83
Warning ')' is preceded with whitespace. 83
Warning '}' should be on the same line. 85
Warning ')' is preceded with whitespace. 87
Warning First sentence should end with a period. 94
Warning Expected @param tag for 'script'. 97
Warning Expected @throws tag for 'MalformedURLException'. 97
Warning Missing a Javadoc comment. 101
Warning First sentence should end with a period. 105
Warning Expected @param tag for 'url'. 108
Warning First sentence should end with a period. 112
Warning Expected @param tag for 'file'. 115
Warning Expected @throws tag for 'MalformedURLException'. 115
Warning '(' is followed by whitespace. 116
Warning ')' is preceded with whitespace. 116
Warning First sentence should end with a period. 119
Warning Expected @param tag for 'output'. 122
Warning Expected @throws tag for 'IOException'. 122
Warning '(' is followed by whitespace. 124
Warning '(' is followed by whitespace. 124
Warning ')' is preceded with whitespace. 124
Warning ')' is preceded with whitespace. 124
Warning Missing a Javadoc comment. 127
Warning '(' is followed by whitespace. 129
Warning ')' is preceded with whitespace. 129
Warning First sentence should end with a period. 134
Warning Expected @param tag for 'xmlOutput'. 137
Warning First sentence should end with a period. 141
Warning Expected an @return tag. 144
Warning Expected @throws tag for 'MalformedURLException'. 144
Warning First sentence should end with a period. 151
Warning Expected @param tag for 'rootContext'. 154
Warning First sentence should end with a period. 158
Warning Expected an @return tag. 161
Warning Expected @throws tag for 'MalformedURLException'. 161
Warning '(' is followed by whitespace. 171
Warning ')' is preceded with whitespace. 171
Warning First sentence should end with a period. 179
Warning Expected an @return tag. 182
Warning Expected @throws tag for 'JellyException'. 182
Warning '}' should be on the same line. 189
Warning '}' should be on the same line. 192
Warning Javadoc has empty description section. 205
Warning Expected @param tag for 'name'. 208
Warning Expected @throws tag for 'MalformedURLException'. 208