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