The following document contains the results of Checkstyle 6.2 with sun_checks.xml ruleset.
File | ![]() |
![]() |
![]() |
---|---|---|---|
ejava/jpa/examples/cache/Address.java | 0 | 0 | 63 |
ejava/jpa/examples/cache/ZipAddress.java | 0 | 0 | 65 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 11 | ![]() |
RightCurly | 3 | ![]() | |
coding | AvoidInlineConditionals | 2 | ![]() |
HiddenField | 8 | ![]() | |
MagicNumber | 5 | ![]() | |
design | DesignForExtension | 15 | ![]() |
imports | AvoidStarImport | 1 | ![]() |
javadoc | JavadocMethod | 8 | ![]() |
JavadocPackage | 1 | ![]() | |
JavadocType | 2 | ![]() | |
JavadocVariable | 7 | ![]() | |
misc | FinalParameters | 9 | ![]() |
regexp | RegexpSingleline
|
13 | ![]() |
whitespace | FileTabCharacter | 2 | ![]() |
WhitespaceAround | 41 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 10 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 11 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 11 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 14 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 14 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 16 |
![]() |
coding | MagicNumber | '32' is a magic number. | 16 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 16 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 18 |
![]() |
coding | MagicNumber | '32' is a magic number. | 18 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 20 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 22 |
![]() |
coding | MagicNumber | '10' is a magic number. | 22 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 25 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 25 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
misc | FinalParameters | Parameter id should be final. | 26 |
![]() |
coding | HiddenField | 'id' hides a field. | 26 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 26 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 26 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 26 |
![]() |
design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 27 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
design | DesignForExtension | Method 'getStreet' is not designed for extension - needs to be abstract, final or empty. | 29 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 29 |
![]() |
design | DesignForExtension | Method 'setStreet' is not designed for extension - needs to be abstract, final or empty. | 30 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 30 |
![]() |
misc | FinalParameters | Parameter street should be final. | 30 |
![]() |
coding | HiddenField | 'street' hides a field. | 30 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
design | DesignForExtension | Method 'getCity' is not designed for extension - needs to be abstract, final or empty. | 34 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 34 |
![]() |
design | DesignForExtension | Method 'setCity' is not designed for extension - needs to be abstract, final or empty. | 35 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
![]() |
misc | FinalParameters | Parameter city should be final. | 35 |
![]() |
coding | HiddenField | 'city' hides a field. | 35 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 38 |
![]() |
design | DesignForExtension | Method 'getState' is not designed for extension - needs to be abstract, final or empty. | 39 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 39 |
![]() |
design | DesignForExtension | Method 'setState' is not designed for extension - needs to be abstract, final or empty. | 40 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 40 |
![]() |
misc | FinalParameters | Parameter state should be final. | 40 |
![]() |
coding | HiddenField | 'state' hides a field. | 40 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 43 |
![]() |
design | DesignForExtension | Method 'getZip' is not designed for extension - needs to be abstract, final or empty. | 44 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 44 |
![]() |
design | DesignForExtension | Method 'setZip' is not designed for extension - needs to be abstract, final or empty. | 45 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 45 |
![]() |
misc | FinalParameters | Parameter zip should be final. | 45 |
![]() |
coding | HiddenField | 'zip' hides a field. | 45 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 48 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 49 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 53 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.persistence.*. | 3 |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 5 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 6 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 6 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 9 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 9 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 10 |
![]() |
coding | MagicNumber | '10' is a magic number. | 10 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 10 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 12 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 12 |
![]() |
coding | MagicNumber | '32' is a magic number. | 12 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 12 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 12 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 12 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 14 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 15 |
![]() |
whitespace | WhitespaceAround | '{' is not followed by whitespace. | 15 |
![]() |
whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 15 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 16 |
![]() |
misc | FinalParameters | Parameter zip should be final. | 16 |
![]() |
coding | HiddenField | 'zip' hides a field. | 16 |
![]() |
misc | FinalParameters | Parameter city should be final. | 16 |
![]() |
coding | HiddenField | 'city' hides a field. | 16 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 17 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 17 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 18 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 21 |
![]() |
misc | FinalParameters | Parameter zip should be final. | 21 |
![]() |
coding | HiddenField | 'zip' hides a field. | 21 |
![]() |
whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 22 |
![]() |
whitespace | WhitespaceAround | '=' is not followed by whitespace. | 22 |
![]() |
design | DesignForExtension | Method 'getZip' is not designed for extension - needs to be abstract, final or empty. | 24 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 24 |
![]() |
design | DesignForExtension | Method 'getCity' is not designed for extension - needs to be abstract, final or empty. | 25 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 32 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 34 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 34 |
![]() |
whitespace | WhitespaceAround | '?' is not preceded with whitespace. | 34 |
![]() |
coding | AvoidInlineConditionals | Avoid inline conditionals. | 34 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 37 |
![]() |
misc | FinalParameters | Parameter obj should be final. | 38 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 39 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 39 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 39 |
![]() |
blocks | RightCurly | '}' should have line break before. | 39 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 40 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 40 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 40 |
![]() |
blocks | RightCurly | '}' should have line break before. | 40 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 41 |
![]() |
blocks | RightCurly | '}' should have line break before. | 41 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 43 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 43 |
![]() |
coding | AvoidInlineConditionals | Avoid inline conditionals. | 43 |
![]() |
whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 43 |
![]() |
whitespace | WhitespaceAround | '==' is not followed by whitespace. | 43 |