Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
7 0 0 142

Rules

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

Details

ejava/projects/edmv/dao/DAOException.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error misc FinalParameters Parameter message should be final. 9
 Error blocks LeftCurly '{' at column 41 should have line break after. 9
 Error misc FinalParameters Parameter message should be final. 10
 Error misc FinalParameters Parameter ex should be final. 10
 Error blocks LeftCurly '{' at column 55 should have line break after. 10

ejava/projects/edmv/dao/PersonDAO.java

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

ejava/projects/edmv/dao/VehicleDAO.java

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

ejava/projects/edmv/jdbc/JDBCPersonDAO.java

Severity Category Rule Message Line
 Error sizes LineLength Line is longer than 80 characters (found 81). 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. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error misc FinalParameters Parameter connection should be final. 27
 Error coding HiddenField 'connection' hides a field. 27
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error design DesignForExtension Method 'createPerson' is not designed for extension - needs to be abstract, final or empty. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error misc FinalParameters Parameter person should be final. 31
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error whitespace OperatorWrap '+' should be on a new line. 39
 Error whitespace OperatorWrap '+' should be on a new line. 40
 Error regexp RegexpSingleline Line has trailing spaces. 44
 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). 56
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 59
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 59
 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). 60
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 63
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 63
 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). 64
 Error blocks LeftCurly '{' at column 8 should have line break after. 66
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 66
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 66
 Error blocks LeftCurly '{' at column 8 should have line break after. 67
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 67
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 67
 Error blocks LeftCurly '{' at column 8 should have line break after. 68
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 68
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 68
 Error design DesignForExtension Method 'getPerson' is not designed for extension - needs to be abstract, final or empty. 72
 Error javadoc JavadocMethod Missing a Javadoc comment. 72
 Error misc FinalParameters Parameter id should be final. 72
 Error regexp RegexpSingleline Line has trailing spaces. 76
 Error design DesignForExtension Method 'getPeople' is not designed for extension - needs to be abstract, final or empty. 77
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter index should be final. 77
 Error misc FinalParameters Parameter count should be final. 77

ejava/projects/edmv/jdbc/JDBCVehicleDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error regexp RegexpSingleline Line has trailing spaces. 20
 Error sizes LineLength Line is longer than 80 characters (found 82). 25
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error design DesignForExtension Method 'setConnection' is not designed for extension - needs to be abstract, final or empty. 28
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error misc FinalParameters Parameter connection should be final. 28
 Error coding HiddenField 'connection' hides a field. 28
 Error regexp RegexpSingleline Line has trailing spaces. 32
 Error design DesignForExtension Method 'createRegistration' 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 registration should be final. 32
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error whitespace OperatorWrap '+' should be on a new line. 40
 Error whitespace OperatorWrap '+' should be on a new line. 41
 Error regexp RegexpSingleline Line has trailing spaces. 45
 Error 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). 59
 Error sizes LineLength Line is longer than 80 characters (found 84). 62
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 62
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 62
 Error blocks LeftCurly '{' at column 9 should have line break after. 64
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 64
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 64
 Error regexp RegexpSingleline Line has trailing spaces. 66
 Error whitespace OperatorWrap '+' should be on a new line. 72
 Error whitespace OperatorWrap '+' should be on a new line. 73
 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). 79
 Error sizes LineLength Line is longer than 80 characters (found 82). 82
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 82
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 82
 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). 83
 Error blocks LeftCurly '{' at column 8 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 8 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 blocks LeftCurly '{' at column 8 should have line break after. 87
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 87
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 87
 Error design DesignForExtension Method 'getRegistrations' is not designed for extension - needs to be abstract, final or empty. 91
 Error javadoc JavadocMethod Missing a Javadoc comment. 91
 Error misc FinalParameters Parameter index should be final. 91
 Error misc FinalParameters Parameter count should be final. 91

ejava/projects/edmv/jpa/JPAPersonDAO.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 'createPerson' 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 person should be final. 22
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error design DesignForExtension Method 'getPerson' 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 id should be final. 26
 Error design DesignForExtension Method 'getPeople' is not designed for extension - needs to be abstract, final or empty. 30
 Error javadoc JavadocMethod Missing a Javadoc comment. 30
 Error misc FinalParameters Parameter index should be final. 31
 Error misc FinalParameters Parameter count should be final. 31
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 32

ejava/projects/edmv/jpa/JPAVehicleDAO.java

Severity Category Rule Message Line
 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 'createRegistration' 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 registration should be final. 22
 Error design DesignForExtension Method 'getRegistrations' 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