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