Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
3 0 0 77

Rules

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

Details

ejava/examples/webtier/dao/StudentDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 8
 Error javadoc JavadocMethod Missing a Javadoc comment. 9
 Error modifier RedundantModifier Redundant 'public' modifier. 9
 Error javadoc JavadocMethod Missing a Javadoc comment. 10
 Error modifier RedundantModifier Redundant 'public' modifier. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 11
 Error modifier RedundantModifier Redundant 'public' modifier. 11
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error modifier RedundantModifier Redundant 'public' modifier. 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error modifier RedundantModifier Redundant 'public' modifier. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error modifier RedundantModifier Redundant 'public' modifier. 14
 Error sizes LineLength Line is longer than 80 characters (found 97). 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 15
 Error modifier RedundantModifier Redundant 'public' modifier. 15
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 15

ejava/examples/webtier/dao/StudentDAOException.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 3
 Error javadoc JavadocMethod Missing a Javadoc comment. 5
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 5
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 5
 Error misc FinalParameters Parameter message should be final. 6
 Error blocks LeftCurly '{' at column 48 should have line break after. 6
 Error regexp RegexpSingleline Line has trailing spaces. 7
 Error javadoc JavadocMethod Missing a Javadoc comment. 7
 Error misc FinalParameters Parameter message should be final. 7
 Error misc FinalParameters Parameter th should be final. 7
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 10
 Error misc FinalParameters Parameter th should be final. 10
 Error regexp RegexpSingleline Line has trailing spaces. 11

ejava/examples/webtier/jpa/StudentJPADAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error design DesignForExtension Method 'setEntityManager' is not designed for extension - needs to be abstract, final or empty. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error misc FinalParameters Parameter em should be final. 20
 Error coding HiddenField 'em' hides a field. 20
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error design DesignForExtension Method 'create' is not designed for extension - needs to be abstract, final or empty. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 24
 Error misc FinalParameters Parameter student should be final. 24
 Error design DesignForExtension Method 'find' is not designed for extension - needs to be abstract, final or empty. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error misc FinalParameters Parameter index should be final. 30
 Error misc FinalParameters Parameter count should be final. 30
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 33
 Error design DesignForExtension Method 'find' is not designed for extension - needs to be abstract, final or empty. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 38
 Error misc FinalParameters Parameter name should be final. 40
 Error misc FinalParameters Parameter args should be final. 40
 Error misc FinalParameters Parameter index should be final. 40
 Error misc FinalParameters Parameter count should be final. 40
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error whitespace OperatorWrap '+' should be on a new line. 41
 Error whitespace WhitespaceAround '!=' is not preceded with whitespace. 44
 Error whitespace WhitespaceAround '!=' is not followed by whitespace. 44
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 45
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 45
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 45
 Error design DesignForExtension Method 'find' is not designed for extension - needs to be abstract, final or empty. 58
 Error javadoc JavadocMethod Missing a Javadoc comment. 58
 Error misc FinalParameters Parameter name should be final. 58
 Error misc FinalParameters Parameter index should be final. 58
 Error misc FinalParameters Parameter count should be final. 58
 Error design DesignForExtension Method 'get' is not designed for extension - needs to be abstract, final or empty. 62
 Error javadoc JavadocMethod Missing a Javadoc comment. 62
 Error misc FinalParameters Parameter id should be final. 62
 Error design DesignForExtension Method 'remove' is not designed for extension - needs to be abstract, final or empty. 66
 Error javadoc JavadocMethod Missing a Javadoc comment. 66
 Error misc FinalParameters Parameter student should be final. 66
 Error design DesignForExtension Method 'update' is not designed for extension - needs to be abstract, final or empty. 71
 Error javadoc JavadocMethod Missing a Javadoc comment. 71
 Error misc FinalParameters Parameter student should be final. 71