The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 24 | ![]() |
RightCurly | 5 | ![]() | |
coding | MagicNumber | 5 | ![]() |
design | DesignForExtension | 7 | ![]() |
FinalClass | 1 | ![]() | |
VisibilityModifier | 3 | ![]() | |
javadoc | JavadocMethod | 5 | ![]() |
JavadocPackage | 4 | ![]() | |
JavadocVariable | 17 | ![]() | |
misc | FinalParameters | 10 | ![]() |
sizes | LineLength | 59 | ![]() |
MethodLength | 1 | ![]() | |
whitespace | FileTabCharacter | 4 | ![]() |
OperatorWrap | 2 | ![]() | |
ParenPad | 68 | ![]() | |
WhitespaceAfter | 1 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 46 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 46 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 47 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 49 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 50 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 51 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 52 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 53 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 54 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 56 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 57 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 59 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 61 |
![]() |
sizes | MethodLength | Method length is 151 lines (max allowed is 150). | 63 |
![]() |
misc | FinalParameters | Parameter argsStrings should be final. | 63 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 79 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 89 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 92 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 92 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 92 |
![]() |
blocks | LeftCurly | '{' at column 38 should have line break after. | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 101 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 104 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 104 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 105 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 105 |
![]() |
blocks | LeftCurly | '{' at column 4 should be on the previous line. | 106 |
![]() |
blocks | LeftCurly | '{' at column 4 should have line break after. | 106 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 111 |
![]() |
blocks | LeftCurly | '{' at column 7 should have line break after. | 111 |
![]() |
blocks | RightCurly | '}' at column 73 should be on the same line as the next part of a multi-block statement. | 111 |
![]() |
blocks | LeftCurly | '{' at column 3 should be on the previous line. | 113 |
![]() |
blocks | LeftCurly | '{' at column 3 should have line break after. | 113 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 115 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 115 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 116 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 116 |
![]() |
blocks | LeftCurly | '{' at column 4 should be on the previous line. | 117 |
![]() |
blocks | LeftCurly | '{' at column 4 should have line break after. | 117 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 132 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 92). | 137 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 138 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 139 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 104). | 140 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 141 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 108). | 144 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 145 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 115). | 153 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 155 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 172 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 177 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 177 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 183 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 184 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 184 |
![]() |
blocks | LeftCurly | '{' at column 34 should have line break after. | 184 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 185 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 185 |
![]() |
blocks | LeftCurly | '{' at column 34 should have line break after. | 185 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 188 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 188 |
![]() |
blocks | LeftCurly | '{' at column 19 should have line break after. | 188 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 189 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 189 |
![]() |
blocks | LeftCurly | '{' at column 19 should have line break after. | 189 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 196 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 197 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 202 |
![]() |
coding | MagicNumber | '8' is a magic number. | 202 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 203 |
![]() |
coding | MagicNumber | '8' is a magic number. | 203 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 104). | 206 |
![]() |
coding | MagicNumber | '8' is a magic number. | 206 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 208 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 211 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 211 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 211 |
![]() |
blocks | LeftCurly | '{' at column 31 should have line break after. | 211 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 212 |
![]() |
blocks | LeftCurly | '{' at column 45 should have line break after. | 215 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 229 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 229 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 233 |
![]() |
misc | FinalParameters | Parameter action should be final. | 233 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 94). | 235 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 238 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 238 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 238 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 239 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 240 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 241 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 241 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 144). | 242 |
![]() |
blocks | RightCurly | '}' at column 8 should be on the same line as the next part of a multi-block statement. | 243 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 244 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 88). | 246 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 95). | 247 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 247 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 247 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 100). | 248 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 254 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 254 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 100). | 257 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 266 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 266 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 273 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 273 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 16 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
![]() |
design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 17 |
![]() |
coding | MagicNumber | '5' is a magic number. | 18 |
![]() |
coding | MagicNumber | '5' is a magic number. | 18 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 123). | 23 |
![]() |
design | DesignForExtension | Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 34 |
![]() |
blocks | LeftCurly | '{' at column 36 should have line break after. | 34 |
![]() |
design | DesignForExtension | Method 'getDisplayName' is not designed for extension - needs to be abstract, final or empty. | 35 |
![]() |
blocks | LeftCurly | '{' at column 43 should have line break after. | 35 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
design | FinalClass | Class UIHelper should be declared as final. | 16 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 20 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 21 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 21 |
![]() |
blocks | LeftCurly | '{' at column 22 should have line break after. | 21 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 103). | 24 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 24 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 24 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 25 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 25 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 26 |
![]() |
blocks | RightCurly | '}' at column 3 should be on the same line as the next part of a multi-block statement. | 30 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 97). | 31 |
![]() |
whitespace | OperatorWrap | '|' should be on a new line. | 31 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 35 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 35 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 107). | 36 |
![]() |
blocks | LeftCurly | '{' at column 8 should have line break after. | 36 |
![]() |
blocks | RightCurly | '}' at column 86 should be on the same line as the next part of a multi-block statement. | 36 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 105). | 37 |
![]() |
whitespace | OperatorWrap | '|' should be on a new line. | 37 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 42 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 46 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 46 |
![]() |
misc | FinalParameters | Parameter action should be final. | 46 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 47 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 47 |
![]() |
blocks | LeftCurly | '{' at column 22 should have line break after. | 47 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 52 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 54 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 54 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 55 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 133). | 56 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 132). | 58 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 58 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 58 |
![]() |
blocks | LeftCurly | '{' at column 33 should have line break after. | 58 |
![]() |
blocks | RightCurly | '}' at column 4 should be on the same line as the next part of a multi-block statement. | 59 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 125). | 60 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 60 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 60 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 61 |
![]() |
blocks | LeftCurly | '{' at column 21 should have line break after. | 68 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 19 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
![]() |
design | VisibilityModifier | Variable 'frame' must be private and have accessor methods. | 19 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
![]() |
design | VisibilityModifier | Variable 'config' must be private and have accessor methods. | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
design | VisibilityModifier | Variable 'log' must be private and have accessor methods. | 21 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 23 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
![]() |
misc | FinalParameters | Parameter jFrame should be final. | 23 |
![]() |
misc | FinalParameters | Parameter configuration should be final. | 23 |
![]() |
design | DesignForExtension | Method 'handleAction' is not designed for extension - needs to be abstract, final or empty. | 29 |
![]() |
misc | FinalParameters | Parameter action should be final. | 29 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 30 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 30 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 31 |
![]() |
design | DesignForExtension | Method 'handleComponent' is not designed for extension - needs to be abstract, final or empty. | 37 |
![]() |
misc | FinalParameters | Parameter action should be final. | 37 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 38 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 38 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 41 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 41 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 99). | 43 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 100). | 44 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 47 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 48 |
![]() |
design | DesignForExtension | Method 'handleProperty' is not designed for extension - needs to be abstract, final or empty. | 56 |
![]() |
misc | FinalParameters | Parameter action should be final. | 56 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 57 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 58 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 58 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 59 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 59 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 60 |
![]() |
design | DesignForExtension | Method 'handleEvent' is not designed for extension - needs to be abstract, final or empty. | 67 |
![]() |
misc | FinalParameters | Parameter action should be final. | 67 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 68 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 68 |
![]() |
blocks | LeftCurly | '{' at column 32 should have line break after. | 68 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 86 |
![]() |
misc | FinalParameters | Parameter action should be final. | 86 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 116). | 89 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 89 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 89 |
![]() |
blocks | LeftCurly | '{' at column 50 should have line break after. | 89 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 89 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 93). | 90 |
![]() |
whitespace | ParenPad | '(' is followed by whitespace. | 90 |
![]() |
whitespace | ParenPad | ')' is preceded with whitespace. | 90 |
![]() |
blocks | LeftCurly | '{' at column 23 should have line break after. | 90 |