The following document contains the results of Checkstyle 6.2 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 5 | ![]() |
RightCurly | 12 | ![]() | |
coding | EmptyStatement | 1 | ![]() |
HiddenField | 4 | ![]() | |
design | DesignForExtension | 5 | ![]() |
HideUtilityClassConstructor | 1 | ![]() | |
VisibilityModifier | 3 | ![]() | |
javadoc | JavadocMethod | 15 | ![]() |
JavadocPackage | 1 | ![]() | |
JavadocType | 3 | ![]() | |
JavadocVariable | 16 | ![]() | |
misc | ArrayTypeStyle | 2 | ![]() |
FinalParameters | 10 | ![]() | |
naming | ConstantName | 8 | ![]() |
regexp | RegexpSingleline
|
39 | ![]() |
sizes | LineLength | 14 | ![]() |
whitespace | FileTabCharacter | 4 | ![]() |
WhitespaceAfter | 4 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 17 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 19 |
![]() |
naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 19 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 22 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 23 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 23 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 30 |
![]() |
misc | FinalParameters | Parameter accountMgmt should be final. | 30 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 33 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 36 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 42 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 42 |
![]() |
misc | FinalParameters | Parameter accountMgmt should be final. | 42 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 44 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 47 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 49 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 52 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 53 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 53 |
![]() |
misc | FinalParameters | Parameter args should be final. | 53 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 53 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 62 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 68 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 71 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 72 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 72 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 72 |
![]() |
blocks | RightCurly | '}' should have line break before. | 72 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 73 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 73 |
![]() |
blocks | RightCurly | '}' should have line break before. | 73 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 75 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 75 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 75 |
![]() |
blocks | RightCurly | '}' should have line break before. | 75 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 77 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 12 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 17 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
design | DesignForExtension | Method 'setAccountDAO' is not designed for extension - needs to be abstract, final or empty. | 19 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 19 |
![]() |
misc | FinalParameters | Parameter accountDAO should be final. | 19 |
![]() |
coding | HiddenField | 'accountDAO' hides a field. | 19 |
![]() |
coding | EmptyStatement | Empty statement. | 20 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
design | DesignForExtension | Method 'getAccounts' is not designed for extension - needs to be abstract, final or empty. | 23 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 23 |
![]() |
misc | FinalParameters | Parameter index should be final. | 23 |
![]() |
misc | FinalParameters | Parameter count should be final. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 14 |
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 14 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 15 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 16 |
![]() |
naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
naming | ConstantName | Name 'jdbcDriver' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 18 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 20 |
![]() |
naming | ConstantName | Name 'jdbcURL' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 20 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 22 |
![]() |
naming | ConstantName | Name 'jdbcUser' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
![]() |
naming | ConstantName | Name 'jdbcPassword' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 24 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 26 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 26 |
![]() |
naming | ConstantName | Name 'inputFile' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 47 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 51 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 52 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 61 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 62 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 72 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 74 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 75 |
![]() |
misc | FinalParameters | Parameter args should be final. | 75 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 75 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 85 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 90 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 92 |
![]() |
blocks | RightCurly | '}' should have line break before. | 92 |
![]() |
blocks | LeftCurly | '{' should have line break after. | 93 |
![]() |
blocks | RightCurly | '}' should have line break before. | 93 |
![]() |
blocks | RightCurly | '}' should be on the same line. | 95 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocType | Missing a Javadoc comment. | 15 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 16 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
![]() |
naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 16 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 17 |
![]() |
design | VisibilityModifier | Variable 'is' must be private and have accessor methods. | 17 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 18 |
![]() |
design | VisibilityModifier | Variable 'accountDAO' must be private and have accessor methods. | 18 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 19 |
![]() |
design | VisibilityModifier | Variable 'parser' must be private and have accessor methods. | 19 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 20 |
![]() |
design | DesignForExtension | Method 'setInputStream' is not designed for extension - needs to be abstract, final or empty. | 21 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 21 |
![]() |
misc | FinalParameters | Parameter is should be final. | 21 |
![]() |
coding | HiddenField | 'is' hides a field. | 21 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
design | DesignForExtension | Method 'setAccountDAO' is not designed for extension - needs to be abstract, final or empty. | 25 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 25 |
![]() |
misc | FinalParameters | Parameter accountDAO should be final. | 25 |
![]() |
coding | HiddenField | 'accountDAO' hides a field. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 28 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
design | DesignForExtension | Method 'ingest' is not designed for extension - needs to be abstract, final or empty. | 40 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'JAXBException'. | 40 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'XMLStreamException'. | 40 |
![]() |
coding | HiddenField | 'parser' hides a field. | 41 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 42 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 46 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 89). | 47 |
![]() |
whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 47 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 50 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 53 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 55 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 56 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 59 |
![]() |
misc | FinalParameters | Parameter accountDTO should be final. | 59 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'accountDTO'. | 59 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 60 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 64 |
![]() |
whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 65 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |