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 10  Error
JavadocPackage 3  Error
JavadocStyle 1  Error
JavadocVariable 3  Error
misc FinalParameters 11  Error
NewlineAtEndOfFile 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
14  Error
sizes LineLength 1  Error
whitespace FileTabCharacter 4  Error
OperatorWrap 2  Error
WhitespaceAround 14  Error

Details

ejava/projects/eleague/dao/ClubDAO.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). 12
 Error regexp RegexpSingleline Line has trailing spaces. 18
 Error javadoc JavadocMethod Expected @param tag for 'venue'. 18
 Error javadoc JavadocMethod Expected @throws tag for 'ClubDAOException'. 19
 Error regexp RegexpSingleline Line has trailing spaces. 20
 Error javadoc JavadocMethod Expected an @return tag. 28
 Error javadoc JavadocMethod Expected @param tag for 'start'. 28
 Error javadoc JavadocMethod Expected @param tag for 'count'. 28
 Error javadoc JavadocMethod Expected @throws tag for 'ClubDAOException'. 29

ejava/projects/eleague/dao/ClubDAOException.java

Severity Category Rule Message Line
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 10
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error javadoc JavadocMethod Missing a Javadoc comment. 11
 Error misc FinalParameters Parameter message should be final. 11
 Error regexp RegexpSingleline Line has trailing spaces. 12
 Error regexp RegexpSingleline Line has trailing spaces. 14
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error misc FinalParameters Parameter message should be final. 14
 Error misc FinalParameters Parameter th should be final. 14
 Error regexp RegexpSingleline Line has trailing spaces. 15

ejava/projects/eleague/jdbc/JDBCClubDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error sizes LineLength Line is longer than 80 characters (found 82). 24
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error design DesignForExtension Method 'setConnection' is not designed for extension - needs to be abstract, final or empty. 31
 Error misc FinalParameters Parameter connection should be final. 31
 Error coding HiddenField 'connection' hides a field. 31
 Error javadoc JavadocMethod Expected @param tag for 'connection'. 31
 Error design DesignForExtension Method 'createVenue' is not designed for extension - needs to be abstract, final or empty. 35
 Error misc FinalParameters Parameter venue should be final. 36
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error whitespace OperatorWrap '+' should be on a new line. 50
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error regexp RegexpSingleline Line has trailing spaces. 67
 Error whitespace OperatorWrap '+' should be on a new line. 69
 Error regexp RegexpSingleline Line has trailing spaces. 74
 Error 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). 86
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 89
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 89
 Error 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). 90
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 93
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 93
 Error 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). 94
 Error blocks LeftCurly '{' at column 8 should have line break after. 96
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 96
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 96
 Error blocks LeftCurly '{' at column 8 should have line break after. 97
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 97
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 97
 Error blocks LeftCurly '{' at column 8 should have line break after. 98
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 98
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 98
 Error blocks LeftCurly '{' at column 8 should have line break after. 99
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 99
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 99
 Error blocks LeftCurly '{' at column 8 should have line break after. 100
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 100
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 100
 Error javadoc JavadocStyle First sentence should end with a period. 104
 Error design DesignForExtension Method 'getVenues' is not designed for extension - needs to be abstract, final or empty. 107
 Error misc FinalParameters Parameter index should be final. 108
 Error misc FinalParameters Parameter count should be final. 108

ejava/projects/eleague/jpa/JPAClubDAO.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 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. 22
 Error misc FinalParameters Parameter em should be final. 22
 Error coding HiddenField 'em' hides a field. 22
 Error javadoc JavadocMethod Expected @param tag for 'em'. 22
 Error design DesignForExtension Method 'createVenue' is not designed for extension - needs to be abstract, final or empty. 26
 Error misc FinalParameters Parameter venue should be final. 27
 Error design DesignForExtension Method 'getVenues' is not designed for extension - needs to be abstract, final or empty. 31
 Error regexp RegexpSingleline Line has trailing spaces. 32
 Error misc FinalParameters Parameter index should be final. 32
 Error misc FinalParameters Parameter count should be final. 32