Le document suivant contient les résultats de Checkstyle 8.19 avec les règles build-config/lutece_checks.xml. 
| Fichiers | |||
|---|---|---|---|
| 7 | 0 | 1 | 83 |
| Catégorie | Règle | Violations | Sévérité |
|---|---|---|---|
| blocks | LeftCurly
|
17 | |
| coding | DeclarationOrder | 3 | |
ReturnCount
|
1 | ||
| design | VisibilityModifier | 1 | |
| header | Header
|
7 | |
| imports | UnusedImports | 13 | |
| javadoc | JavadocMethod | 5 | |
| JavadocType | 6 | ||
| naming | StaticVariableName
|
1 | |
| whitespace | ParenPad
|
30 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 38 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 135 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 135 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 135 | |
| blocks | LeftCurly | '{' at column 67 should be on a new line. | 135 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of '/*'. | 1 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 23 | |
| blocks | LeftCurly | '{' at column 50 should be on a new line. | 23 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 31 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 31 | |
| blocks | LeftCurly | '{' at column 24 should be on a new line. | 36 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 49 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 49 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 56 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 56 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 56 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 56 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 57 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 57 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 57 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 57 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 59 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 59 | |
| blocks | LeftCurly | '{' at column 38 should be on a new line. | 59 | |
| blocks | LeftCurly | '{' at column 14 should be on a new line. | 62 | |
| blocks | LeftCurly | '{' at column 54 should be on a new line. | 63 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 64 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 64 | |
| blocks | LeftCurly | '{' at column 69 should be on a new line. | 64 | |
| blocks | LeftCurly | '{' at column 22 should be on a new line. | 67 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 82 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 82 | |
| blocks | LeftCurly | '{' at column 43 should be on a new line. | 82 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Missing a header - not enough lines in file. | 1 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 5 | |
| blocks | LeftCurly | '{' at column 64 should be on a new line. | 5 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of '/*'. | 1 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 13 | |
| naming | StaticVariableName | Name 'contextValue' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 15 | |
| coding | ReturnCount | Return count is 2 (max allowed for void methods/constructors/lambdas is 1). | 17 | |
| blocks | LeftCurly | '{' at column 14 should be on a new line. | 28 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 30 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 30 | |
| blocks | LeftCurly | '{' at column 18 should be on a new line. | 39 | |
| blocks | LeftCurly | '{' at column 90 should be on a new line. | 46 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.util.AppPropertiesService. | 37 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 48 | |
| javadoc | JavadocMethod | Expected @param tag for '<T>'. | 74 | |
| javadoc | JavadocMethod | Unused @param tag for '<S>'. | 100 | |
| javadoc | JavadocMethod | Unused @param tag for '<T>'. | 101 | |
| javadoc | JavadocMethod | Expected @param tag for 'listIds'. | 106 | |
| blocks | LeftCurly | '{' at column 49 should be on a new line. | 108 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of '/*'. | 1 | |
| imports | UnusedImports | Unused import - java.util.ArrayList. | 3 | |
| imports | UnusedImports | Unused import - java.util.Collection. | 4 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.business.Entry. | 15 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.business.EntryFilter. | 16 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.business.EntryHome. | 17 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.business.EntryType. | 18 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.business.EntryTypeHome. | 19 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.genericattributes.service.GenericAttributesPlugin. | 20 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflowcore.business.config.ITaskConfig. | 23 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.rbac.ResourceType. | 27 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.rbac.ResourceTypeManager. | 28 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.rbac.ResourceTypeProvider. | 29 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 35 | |
| blocks | LeftCurly | '{' at column 74 should be on a new line. | 35 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 67 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 68 | |
| coding | DeclarationOrder | Variable access definition in wrong order. | 70 | |
| design | VisibilityModifier | Variable '_config' must be private and have accessor methods. | 70 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 73 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 73 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 84 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 84 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 134 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 134 | |
| blocks | LeftCurly | '{' at column 116 should be on a new line. | 134 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 146 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 146 | |
| blocks | LeftCurly | '{' at column 130 should be on a new line. | 146 |