The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | ReturnCount
|
2 | Warning |
design | FinalClass | 1 | Error |
HideUtilityClassConstructor | 3 | Error | |
header | Header
|
2 | Error |
imports | UnusedImports | 1 | Error |
javadoc | JavadocMethod | 22 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Expected an @return tag. | 315 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 351 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdDocument'. | 402 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 746 |
Warning | coding | ReturnCount | Return count is 9 (max allowed is 5). | 813 |
Error | javadoc | JavadocMethod | Expected @param tag for 'locale'. | 813 |
Error | javadoc | JavadocMethod | Unused @param tag for 'mRequest'. | 939 |
Error | javadoc | JavadocMethod | Expected @param tag for 'multipartRequest'. | 943 |
Error | javadoc | JavadocMethod | Expected @param tag for 'locale'. | 943 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 1063 |
Warning | coding | ReturnCount | Return count is 7 (max allowed is 5). | 1063 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - org.apache.commons.lang.StringUtils. | 42 |
Error | javadoc | JavadocMethod | Unused @param tag for 'referenceItem'. | 72 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 75 |
Error | javadoc | JavadocMethod | Invalid use of the {@inheritDoc} tag. | 96 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of '/*'. | 1 |
Error | javadoc | JavadocMethod | Unused @param tag for 'doc'. | 63 |
Error | javadoc | JavadocMethod | Expected @param tag for 'documentPublication'. | 66 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Unused @param tag for 'referenceItem'. | 72 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 75 |
Error | javadoc | JavadocMethod | Invalid use of the {@inheritDoc} tag. | 96 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Unused @param tag for 'referenceItem'. | 72 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 75 |
Error | javadoc | JavadocMethod | Invalid use of the {@inheritDoc} tag. | 96 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of '/*'. | 1 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 46 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 60 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strXml'. | 60 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 56 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 45 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | FinalClass | Class DocumentRestConstants should be declared as final. | 41 |