Checkstyle Results

The following document contains the results of Checkstyle 6.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
3 0 0 240

Rules

Category Rule Violations Severity
blocks EmptyBlock 4  Error
LeftCurly 5  Error
RightCurly 20  Error
coding AvoidInlineConditionals 3  Error
MagicNumber 2  Error
SimplifyBooleanExpression 1  Error
design DesignForExtension 11  Error
VisibilityModifier 4  Error
javadoc JavadocMethod 22  Error
JavadocPackage 1  Error
JavadocType 9  Error
JavadocVariable 9  Error
misc FinalParameters 30  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
77  Error
sizes LineLength 4  Error
whitespace EmptyForIteratorPad 1  Error
OperatorWrap 4  Error
WhitespaceAfter 7  Error
WhitespaceAround 26  Error

Details

ejava/examples/webtier/web/JPADAOInit.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 21
 Error javadoc JavadocVariable Missing a Javadoc comment. 23
 Error design VisibilityModifier Variable 'log' must be private and have accessor methods. 23
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 25
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 25
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error blocks RightCurly '}' should be on the same line. 33
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 35
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error design DesignForExtension Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 40
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error misc FinalParameters Parameter request should be final. 40
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error misc FinalParameters Parameter response should be final. 41
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 47
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 48
 Error blocks RightCurly '}' should be on the same line. 49
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error regexp RegexpSingleline Line has trailing spaces. 53
 Error regexp RegexpSingleline Line has trailing spaces. 64
 Error design DesignForExtension Method 'doPost' is not designed for extension - needs to be abstract, final or empty. 64
 Error javadoc JavadocMethod Missing a Javadoc comment. 64
 Error misc FinalParameters Parameter request should be final. 64
 Error regexp RegexpSingleline Line has trailing spaces. 65
 Error misc FinalParameters Parameter response should be final. 65
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error regexp RegexpSingleline Line has trailing spaces. 70

ejava/examples/webtier/web/JPAFilter.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 32
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 32
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 36
 Error misc FinalParameters Parameter config should be final. 36
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 42
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 42
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 42
 Error whitespace EmptyForIteratorPad ';' is followed by whitespace. 43
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 44
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 45
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 45
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 45
 Error regexp RegexpSingleline Line has trailing spaces. 49
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error design DesignForExtension Method 'doFilter' is not designed for extension - needs to be abstract, final or empty. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error misc FinalParameters Parameter request should be final. 51
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error misc FinalParameters Parameter response should be final. 52
 Error misc FinalParameters Parameter chain should be final. 53
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 66
 Error coding SimplifyBooleanExpression Expression can be simplified. 66
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 66
 Error blocks RightCurly '}' should be on the same line. 69
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error blocks RightCurly '}' should be on the same line. 76
 Error design DesignForExtension Method 'destroy' is not designed for extension - needs to be abstract, final or empty. 82
 Error javadoc JavadocMethod Missing a Javadoc comment. 82
 Error javadoc JavadocMethod Missing a Javadoc comment. 86
 Error regexp RegexpSingleline Line has trailing spaces. 91
 Error regexp RegexpSingleline Line has trailing spaces. 93
 Error javadoc JavadocMethod Missing a Javadoc comment. 94
 Error regexp RegexpSingleline Line has trailing spaces. 97
 Error regexp RegexpSingleline Line has trailing spaces. 99
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error javadoc JavadocMethod Missing a Javadoc comment. 104
 Error regexp RegexpSingleline Line has trailing spaces. 107
 Error regexp RegexpSingleline Line has trailing spaces. 109
 Error regexp RegexpSingleline Line has trailing spaces. 111
 Error regexp RegexpSingleline Line has trailing spaces. 113
 Error regexp RegexpSingleline Line has trailing spaces. 114
 Error javadoc JavadocMethod Missing a Javadoc comment. 115
 Error misc FinalParameters Parameter context should be final. 116
 Error misc FinalParameters Parameter name should be final. 116
 Error blocks RightCurly '}' should be on the same line. 120
 Error blocks EmptyBlock Must have at least one statement. 121
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 121
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 121
 Error regexp RegexpSingleline Line has trailing spaces. 125
 Error sizes LineLength Line is longer than 80 characters (found 85). 125
 Error javadoc JavadocMethod Missing a Javadoc comment. 125
 Error misc FinalParameters Parameter level should be final. 125
 Error misc FinalParameters Parameter text should be final. 125
 Error misc FinalParameters Parameter context should be final. 125
 Error misc FinalParameters Parameter name should be final. 125
 Error sizes LineLength Line is longer than 80 characters (found 87). 127
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 133
 Error sizes LineLength Line is longer than 80 characters (found 81). 136
 Error regexp RegexpSingleline Line has trailing spaces. 140
 Error design DesignForExtension Method 'isContext' is not designed for extension - needs to be abstract, final or empty. 141
 Error javadoc JavadocMethod Missing a Javadoc comment. 141
 Error misc FinalParameters Parameter className should be final. 141
 Error sizes LineLength Line is longer than 80 characters (found 81). 143
 Error blocks RightCurly '}' should be on the same line. 146
 Error design DesignForExtension Method 'getPad' is not designed for extension - needs to be abstract, final or empty. 153
 Error javadoc JavadocMethod Missing a Javadoc comment. 153
 Error misc FinalParameters Parameter level should be final. 153

ejava/examples/webtier/web/RegistrarHandlerServlet.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error design VisibilityModifier Variable 'log' must be private and have accessor methods. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error design VisibilityModifier Variable 'registrar' must be private and have accessor methods. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error design VisibilityModifier Variable 'handlers' must be private and have accessor methods. 27
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error regexp RegexpSingleline Line has trailing spaces. 32
 Error regexp RegexpSingleline Line has trailing spaces. 34
 Error blocks RightCurly '}' should be on the same line. 42
 Error blocks EmptyBlock Must have at least one statement. 43
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error blocks RightCurly '}' should be on the same line. 45
 Error blocks EmptyBlock Must have at least one statement. 46
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error design DesignForExtension Method 'doGet' is not designed for extension - needs to be abstract, final or empty. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error misc FinalParameters Parameter request should be final. 51
 Error misc FinalParameters Parameter response should be final. 52
 Error regexp RegexpSingleline Line has trailing spaces. 53
 Error blocks RightCurly '}' should be on the same line. 59
 Error blocks RightCurly '}' should be on the same line. 65
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error design DesignForExtension Method 'doPost' is not designed for extension - needs to be abstract, final or empty. 75
 Error javadoc JavadocMethod Missing a Javadoc comment. 75
 Error misc FinalParameters Parameter request should be final. 75
 Error misc FinalParameters Parameter response should be final. 76
 Error javadoc JavadocType Missing a Javadoc comment. 80
 Error javadoc JavadocMethod Missing a Javadoc comment. 81
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error javadoc JavadocType Missing a Javadoc comment. 86
 Error javadoc JavadocMethod Missing a Javadoc comment. 87
 Error misc FinalParameters Parameter request should be final. 87
 Error misc FinalParameters Parameter response should be final. 88
 Error regexp RegexpSingleline Line has trailing spaces. 93
 Error regexp RegexpSingleline Line has trailing spaces. 99
 Error regexp RegexpSingleline Line has trailing spaces. 110
 Error regexp RegexpSingleline Line has trailing spaces. 111
 Error regexp RegexpSingleline Line has trailing spaces. 113
 Error javadoc JavadocType Missing a Javadoc comment. 114
 Error javadoc JavadocMethod Missing a Javadoc comment. 115
 Error misc FinalParameters Parameter request should be final. 115
 Error misc FinalParameters Parameter response should be final. 116
 Error coding MagicNumber '100' is a magic number. 119
 Error blocks LeftCurly '{' should have line break after. 120
 Error blocks RightCurly '}' should be on the same line. 120
 Error blocks RightCurly '}' should have line break before. 120
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 121
 Error blocks EmptyBlock Must have at least one statement. 121
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 121
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 121
 Error regexp RegexpSingleline Line has trailing spaces. 122
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 126
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 126
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 126
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 126
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 126
 Error regexp RegexpSingleline Line has trailing spaces. 141
 Error regexp RegexpSingleline Line has trailing spaces. 152
 Error regexp RegexpSingleline Line has trailing spaces. 153
 Error regexp RegexpSingleline Line has trailing spaces. 156
 Error javadoc JavadocType Missing a Javadoc comment. 157
 Error javadoc JavadocMethod Missing a Javadoc comment. 158
 Error misc FinalParameters Parameter request should be final. 158
 Error misc FinalParameters Parameter response should be final. 159
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 163
 Error coding AvoidInlineConditionals Avoid inline conditionals. 164
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 165
 Error coding AvoidInlineConditionals Avoid inline conditionals. 166
 Error regexp RegexpSingleline Line has trailing spaces. 167
 Error regexp RegexpSingleline Line has trailing spaces. 171
 Error blocks LeftCurly '{' should have line break after. 173
 Error blocks RightCurly '}' should be on the same line. 173
 Error blocks RightCurly '}' should have line break before. 173
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 174
 Error whitespace OperatorWrap '+' should be on a new line. 175
 Error coding MagicNumber '20' is a magic number. 178
 Error blocks LeftCurly '{' should have line break after. 179
 Error blocks RightCurly '}' should be on the same line. 179
 Error blocks RightCurly '}' should have line break before. 179
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 180
 Error whitespace OperatorWrap '+' should be on a new line. 181
 Error regexp RegexpSingleline Line has trailing spaces. 183
 Error regexp RegexpSingleline Line has trailing spaces. 184
 Error whitespace OperatorWrap '+' should be on a new line. 186
 Error regexp RegexpSingleline Line has trailing spaces. 188
 Error regexp RegexpSingleline Line has trailing spaces. 189
 Error whitespace OperatorWrap '?' should be on a new line. 191
 Error coding AvoidInlineConditionals Avoid inline conditionals. 191
 Error regexp RegexpSingleline Line has trailing spaces. 200
 Error regexp RegexpSingleline Line has trailing spaces. 211
 Error regexp RegexpSingleline Line has trailing spaces. 212
 Error regexp RegexpSingleline Line has trailing spaces. 214
 Error javadoc JavadocType Missing a Javadoc comment. 215
 Error javadoc JavadocMethod Missing a Javadoc comment. 216
 Error misc FinalParameters Parameter request should be final. 216
 Error misc FinalParameters Parameter response should be final. 217
 Error blocks LeftCurly '{' should have line break after. 221
 Error blocks RightCurly '}' should be on the same line. 221
 Error blocks RightCurly '}' should have line break before. 221
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 222
 Error regexp RegexpSingleline Line has trailing spaces. 229
 Error regexp RegexpSingleline Line has trailing spaces. 230
 Error regexp RegexpSingleline Line has trailing spaces. 231
 Error regexp RegexpSingleline Line has trailing spaces. 237
 Error regexp RegexpSingleline Line has trailing spaces. 248
 Error regexp RegexpSingleline Line has trailing spaces. 249
 Error regexp RegexpSingleline Line has trailing spaces. 252
 Error javadoc JavadocType Missing a Javadoc comment. 253
 Error javadoc JavadocMethod Missing a Javadoc comment. 254
 Error misc FinalParameters Parameter request should be final. 254
 Error misc FinalParameters Parameter response should be final. 255
 Error blocks LeftCurly '{' should have line break after. 259
 Error blocks RightCurly '}' should be on the same line. 259
 Error blocks RightCurly '}' should have line break before. 259
 Error whitespace WhitespaceAround 'catch' is not followed by whitespace. 260
 Error regexp RegexpSingleline Line has trailing spaces. 267
 Error regexp RegexpSingleline Line has trailing spaces. 268
 Error regexp RegexpSingleline Line has trailing spaces. 271
 Error regexp RegexpSingleline Line has trailing spaces. 276
 Error regexp RegexpSingleline Line has trailing spaces. 287
 Error regexp RegexpSingleline Line has trailing spaces. 288
 Error regexp RegexpSingleline Line has trailing spaces. 290