Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
8 0 0 216

Rules

Category Rule Violations Severity
blocks LeftCurly 9  Error
coding HiddenField 5  Error
MagicNumber 1  Error
design DesignForExtension 31  Error
imports UnusedImports
  • processJavadoc: "false"
2  Error
javadoc JavadocMethod 30  Error
JavadocPackage 2  Error
JavadocType 8  Error
JavadocVariable 20  Error
misc FinalParameters 26  Error
naming ConstantName 4  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
41  Error
sizes LineLength 17  Error
whitespace WhitespaceAfter 4  Error
WhitespaceAround 16  Error

Details

org/myorg/jpatickets/dto/EventDTO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 6
 Error javadoc JavadocVariable Missing a Javadoc comment. 8
 Error javadoc JavadocVariable Missing a Javadoc comment. 9
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 11
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 14
 Error blocks LeftCurly '{' at column 24 should have line break after. 14
 Error design DesignForExtension Method 'setId' is not designed for extension - needs to be abstract, final or empty. 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 15
 Error misc FinalParameters Parameter id should be final. 15
 Error coding HiddenField 'id' hides a field. 15
 Error regexp RegexpSingleline Line has trailing spaces. 18
 Error design DesignForExtension Method 'getEventName' is not designed for extension - needs to be abstract, final or empty. 19
 Error blocks LeftCurly '{' at column 34 should have line break after. 19
 Error design DesignForExtension Method 'setEventName' is not designed for extension - needs to be abstract, final or empty. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error misc FinalParameters Parameter eventName should be final. 20
 Error coding HiddenField 'eventName' hides a field. 20
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error design DesignForExtension Method 'getVenueName' is not designed for extension - needs to be abstract, final or empty. 24
 Error blocks LeftCurly '{' at column 34 should have line break after. 24
 Error design DesignForExtension Method 'setVenueName' is not designed for extension - needs to be abstract, final or empty. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error misc FinalParameters Parameter venueName should be final. 25
 Error coding HiddenField 'venueName' hides a field. 25
 Error regexp RegexpSingleline Line has trailing spaces. 28
 Error design DesignForExtension Method 'getStartTime' is not designed for extension - needs to be abstract, final or empty. 29
 Error blocks LeftCurly '{' at column 32 should have line break after. 29
 Error design DesignForExtension Method 'setStartTime' 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 startTime should be final. 30
 Error coding HiddenField 'startTime' hides a field. 30
 Error regexp RegexpSingleline Line has trailing spaces. 33
 Error design DesignForExtension Method 'getNumTickets' is not designed for extension - needs to be abstract, final or empty. 34
 Error blocks LeftCurly '{' at column 32 should have line break after. 34
 Error design DesignForExtension Method 'setNumTickets' is not designed for extension - needs to be abstract, final or empty. 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error misc FinalParameters Parameter numTickets should be final. 35
 Error coding HiddenField 'numTickets' hides a field. 35
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 39

org/myorg/jpatickets/ejb/EventMgmtEJB.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - javax.persistence.PersistenceContext. 13
 Error javadoc JavadocType Missing a Javadoc comment. 28
 Error sizes LineLength Line is longer than 80 characters (found 85). 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error naming ConstantName Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 30
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error regexp RegexpSingleline Line has trailing spaces. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 38
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 43
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 47
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 48
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error design DesignForExtension Method 'destroy' is not designed for extension - needs to be abstract, final or empty. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error regexp RegexpSingleline Line has trailing spaces. 53
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error design DesignForExtension Method 'createEvent' is not designed for extension - needs to be abstract, final or empty. 57
 Error sizes LineLength Line is longer than 80 characters (found 84). 59
 Error misc FinalParameters Parameter event should be final. 59
 Error misc FinalParameters Parameter venue should be final. 59
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error design DesignForExtension Method 'getEvent' is not designed for extension - needs to be abstract, final or empty. 63
 Error misc FinalParameters Parameter id should be final. 65
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error design DesignForExtension Method 'getEventCleansed' is not designed for extension - needs to be abstract, final or empty. 70
 Error misc FinalParameters Parameter id should be final. 71
 Error regexp RegexpSingleline Line has trailing spaces. 76
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error misc FinalParameters Parameter bo should be final. 77
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error javadoc JavadocMethod Missing a Javadoc comment. 89
 Error misc FinalParameters Parameter bo should be final. 89
 Error misc FinalParameters Parameter event should be final. 89
 Error regexp RegexpSingleline Line has trailing spaces. 96
 Error design DesignForExtension Method 'getEventTouchedSome' is not designed for extension - needs to be abstract, final or empty. 97
 Error misc FinalParameters Parameter id should be final. 98
 Error regexp RegexpSingleline Line has trailing spaces. 105
 Error design DesignForExtension Method 'getEventTouchedMore' is not designed for extension - needs to be abstract, final or empty. 106
 Error misc FinalParameters Parameter id should be final. 107
 Error sizes LineLength Line is longer than 80 characters (found 85). 110
 Error regexp RegexpSingleline Line has trailing spaces. 118
 Error design DesignForExtension Method 'getEventFetchedSome' is not designed for extension - needs to be abstract, final or empty. 119
 Error misc FinalParameters Parameter id should be final. 120
 Error regexp RegexpSingleline Line has trailing spaces. 125
 Error design DesignForExtension Method 'getEventFetchedMore' is not designed for extension - needs to be abstract, final or empty. 126
 Error misc FinalParameters Parameter id should be final. 127
 Error regexp RegexpSingleline Line has trailing spaces. 132
 Error design DesignForExtension Method 'getEventLazyDTO' is not designed for extension - needs to be abstract, final or empty. 133
 Error misc FinalParameters Parameter id should be final. 134
 Error regexp RegexpSingleline Line has trailing spaces. 139
 Error javadoc JavadocMethod Missing a Javadoc comment. 140
 Error misc FinalParameters Parameter event should be final. 140
 Error regexp RegexpSingleline Line has trailing spaces. 149
 Error design DesignForExtension Method 'getEventFetchedDTO' is not designed for extension - needs to be abstract, final or empty. 150
 Error misc FinalParameters Parameter eventId should be final. 151
 Error regexp RegexpSingleline Line has trailing spaces. 156
 Error javadoc JavadocMethod Missing a Javadoc comment. 157
 Error misc FinalParameters Parameter dtoData should be final. 157
 Error regexp RegexpSingleline Line has trailing spaces. 169

org/myorg/jpatickets/ejb/EventMgmtRemote.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error javadoc JavadocMethod Missing a Javadoc comment. 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 16
 Error javadoc JavadocMethod Missing a Javadoc comment. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 20

org/myorg/jpatickets/ejb/TicketsInitEJB.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 20
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 23
 Error coding MagicNumber '3' is a magic number. 23
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 23
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 23
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 23
 Error sizes LineLength Line is longer than 80 characters (found 87). 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error naming ConstantName Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 25
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 30
 Error javadoc JavadocMethod Missing a Javadoc comment. 30
 Error regexp RegexpSingleline Line has trailing spaces. 34
 Error design DesignForExtension Method 'resetDB' is not designed for extension - needs to be abstract, final or empty. 35
 Error regexp RegexpSingleline Line has trailing spaces. 44

org/myorg/jpatickets/ejb/TicketsInitRemote.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 5
 Error javadoc JavadocMethod Missing a Javadoc comment. 7

org/myorg/jpatickets/ejb/TicketsInitTxEJB.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 30
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 33
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 33
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 33
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 33
 Error sizes LineLength Line is longer than 80 characters (found 87). 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error naming ConstantName Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 39
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 39
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 45
 Error javadoc JavadocVariable Missing a Javadoc comment. 46
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error sizes LineLength Line is longer than 80 characters (found 97). 53
 Error sizes LineLength Line is longer than 80 characters (found 91). 54
 Error sizes LineLength Line is longer than 80 characters (found 115). 55
 Error sizes LineLength Line is longer than 80 characters (found 99). 56
 Error sizes LineLength Line is longer than 80 characters (found 95). 57
 Error regexp RegexpSingleline Line has trailing spaces. 64
 Error javadoc JavadocMethod Missing a Javadoc comment. 65
 Error misc FinalParameters Parameter script should be final. 65
 Error design DesignForExtension Method 'dropDB' is not designed for extension - needs to be abstract, final or empty. 73
 Error javadoc JavadocMethod Missing a Javadoc comment. 73
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 76
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 76
 Error sizes LineLength Line is longer than 80 characters (found 86). 83
 Error sizes LineLength Line is longer than 80 characters (found 98). 86
 Error blocks LeftCurly '{' at column 25 should have line break after. 86
 Error blocks LeftCurly '{' at column 67 should have line break after. 86
 Error sizes LineLength Line is longer than 80 characters (found 87). 87
 Error regexp RegexpSingleline Line has trailing spaces. 96
 Error design DesignForExtension Method 'createDB' is not designed for extension - needs to be abstract, final or empty. 97
 Error javadoc JavadocMethod Missing a Javadoc comment. 97
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 100
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 100
 Error sizes LineLength Line is longer than 80 characters (found 82). 107
 Error sizes LineLength Line is longer than 80 characters (found 90). 112
 Error blocks LeftCurly '{' at column 17 should have line break after. 112
 Error blocks LeftCurly '{' at column 59 should have line break after. 112

org/myorg/jpatickets/ejb/VenueMgmtEJB.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - javax.persistence.PersistenceContext. 8
 Error javadoc JavadocType Missing a Javadoc comment. 17
 Error sizes LineLength Line is longer than 80 characters (found 85). 19
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error naming ConstantName Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 19
 Error regexp RegexpSingleline Line has trailing spaces. 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 22
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 26
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 32
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 32
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 33
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error design DesignForExtension Method 'destroy' is not designed for extension - needs to be abstract, final or empty. 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 36
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error design DesignForExtension Method 'createVenue' is not designed for extension - needs to be abstract, final or empty. 41
 Error sizes LineLength Line is longer than 80 characters (found 82). 42
 Error misc FinalParameters Parameter venue should be final. 42
 Error misc FinalParameters Parameter sections should be final. 42
 Error misc FinalParameters Parameter positions should be final. 42
 Error misc FinalParameters Parameter rows should be final. 42
 Error design DesignForExtension Method 'getVenue' is not designed for extension - needs to be abstract, final or empty. 51
 Error misc FinalParameters Parameter venueId should be final. 52

org/myorg/jpatickets/ejb/VenueMgmtRemote.java

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