Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
3 0 0 117

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
coding HiddenField 18  Error
design DesignForExtension 17  Error
imports AvoidStarImport 1  Error
javadoc JavadocMethod 26  Error
JavadocPackage 1  Error
JavadocType 3  Error
JavadocVariable 11  Error
misc FinalParameters 22  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
7  Error
whitespace OperatorWrap 1  Error
WhitespaceAround 8  Error

Details

ejava/examples/webtier/bo/Grade.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 8
 Error javadoc JavadocVariable Missing a Javadoc comment. 9
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 11
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error javadoc JavadocVariable Missing a Javadoc comment. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 15
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 15
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 16
 Error misc FinalParameters Parameter id should be final. 16
 Error coding HiddenField 'id' hides a field. 16
 Error javadoc JavadocMethod Missing a Javadoc comment. 19
 Error misc FinalParameters Parameter id should be final. 19
 Error coding HiddenField 'id' hides a field. 19
 Error misc FinalParameters Parameter course should be final. 19
 Error coding HiddenField 'course' hides a field. 19
 Error misc FinalParameters Parameter semester should be final. 19
 Error coding HiddenField 'semester' hides a field. 19
 Error misc FinalParameters Parameter grade should be final. 19
 Error coding HiddenField 'grade' hides a field. 19
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 26
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error misc FinalParameters Parameter id should be final. 29
 Error coding HiddenField 'id' hides a field. 29
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error design DesignForExtension Method 'getCourse' is not designed for extension - needs to be abstract, final or empty. 32
 Error javadoc JavadocMethod Missing a Javadoc comment. 32
 Error design DesignForExtension Method 'setCourse' is not designed for extension - needs to be abstract, final or empty. 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error misc FinalParameters Parameter course should be final. 35
 Error coding HiddenField 'course' hides a field. 35
 Error design DesignForExtension Method 'getGrade' is not designed for extension - needs to be abstract, final or empty. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 38
 Error design DesignForExtension Method 'setGrade' is not designed for extension - needs to be abstract, final or empty. 41
 Error javadoc JavadocMethod Missing a Javadoc comment. 41
 Error misc FinalParameters Parameter grade should be final. 41
 Error coding HiddenField 'grade' hides a field. 41
 Error design DesignForExtension Method 'getSemester' is not designed for extension - needs to be abstract, final or empty. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error design DesignForExtension Method 'setSemester' is not designed for extension - needs to be abstract, final or empty. 47
 Error javadoc JavadocMethod Missing a Javadoc comment. 47
 Error misc FinalParameters Parameter semester should be final. 47
 Error coding HiddenField 'semester' hides a field. 47
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error whitespace OperatorWrap '+' should be on a new line. 57

ejava/examples/webtier/bo/Person.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - javax.persistence.*. 5
 Error javadoc JavadocType Missing a Javadoc comment. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 9
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 11
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 14
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 14
 Error misc FinalParameters Parameter id should be final. 15
 Error coding HiddenField 'id' hides a field. 15
 Error blocks LeftCurly '{' should have line break after. 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 16
 Error misc FinalParameters Parameter id should be final. 16
 Error coding HiddenField 'id' hides a field. 16
 Error misc FinalParameters Parameter firstName should be final. 16
 Error coding HiddenField 'firstName' hides a field. 16
 Error misc FinalParameters Parameter lastName should be final. 16
 Error coding HiddenField 'lastName' hides a field. 16
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 21
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error misc FinalParameters Parameter id should be final. 25
 Error coding HiddenField 'id' hides a field. 25
 Error design DesignForExtension Method 'getFirstName' is not designed for extension - needs to be abstract, final or empty. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error design DesignForExtension Method 'setFirstName' is not designed for extension - needs to be abstract, final or empty. 32
 Error javadoc JavadocMethod Missing a Javadoc comment. 32
 Error misc FinalParameters Parameter firstName should be final. 32
 Error coding HiddenField 'firstName' hides a field. 32
 Error design DesignForExtension Method 'getLastName' is not designed for extension - needs to be abstract, final or empty. 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error design DesignForExtension Method 'setLastName' 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 lastName should be final. 38
 Error coding HiddenField 'lastName' hides a field. 38
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 41
 Error javadoc JavadocMethod Missing a Javadoc comment. 41

ejava/examples/webtier/bo/Student.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 6
 Error javadoc JavadocVariable Missing a Javadoc comment. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 8
 Error regexp RegexpSingleline Line has trailing spaces. 9
 Error javadoc JavadocMethod Missing a Javadoc comment. 10
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 10
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 10
 Error misc FinalParameters Parameter id should be final. 11
 Error blocks LeftCurly '{' should have line break after. 11
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error misc FinalParameters Parameter id should be final. 13
 Error misc FinalParameters Parameter firstName should be final. 13
 Error misc FinalParameters Parameter lastName should be final. 13
 Error misc FinalParameters Parameter grades should be final. 13
 Error coding HiddenField 'grades' hides a field. 13
 Error design DesignForExtension Method 'getGrades' is not designed for extension - needs to be abstract, final or empty. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error design DesignForExtension Method 'setGrades' is not designed for extension - needs to be abstract, final or empty. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error misc FinalParameters Parameter grades should be final. 21
 Error coding HiddenField 'grades' hides a field. 21
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error regexp RegexpSingleline Line has trailing spaces. 30