Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
6 0 0 131

Rules

Category Rule Violations Severity
blocks LeftCurly 1  Error
RightCurly 4  Error
design DesignForExtension 15  Error
javadoc JavadocMethod 12  Error
JavadocPackage 1  Error
JavadocType 4  Error
JavadocVariable 10  Error
misc FinalParameters 8  Error
naming ConstantName 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
47  Error
sizes LineLength 5  Error
whitespace FileTabCharacter 2  Error
OperatorWrap 1  Error
WhitespaceAfter 6  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 regexp RegexpSingleline Line has trailing spaces. 58
 Error javadoc JavadocVariable Missing a Javadoc comment. 58
 Error naming ConstantName Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 58
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 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 regexp RegexpSingleline Line has trailing spaces. 66
 Error javadoc JavadocVariable Missing a Javadoc comment. 67
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 67
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 67
 Error javadoc JavadocVariable Missing a Javadoc comment. 70
 Error regexp RegexpSingleline Line has trailing spaces. 71
 Error regexp RegexpSingleline Line has trailing spaces. 73
 Error regexp RegexpSingleline Line has trailing spaces. 74
 Error regexp RegexpSingleline Line has trailing spaces. 75
 Error regexp RegexpSingleline Line has trailing spaces. 76
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 79
 Error regexp RegexpSingleline Line has trailing spaces. 82
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 90
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 92
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 93
 Error regexp RegexpSingleline Line has trailing spaces. 95
 Error regexp RegexpSingleline Line has trailing spaces. 97
 Error design DesignForExtension Method 'closing' is not designed for extension - needs to be abstract, final or empty. 100
 Error design DesignForExtension Method 'createBooking' is not designed for extension - needs to be abstract, final or empty. 105
 Error javadoc JavadocMethod Missing a Javadoc comment. 105
 Error regexp RegexpSingleline Line has trailing spaces. 106
 Error regexp RegexpSingleline Line has trailing spaces. 107
 Error regexp RegexpSingleline Line has trailing spaces. 109
 Error design DesignForExtension Method 'addReservation' is not designed for extension - needs to be abstract, final or empty. 109
 Error javadoc JavadocMethod Missing a Javadoc comment. 109
 Error misc FinalParameters Parameter person should be final. 109
 Error misc FinalParameters Parameter startDate should be final. 109
 Error misc FinalParameters Parameter endDate should be final. 109
 Error regexp RegexpSingleline Line has trailing spaces. 111
 Error design DesignForExtension Method 'cancelBooking' is not designed for extension - needs to be abstract, final or empty. 114
 Error javadoc JavadocMethod Missing a Javadoc comment. 114
 Error regexp RegexpSingleline Line has trailing spaces. 115
 Error regexp RegexpSingleline Line has trailing spaces. 117
 Error javadoc JavadocMethod Expected an @return tag. 128
 Error design DesignForExtension Method 'commit' is not designed for extension - needs to be abstract, final or empty. 128
 Error javadoc JavadocMethod Expected @throws tag for 'AgentReservationException'. 129
 Error regexp RegexpSingleline Line has trailing spaces. 132
 Error design DesignForExtension Method 'close' is not designed for extension - needs to be abstract, final or empty. 133
 Error javadoc JavadocMethod Missing a Javadoc comment. 133
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 133
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 133
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 135
 Error regexp RegexpSingleline Line has trailing spaces. 138
 Error design DesignForExtension Method 'afterBegin' is not designed for extension - needs to be abstract, final or empty. 143
 Error regexp RegexpSingleline Line has trailing spaces. 144
 Error regexp RegexpSingleline Line has trailing spaces. 147
 Error design DesignForExtension Method 'beforeCompletion' is not designed for extension - needs to be abstract, final or empty. 150
 Error javadoc JavadocMethod Expected @throws tag for 'EJBException'. 150
 Error javadoc JavadocMethod Expected @throws tag for 'RemoteException'. 150
 Error regexp RegexpSingleline Line has trailing spaces. 151
 Error whitespace OperatorWrap '+' should be on a new line. 151
 Error regexp RegexpSingleline Line has trailing spaces. 153
 Error regexp RegexpSingleline Line has trailing spaces. 155
 Error design DesignForExtension Method 'afterCompletion' is not designed for extension - needs to be abstract, final or empty. 158
 Error misc FinalParameters Parameter status should be final. 158
 Error javadoc JavadocMethod Expected @param tag for 'status'. 158
 Error regexp RegexpSingleline Line has trailing spaces. 159

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 regexp RegexpSingleline Line has trailing spaces. 30
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 41
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 41
 Error sizes LineLength Line is longer than 80 characters (found 123). 42
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 45
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 45
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 48
 Error javadoc JavadocVariable Missing a Javadoc comment. 52
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 59
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error regexp RegexpSingleline Line has trailing spaces. 67
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 70
 Error blocks RightCurly '}' should be on the same line. 81
 Error regexp RegexpSingleline Line has trailing spaces. 82
 Error sizes LineLength Line is longer than 80 characters (found 85). 85
 Error sizes LineLength Line is longer than 80 characters (found 94). 86
 Error sizes LineLength Line is longer than 80 characters (found 89). 87
 Error sizes LineLength Line is longer than 80 characters (found 82). 88
 Error blocks RightCurly '}' should be on the same line. 95
 Error regexp RegexpSingleline Line has trailing spaces. 96
 Error blocks RightCurly '}' should be on the same line. 99
 Error blocks LeftCurly '{' should have line break after. 100
 Error blocks RightCurly '}' should have line break before. 100
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 105
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 107
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 108
 Error regexp RegexpSingleline Line has trailing spaces. 110
 Error regexp RegexpSingleline Line has trailing spaces. 113
 Error design DesignForExtension Method 'close' is not designed for extension - needs to be abstract, final or empty. 116
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 119
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 119
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 120
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 120
 Error regexp RegexpSingleline Line has trailing spaces. 121
 Error regexp RegexpSingleline Line has trailing spaces. 123
 Error design DesignForExtension Method 'getBookingByConfirmation' is not designed for extension - needs to be abstract, final or empty. 123
 Error javadoc JavadocMethod Missing a Javadoc comment. 123
 Error misc FinalParameters Parameter confirmation should be final. 123
 Error regexp RegexpSingleline Line has trailing spaces. 128
 Error design DesignForExtension Method 'getBookings' is not designed for extension - needs to be abstract, final or empty. 128
 Error javadoc JavadocMethod Missing a Javadoc comment. 128
 Error misc FinalParameters Parameter index should be final. 128
 Error misc FinalParameters Parameter count should be final. 128
 Error regexp RegexpSingleline Line has trailing spaces. 133
 Error design DesignForExtension Method 'cleanupBooking' is not designed for extension - needs to be abstract, final or empty. 133
 Error javadoc JavadocMethod Missing a Javadoc comment. 133
 Error misc FinalParameters Parameter confirmation should be final. 133

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 JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 7