Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
6 0 0 133

Rules

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

Details

ejava/examples/txagent/ejb/AgentReservationSessionEJB.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error regexp RegexpSingleline Line has trailing spaces. 45
 Error sizes LineLength Line is longer than 80 characters (found 96). 56
 Error javadoc JavadocVariable Missing a Javadoc comment. 56
 Error naming ConstantName Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 56
 Error regexp RegexpSingleline Line has trailing spaces. 57
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 61
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 61
 Error regexp RegexpSingleline Line has trailing spaces. 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 64
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 64
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 64
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error regexp RegexpSingleline Line has trailing spaces. 68
 Error regexp RegexpSingleline Line has trailing spaces. 70
 Error regexp RegexpSingleline Line has trailing spaces. 71
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error regexp RegexpSingleline Line has trailing spaces. 73
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 76
 Error regexp RegexpSingleline Line has trailing spaces. 79
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 87
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 89
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 90
 Error regexp RegexpSingleline Line has trailing spaces. 92
 Error regexp RegexpSingleline Line has trailing spaces. 94
 Error design DesignForExtension Method 'closing' is not designed for extension - needs to be abstract, final or empty. 97
 Error design DesignForExtension Method 'createBooking' is not designed for extension - needs to be abstract, final or empty. 102
 Error javadoc JavadocMethod Missing a Javadoc comment. 102
 Error regexp RegexpSingleline Line has trailing spaces. 103
 Error regexp RegexpSingleline Line has trailing spaces. 104
 Error regexp RegexpSingleline Line has trailing spaces. 106
 Error design DesignForExtension Method 'addReservation' is not designed for extension - needs to be abstract, final or empty. 106
 Error javadoc JavadocMethod Missing a Javadoc comment. 106
 Error misc FinalParameters Parameter person should be final. 106
 Error misc FinalParameters Parameter startDate should be final. 106
 Error misc FinalParameters Parameter endDate should be final. 106
 Error regexp RegexpSingleline Line has trailing spaces. 108
 Error design DesignForExtension Method 'cancelBooking' is not designed for extension - needs to be abstract, final or empty. 111
 Error javadoc JavadocMethod Missing a Javadoc comment. 111
 Error regexp RegexpSingleline Line has trailing spaces. 112
 Error regexp RegexpSingleline Line has trailing spaces. 114
 Error javadoc JavadocMethod Expected an @return tag. 125
 Error design DesignForExtension Method 'commit' is not designed for extension - needs to be abstract, final or empty. 125
 Error javadoc JavadocMethod Expected @throws tag for 'AgentReservationException'. 126
 Error regexp RegexpSingleline Line has trailing spaces. 129
 Error design DesignForExtension Method 'close' is not designed for extension - needs to be abstract, final or empty. 130
 Error javadoc JavadocMethod Missing a Javadoc comment. 130
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 130
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 130
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 132
 Error regexp RegexpSingleline Line has trailing spaces. 135
 Error design DesignForExtension Method 'afterBegin' is not designed for extension - needs to be abstract, final or empty. 140
 Error regexp RegexpSingleline Line has trailing spaces. 141
 Error regexp RegexpSingleline Line has trailing spaces. 144
 Error design DesignForExtension Method 'beforeCompletion' is not designed for extension - needs to be abstract, final or empty. 147
 Error javadoc JavadocMethod Expected @throws tag for 'EJBException'. 147
 Error javadoc JavadocMethod Expected @throws tag for 'RemoteException'. 147
 Error regexp RegexpSingleline Line has trailing spaces. 148
 Error whitespace OperatorWrap '+' should be on a new line. 148
 Error regexp RegexpSingleline Line has trailing spaces. 150
 Error regexp RegexpSingleline Line has trailing spaces. 152
 Error design DesignForExtension Method 'afterCompletion' is not designed for extension - needs to be abstract, final or empty. 155
 Error misc FinalParameters Parameter status should be final. 155
 Error javadoc JavadocMethod Expected @param tag for 'status'. 155
 Error regexp RegexpSingleline Line has trailing spaces. 156

ejava/examples/txagent/ejb/AgentReservationSessionLocal.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 7

ejava/examples/txagent/ejb/AgentReservationSessionRemote.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 7

ejava/examples/txagent/ejb/BookingAgentEJB.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error regexp RegexpSingleline Line has trailing spaces. 30
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error sizes LineLength Line is longer than 80 characters (found 85). 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error naming ConstantName Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 38
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 40
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 40
 Error sizes LineLength Line is longer than 80 characters (found 123). 41
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 44
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 44
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error javadoc JavadocVariable Missing a Javadoc comment. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 51
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 58
 Error regexp RegexpSingleline Line has trailing spaces. 61
 Error regexp RegexpSingleline Line has trailing spaces. 66
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 69
 Error blocks RightCurly '}' at column 10 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 regexp RegexpSingleline Line has trailing spaces. 81
 Error sizes LineLength Line is longer than 80 characters (found 85). 84
 Error sizes LineLength Line is longer than 80 characters (found 94). 85
 Error sizes LineLength Line is longer than 80 characters (found 89). 86
 Error sizes LineLength Line is longer than 80 characters (found 82). 87
 Error blocks RightCurly '}' at column 11 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 regexp RegexpSingleline Line has trailing spaces. 95
 Error blocks RightCurly '}' at column 10 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). 98
 Error blocks LeftCurly '{' at column 31 should have line break after. 99
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 99
 Error regexp RegexpSingleline Line has trailing spaces. 101
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 104
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 106
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 107
 Error regexp RegexpSingleline Line has trailing spaces. 109
 Error regexp RegexpSingleline Line has trailing spaces. 112
 Error design DesignForExtension Method 'close' is not designed for extension - needs to be abstract, final or empty. 115
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 118
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 118
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 119
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 119
 Error regexp RegexpSingleline Line has trailing spaces. 120
 Error regexp RegexpSingleline Line has trailing spaces. 122
 Error design DesignForExtension Method 'getBookingByConfirmation' is not designed for extension - needs to be abstract, final or empty. 122
 Error javadoc JavadocMethod Missing a Javadoc comment. 122
 Error misc FinalParameters Parameter confirmation should be final. 122
 Error regexp RegexpSingleline Line has trailing spaces. 127
 Error design DesignForExtension Method 'getBookings' is not designed for extension - needs to be abstract, final or empty. 127
 Error javadoc JavadocMethod Missing a Javadoc comment. 127
 Error misc FinalParameters Parameter index should be final. 127
 Error misc FinalParameters Parameter count should be final. 127
 Error regexp RegexpSingleline Line has trailing spaces. 132
 Error design DesignForExtension Method 'cleanupBooking' is not designed for extension - needs to be abstract, final or empty. 132
 Error javadoc JavadocMethod Missing a Javadoc comment. 132
 Error misc FinalParameters Parameter confirmation should be final. 132

ejava/examples/txagent/ejb/BookingAgentLocal.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 7

ejava/examples/txagent/ejb/BookingAgentRemote.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 7