The following document contains the results of Checkstyle 6.2 with sun_checks.xml ruleset. 
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | LeftCurly | 9 | |
| RightCurly | 4 | ||
| coding | HiddenField | 5 | |
| MagicNumber | 1 | ||
| design | DesignForExtension | 31 | |
| imports | UnusedImports | 3 | |
| javadoc | JavadocMethod | 30 | |
| JavadocPackage | 2 | ||
| JavadocType | 8 | ||
| JavadocVariable | 21 | ||
| misc | FinalParameters | 26 | |
| naming | ConstantName | 4 | |
| regexp | RegexpSingleline
|
41 | |
| sizes | LineLength | 17 | |
| whitespace | WhitespaceAfter | 4 | |
| WhitespaceAround | 16 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | ||
| javadoc | JavadocType | Missing a Javadoc comment. | 6 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 7 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 8 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 9 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 10 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 11 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 12 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 13 | |
| design | DesignForExtension | Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 14 | |
| blocks | LeftCurly | '{' should have line break after. | 14 | |
| design | DesignForExtension | Method 'setId' is not designed for extension - needs to be abstract, final or empty. | 15 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 15 | |
| misc | FinalParameters | Parameter id should be final. | 15 | |
| coding | HiddenField | 'id' hides a field. | 15 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 18 | |
| design | DesignForExtension | Method 'getEventName' is not designed for extension - needs to be abstract, final or empty. | 19 | |
| blocks | LeftCurly | '{' should have line break after. | 19 | |
| design | DesignForExtension | Method 'setEventName' is not designed for extension - needs to be abstract, final or empty. | 20 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 20 | |
| misc | FinalParameters | Parameter eventName should be final. | 20 | |
| coding | HiddenField | 'eventName' hides a field. | 20 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 23 | |
| design | DesignForExtension | Method 'getVenueName' is not designed for extension - needs to be abstract, final or empty. | 24 | |
| blocks | LeftCurly | '{' should have line break after. | 24 | |
| design | DesignForExtension | Method 'setVenueName' is not designed for extension - needs to be abstract, final or empty. | 25 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 25 | |
| misc | FinalParameters | Parameter venueName should be final. | 25 | |
| coding | HiddenField | 'venueName' hides a field. | 25 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 28 | |
| design | DesignForExtension | Method 'getStartTime' is not designed for extension - needs to be abstract, final or empty. | 29 | |
| blocks | LeftCurly | '{' should have line break after. | 29 | |
| design | DesignForExtension | Method 'setStartTime' is not designed for extension - needs to be abstract, final or empty. | 30 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 30 | |
| misc | FinalParameters | Parameter startTime should be final. | 30 | |
| coding | HiddenField | 'startTime' hides a field. | 30 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 33 | |
| design | DesignForExtension | Method 'getNumTickets' is not designed for extension - needs to be abstract, final or empty. | 34 | |
| blocks | LeftCurly | '{' should have line break after. | 34 | |
| design | DesignForExtension | Method 'setNumTickets' is not designed for extension - needs to be abstract, final or empty. | 35 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 35 | |
| misc | FinalParameters | Parameter numTickets should be final. | 35 | |
| coding | HiddenField | 'numTickets' hides a field. | 35 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 38 | |
| design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 39 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | ||
| imports | UnusedImports | Unused import - javax.persistence.PersistenceContext. | 13 | |
| imports | UnusedImports | Unused import - org.myorg.jpatickets.bo.Seat. | 19 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 29 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 31 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 31 | |
| naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 31 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 32 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 34 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 35 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 36 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 37 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 38 | |
| design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 39 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 39 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 42 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 44 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 48 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 49 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 51 | |
| design | DesignForExtension | Method 'destroy' is not designed for extension - needs to be abstract, final or empty. | 52 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 52 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 54 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 56 | |
| design | DesignForExtension | Method 'createEvent' is not designed for extension - needs to be abstract, final or empty. | 58 | |
| sizes | LineLength | Line is longer than 80 characters (found 84). | 60 | |
| misc | FinalParameters | Parameter event should be final. | 60 | |
| misc | FinalParameters | Parameter venue should be final. | 60 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 63 | |
| design | DesignForExtension | Method 'getEvent' is not designed for extension - needs to be abstract, final or empty. | 64 | |
| misc | FinalParameters | Parameter id should be final. | 66 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 70 | |
| design | DesignForExtension | Method 'getEventCleansed' is not designed for extension - needs to be abstract, final or empty. | 71 | |
| misc | FinalParameters | Parameter id should be final. | 72 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 77 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 78 | |
| misc | FinalParameters | Parameter bo should be final. | 78 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 89 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 90 | |
| misc | FinalParameters | Parameter bo should be final. | 90 | |
| misc | FinalParameters | Parameter event should be final. | 90 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 97 | |
| design | DesignForExtension | Method 'getEventTouchedSome' is not designed for extension - needs to be abstract, final or empty. | 98 | |
| misc | FinalParameters | Parameter id should be final. | 99 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 106 | |
| design | DesignForExtension | Method 'getEventTouchedMore' is not designed for extension - needs to be abstract, final or empty. | 107 | |
| misc | FinalParameters | Parameter id should be final. | 108 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 111 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 119 | |
| design | DesignForExtension | Method 'getEventFetchedSome' is not designed for extension - needs to be abstract, final or empty. | 120 | |
| misc | FinalParameters | Parameter id should be final. | 121 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 126 | |
| design | DesignForExtension | Method 'getEventFetchedMore' is not designed for extension - needs to be abstract, final or empty. | 127 | |
| misc | FinalParameters | Parameter id should be final. | 128 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 133 | |
| design | DesignForExtension | Method 'getEventLazyDTO' is not designed for extension - needs to be abstract, final or empty. | 134 | |
| misc | FinalParameters | Parameter id should be final. | 135 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 140 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 141 | |
| misc | FinalParameters | Parameter event should be final. | 141 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 150 | |
| design | DesignForExtension | Method 'getEventFetchedDTO' is not designed for extension - needs to be abstract, final or empty. | 151 | |
| misc | FinalParameters | Parameter eventId should be final. | 152 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 157 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 158 | |
| misc | FinalParameters | Parameter dtoData should be final. | 158 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 170 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocType | Missing a Javadoc comment. | 10 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 12 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 13 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 14 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 15 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 16 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 17 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 18 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 19 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 20 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocType | Missing a Javadoc comment. | 20 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 23 | |
| coding | MagicNumber | '3' is a magic number. | 23 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 23 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 23 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 23 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 25 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 25 | |
| naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 25 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 26 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 27 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 29 | |
| design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 30 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 30 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 34 | |
| design | DesignForExtension | Method 'resetDB' is not designed for extension - needs to be abstract, final or empty. | 35 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 44 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocType | Missing a Javadoc comment. | 5 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 7 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocType | Missing a Javadoc comment. | 30 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 33 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 33 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 33 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 33 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 36 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 36 | |
| naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 36 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 37 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 38 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 39 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 39 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 39 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 41 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 42 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 44 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 45 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 46 | |
| design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 48 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 48 | |
| sizes | LineLength | Line is longer than 80 characters (found 97). | 53 | |
| sizes | LineLength | Line is longer than 80 characters (found 91). | 54 | |
| sizes | LineLength | Line is longer than 80 characters (found 115). | 55 | |
| sizes | LineLength | Line is longer than 80 characters (found 99). | 56 | |
| sizes | LineLength | Line is longer than 80 characters (found 95). | 57 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 64 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 65 | |
| misc | FinalParameters | Parameter script should be final. | 65 | |
| design | DesignForExtension | Method 'dropDB' is not designed for extension - needs to be abstract, final or empty. | 73 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 73 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 76 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 76 | |
| sizes | LineLength | Line is longer than 80 characters (found 86). | 83 | |
| sizes | LineLength | Line is longer than 80 characters (found 98). | 86 | |
| blocks | LeftCurly | '{' should have line break after. | 86 | |
| blocks | RightCurly | '}' should have line break before. | 86 | |
| blocks | LeftCurly | '{' should have line break after. | 86 | |
| blocks | RightCurly | '}' should have line break before. | 86 | |
| sizes | LineLength | Line is longer than 80 characters (found 87). | 87 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 96 | |
| design | DesignForExtension | Method 'createDB' is not designed for extension - needs to be abstract, final or empty. | 97 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 97 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 100 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 100 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 107 | |
| sizes | LineLength | Line is longer than 80 characters (found 90). | 112 | |
| blocks | LeftCurly | '{' should have line break after. | 112 | |
| blocks | RightCurly | '}' should have line break before. | 112 | |
| blocks | LeftCurly | '{' should have line break after. | 112 | |
| blocks | RightCurly | '}' should have line break before. | 112 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - javax.persistence.PersistenceContext. | 8 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 17 | |
| sizes | LineLength | Line is longer than 80 characters (found 85). | 19 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 19 | |
| naming | ConstantName | Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 19 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 20 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 22 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 23 | |
| javadoc | JavadocVariable | Missing a Javadoc comment. | 24 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 25 | |
| design | DesignForExtension | Method 'init' is not designed for extension - needs to be abstract, final or empty. | 26 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 26 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 29 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 32 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 32 | |
| whitespace | WhitespaceAfter | 'cast' is not followed by whitespace. | 33 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 35 | |
| design | DesignForExtension | Method 'destroy' is not designed for extension - needs to be abstract, final or empty. | 36 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 36 | |
| regexp | RegexpSingleline | Line has trailing spaces. | 38 | |
| design | DesignForExtension | Method 'createVenue' is not designed for extension - needs to be abstract, final or empty. | 41 | |
| sizes | LineLength | Line is longer than 80 characters (found 82). | 42 | |
| misc | FinalParameters | Parameter venue should be final. | 42 | |
| misc | FinalParameters | Parameter sections should be final. | 42 | |
| misc | FinalParameters | Parameter positions should be final. | 42 | |
| misc | FinalParameters | Parameter rows should be final. | 42 | |
| design | DesignForExtension | Method 'getVenue' is not designed for extension - needs to be abstract, final or empty. | 51 | |
| misc | FinalParameters | Parameter venueId should be final. | 52 |