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