The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 9 | ![]() |
RightCurly | 6 | ![]() | |
coding | HiddenField | 4 | ![]() |
design | DesignForExtension | 14 | ![]() |
javadoc | JavadocMethod | 19 | ![]() |
JavadocPackage | 3 | ![]() | |
JavadocVariable | 6 | ![]() | |
misc | FinalParameters | 21 | ![]() |
regexp | RegexpSingleline
|
21 | ![]() |
sizes | LineLength | 4 | ![]() |
whitespace | FileTabCharacter | 6 | ![]() |
OperatorWrap | 6 | ![]() | |
WhitespaceAfter | 1 | ![]() | |
WhitespaceAround | 22 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 5 |
![]() |
misc | FinalParameters | Parameter message should be final. | 9 |
![]() |
blocks | LeftCurly | '{' at column 41 should have line break after. | 9 |
![]() |
misc | FinalParameters | Parameter message should be final. | 10 |
![]() |
misc | FinalParameters | Parameter ex should be final. | 10 |
![]() |
blocks | LeftCurly | '{' at column 55 should have line break after. | 10 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 8 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 10 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 13 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 13 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 13 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 15 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 15 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 17 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 10 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 13 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 13 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 13 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 15 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 24 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 24 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
design | DesignForExtension | Method 'setConnection' is not designed for extension - needs to be abstract, final or empty. | 27 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 27 |
![]() |
misc | FinalParameters | Parameter connection should be final. | 27 |
![]() |
coding | HiddenField | 'connection' hides a field. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
design | DesignForExtension | Method 'createPerson' is not designed for extension - needs to be abstract, final or empty. | 31 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 31 |
![]() |
misc | FinalParameters | Parameter person should be final. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 39 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 44 |
![]() |
blocks | RightCurly | '}' at column 3 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). | 56 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 59 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 59 |
![]() |
blocks | RightCurly | '}' at column 3 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). | 60 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 63 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 63 |
![]() |
blocks | RightCurly | '}' at column 3 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). | 64 |
![]() |
blocks | LeftCurly | '{' at column 8 should have line break after. | 66 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 66 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 66 |
![]() |
blocks | LeftCurly | '{' at column 8 should have line break after. | 67 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 67 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 67 |
![]() |
blocks | LeftCurly | '{' at column 8 should have line break after. | 68 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 68 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 68 |
![]() |
design | DesignForExtension | Method 'getPerson' is not designed for extension - needs to be abstract, final or empty. | 72 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 72 |
![]() |
misc | FinalParameters | Parameter id should be final. | 72 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 76 |
![]() |
design | DesignForExtension | Method 'getPeople' is not designed for extension - needs to be abstract, final or empty. | 77 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 77 |
![]() |
misc | FinalParameters | Parameter index should be final. | 77 |
![]() |
misc | FinalParameters | Parameter count should be final. | 77 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 25 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
design | DesignForExtension | Method 'setConnection' is not designed for extension - needs to be abstract, final or empty. | 28 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 28 |
![]() |
misc | FinalParameters | Parameter connection should be final. | 28 |
![]() |
coding | HiddenField | 'connection' hides a field. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
design | DesignForExtension | Method 'createRegistration' is not designed for extension - needs to be abstract, final or empty. | 32 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 32 |
![]() |
misc | FinalParameters | Parameter registration should be final. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 37 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 40 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 41 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 45 |
![]() |
blocks | RightCurly | '}' at column 7 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). | 59 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 62 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 62 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 62 |
![]() |
blocks | LeftCurly | '{' at column 9 should have line break after. | 64 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 64 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 64 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 72 |
![]() |
whitespace | OperatorWrap | '+' should be on a new line. | 73 |
![]() |
blocks | RightCurly | '}' at column 3 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). | 79 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 82 |
![]() |
whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 82 |
![]() |
whitespace | WhitespaceAround | '+' is not followed by whitespace. | 82 |
![]() |
blocks | RightCurly | '}' at column 3 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). | 83 |
![]() |
blocks | LeftCurly | '{' at column 8 should have line break after. | 85 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 85 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 85 |
![]() |
blocks | LeftCurly | '{' at column 8 should have line break after. | 86 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 86 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 86 |
![]() |
blocks | LeftCurly | '{' at column 8 should have line break after. | 87 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 87 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 87 |
![]() |
design | DesignForExtension | Method 'getRegistrations' is not designed for extension - needs to be abstract, final or empty. | 91 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 91 |
![]() |
misc | FinalParameters | Parameter index should be final. | 91 |
![]() |
misc | FinalParameters | Parameter count should be final. | 91 |
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 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
design | DesignForExtension | Method 'setEntityManager' is not designed for extension - needs to be abstract, final or empty. | 18 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 18 |
![]() |
misc | FinalParameters | Parameter em should be final. | 18 |
![]() |
coding | HiddenField | 'em' hides a field. | 18 |
![]() |
design | DesignForExtension | Method 'createPerson' is not designed for extension - needs to be abstract, final or empty. | 22 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 22 |
![]() |
misc | FinalParameters | Parameter person should be final. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
design | DesignForExtension | Method 'getPerson' is not designed for extension - needs to be abstract, final or empty. | 26 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 26 |
![]() |
misc | FinalParameters | Parameter id should be final. | 26 |
![]() |
design | DesignForExtension | Method 'getPeople' is not designed for extension - needs to be abstract, final or empty. | 30 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 30 |
![]() |
misc | FinalParameters | Parameter index should be final. | 31 |
![]() |
misc | FinalParameters | Parameter count should be final. | 31 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 32 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 16 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
design | DesignForExtension | Method 'setEntityManager' is not designed for extension - needs to be abstract, final or empty. | 18 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 18 |
![]() |
misc | FinalParameters | Parameter em should be final. | 18 |
![]() |
coding | HiddenField | 'em' hides a field. | 18 |
![]() |
design | DesignForExtension | Method 'createRegistration' is not designed for extension - needs to be abstract, final or empty. | 22 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 22 |
![]() |
misc | FinalParameters | Parameter registration should be final. | 22 |
![]() |
design | DesignForExtension | Method 'getRegistrations' is not designed for extension - needs to be abstract, final or empty. | 26 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 26 |
![]() |
misc | FinalParameters | Parameter index should be final. | 27 |
![]() |
misc | FinalParameters | Parameter count should be final. | 27 |