The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | ReturnCount
|
1 | Warning |
design | HideUtilityClassConstructor | 1 | Error |
MutableException | 3 | Error | |
imports | UnusedImports | 1 | Error |
javadoc | JavadocMethod | 6 | Error |
whitespace | ParenPad
|
8 | Error |
WhitespaceAround
|
1 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 45 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Expected @param tag for 'strCode'. | 62 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | MutableException | The field '_strCode' must be declared final. | 42 |
Error | design | MutableException | The field '_strException' must be declared final. | 43 |
Error | design | MutableException | The field '_strUserMessage' must be declared final. | 44 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 52 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 52 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 52 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 52 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 104 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'ScannerException'. | 122 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'HttpAccessException'. | 122 |
Warning | coding | ReturnCount | Return count is 6 (max allowed is 5). | 177 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 179 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 183 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 189 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 200 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 210 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - java.util.Locale. | 54 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 165 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 174 |