The following document contains the results of Checkstyle 8.29 with sun_checks.xml ruleset.
File | I | W | E |
---|---|---|---|
org/sbouchet/emn/fil1A/Hello.java | 0 | 0 | 5 |
org/sbouchet/emn/fil1A/Main.java | 0 | 0 | 3 |
Category | Rule | Violations | Severity |
---|---|---|---|
design | DesignForExtension | 1 | Error |
HideUtilityClassConstructor | 1 | Error | |
javadoc | JavadocPackage | 1 | Error |
MissingJavadocMethod | 1 | Error | |
misc | FinalParameters | 1 | Error |
whitespace | FileTabCharacter | 2 | Error |
WhitespaceAround | 1 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | 1 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 5 |
Error | design | DesignForExtension | Class 'Hello' looks like designed for extension (can be subclassed), but the method 'greetings' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Hello' final or making the method 'greetings' static/final/abstract/empty, or adding allowed annotation for the method. | 5 |
Error | javadoc | MissingJavadocMethod | Missing a Javadoc comment. | 5 |
Error | whitespace | WhitespaceAround | '{' is not preceded with whitespace. | 5 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 3 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 5 |
Error | misc | FinalParameters | Parameter args should be final. | 8 |