The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
coding | ArrayTrailingComma | 18 | Error |
DeclarationOrder | 20 | Error | |
HiddenField | 2 | Error | |
NestedIfDepth
|
4 | Error | |
ParameterAssignment | 5 | Error | |
ReturnCount
|
1 | Warning | |
design | FinalClass | 2 | Error |
HideUtilityClassConstructor | 2 | Error | |
VisibilityModifier | 2 | Error | |
header | Header
|
1 | Error |
imports | UnusedImports | 4 | Error |
javadoc | JavadocMethod | 44 | Error |
JavadocType | 2 | Error | |
misc | Translation | 10 | Error |
modifier | RedundantModifier | 1 | Error |
naming | ParameterName
|
2 | Error |
sizes | ParameterNumber | 1 | Warning |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 47 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 53 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 58 |
Error | coding | HiddenField | '_nIdField' hides a field. | 58 |
Error | naming | ParameterName | Name '_nIdField' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 58 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 63 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 68 |
Error | coding | HiddenField | '_strConditionalEntries' hides a field. | 68 |
Error | naming | ParameterName | Name '_strConditionalEntries' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 68 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 65 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nIterationNumber'. | 158 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nIterationNumber'. | 250 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nIdCategory'. | 86 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 134 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | Translation | Key 'createForm.labelAnonymize' missing. | |
Error | misc | Translation | Key 'createForm.labelAutomaticCleaning' missing. | |
Error | misc | Translation | Key 'createForm.labelCategoryTitleList' missing. | |
Error | misc | Translation | Key 'createForm.labelCleaningMethod' missing. | |
Error | misc | Translation | Key 'createForm.labelRemove' missing. | |
Error | misc | Translation | Key 'createForm.titleDeleteCategory' missing. | |
Error | misc | Translation | Key 'manage_advanced_parameters.label_create_entry_default_values_tab' missing. | |
Error | misc | Translation | Key 'manage_advanced_parameters.label_create_form_default_values_tab' missing. | |
Error | misc | Translation | Key 'message.mandatory.entry' missing. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | Translation | Key 'message.mandatory.Entry' missing. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | FinalClass | Class OutputProcessorService should be declared as final. | 51 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 42 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 70 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 71 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 72 |
Error | coding | ParameterAssignment | Assignment of parameter 'field' is not allowed. | 298 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | FinalClass | Class ValidatorService should be declared as final. | 48 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocType | Missing a Javadoc comment. | 82 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 82 |
Error | javadoc | JavadocMethod | Unused @param tag for 'bErrorPresent'. | 136 |
Error | javadoc | JavadocMethod | Unused @param tag for 'nNbIterationMax'. | 168 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nbIteration'. | 262 |
Error | coding | ParameterAssignment | Assignment of parameter 'sbEntryGroup' is not allowed. | 273 |
Error | coding | ParameterAssignment | Assignment of parameter 'listFormErrors' is not allowed. | 302 |
Error | coding | NestedIfDepth | Nested if-else depth is 4 (max allowed is 3). | 458 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nIterationNumber'. | 512 |
Error | coding | ParameterAssignment | Assignment of parameter 'listResponses' is not allowed. | 596 |
Error | javadoc | JavadocMethod | Expected @param tag for 'request'. | 689 |
Error | javadoc | JavadocMethod | Unused @param tag for 'nParameterIdForm'. | 1114 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nIdForm'. | 1118 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 54 |
Error | modifier | RedundantModifier | Redundant 'private' modifier. | 54 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 43 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 134 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 195 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 196 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 202 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 203 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 204 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 205 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 206 |
Warning | sizes | ParameterNumber | More than 7 parameters (found 8). | 950 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 377 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - java.util.HashMap. | 51 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 207 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 412 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 424 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 96 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 97 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 98 |
Error | coding | NestedIfDepth | Nested if-else depth is 4 (max allowed is 3). | 240 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 339 |
Error | javadoc | JavadocMethod | Expected @param tag for 'request'. | 564 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 605 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 121 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 122 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 123 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 208 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'UserNotSignedException'. | 208 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 243 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'UserNotSignedException'. | 243 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 282 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'UserNotSignedException'. | 282 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 306 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'UserNotSignedException'. | 306 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 330 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'UserNotSignedException'. | 330 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 356 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'UserNotSignedException'. | 356 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 385 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 386 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'UserNotSignedException'. | 386 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 417 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 436 |
Error | coding | ParameterAssignment | Assignment of parameter 'strSessionId' is not allowed. | 470 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 503 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 533 |
Error | javadoc | JavadocMethod | Expected @throws tag for 'SiteMessageException'. | 595 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 681 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 1336 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 577 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 647 |
Error | javadoc | JavadocMethod | Expected @param tag for 'bIsForArray'. | 1776 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 1806 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | imports | UnusedImports | Unused import - java.io.File. | 37 |
Error | imports | UnusedImports | Unused import - java.io.FileInputStream. | 38 |
Error | imports | UnusedImports | Unused import - java.io.FileOutputStream. | 39 |
Error | design | VisibilityModifier | Variable '_nDefaultItemsPerPage' must be private and have accessor methods. | 271 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 599 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 659 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 769 |
Error | coding | NestedIfDepth | Nested if-else depth is 4 (max allowed is 3). | 1743 |
Error | coding | NestedIfDepth | Nested if-else depth is 4 (max allowed is 3). | 1753 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 1892 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 2011 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | design | VisibilityModifier | Variable '_nItemsPerPageEntry' must be private and have accessor methods. | 180 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 832 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 96 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 97 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 98 |
Warning | coding | ReturnCount | Return count is 6 (max allowed is 5). | 274 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 367 |
Error | coding | ArrayTrailingComma | Array should contain trailing comma. | 375 |
Error | javadoc | JavadocMethod | Unused @param tag for 'response'. | 404 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 52 |