Checkstyle Results

The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
4 0 0 80

Rules

Category Rule Violations Severity
blocks LeftCurly 5  Error
RightCurly 3  Error
coding HiddenField 2  Error
design DesignForExtension 6  Error
javadoc JavadocMethod 9  Error
JavadocPackage 3  Error
JavadocType 3  Error
JavadocVariable 3  Error
misc FinalParameters 10  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
10  Error
sizes LineLength 1  Error
whitespace FileTabCharacter 4  Error
OperatorWrap 6  Error
WhitespaceAfter 1  Error
WhitespaceAround 14  Error

Details

ejava/projects/esales/dao/AccountDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 7
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 8
 Error javadoc JavadocMethod Missing a Javadoc comment. 8
 Error javadoc JavadocMethod Missing a Javadoc comment. 10

ejava/projects/esales/dao/AccountDAOException.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 3
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 4
 Error regexp RegexpSingleline Line has trailing spaces. 6
 Error javadoc JavadocMethod Missing a Javadoc comment. 6
 Error misc FinalParameters Parameter message should be final. 6
 Error misc FinalParameters Parameter th should be final. 6
 Error regexp RegexpSingleline Line has trailing spaces. 7

ejava/projects/esales/jdbc/JDBCAccountDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 19
 Error sizes LineLength Line is longer than 80 characters (found 82). 20
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error design DesignForExtension Method 'setConnection' 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 connection should be final. 23
 Error coding HiddenField 'connection' hides a field. 23
 Error design DesignForExtension Method 'createAccount' is not designed for extension - needs to be abstract, final or empty. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error misc FinalParameters Parameter account should be final. 27
 Error whitespace OperatorWrap '+' should be on a new line. 35
 Error whitespace OperatorWrap '+' should be on a new line. 36
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error whitespace OperatorWrap '+' should be on a new line. 43
 Error whitespace OperatorWrap '+' should be on a new line. 44
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error whitespace OperatorWrap '+' should be on a new line. 48
 Error whitespace OperatorWrap '+' should be on a new line. 49
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error regexp RegexpSingleline Line has trailing spaces. 67
 Error blocks RightCurly '}' at column 13 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). 72
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 75
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 75
 Error blocks RightCurly '}' at column 13 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). 76
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 79
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 79
 Error blocks RightCurly '}' at column 13 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). 80
 Error blocks LeftCurly '{' at column 25 should have line break after. 82
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 82
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 82
 Error blocks LeftCurly '{' at column 25 should have line break after. 83
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 83
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 83
 Error blocks LeftCurly '{' at column 25 should have line break after. 84
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 84
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 84
 Error blocks LeftCurly '{' at column 25 should have line break after. 85
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 85
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 85
 Error blocks LeftCurly '{' at column 25 should have line break after. 86
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 86
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 86
 Error design DesignForExtension Method 'getAccounts' is not designed for extension - needs to be abstract, final or empty. 90
 Error javadoc JavadocMethod Missing a Javadoc comment. 90
 Error misc FinalParameters Parameter index should be final. 90
 Error misc FinalParameters Parameter count should be final. 90

ejava/projects/esales/jpa/JPAAccountDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error design DesignForExtension Method 'setEntityManager' is not designed for extension - needs to be abstract, final or empty. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error misc FinalParameters Parameter em should be final. 18
 Error coding HiddenField 'em' hides a field. 18
 Error design DesignForExtension Method 'createAccount' is not designed for extension - needs to be abstract, final or empty. 22
 Error javadoc JavadocMethod Missing a Javadoc comment. 22
 Error misc FinalParameters Parameter account should be final. 22
 Error design DesignForExtension Method 'getAccounts' is not designed for extension - needs to be abstract, final or empty. 26
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error misc FinalParameters Parameter index should be final. 27
 Error misc FinalParameters Parameter count should be final. 27
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 28