The following document contains the results of Checkstyle 6.18 with sun_checks.xml ruleset.
File | I | W | E |
---|---|---|---|
ejava/projects/esales/xml/DateConverter.java | 0 | 0 | 7 |
ejava/projects/esales/xml/ESalesParser.java | 0 | 0 | 67 |
ejava/projects/esales/xml/SampleGen.java | 0 | 0 | 45 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 2 | Error |
coding | AvoidInlineConditionals | 1 | Error |
MagicNumber | 3 | Error | |
design | DesignForExtension | 6 | Error |
HideUtilityClassConstructor | 1 | Error | |
VisibilityModifier | 7 | Error | |
javadoc | JavadocMethod | 15 | Error |
JavadocPackage | 1 | Error | |
JavadocType | 2 | Error | |
JavadocVariable | 9 | Error | |
misc | ArrayTypeStyle | 1 | Error |
FinalParameters | 17 | Error | |
naming | ConstantName | 1 | Error |
regexp | RegexpSingleline
|
22 | Error |
sizes | LineLength | 4 | Error |
whitespace | FileTabCharacter | 3 | Error |
OperatorWrap | 4 | Error | |
WhitespaceAfter | 5 | Error | |
WhitespaceAround | 15 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 9 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 9 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 10 |
Error | misc | FinalParameters | Parameter s should be final. | 10 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 11 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 13 |
Error | misc | FinalParameters | Parameter dt should be final. | 13 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | regexp | RegexpSingleline | Line has trailing spaces. | 27 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 32 |
Error | sizes | LineLength | Line is longer than 80 characters (found 82). | 33 |
Error | naming | ConstantName | Name 'log' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 33 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 34 |
Error | design | VisibilityModifier | Variable 'xmlif' must be private and have accessor methods. | 34 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 35 |
Error | design | VisibilityModifier | Variable 'um' must be private and have accessor methods. | 35 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 36 |
Error | design | VisibilityModifier | Variable 'xmlr' must be private and have accessor methods. | 36 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 37 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 38 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 42 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 48 |
Error | misc | FinalParameters | Parameter rootType should be final. | 48 |
Error | misc | FinalParameters | Parameter is should be final. | 48 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 49 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'JAXBException'. | 50 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'XMLStreamException'. | 50 |
Error | whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 60 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 62 |
Error | sizes | LineLength | Line is longer than 80 characters (found 107). | 64 |
Error | misc | FinalParameters | Parameter targetType should be final. | 64 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 67 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 67 |
Error | whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 67 |
Error | whitespace | WhitespaceAround | '==' is not followed by whitespace. | 67 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 72 |
Error | sizes | LineLength | Line is longer than 80 characters (found 85). | 74 |
Error | misc | FinalParameters | Parameter id should be final. | 74 |
Error | misc | FinalParameters | Parameter obj should be final. | 74 |
Error | blocks | NeedBraces | 'if' construct must use '{}'s. | 75 |
Error | whitespace | WhitespaceAround | 'if' is not followed by whitespace. | 75 |
Error | whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 75 |
Error | whitespace | WhitespaceAround | '==' is not followed by whitespace. | 75 |
Error | whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 75 |
Error | whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 76 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 79 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 81 |
Error | design | DesignForExtension | Method 'setSchema' is not designed for extension - needs to be abstract, final or empty. | 82 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 82 |
Error | misc | FinalParameters | Parameter schema should be final. | 82 |
Error | sizes | LineLength | Line is longer than 80 characters (found 89). | 83 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 87 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 88 |
Error | misc | FinalParameters | Parameter elements should be final. | 88 |
Error | misc | ArrayTypeStyle | Array brackets at illegal position. | 88 |
Error | misc | FinalParameters | Parameter localName should be final. | 88 |
Error | whitespace | WhitespaceAround | 'for' is not followed by whitespace. | 89 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 96 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 100 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 102 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 108 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 108 |
Error | design | DesignForExtension | Method 'getObject' is not designed for extension - needs to be abstract, final or empty. | 108 |
Error | misc | FinalParameters | Parameter elements should be final. | 108 |
Error | javadoc | JavadocMethod | Expected @param tag for 'elements'. | 108 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'XMLStreamException'. | 109 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'JAXBException'. | 109 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 112 |
Error | whitespace | OperatorWrap | '&&' should be on a new line. | 112 |
Error | whitespace | OperatorWrap | '?' should be on a new line. | 115 |
Error | coding | AvoidInlineConditionals | Avoid inline conditionals. | 115 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 116 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 120 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 122 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 123 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocPackage | Missing package-info.java file. | |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 12 |
Error | whitespace | FileTabCharacter | File contains tab characters (this is the first instance). | 13 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 13 |
Error | design | VisibilityModifier | Variable 'addressId' must be private and have accessor methods. | 13 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 14 |
Error | design | VisibilityModifier | Variable 'auctionId' must be private and have accessor methods. | 14 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 15 |
Error | design | VisibilityModifier | Variable 'bidId' must be private and have accessor methods. | 15 |
Error | javadoc | JavadocVariable | Missing a Javadoc comment. | 16 |
Error | design | VisibilityModifier | Variable 'accountId' must be private and have accessor methods. | 16 |
Error | design | DesignForExtension | Method 'createSales' is not designed for extension - needs to be abstract, final or empty. | 17 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 17 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 19 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 26 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 29 |
Error | whitespace | WhitespaceAfter | 'typecast' is not followed by whitespace. | 32 |
Error | design | DesignForExtension | Method 'createAuction' is not designed for extension - needs to be abstract, final or empty. | 43 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 43 |
Error | misc | FinalParameters | Parameter seller should be final. | 43 |
Error | misc | FinalParameters | Parameter bidder should be final. | 43 |
Error | whitespace | WhitespaceAround | '+' is not preceded with whitespace. | 46 |
Error | whitespace | WhitespaceAround | '+' is not followed by whitespace. | 46 |
Error | whitespace | WhitespaceAround | '-' is not preceded with whitespace. | 52 |
Error | whitespace | WhitespaceAround | '-' is not followed by whitespace. | 52 |
Error | coding | MagicNumber | '3' is a magic number. | 52 |
Error | whitespace | WhitespaceAround | '*' is not preceded with whitespace. | 52 |
Error | whitespace | WhitespaceAround | '*' is not followed by whitespace. | 52 |
Error | coding | MagicNumber | '3600' is a magic number. | 52 |
Error | whitespace | WhitespaceAround | '*' is not preceded with whitespace. | 52 |
Error | whitespace | WhitespaceAround | '*' is not followed by whitespace. | 52 |
Error | coding | MagicNumber | '1000' is a magic number. | 52 |
Error | design | DesignForExtension | Method 'createAddress1' is not designed for extension - needs to be abstract, final or empty. | 68 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 68 |
Error | misc | FinalParameters | Parameter addressee should be final. | 68 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 80 |
Error | design | DesignForExtension | Method 'createAccount' is not designed for extension - needs to be abstract, final or empty. | 81 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 81 |
Error | misc | FinalParameters | Parameter firstName should be final. | 82 |
Error | misc | FinalParameters | Parameter middleName should be final. | 82 |
Error | misc | FinalParameters | Parameter lastName should be final. | 82 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 91 |
Error | whitespace | OperatorWrap | '+' should be on a new line. | 91 |
Error | whitespace | OperatorWrap | '+' should be on a new line. | 92 |
Error | regexp | RegexpSingleline | Line has trailing spaces. | 95 |