The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 1 | Error |
coding | HiddenField | 7 | Error |
MagicNumber | 2 | Error | |
design | DesignForExtension | 10 | Error |
imports | AvoidStarImport | 2 | Error |
javadoc | JavadocMethod | 19 | Error |
JavadocPackage | 2 | Error | |
JavadocType | 1 | Error | |
JavadocVariable | 5 | Error | |
misc | FinalParameters | 8 | Error |
regexp | RegexpSingleline
|
22 | Error |
whitespace | WhitespaceAround | 34 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 3 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 5 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 5 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 5 |
Error | misc | FinalParameters | Parameter message should be final. | 6 |
Error | blocks | LeftCurly | '{' at column 42 should have line break after. | 6 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 7 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 12 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | regexp | RegexpSingleline | Line has trailing spaces. | 8 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 10 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 13 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.persistence.*. | 5 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 9 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 10 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 12 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 12 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 13 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 13 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 16 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 16 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 18 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 19 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 19 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 19 |
Error | coding | MagicNumber | '20' is a magic number. | 19 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 19 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 20 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 23 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 23 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 24 |
Error | misc | FinalParameters | Parameter id should be final. | 24 |
Error | coding | HiddenField | 'id' hides a field. | 24 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 28 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 28 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 32 |
Error | misc | FinalParameters | Parameter id should be final. | 33 |
Error | coding | HiddenField | 'id' hides a field. | 33 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 36 |
Error | design | DesignForExtension | Method 'getLastName' is not designed for extension - needs to be abstract, final or empty. | 37 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 37 |
Error | design | DesignForExtension | Method 'setLastName' 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 lastName should be final. | 40 |
Error | coding | HiddenField | 'lastName' hides a field. | 40 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 43 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 44 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 44 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 46 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 49 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.persistence.*. | 7 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 12 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 14 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 14 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 15 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 15 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 18 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 18 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 20 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 21 |
Error | coding | MagicNumber | '20' is a magic number. | 21 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 21 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 25 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 25 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 26 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 26 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 26 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 26 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 27 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 27 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 27 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 27 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 30 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 32 |
Error | whitespace | WhitespaceAround | '{' is not followed by whitespace. | 32 |
Error | whitespace | WhitespaceAround | '}' is not preceded with whitespace. | 32 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 33 |
Error | misc | FinalParameters | Parameter id should be final. | 33 |
Error | coding | HiddenField | 'id' hides a field. | 33 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 36 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 37 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 37 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 41 |
Error | misc | FinalParameters | Parameter id should be final. | 42 |
Error | coding | HiddenField | 'id' hides a field. | 42 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 45 |
Error | design | DesignForExtension | Method 'getVin' is not designed for extension - needs to be abstract, final or empty. | 46 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 46 |
Error | design | DesignForExtension | Method 'setVin' is not designed for extension - needs to be abstract, final or empty. | 49 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 49 |
Error | misc | FinalParameters | Parameter vin should be final. | 49 |
Error | coding | HiddenField | 'vin' hides a field. | 49 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 52 |
Error | design | DesignForExtension | Method 'getOwners' is not designed for extension - needs to be abstract, final or empty. | 53 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 53 |
Error | design | DesignForExtension | Method 'setOwners' is not designed for extension - needs to be abstract, final or empty. | 56 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Error | misc | FinalParameters | Parameter owners should be final. | 56 |
Error | coding | HiddenField | 'owners' hides a field. | 56 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 59 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 60 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 60 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 62 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 67 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 70 |