Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
3 0 0 200

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
NeedBraces 2  Error
RightCurly 1  Error
coding AvoidInlineConditionals 1  Error
MagicNumber 14  Error
design DesignForExtension 12  Error
HideUtilityClassConstructor 1  Error
VisibilityModifier 3  Error
javadoc JavadocMethod 17  Error
JavadocPackage 1  Error
JavadocVariable 7  Error
misc ArrayTypeStyle 5  Error
FinalParameters 25  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
33  Error
sizes LineLength 14  Error
whitespace FileTabCharacter 2  Error
NoWhitespaceAfter 4  Error
WhitespaceAfter 5  Error
WhitespaceAround 51  Error

Details

ejava/projects/eleague/xml/DateConverter.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error misc FinalParameters Parameter s should be final. 14
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 17
 Error misc FinalParameters Parameter dt should be final. 17

ejava/projects/eleague/xml/ELeagueParser.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error design VisibilityModifier Variable 'xmlif' must be private and have accessor methods. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error design VisibilityModifier Variable 'um' must be private and have accessor methods. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error design VisibilityModifier Variable 'xmlr' must be private and have accessor methods. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error sizes LineLength Line is longer than 80 characters (found 83). 38
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error misc FinalParameters Parameter rootType should be final. 48
 Error misc FinalParameters Parameter is should be final. 48
 Error javadoc JavadocMethod Expected @throws tag for 'JAXBException'. 49
 Error javadoc JavadocMethod Expected @throws tag for 'XMLStreamException'. 49
 Error sizes LineLength Line is longer than 80 characters (found 88). 55
 Error sizes LineLength Line is longer than 80 characters (found 87). 56
 Error sizes LineLength Line is longer than 80 characters (found 83). 57
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error sizes LineLength Line is longer than 80 characters (found 87). 63
 Error misc FinalParameters Parameter targetType should be final. 63
 Error blocks NeedBraces 'if' construct must use '{}'s. 67
 Error sizes LineLength Line is longer than 80 characters (found 85). 75
 Error misc FinalParameters Parameter id should be final. 75
 Error misc FinalParameters Parameter obj should be final. 75
 Error blocks NeedBraces 'if' construct must use '{}'s. 76
 Error design DesignForExtension Method 'setSchema' is not designed for extension - needs to be abstract, final or empty. 84
 Error javadoc JavadocMethod Missing a Javadoc comment. 84
 Error misc FinalParameters Parameter schema should be final. 84
 Error sizes LineLength Line is longer than 80 characters (found 81). 86
 Error javadoc JavadocMethod Missing a Javadoc comment. 91
 Error misc FinalParameters Parameter elements should be final. 91
 Error misc ArrayTypeStyle Array brackets at illegal position. 91
 Error misc FinalParameters Parameter localName should be final. 91
 Error sizes LineLength Line is longer than 80 characters (found 81). 101
 Error sizes LineLength Line is longer than 80 characters (found 83). 102
 Error sizes LineLength Line is longer than 80 characters (found 84). 103
 Error regexp RegexpSingleline Line has trailing spaces. 105
 Error sizes LineLength Line is longer than 80 characters (found 84). 106
 Error sizes LineLength Line is longer than 80 characters (found 86). 107
 Error design DesignForExtension Method 'getObject' is not designed for extension - needs to be abstract, final or empty. 111
 Error misc FinalParameters Parameter elements should be final. 112
 Error javadoc JavadocMethod Expected @throws tag for 'XMLStreamException'. 112
 Error javadoc JavadocMethod Expected @throws tag for 'JAXBException'. 113
 Error sizes LineLength Line is longer than 80 characters (found 95). 117
 Error sizes LineLength Line is longer than 80 characters (found 95). 119
 Error coding AvoidInlineConditionals Avoid inline conditionals. 119
 Error javadoc JavadocMethod Missing a Javadoc comment. 127

ejava/projects/eleague/xml/SampleGen.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 21
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 27
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 28
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 28
 Error design DesignForExtension Method 'nextRefId' is not designed for extension - needs to be abstract, final or empty. 30
 Error blocks LeftCurly '{' at column 34 should have line break after. 30
 Error design DesignForExtension Method 'nextId' is not designed for extension - needs to be abstract, final or empty. 31
 Error blocks LeftCurly '{' at column 29 should have line break after. 31
 Error design DesignForExtension Method 'createClub' is not designed for extension - needs to be abstract, final or empty. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 33
 Error misc FinalParameters Parameter league should be final. 34
 Error misc FinalParameters Parameter name should be final. 34
 Error misc FinalParameters Parameter rep should be final. 34
 Error misc FinalParameters Parameter teams should be final. 34
 Error regexp RegexpSingleline Line has trailing spaces. 48
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 61
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 61
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 61
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 61
 Error regexp RegexpSingleline Line has trailing spaces. 76
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 77
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 77
 Error blocks RightCurly '}' at column 13 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). 82
 Error regexp RegexpSingleline Line has trailing spaces. 105
 Error design DesignForExtension Method 'createSeason' is not designed for extension - needs to be abstract, final or empty. 106
 Error javadoc JavadocMethod Missing a Javadoc comment. 106
 Error misc FinalParameters Parameter league should be final. 107
 Error misc FinalParameters Parameter year should be final. 107
 Error regexp RegexpSingleline Line has trailing spaces. 112
 Error coding MagicNumber '2007' is a magic number. 114
 Error coding MagicNumber '2007' is a magic number. 116
 Error regexp RegexpSingleline Line has trailing spaces. 118
 Error misc ArrayTypeStyle Array brackets at illegal position. 119
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 119
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 120
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 120
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 120
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 120
 Error misc ArrayTypeStyle Array brackets at illegal position. 121
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 121
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 122
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 122
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 122
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 122
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 129
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 129
 Error coding MagicNumber '10' is a magic number. 129
 Error regexp RegexpSingleline Line has trailing spaces. 130
 Error regexp RegexpSingleline Line has trailing spaces. 137
 Error regexp RegexpSingleline Line has trailing spaces. 140
 Error regexp RegexpSingleline Line has trailing spaces. 143
 Error design DesignForExtension Method 'assignTeamsToDivision' is not designed for extension - needs to be abstract, final or empty. 144
 Error javadoc JavadocMethod Missing a Javadoc comment. 144
 Error misc FinalParameters Parameter club should be final. 144
 Error misc FinalParameters Parameter season should be final. 144
 Error coding MagicNumber '10000' is a magic number. 145
 Error regexp RegexpSingleline Line has trailing spaces. 152
 Error regexp RegexpSingleline Line has trailing spaces. 157
 Error regexp RegexpSingleline Line has trailing spaces. 159
 Error design DesignForExtension Method 'getField' is not designed for extension - needs to be abstract, final or empty. 160
 Error javadoc JavadocMethod Missing a Javadoc comment. 160
 Error misc FinalParameters Parameter league should be final. 160
 Error misc FinalParameters Parameter team should be final. 160
 Error regexp RegexpSingleline Line has trailing spaces. 164
 Error regexp RegexpSingleline Line has trailing spaces. 171
 Error design DesignForExtension Method 'scheduleSeason' is not designed for extension - needs to be abstract, final or empty. 172
 Error javadoc JavadocMethod Missing a Javadoc comment. 172
 Error misc FinalParameters Parameter league should be final. 172
 Error misc FinalParameters Parameter season should be final. 172
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 173
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 175
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 175
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 175
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 175
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 176
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 176
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 176
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 176
 Error whitespace WhitespaceAround '>=' is not preceded with whitespace. 176
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 177
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 177
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 185
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 185
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 185
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 185
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 185
 Error coding MagicNumber '8' is a magic number. 185
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 185
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 185
 Error whitespace WhitespaceAround '%' is not preceded with whitespace. 185
 Error whitespace WhitespaceAround '%' is not followed by whitespace. 185
 Error coding MagicNumber '12' is a magic number. 185
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 185
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 185
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 185
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 191
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 191
 Error coding MagicNumber '3600' is a magic number. 191
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 191
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 191
 Error coding MagicNumber '1000' is a magic number. 191
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 193
 Error regexp RegexpSingleline Line has trailing spaces. 201
 Error design DesignForExtension Method 'reportScores' is not designed for extension - needs to be abstract, final or empty. 202
 Error javadoc JavadocMethod Missing a Javadoc comment. 202
 Error misc FinalParameters Parameter season should be final. 202
 Error coding MagicNumber '5' is a magic number. 205
 Error coding MagicNumber '5' is a magic number. 206
 Error regexp RegexpSingleline Line has trailing spaces. 209
 Error design DesignForExtension Method 'createLeagueMetadata' is not designed for extension - needs to be abstract, final or empty. 210
 Error javadoc JavadocMethod Missing a Javadoc comment. 210
 Error misc FinalParameters Parameter league should be final. 210
 Error regexp RegexpSingleline Line has trailing spaces. 213
 Error regexp RegexpSingleline Line has trailing spaces. 220
 Error regexp RegexpSingleline Line has trailing spaces. 223
 Error design DesignForExtension Method 'createLeague' is not designed for extension - needs to be abstract, final or empty. 224
 Error javadoc JavadocMethod Missing a Javadoc comment. 224
 Error regexp RegexpSingleline Line has trailing spaces. 226
 Error misc ArrayTypeStyle Array brackets at illegal position. 230
 Error misc ArrayTypeStyle Array brackets at illegal position. 234
 Error whitespace NoWhitespaceAfter 'String' is followed by whitespace. 234
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 238
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 238
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 238
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 238
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 239
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 239
 Error regexp RegexpSingleline Line has trailing spaces. 241
 Error regexp RegexpSingleline Line has trailing spaces. 242
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 243
 Error coding MagicNumber '2005' is a magic number. 243
 Error coding MagicNumber '2006' is a magic number. 243
 Error coding MagicNumber '2007' is a magic number. 243
 Error regexp RegexpSingleline Line has trailing spaces. 247
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 248
 Error regexp RegexpSingleline Line has trailing spaces. 251
 Error coding MagicNumber '2008' is a magic number. 255
 Error regexp RegexpSingleline Line has trailing spaces. 258
 Error regexp RegexpSingleline Line has trailing spaces. 259