The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | HiddenField | 26 | Error |
MagicNumber | 1 | Error | |
design | DesignForExtension | 42 | Error |
imports | AvoidStarImport | 4 | Error |
javadoc | JavadocMethod | 47 | Error |
JavadocPackage | 2 | Error | |
JavadocType | 5 | Error | |
JavadocVariable | 22 | Error | |
misc | FinalParameters | 26 | Error |
regexp | RegexpSingleline
|
16 | Error |
whitespace | OperatorWrap | 2 | Error |
WhitespaceAround | 59 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 7 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 9 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 10 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 11 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 12 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 13 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 14 |
Error | misc | FinalParameters | Parameter saleId should be final. | 14 |
Error | coding | HiddenField | 'saleId' hides a field. | 14 |
Error | misc | FinalParameters | Parameter customerId should be final. | 14 |
Error | coding | HiddenField | 'customerId' hides a field. | 14 |
Error | misc | FinalParameters | Parameter date should be final. | 14 |
Error | coding | HiddenField | 'date' hides a field. | 14 |
Error | misc | FinalParameters | Parameter amount should be final. | 14 |
Error | coding | HiddenField | 'amount' hides a field. | 14 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 17 |
Error | misc | FinalParameters | Parameter saleId should be final. | 17 |
Error | coding | HiddenField | 'saleId' hides a field. | 17 |
Error | misc | FinalParameters | Parameter customerId should be final. | 17 |
Error | coding | HiddenField | 'customerId' hides a field. | 17 |
Error | misc | FinalParameters | Parameter date should be final. | 17 |
Error | coding | HiddenField | 'date' hides a field. | 17 |
Error | misc | FinalParameters | Parameter amount should be final. | 17 |
Error | coding | HiddenField | 'amount' hides a field. | 17 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 23 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
Error | design | DesignForExtension | Method 'getAmount' is not designed for extension - needs to be abstract, final or empty. | 31 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 31 |
Error | design | DesignForExtension | Method 'getCustomerId' is not designed for extension - needs to be abstract, final or empty. | 34 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 34 |
Error | design | DesignForExtension | Method 'getDate' 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 'getSaleId' is not designed for extension - needs to be abstract, final or empty. | 40 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 40 |
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 | javadoc | JavadocType | Missing a Javadoc comment. | 10 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 10 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 10 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 12 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 13 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 14 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 19 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 19 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 19 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 19 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
Error | misc | FinalParameters | Parameter id should be final. | 24 |
Error | coding | HiddenField | 'id' hides a field. | 24 |
Error | design | DesignForExtension | Method 'getSales' is not designed for extension - needs to be abstract, final or empty. | 27 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 27 |
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 | design | DesignForExtension | Method 'setSales' is not designed for extension - needs to be abstract, final or empty. | 31 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 31 |
Error | misc | FinalParameters | Parameter sales should be final. | 31 |
Error | coding | HiddenField | 'sales' hides a field. | 31 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 34 |
Error | design | DesignForExtension | Method 'getHireDate' is not designed for extension - needs to be abstract, final or empty. | 35 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
Error | design | DesignForExtension | Method 'setHireDate' is not designed for extension - needs to be abstract, final or empty. | 39 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 39 |
Error | misc | FinalParameters | Parameter hireDate should be final. | 39 |
Error | coding | HiddenField | 'hireDate' hides a field. | 39 |
Error | design | DesignForExtension | Method 'getTermDate' is not designed for extension - needs to be abstract, final or empty. | 42 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 42 |
Error | design | DesignForExtension | Method 'setTermDate' is not designed for extension - needs to be abstract, final or empty. | 46 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 46 |
Error | misc | FinalParameters | Parameter termDate should be final. | 46 |
Error | coding | HiddenField | 'termDate' hides a field. | 46 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 48 |
Error | design | DesignForExtension | Method 'getFirstName' is not designed for extension - needs to be abstract, final or empty. | 50 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 50 |
Error | design | DesignForExtension | Method 'setFirstName' is not designed for extension - needs to be abstract, final or empty. | 53 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 53 |
Error | misc | FinalParameters | Parameter firstName should be final. | 53 |
Error | coding | HiddenField | 'firstName' hides a field. | 53 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 55 |
Error | design | DesignForExtension | Method 'getLastName' is not designed for extension - needs to be abstract, final or empty. | 56 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Error | design | DesignForExtension | Method 'setLastName' is not designed for extension - needs to be abstract, final or empty. | 59 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 59 |
Error | misc | FinalParameters | Parameter lastName should be final. | 59 |
Error | coding | HiddenField | 'lastName' hides a field. | 59 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 63 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 63 |
Error | whitespace | WhitespaceAround | 'for' is not followed by whitespace. | 71 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.persistence.*. | 3 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 5 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 5 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 5 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 7 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 7 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 8 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 8 |
Error | whitespace | OperatorWrap | '+' should be on a new line. | 8 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 10 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 10 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 11 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 11 |
Error | whitespace | OperatorWrap | '+' should be on a new line. | 11 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 18 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 19 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 19 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 19 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 19 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
Error | misc | FinalParameters | Parameter id should be final. | 24 |
Error | coding | HiddenField | 'id' hides a field. | 24 |
Error | design | DesignForExtension | Method 'getFirstName' is not designed for extension - needs to be abstract, final or empty. | 28 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 28 |
Error | design | DesignForExtension | Method 'setFirstName' is not designed for extension - needs to be abstract, final or empty. | 31 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 31 |
Error | misc | FinalParameters | Parameter firstName should be final. | 31 |
Error | coding | HiddenField | 'firstName' hides a field. | 31 |
Error | design | DesignForExtension | Method 'getLastName' is not designed for extension - needs to be abstract, final or empty. | 34 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 34 |
Error | design | DesignForExtension | Method 'setLastName' is not designed for extension - needs to be abstract, final or empty. | 37 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 37 |
Error | misc | FinalParameters | Parameter lastName should be final. | 37 |
Error | coding | HiddenField | 'lastName' hides a field. | 37 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 40 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 41 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 41 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.persistence.*. | 8 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 10 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 11 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 11 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 13 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 14 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 20 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 20 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 20 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 20 |
Error | design | DesignForExtension | Method 'setId' is not designed for extension - needs to be abstract, final or empty. | 24 |
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 | design | DesignForExtension | Method 'getClerks' is not designed for extension - needs to be abstract, final or empty. | 27 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 27 |
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. | 28 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 28 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 29 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 29 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 29 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 29 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 30 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 30 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 30 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 30 |
Error | design | DesignForExtension | Method 'setClerks' is not designed for extension - needs to be abstract, final or empty. | 35 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
Error | misc | FinalParameters | Parameter clerks should be final. | 35 |
Error | coding | HiddenField | 'clerks' hides a field. | 35 |
Error | design | DesignForExtension | Method 'getStore' is not designed for extension - needs to be abstract, final or empty. | 38 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 38 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 38 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 38 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 39 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 39 |
Error | design | DesignForExtension | Method 'setStore' is not designed for extension - needs to be abstract, final or empty. | 43 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 43 |
Error | misc | FinalParameters | Parameter store should be final. | 43 |
Error | coding | HiddenField | 'store' hides a field. | 43 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 45 |
Error | design | DesignForExtension | Method 'getAmount' is not designed for extension - needs to be abstract, final or empty. | 47 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 47 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 47 |
Error | coding | MagicNumber | '5' is a magic number. | 47 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 47 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 47 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 47 |
Error | design | DesignForExtension | Method 'setAmount' is not designed for extension - needs to be abstract, final or empty. | 51 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
Error | misc | FinalParameters | Parameter amount should be final. | 51 |
Error | coding | HiddenField | 'amount' hides a field. | 51 |
Error | design | DesignForExtension | Method 'getBuyerId' is not designed for extension - needs to be abstract, final or empty. | 54 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 54 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 54 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 54 |
Error | design | DesignForExtension | Method 'setBuyerId' is not designed for extension - needs to be abstract, final or empty. | 58 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 58 |
Error | misc | FinalParameters | Parameter buyerId should be final. | 58 |
Error | coding | HiddenField | 'buyerId' hides a field. | 58 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 61 |
Error | design | DesignForExtension | Method 'getDate' is not designed for extension - needs to be abstract, final or empty. | 62 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 62 |
Error | design | DesignForExtension | Method 'setDate' is not designed for extension - needs to be abstract, final or empty. | 66 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 66 |
Error | misc | FinalParameters | Parameter date should be final. | 66 |
Error | coding | HiddenField | 'date' hides a field. | 66 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 69 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 70 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 70 |
Error | whitespace | WhitespaceAround | 'for' is not followed by whitespace. | 77 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 79 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.persistence.*. | 6 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 8 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 8 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 8 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 10 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 11 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 12 |
Error | design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 14 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 14 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 14 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 14 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 18 |
Error | misc | FinalParameters | Parameter id should be final. | 19 |
Error | coding | HiddenField | 'id' hides a field. | 19 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 23 |
Error | design | DesignForExtension | Method 'getSales' is not designed for extension - needs to be abstract, final or empty. | 23 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 23 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 23 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 24 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 24 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 24 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 25 |
Error | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 25 |
Error | design | DesignForExtension | Method 'setSales' is not designed for extension - needs to be abstract, final or empty. | 29 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 29 |
Error | misc | FinalParameters | Parameter sales should be final. | 29 |
Error | coding | HiddenField | 'sales' hides a field. | 29 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 31 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 32 |
Error | design | DesignForExtension | Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 33 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 33 |
Error | design | DesignForExtension | Method 'setName' is not designed for extension - needs to be abstract, final or empty. | 36 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 36 |
Error | misc | FinalParameters | Parameter name should be final. | 36 |
Error | coding | HiddenField | 'name' hides a field. | 36 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 39 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 40 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 40 |
Error | whitespace | WhitespaceAround | 'for' is not followed by whitespace. | 45 |