The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | HiddenField | 6 | Error |
design | DesignForExtension | 11 | Error |
javadoc | JavadocMethod | 12 | Error |
JavadocPackage | 2 | Error | |
JavadocStyle | 1 | Error | |
JavadocType | 2 | Error | |
JavadocVariable | 5 | Error | |
misc | FinalParameters | 9 | Error |
naming | ConstantName | 1 | Error |
regexp | RegexpSingleline
|
2 | Error |
sizes | LineLength | 1 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 12 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 13 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 15 |
Error | misc | FinalParameters | Parameter date should be final. | 15 |
Error | coding | HiddenField | 'date' hides a field. | 15 |
Error | misc | FinalParameters | Parameter message should be final. | 15 |
Error | coding | HiddenField | 'message' hides a field. | 15 |
Error | design | DesignForExtension | Method 'getGreeting' is not designed for extension - needs to be abstract, final or empty. | 20 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 20 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 24 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 11 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 12 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 14 |
Error | misc | FinalParameters | Parameter firstName should be final. | 14 |
Error | coding | HiddenField | 'firstName' hides a field. | 14 |
Error | misc | FinalParameters | Parameter lastName should be final. | 14 |
Error | coding | HiddenField | 'lastName' hides a field. | 14 |
Error | design | DesignForExtension | Method 'getFirstName' is not designed for extension - needs to be abstract, final or empty. | 19 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 19 |
Error | design | DesignForExtension | Method 'setFirstName' is not designed for extension - needs to be abstract, final or empty. | 23 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
Error | misc | FinalParameters | Parameter firstName should be final. | 23 |
Error | coding | HiddenField | 'firstName' hides a field. | 23 |
Error | design | DesignForExtension | Method 'getLastName' is not designed for extension - needs to be abstract, final or empty. | 27 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 27 |
Error | design | DesignForExtension | Method 'setLastName' 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 lastName should be final. | 31 |
Error | coding | HiddenField | 'lastName' hides a field. | 31 |
Error | design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 35 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 8 |
Error | misc | FinalParameters | Parameter message should be final. | 8 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 6 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 7 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 9 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 16 |
Error | sizes | LineLength | Line is longer than 80 characters (found 83). | 19 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
Error | naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 19 |
Error | design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 21 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 21 |
Error | design | DesignForExtension | Method 'destroy' is not designed for extension - needs to be abstract, final or empty. | 25 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 25 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 29 |
Error | design | DesignForExtension | Method 'sayHello' is not designed for extension - needs to be abstract, final or empty. | 34 |
Error | misc | FinalParameters | Parameter name should be final. | 35 |
Error | javadoc | JavadocStyle | First sentence should end with a period. | 45 |
Error | design | DesignForExtension | Method 'sayHello' is not designed for extension - needs to be abstract, final or empty. | 48 |
Error | misc | FinalParameters | Parameter name should be final. | 49 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 56 |