The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly | 5 | ![]() |
RightCurly | 10 | ![]() | |
coding | HiddenField | 6 | ![]() |
design | DesignForExtension | 8 | ![]() |
HideUtilityClassConstructor | 1 | ![]() | |
VisibilityModifier | 5 | ![]() | |
javadoc | JavadocMethod | 22 | ![]() |
JavadocPackage | 1 | ![]() | |
JavadocVariable | 19 | ![]() | |
misc | ArrayTypeStyle | 2 | ![]() |
FinalParameters | 17 | ![]() | |
naming | ConstantName | 7 | ![]() |
regexp | RegexpSingleline
|
60 | ![]() |
sizes | LineLength | 14 | ![]() |
whitespace | FileTabCharacter | 4 | ![]() |
OperatorWrap | 2 | ![]() | |
WhitespaceAfter | 5 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 16 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 17 |
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 20 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 21 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 21 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 91). | 22 |
![]() |
naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 22 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 23 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 23 |
![]() |
naming | ConstantName | Name 'jdbcDriver' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 23 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
naming | ConstantName | Name 'jdbcURL' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 25 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 27 |
![]() |
naming | ConstantName | Name 'jdbcUser' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 27 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 29 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
![]() |
naming | ConstantName | Name 'jdbcPassword' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 29 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
![]() |
naming | ConstantName | Name 'inputFile' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 34 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 41 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 87). | 52 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 56 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 57 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 66 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 67 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 77 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 79 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 80 |
![]() |
misc | FinalParameters | Parameter args should be final. | 80 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 80 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 92 |
![]() |
blocks | RightCurly | '}' at column 7 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 98 |
![]() |
blocks | LeftCurly | '{' at column 29 should have line break after. | 100 |
![]() |
blocks | LeftCurly | '{' at column 21 should have line break after. | 101 |
![]() |
blocks | RightCurly | '}' at column 6 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 103 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 80 characters (found 86). | 27 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 27 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 27 |
![]() |
naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 27 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 28 |
![]() |
design | VisibilityModifier | Variable 'is' must be private and have accessor methods. | 28 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 29 |
![]() |
design | VisibilityModifier | Variable 'personDAO' must be private and have accessor methods. | 29 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 30 |
![]() |
design | VisibilityModifier | Variable 'vehicleDAO' must be private and have accessor methods. | 30 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 31 |
![]() |
design | VisibilityModifier | Variable 'parser' must be private and have accessor methods. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 32 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
![]() |
design | VisibilityModifier | Variable 'dto2bo' must be private and have accessor methods. | 32 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 34 |
![]() |
design | DesignForExtension | Method 'setInputStream' is not designed for extension - needs to be abstract, final or empty. | 35 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
![]() |
misc | FinalParameters | Parameter is should be final. | 35 |
![]() |
coding | HiddenField | 'is' hides a field. | 35 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 36 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 38 |
![]() |
design | DesignForExtension | Method 'setPersonDAO' is not designed for extension - needs to be abstract, final or empty. | 39 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 39 |
![]() |
misc | FinalParameters | Parameter personDAO should be final. | 39 |
![]() |
coding | HiddenField | 'personDAO' hides a field. | 39 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 42 |
![]() |
design | DesignForExtension | Method 'setVehicleDAO' is not designed for extension - needs to be abstract, final or empty. | 43 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 43 |
![]() |
misc | FinalParameters | Parameter vehicleDAO should be final. | 43 |
![]() |
coding | HiddenField | 'vehicleDAO' hides a field. | 43 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 81). | 49 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 54 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 57 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 59 |
![]() |
design | DesignForExtension | Method 'ingest' is not designed for extension - needs to be abstract, final or empty. | 59 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'JAXBException'. | 60 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'XMLStreamException'. | 60 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'Exception'. | 60 |
![]() |
coding | HiddenField | 'parser' hides a field. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 62 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 67 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 67 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 85). | 70 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 70 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 76 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 78 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 82 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 84 |
![]() |
misc | FinalParameters | Parameter personDTO should be final. | 84 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'personDTO'. | 84 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 90 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 93 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 100 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 103 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 105 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 108 |
![]() |
misc | FinalParameters | Parameter registrationDTO should be final. | 108 |
![]() |
javadoc | JavadocMethod | Expected @param tag for 'registrationDTO'. | 108 |
![]() |
javadoc | JavadocMethod | Expected @throws tag for 'Exception'. | 109 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 114 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 116 |
![]() |
whitespace | OperatorWrap | ':' should be on a new line. | 116 |
![]() |
whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 119 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 120 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 123 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 125 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 128 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 23 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 23 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 24 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 28 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 31 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 32 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 33 |
![]() |
misc | FinalParameters | Parameter personMgmt should be final. | 33 |
![]() |
misc | FinalParameters | Parameter vehicleMgmt should be final. | 33 |
![]() |
blocks | RightCurly | '}' at column 3 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 36 |
![]() |
blocks | RightCurly | '}' at column 3 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 39 |
![]() |
blocks | RightCurly | '}' at column 9 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 42 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 47 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 48 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 48 |
![]() |
misc | FinalParameters | Parameter personMgmt should be final. | 48 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 50 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 53 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 55 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 58 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 59 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 59 |
![]() |
misc | FinalParameters | Parameter vehicleMgmt should be final. | 59 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 61 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 64 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 65 |
![]() |
whitespace | OperatorWrap | ':' should be on a new line. | 65 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 67 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 71 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
![]() |
misc | FinalParameters | Parameter args should be final. | 71 |
![]() |
misc | ArrayTypeStyle | Array brackets at illegal position. | 71 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 82 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 87 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 90). | 88 |
![]() |
blocks | RightCurly | '}' at column 4 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 89 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 83). | 92 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 84). | 93 |
![]() |
blocks | LeftCurly | '{' at column 32 should have line break after. | 93 |
![]() |
blocks | RightCurly | '}' at column 49 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 93 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 82). | 94 |
![]() |
blocks | LeftCurly | '{' at column 32 should have line break after. | 94 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 96 |
![]() |
sizes | LineLength | Line is longer than 80 characters (found 96). | 96 |
![]() |
blocks | LeftCurly | '{' at column 22 should have line break after. | 96 |
![]() |
blocks | RightCurly | '}' at column 3 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 98 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 24 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 24 |
![]() |
whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 25 |
![]() |
javadoc | JavadocVariable | Missing a Javadoc comment. | 26 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 27 |
![]() |
design | DesignForExtension | Method 'setPersonDAO' is not designed for extension - needs to be abstract, final or empty. | 28 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 28 |
![]() |
misc | FinalParameters | Parameter personDAO should be final. | 28 |
![]() |
coding | HiddenField | 'personDAO' hides a field. | 28 |
![]() |
design | DesignForExtension | Method 'setVehicleDAO' is not designed for extension - needs to be abstract, final or empty. | 31 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 31 |
![]() |
misc | FinalParameters | Parameter vehicleDAO should be final. | 31 |
![]() |
coding | HiddenField | 'vehicleDAO' hides a field. | 31 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 33 |
![]() |
design | DesignForExtension | Method 'getPeople' is not designed for extension - needs to be abstract, final or empty. | 35 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 35 |
![]() |
misc | FinalParameters | Parameter index should be final. | 35 |
![]() |
misc | FinalParameters | Parameter count should be final. | 35 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 39 |
![]() |
blocks | RightCurly | '}' at column 9 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 42 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 48 |
![]() |
design | DesignForExtension | Method 'getRegistrations' is not designed for extension - needs to be abstract, final or empty. | 49 |
![]() |
javadoc | JavadocMethod | Missing a Javadoc comment. | 49 |
![]() |
misc | FinalParameters | Parameter index should be final. | 49 |
![]() |
misc | FinalParameters | Parameter count should be final. | 49 |
![]() |
regexp | RegexpSingleline | Line has trailing spaces. | 54 |
![]() |
blocks | RightCurly | '}' at column 9 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else or try/catch/finally). | 57 |