Le document suivant contient les résultats de Checkstyle 8.19 avec les règles build-config/lutece_checks.xml. 
| Fichiers | |||
|---|---|---|---|
| 17 | 0 | 1 | 228 |
| Catégorie | Règle | Violations | Sévérité |
|---|---|---|---|
| blocks | LeftCurly
|
11 | |
| NeedBraces | 8 | ||
RightCurly
|
1 | ||
| coding | DeclarationOrder | 15 | |
| ExplicitInitialization | 2 | ||
| HiddenField | 3 | ||
ReturnCount
|
1 | ||
| design | FinalClass | 1 | |
| VisibilityModifier | 1 | ||
| header | Header
|
17 | |
| imports | UnusedImports | 11 | |
| javadoc | JavadocMethod | 62 | |
| JavadocType | 6 | ||
| modifier | ModifierOrder | 15 | |
| naming | LocalVariableName
|
4 | |
ParameterName
|
5 | ||
| regexp | RegexpSinglelineJava
|
2 | |
RegexpSinglelineJava
|
2 | ||
| whitespace | ParenPad
|
54 | |
WhitespaceAround
|
10 |
| 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 - java.util.ArrayList. | 37 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 45 | |
| design | VisibilityModifier | Variable '_mapSql' must be private and have accessor methods. | 48 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 51 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 51 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 52 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 52 | |
| regexp | RegexpSinglelineJava | Line matches the illegal pattern 'WHERE 1'. | 55 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 55 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 55 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 55 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 56 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 56 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 56 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 57 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 57 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 57 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 58 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 58 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 58 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 59 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 59 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 60 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 60 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 60 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 61 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 61 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 61 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 64 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 64 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 65 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 65 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 66 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 66 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 67 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 67 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 70 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 70 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 71 | |
| modifier | ModifierOrder | 'static' modifier out of order with the JLS suggestions. | 71 | |
| javadoc | JavadocMethod | Expected @param tag for 'SQL_QUERY_SELECTALL_ID'. | 84 | |
| naming | ParameterName | Name 'SQL_QUERY_SELECTALL_ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 84 | |
| naming | LocalVariableName | Name 'WhereClauses' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 104 | |
| javadoc | JavadocMethod | Expected @param tag for 'mapFilterCriteria'. | 159 | |
| coding | ReturnCount | Return count is 6 (max allowed for non-void methods/lambdas is 5). | 179 | |
| javadoc | JavadocMethod | Expected @param tag for 'strAttributeName'. | 206 | |
| javadoc | JavadocMethod | Expected @param tag for 'strPrefixToCut'. | 206 | |
| javadoc | JavadocMethod | Expected @param tag for 'businessClass'. | 235 |
| 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. | 42 | |
| coding | ExplicitInitialization | Variable '_bMultiform' explicitly initialized to 'false' (default value for its type). | 45 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 82 |
| 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. | 41 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 114 |
| 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. | 7 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 85 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 90 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of '/*'. | 1 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 220 |
| 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 | |
| design | FinalClass | Class EditFormResponseConfigValueCartoHome should be declared as final. | 42 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 42 | |
| javadoc | JavadocMethod | Expected @param tag for 'configValue'. | 60 | |
| javadoc | JavadocMethod | Expected @param tag for 'configValue'. | 70 | |
| javadoc | JavadocMethod | Expected @param tag for 'nIdConfigValue'. | 80 | |
| javadoc | JavadocMethod | Expected @param tag for 'nIdConfig'. | 90 | |
| javadoc | JavadocMethod | Expected @return tag. | 101 | |
| javadoc | JavadocMethod | Expected @param tag for 'nConfigId'. | 101 | |
| javadoc | JavadocMethod | Expected @return tag. | 112 | |
| javadoc | JavadocMethod | Expected @param tag for 'nKey'. | 112 |
| 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. | 144 | |
| blocks | LeftCurly | '{' at column 27 should be on a new line. | 144 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 148 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 148 | |
| coding | HiddenField | '_nIdConfig' hides a field. | 148 | |
| naming | ParameterName | Name '_nIdConfig' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 148 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 148 | |
| blocks | LeftCurly | '{' at column 42 should be on a new line. | 148 |
| 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. | 282 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 282 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 282 |
| 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 | Unused @param tag for 'nKey'. | 102 | |
| javadoc | JavadocMethod | Expected @param tag for 'nIdConfig'. | 104 | |
| javadoc | JavadocMethod | Expected @param tag for 'idConfig'. | 169 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 171 |
| 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 | |
| coding | ExplicitInitialization | Variable '_bMultiform' explicitly initialized to 'false' (default value for its type). | 54 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 120 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 142 | |
| blocks | LeftCurly | '{' at column 70 should be on a new line. | 142 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 146 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 146 | |
| coding | HiddenField | '_listEditFormsCartoUnitTree' hides a field. | 146 | |
| naming | ParameterName | Name '_listEditFormsCartoUnitTree' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 146 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 146 | |
| blocks | LeftCurly | '{' at column 102 should be on a new line. | 146 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 150 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 206 | |
| blocks | LeftCurly | '{' at column 43 should be on a new line. | 206 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 210 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 210 | |
| coding | HiddenField | '_questionUnitTree' hides a field. | 210 | |
| naming | ParameterName | Name '_questionUnitTree' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 210 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 210 | |
| blocks | LeftCurly | '{' at column 62 should be on a new line. | 210 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 214 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 219 |
| 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 | Unused @param tag for 'request'. | 197 | |
| javadoc | JavadocMethod | Unused @param tag for 'locale'. | 199 | |
| javadoc | JavadocMethod | Unused @param tag for 'task'. | 201 | |
| javadoc | JavadocMethod | Expected @param tag for 'daoUtil'. | 205 |
| 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 | Expected @param tag for 'configValue'. | 52 | |
| javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 52 | |
| javadoc | JavadocMethod | Expected @param tag for 'configValue'. | 60 | |
| javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 60 | |
| javadoc | JavadocMethod | Expected @param tag for 'nKey'. | 68 | |
| javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 68 | |
| javadoc | JavadocMethod | Expected @param tag for 'nConfigId'. | 76 | |
| javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 76 | |
| javadoc | JavadocMethod | Expected @return tag. | 85 | |
| javadoc | JavadocMethod | Expected @param tag for 'nConfigId'. | 85 | |
| javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 85 | |
| javadoc | JavadocMethod | Expected @return tag. | 94 | |
| javadoc | JavadocMethod | Expected @param tag for 'nKey'. | 94 | |
| javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 94 |
| 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 | Unused @param tag for 'plugin'. | 114 | |
| javadoc | JavadocMethod | Expected @param tag for '_plugin'. | 118 | |
| naming | ParameterName | Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 118 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 123 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 123 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 128 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 128 |
| 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. | 3 | |
| blocks | LeftCurly | '{' at column 40 should be on a new line. | 3 |
| 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 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 115 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 115 | |
| blocks | LeftCurly | '{' at column 101 should be on a new line. | 162 | |
| blocks | LeftCurly | '{' at column 10 should be on a new line. | 229 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 230 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 230 | |
| blocks | RightCurly | '}' at column 6 should be alone on a line. | 232 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 232 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 232 | |
| blocks | LeftCurly | '{' at column 33 should be on a new line. | 232 | |
| regexp | RegexpSinglelineJava | Line matches the illegal pattern 'printStackTrace'. | 234 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 243 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 244 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 244 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 270 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 270 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 270 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 328 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 360 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 361 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 361 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 362 |
| 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.plugins.workflow.modules.forms.business.EditFormResponseConfigValue. | 51 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflow.modules.forms.business.EditFormResponseConfigValueHome. | 52 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflow.modules.formscarto.business.EditFormResponseConfigValueCarto. | 54 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflow.modules.formscarto.business.EditFormsCartoUnitTreeHome. | 57 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 95 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 144 |
| 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.plugins.carto.business.DataLayerHome. | 42 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.forms.business.Form. | 44 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.unittree.service.unit.IUnitUserService. | 53 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflow.modules.formscarto.business.EditFormResponseConfigValueCarto. | 56 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflow.modules.formscarto.business.EditFormResponseConfigValueCartoHome. | 57 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflow.web.task.AbstractTaskComponent. | 61 | |
| naming | LocalVariableName | Name 'id_affectation' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 196 | |
| whitespace | WhitespaceAround | '==' is not followed by whitespace. | 202 | |
| whitespace | WhitespaceAround | '==' is not preceded with whitespace. | 202 | |
| whitespace | WhitespaceAround | '=' is not followed by whitespace. | 204 | |
| whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 204 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 291 | |
| naming | LocalVariableName | Name 'field_carto' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 317 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 328 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 328 | |
| javadoc | JavadocMethod | Unused @param tag for 'nIdResource'. | 371 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 433 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 438 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 463 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 469 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 469 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 471 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 485 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 485 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 489 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 489 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 534 | |
| blocks | LeftCurly | '{' at column 22 should be on a new line. | 543 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 546 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 546 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 547 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 547 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 548 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 548 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 555 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 555 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 556 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 556 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 557 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 557 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 609 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 627 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 639 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 639 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 640 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 640 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 643 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 643 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 643 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 653 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 672 | |
| naming | LocalVariableName | Name '_unitService' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 678 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 680 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 680 |