Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
11 0 0 420

Rules

Category Rule Violations Severity
blocks LeftCurly 7  Error
RightCurly 11  Error
coding AvoidInlineConditionals 1  Error
HiddenField 25  Error
MagicNumber 1  Error
design DesignForExtension 56  Error
VisibilityModifier 1  Error
javadoc JavadocMethod 99  Error
JavadocPackage 5  Error
JavadocType 10  Error
JavadocVariable 34  Error
misc FinalParameters 70  Error
NewlineAtEndOfFile 1  Error
naming ConstantName 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
61  Error
sizes LineLength 5  Error
whitespace FileTabCharacter 3  Error
OperatorWrap 3  Error
WhitespaceAfter 11  Error
WhitespaceAround 15  Error

Details

ejava/examples/ejbsessionbank/bl/BankException.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 3
 Error javadoc JavadocVariable Missing a Javadoc comment. 4
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error javadoc JavadocMethod Missing a Javadoc comment. 5
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 5
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 5
 Error misc FinalParameters Parameter ex should be final. 6
 Error blocks LeftCurly '{' should have line break after. 6
 Error misc FinalParameters Parameter msg should be final. 7
 Error blocks LeftCurly '{' should have line break after. 7
 Error misc FinalParameters Parameter msg should be final. 8
 Error misc FinalParameters Parameter ex should be final. 8
 Error blocks LeftCurly '{' should have line break after. 8

ejava/examples/ejbsessionbank/bl/Teller.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 9
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 10
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error javadoc JavadocMethod Missing a Javadoc comment. 11
 Error regexp RegexpSingleline Line has trailing spaces. 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error regexp RegexpSingleline Line has trailing spaces. 14
 Error javadoc JavadocMethod Missing a Javadoc comment. 14
 Error regexp RegexpSingleline Line has trailing spaces. 16
 Error javadoc JavadocMethod Missing a Javadoc comment. 16
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error javadoc JavadocMethod Missing a Javadoc comment. 23
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error regexp RegexpSingleline Line has trailing spaces. 32

ejava/examples/ejbsessionbank/blimpl/TellerImpl.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error regexp RegexpSingleline Line has trailing spaces. 21
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error design VisibilityModifier Variable 'log' must be private and have accessor methods. 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error regexp RegexpSingleline Line has trailing spaces. 33
 Error design DesignForExtension Method 'setAcctDAO' is not designed for extension - needs to be abstract, final or empty. 34
 Error javadoc JavadocMethod Missing a Javadoc comment. 34
 Error misc FinalParameters Parameter acctDAO should be final. 34
 Error coding HiddenField 'acctDAO' hides a field. 34
 Error design DesignForExtension Method 'setOwnerDAO' is not designed for extension - needs to be abstract, final or empty. 37
 Error javadoc JavadocMethod Missing a Javadoc comment. 37
 Error misc FinalParameters Parameter ownerDAO should be final. 37
 Error coding HiddenField 'ownerDAO' hides a field. 37
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error design DesignForExtension Method 'createAccount' is not designed for extension - needs to be abstract, final or empty. 41
 Error javadoc JavadocMethod Missing a Javadoc comment. 41
 Error misc FinalParameters Parameter accountNum should be final. 41
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error regexp RegexpSingleline Line has trailing spaces. 49
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error design DesignForExtension Method 'getAccount' is not designed for extension - needs to be abstract, final or empty. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter accountNum should be final. 52
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 56
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 56
 Error sizes LineLength Line is longer than 80 characters (found 90). 63
 Error design DesignForExtension Method 'getOverdrawnAccounts' is not designed for extension - needs to be abstract, final or empty. 63
 Error javadoc JavadocMethod Missing a Javadoc comment. 63
 Error misc FinalParameters Parameter index should be final. 63
 Error misc FinalParameters Parameter count should be final. 63
 Error whitespace OperatorWrap '+' should be on a new line. 64
 Error regexp RegexpSingleline Line has trailing spaces. 66
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error sizes LineLength Line is longer than 80 characters (found 81). 74
 Error design DesignForExtension Method 'getAccounts' is not designed for extension - needs to be abstract, final or empty. 74
 Error javadoc JavadocMethod Missing a Javadoc comment. 74
 Error misc FinalParameters Parameter index should be final. 74
 Error misc FinalParameters Parameter count should be final. 74
 Error whitespace OperatorWrap '+' should be on a new line. 75
 Error regexp RegexpSingleline Line has trailing spaces. 77
 Error regexp RegexpSingleline Line has trailing spaces. 80
 Error design DesignForExtension Method 'closeAccount' is not designed for extension - needs to be abstract, final or empty. 85
 Error javadoc JavadocMethod Missing a Javadoc comment. 85
 Error misc FinalParameters Parameter accountNum should be final. 85
 Error blocks RightCurly '}' should be on the same line. 92
 Error whitespace OperatorWrap '+' should be on a new line. 95
 Error blocks RightCurly '}' should be on the same line. 97
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 99
 Error sizes LineLength Line is longer than 80 characters (found 93). 101
 Error regexp RegexpSingleline Line has trailing spaces. 111
 Error design DesignForExtension Method 'updateAccount' is not designed for extension - needs to be abstract, final or empty. 116
 Error javadoc JavadocMethod Missing a Javadoc comment. 116
 Error misc FinalParameters Parameter account should be final. 116
 Error regexp RegexpSingleline Line has trailing spaces. 120
 Error design DesignForExtension Method 'getLedger' is not designed for extension - needs to be abstract, final or empty. 123
 Error javadoc JavadocMethod Missing a Javadoc comment. 123
 Error regexp RegexpSingleline Line has trailing spaces. 126
 Error design DesignForExtension Method 'getLedgerAveBalance' is not designed for extension - needs to be abstract, final or empty. 127
 Error javadoc JavadocMethod Missing a Javadoc comment. 127
 Error design DesignForExtension Method 'getLedgerCount' is not designed for extension - needs to be abstract, final or empty. 130
 Error javadoc JavadocMethod Missing a Javadoc comment. 130
 Error design DesignForExtension Method 'getLedgerSum' is not designed for extension - needs to be abstract, final or empty. 133
 Error javadoc JavadocMethod Missing a Javadoc comment. 133
 Error regexp RegexpSingleline Line has trailing spaces. 136
 Error regexp RegexpSingleline Line has trailing spaces. 137
 Error design DesignForExtension Method 'addOwner' is not designed for extension - needs to be abstract, final or empty. 138
 Error javadoc JavadocMethod Missing a Javadoc comment. 138
 Error misc FinalParameters Parameter ownerId should be final. 138
 Error misc FinalParameters Parameter accountNumber should be final. 138
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 146
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 146
 Error regexp RegexpSingleline Line has trailing spaces. 150
 Error regexp RegexpSingleline Line has trailing spaces. 151
 Error design DesignForExtension Method 'createOwner' is not designed for extension - needs to be abstract, final or empty. 152
 Error javadoc JavadocMethod Missing a Javadoc comment. 152
 Error misc FinalParameters Parameter firstName should be final. 152
 Error misc FinalParameters Parameter lastName should be final. 152
 Error misc FinalParameters Parameter ssn should be final. 152
 Error regexp RegexpSingleline Line has trailing spaces. 160
 Error design DesignForExtension Method 'removeOwner' is not designed for extension - needs to be abstract, final or empty. 161
 Error javadoc JavadocMethod Missing a Javadoc comment. 161
 Error misc FinalParameters Parameter ownerId should be final. 161
 Error regexp RegexpSingleline Line has trailing spaces. 167
 Error design DesignForExtension Method 'getOwners' is not designed for extension - needs to be abstract, final or empty. 168
 Error javadoc JavadocMethod Missing a Javadoc comment. 168
 Error misc FinalParameters Parameter index should be final. 168
 Error misc FinalParameters Parameter count should be final. 168
 Error regexp RegexpSingleline Line has trailing spaces. 172
 Error design DesignForExtension Method 'openAccount' is not designed for extension - needs to be abstract, final or empty. 173
 Error javadoc JavadocMethod Missing a Javadoc comment. 173
 Error misc FinalParameters Parameter ownerId should be final. 173
 Error misc FinalParameters Parameter accountNumber should be final. 173
 Error regexp RegexpSingleline Line has trailing spaces. 179
 Error regexp RegexpSingleline Line has trailing spaces. 183
 Error regexp RegexpSingleline Line has trailing spaces. 185

ejava/examples/ejbsessionbank/bo/Account.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 5
 Error javadoc JavadocVariable Missing a Javadoc comment. 6
 Error javadoc JavadocVariable Missing a Javadoc comment. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 8
 Error javadoc JavadocVariable Missing a Javadoc comment. 9
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 11
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 11
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 11
 Error misc FinalParameters Parameter id should be final. 12
 Error coding HiddenField 'id' hides a field. 12
 Error blocks LeftCurly '{' should have line break after. 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error misc FinalParameters Parameter id should be final. 13
 Error coding HiddenField 'id' hides a field. 13
 Error misc FinalParameters Parameter accountNumber should be final. 13
 Error coding HiddenField 'accountNumber' hides a field. 13
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error misc FinalParameters Parameter id should be final. 21
 Error coding HiddenField 'id' hides a field. 21
 Error design DesignForExtension Method 'deposit' is not designed for extension - needs to be abstract, final or empty. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 24
 Error misc FinalParameters Parameter amount should be final. 24
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error design DesignForExtension Method 'withdraw' 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 amount should be final. 27
 Error regexp RegexpSingleline Line has trailing spaces. 28
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error design DesignForExtension Method 'getAccountNumber' is not designed for extension - needs to be abstract, final or empty. 30
 Error javadoc JavadocMethod Missing a Javadoc comment. 30
 Error design DesignForExtension Method 'setAccountNumber' is not designed for extension - needs to be abstract, final or empty. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 33
 Error misc FinalParameters Parameter accountNumber should be final. 33
 Error coding HiddenField 'accountNumber' hides a field. 33
 Error design DesignForExtension Method 'getBalance' is not designed for extension - needs to be abstract, final or empty. 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 39
 Error misc FinalParameters Parameter balance should be final. 39
 Error coding HiddenField 'balance' hides a field. 39
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 42
 Error javadoc JavadocMethod Missing a Javadoc comment. 42

ejava/examples/ejbsessionbank/bo/Ledger.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 5
 Error javadoc JavadocVariable Missing a Javadoc comment. 6
 Error javadoc JavadocVariable Missing a Javadoc comment. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 8
 Error javadoc JavadocVariable Missing a Javadoc comment. 9
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 11
 Error misc FinalParameters Parameter numberOfAccounts should be final. 12
 Error coding HiddenField 'numberOfAccounts' hides a field. 12
 Error misc FinalParameters Parameter totalAssets should be final. 12
 Error coding HiddenField 'totalAssets' hides a field. 12
 Error misc FinalParameters Parameter aveAssets should be final. 12
 Error coding HiddenField 'aveAssets' hides a field. 12
 Error design DesignForExtension Method 'getAverageAssets' is not designed for extension - needs to be abstract, final or empty. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error misc FinalParameters Parameter aveAssets should be final. 20
 Error coding HiddenField 'aveAssets' hides a field. 20
 Error design DesignForExtension Method 'getNumberOfAccounts' is not designed for extension - needs to be abstract, final or empty. 23
 Error javadoc JavadocMethod Missing a Javadoc comment. 23
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error misc FinalParameters Parameter numberOfAccounts should be final. 26
 Error coding HiddenField 'numberOfAccounts' hides a field. 26
 Error design DesignForExtension Method 'getTotalAssets' is not designed for extension - needs to be abstract, final or empty. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 32
 Error misc FinalParameters Parameter totalAssets should be final. 32
 Error coding HiddenField 'totalAssets' hides a field. 32
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35

ejava/examples/ejbsessionbank/bo/Owner.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 7
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 8
 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 javadoc JavadocVariable Missing a Javadoc comment. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 15
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 15
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 16
 Error misc FinalParameters Parameter id should be final. 16
 Error coding HiddenField 'id' hides a field. 16
 Error javadoc JavadocMethod Missing a Javadoc comment. 19
 Error misc FinalParameters Parameter id should be final. 19
 Error coding HiddenField 'id' hides a field. 19
 Error misc FinalParameters Parameter firstName should be final. 19
 Error coding HiddenField 'firstName' hides a field. 19
 Error misc FinalParameters Parameter lastName should be final. 19
 Error coding HiddenField 'lastName' hides a field. 19
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error design DesignForExtension Method 'getId' is not designed for extension - needs to be abstract, final or empty. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error design DesignForExtension Method 'setId' 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 id should be final. 28
 Error coding HiddenField 'id' hides a field. 28
 Error design DesignForExtension Method 'getFirstName' is not designed for extension - needs to be abstract, final or empty. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error design DesignForExtension Method 'setFirstName' is not designed for extension - needs to be abstract, final or empty. 34
 Error javadoc JavadocMethod Missing a Javadoc comment. 34
 Error misc FinalParameters Parameter firstName should be final. 34
 Error coding HiddenField 'firstName' hides a field. 34
 Error design DesignForExtension Method 'getLastName' is not designed for extension - needs to be abstract, final or empty. 37
 Error javadoc JavadocMethod Missing a Javadoc comment. 37
 Error design DesignForExtension Method 'setLastName' is not designed for extension - needs to be abstract, final or empty. 40
 Error javadoc JavadocMethod Missing a Javadoc comment. 40
 Error misc FinalParameters Parameter lastName should be final. 40
 Error coding HiddenField 'lastName' hides a field. 40
 Error design DesignForExtension Method 'getSsn' is not designed for extension - needs to be abstract, final or empty. 43
 Error javadoc JavadocMethod Missing a Javadoc comment. 43
 Error design DesignForExtension Method 'setSsn' is not designed for extension - needs to be abstract, final or empty. 46
 Error javadoc JavadocMethod Missing a Javadoc comment. 46
 Error misc FinalParameters Parameter ssn should be final. 46
 Error coding HiddenField 'ssn' hides a field. 46
 Error design DesignForExtension Method 'getAccounts' is not designed for extension - needs to be abstract, final or empty. 49
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error design DesignForExtension Method 'setAccounts' is not designed for extension - needs to be abstract, final or empty. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter accounts should be final. 52
 Error coding HiddenField 'accounts' hides a field. 52
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 61
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 62

ejava/examples/ejbsessionbank/dao/AccountDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 9
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error regexp RegexpSingleline Line has trailing spaces. 11
 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. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 22

ejava/examples/ejbsessionbank/dao/DAOException.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 3
 Error javadoc JavadocVariable Missing a Javadoc comment. 4
 Error javadoc JavadocMethod Missing a Javadoc comment. 5
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 5
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 5
 Error misc FinalParameters Parameter msg should be final. 6
 Error blocks LeftCurly '{' should have line break after. 6
 Error misc FinalParameters Parameter ex should be final. 7
 Error blocks LeftCurly '{' should have line break after. 7
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error misc FinalParameters Parameter msg should be final. 8
 Error misc FinalParameters Parameter ex should be final. 8
 Error blocks LeftCurly '{' should have line break after. 8

ejava/examples/ejbsessionbank/dao/OwnerDAO.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocType Missing a Javadoc comment. 9
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocVariable 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

ejava/examples/ejbsessionbank/jpa/JPAAccountDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 18
 Error regexp RegexpSingleline Line has trailing spaces. 19
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error regexp RegexpSingleline Line has trailing spaces. 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 20
 Error regexp RegexpSingleline Line has trailing spaces. 21
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 22
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 23
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error regexp RegexpSingleline Line has trailing spaces. 28
 Error design DesignForExtension Method 'setEntityManager' is not designed for extension - needs to be abstract, final or empty. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error misc FinalParameters Parameter em should be final. 29
 Error coding HiddenField 'em' hides a field. 29
 Error design DesignForExtension Method 'createAccount' is not designed for extension - needs to be abstract, final or empty. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 33
 Error misc FinalParameters Parameter account should be final. 33
 Error blocks RightCurly '}' should be on the same line. 37
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 41
 Error design DesignForExtension Method 'findAccounts' is not designed for extension - needs to be abstract, final or empty. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error misc FinalParameters Parameter queryName should be final. 46
 Error misc FinalParameters Parameter params should be final. 47
 Error misc FinalParameters Parameter index should be final. 47
 Error misc FinalParameters Parameter count should be final. 47
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 55
 Error blocks RightCurly '}' should be on the same line. 61
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 65
 Error design DesignForExtension Method 'getAccountById' is not designed for extension - needs to be abstract, final or empty. 69
 Error javadoc JavadocMethod Missing a Javadoc comment. 69
 Error misc FinalParameters Parameter id should be final. 69
 Error blocks RightCurly '}' should be on the same line. 72
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 76
 Error design DesignForExtension Method 'getAccountByNum' is not designed for extension - needs to be abstract, final or empty. 80
 Error javadoc JavadocMethod Missing a Javadoc comment. 80
 Error misc FinalParameters Parameter acctNum should be final. 80
 Error coding AvoidInlineConditionals Avoid inline conditionals. 84
 Error design DesignForExtension Method 'removeAccount' is not designed for extension - needs to be abstract, final or empty. 87
 Error javadoc JavadocMethod Missing a Javadoc comment. 87
 Error misc FinalParameters Parameter account should be final. 87
 Error blocks RightCurly '}' should be on the same line. 96
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 100
 Error design DesignForExtension Method 'updateAccount' is not designed for extension - needs to be abstract, final or empty. 104
 Error javadoc JavadocMethod Missing a Javadoc comment. 104
 Error misc FinalParameters Parameter account should be final. 104
 Error blocks RightCurly '}' should be on the same line. 107
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 111
 Error design DesignForExtension Method 'getLedger' is not designed for extension - needs to be abstract, final or empty. 115
 Error javadoc JavadocMethod Missing a Javadoc comment. 115
 Error blocks RightCurly '}' should be on the same line. 119
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 123
 Error design DesignForExtension Method 'getLedgerAveBalance' is not designed for extension - needs to be abstract, final or empty. 127
 Error javadoc JavadocMethod Missing a Javadoc comment. 127
 Error blocks RightCurly '}' should be on the same line. 131
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 135
 Error design DesignForExtension Method 'getLedgerCount' is not designed for extension - needs to be abstract, final or empty. 139
 Error javadoc JavadocMethod Missing a Javadoc comment. 139
 Error regexp RegexpSingleline Line has trailing spaces. 143
 Error sizes LineLength Line is longer than 80 characters (found 82). 143
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 144
 Error blocks RightCurly '}' should be on the same line. 145
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 149
 Error design DesignForExtension Method 'getLedgerSum' is not designed for extension - needs to be abstract, final or empty. 153
 Error javadoc JavadocMethod Missing a Javadoc comment. 153
 Error blocks RightCurly '}' should be on the same line. 157
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 161

ejava/examples/ejbsessionbank/jpa/JPAOwnerDAO.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error naming ConstantName Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 21
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 23
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error design DesignForExtension Method 'setEntityManager' 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 em should be final. 28
 Error coding HiddenField 'em' hides a field. 28
 Error design DesignForExtension Method 'createOwner' 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 owner should be final. 32
 Error design DesignForExtension Method 'findOwners' is not designed for extension - needs to be abstract, final or empty. 37
 Error javadoc JavadocMethod Missing a Javadoc comment. 37
 Error misc FinalParameters Parameter queryName should be final. 38
 Error misc FinalParameters Parameter params should be final. 38
 Error misc FinalParameters Parameter index should be final. 39
 Error misc FinalParameters Parameter count should be final. 39
 Error design DesignForExtension Method 'getOwnerById' is not designed for extension - needs to be abstract, final or empty. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter id should be final. 52
 Error design DesignForExtension Method 'removeOwner' is not designed for extension - needs to be abstract, final or empty. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error misc FinalParameters Parameter owner should be final. 56
 Error regexp RegexpSingleline Line has trailing spaces. 65
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 67
 Error sizes LineLength Line is longer than 80 characters (found 82). 78
 Error whitespace FileTabCharacter File contains tab characters (this is the first instance). 78
 Error design DesignForExtension Method 'getAccountOwners' is not designed for extension - needs to be abstract, final or empty. 78
 Error javadoc JavadocMethod Missing a Javadoc comment. 78
 Error misc FinalParameters Parameter account should be final. 78
 Error regexp RegexpSingleline Line has trailing spaces. 81
 Error coding MagicNumber '100' is a magic number. 82