Le document suivant contient les résultats de Checkstyle 8.19 avec les règles build-config/lutece_checks.xml.
Fichiers | Infos | Avertissements | Erreurs |
---|---|---|---|
19 | 0 | 0 | 197 |
Catégorie | Règle | Violations | Sévérité |
---|---|---|---|
blocks | EmptyBlock | 1 | Erreur |
LeftCurly
|
10 | Erreur | |
coding | ArrayTrailingComma | 3 | Erreur |
DeclarationOrder | 3 | Erreur | |
ExplicitInitialization | 2 | Erreur | |
HiddenField | 3 | Erreur | |
design | HideUtilityClassConstructor | 3 | Erreur |
header | Header
|
19 | Erreur |
imports | AvoidStarImport | 4 | Erreur |
UnusedImports | 19 | Erreur | |
javadoc | JavadocMethod | 25 | Erreur |
JavadocType | 3 | Erreur | |
naming | LocalVariableName
|
3 | Erreur |
ParameterName
|
6 | Erreur | |
regexp | RegexpSinglelineJava
|
3 | Erreur |
RegexpSinglelineJava
|
3 | Erreur | |
whitespace | ParenPad
|
90 | Erreur |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 54 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | coding | HiddenField | '_strPath' hides a field. | 166 |
Erreur | naming | ParameterName | Name '_strPath' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 166 |
Erreur | coding | HiddenField | '_strType' hides a field. | 187 |
Erreur | naming | ParameterName | Name '_strType' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 187 |
Erreur | coding | HiddenField | '_listProperties' hides a field. | 208 |
Erreur | naming | ParameterName | Name '_listProperties' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 208 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.plugins.vault.rs.VaultAPI. | 38 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.plugins.vault.service.VaultUtil. | 41 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.i18n.I18nService. | 42 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 62 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strOldCode'. | 90 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strOldToken'. | 90 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 90 |
Erreur | javadoc | JavadocMethod | Expected @throws tag for 'VaultException'. | 90 |
Erreur | blocks | LeftCurly | '{' at column 131 should be on a new line. | 90 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 92 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 92 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 92 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 92 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 94 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 94 |
Erreur | blocks | LeftCurly | '{' at column 36 should be on a new line. | 182 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | naming | ParameterName | Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 128 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | javadoc | JavadocMethod | Unused @param tag for 'plugin'. | 121 |
Erreur | javadoc | JavadocMethod | Expected @param tag for '_plugin'. | 127 |
Erreur | naming | ParameterName | Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 127 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 129 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 131 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | javadoc | JavadocMethod | Unused @param tag for 'plugin'. | 121 |
Erreur | javadoc | JavadocMethod | Expected @param tag for '_plugin'. | 127 |
Erreur | naming | ParameterName | Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 127 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 129 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | imports | UnusedImports | Unused import - java.util.List. | 39 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.spring.SpringContextService. | 41 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.util.ReferenceList. | 42 |
Erreur | imports | UnusedImports | Unused import - java.util.List. | 44 |
Erreur | imports | UnusedImports | Unused import - java.util.Optional. | 45 |
Erreur | imports | UnusedImports | Unused import - org.springframework.context.i18n.LocaleContextHolder.getLocale. | 47 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 57 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | javadoc | JavadocType | Missing a Javadoc comment. | 52 |
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 52 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 55 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 61 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 62 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 68 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 68 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 70 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 70 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 71 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 71 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 72 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 72 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 73 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 73 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 73 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 73 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 76 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 76 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 79 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 79 |
Erreur | blocks | LeftCurly | '{' at column 35 should be on a new line. | 79 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 80 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 80 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 81 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 81 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 95 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 103 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 103 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 105 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 105 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 108 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 108 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 111 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 111 |
Erreur | blocks | LeftCurly | '{' at column 35 should be on a new line. | 111 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 112 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 112 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 113 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 113 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 127 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 129 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 129 |
Erreur | blocks | LeftCurly | '{' at column 31 should be on a new line. | 129 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 137 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 137 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 143 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 143 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 145 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 145 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 146 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 146 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 147 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 147 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 148 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 148 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 148 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 148 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 151 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 151 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 154 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 154 |
Erreur | blocks | LeftCurly | '{' at column 39 should be on a new line. | 154 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 155 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 155 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 156 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 156 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.util.mvc.utils.MVCMessage. | 38 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.util.ErrorMessage. | 39 |
Erreur | imports | UnusedImports | Unused import - java.util.ArrayList. | 42 |
Erreur | imports | UnusedImports | Unused import - java.util.List. | 43 |
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 49 |
Erreur | naming | LocalVariableName | Name '_listNamesEnvironnements' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 65 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | imports | AvoidStarImport | Using the '.*' form of import should be avoided - fr.paris.lutece.plugins.vault.business.*. | 40 |
Erreur | imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 48 |
Erreur | coding | DeclarationOrder | Static variable definition in wrong order. | 59 |
Erreur | coding | ExplicitInitialization | Variable '_instance' explicitly initialized to 'null' (default value for its type). | 59 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 92 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 167 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 167 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 167 |
Erreur | blocks | LeftCurly | '{' at column 152 should be on a new line. | 167 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 172 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 172 |
Erreur | blocks | LeftCurly | '{' at column 38 should be on a new line. | 175 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 178 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 178 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 179 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 179 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 187 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 187 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 188 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 188 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 188 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 188 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 189 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 189 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 190 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 190 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 191 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 191 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 192 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 192 |
Erreur | blocks | LeftCurly | '{' at column 38 should be on a new line. | 257 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 270 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 270 |
Erreur | naming | LocalVariableName | Name '_properties' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 401 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 442 |
Erreur | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'printStackTrace'. | 443 |
Erreur | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'printStackTrace'. | 480 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 45 |
Erreur | coding | ExplicitInitialization | Variable '_vault' explicitly initialized to 'null' (default value for its type). | 47 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | javadoc | JavadocType | Type Javadoc comment is missing @param <S> tag. | 50 |
Erreur | javadoc | JavadocType | Type Javadoc comment is missing @param <T> tag. | 50 |
Erreur | javadoc | JavadocMethod | Expected @param tag for '<T>'. | 82 |
Erreur | javadoc | JavadocMethod | Unused @param tag for '<S>'. | 108 |
Erreur | javadoc | JavadocMethod | Unused @param tag for '<T>'. | 110 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'listIds'. | 116 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 82 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.plugins.vault.service.VaultUtil. | 42 |
Erreur | imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 56 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 90 |
Erreur | coding | ArrayTrailingComma | Array should contain trailing comma. | 245 |
Erreur | coding | ArrayTrailingComma | Array should contain trailing comma. | 278 |
Erreur | javadoc | JavadocMethod | Expected @throws tag for 'VaultException'. | 371 |
Erreur | blocks | LeftCurly | '{' at column 116 should be on a new line. | 371 |
Erreur | coding | ArrayTrailingComma | Array should contain trailing comma. | 399 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Erreur | imports | AvoidStarImport | Using the '.*' form of import should be avoided - fr.paris.lutece.plugins.vault.business.*. | 38 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.plugins.vault.service.VaultService. | 39 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.plugins.vault.service.VaultUtil. | 40 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.util.html.AbstractPaginator. | 50 |
Erreur | imports | UnusedImports | Unused import - java.util.Comparator. | 52 |
Erreur | imports | UnusedImports | Unused import - java.util.stream.Collectors. | 57 |
Erreur | naming | LocalVariableName | Name '_environnement' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 129 |
Erreur | javadoc | JavadocMethod | Unused Javadoc tag. | 146 |
Erreur | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'System\.out\.println'. | 278 |
Erreur | blocks | EmptyBlock | Must have at least one statement. | 310 |