Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset. 

rss feed

Summary

Files
 Info
 Warnings
 Errors
21 0 0 197

Files

File
 I
 W
 E
fr/paris/lutece/plugins/vault/business/Application.java 0 0 1
fr/paris/lutece/plugins/vault/business/ApplicationDAO.java 0 0 1
fr/paris/lutece/plugins/vault/business/ApplicationHome.java 0 0 2
fr/paris/lutece/plugins/vault/business/Environnement.java 0 0 7
fr/paris/lutece/plugins/vault/business/EnvironnementDAO.java 0 0 1
fr/paris/lutece/plugins/vault/business/EnvironnementHome.java 0 0 17
fr/paris/lutece/plugins/vault/business/IApplicationDAO.java 0 0 2
fr/paris/lutece/plugins/vault/business/IEnvironnementDAO.java 0 0 6
fr/paris/lutece/plugins/vault/business/IPropertiesDAO.java 0 0 5
fr/paris/lutece/plugins/vault/business/Properties.java 0 0 2
fr/paris/lutece/plugins/vault/business/PropertiesHome.java 0 0 7
fr/paris/lutece/plugins/vault/rs/VaultAPI.java 0 0 68
fr/paris/lutece/plugins/vault/service/EnvironnementUtil.java 0 0 8
fr/paris/lutece/plugins/vault/service/VaultService.java 0 0 38
fr/paris/lutece/plugins/vault/service/VaultUtil.java 0 0 3
fr/paris/lutece/plugins/vault/web/AbstractManageApplicationJspBean.java 0 0 7
fr/paris/lutece/plugins/vault/web/ApplicationJspBean.java 0 0 2
fr/paris/lutece/plugins/vault/web/EnvironnementJspBean.java 0 0 9
fr/paris/lutece/plugins/vault/web/PropertiesJspBean.java 0 0 11

Rules

Category Rule Violations Severity
blocks EmptyBlock 1
 Error
LeftCurly
  • option: "nl"
10
 Error
coding ArrayTrailingComma 3
 Error
DeclarationOrder 3
 Error
ExplicitInitialization 2
 Error
HiddenField 3
 Error
design HideUtilityClassConstructor 3
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
19
 Error
imports AvoidStarImport 4
 Error
UnusedImports 19
 Error
javadoc JavadocMethod 25
 Error
JavadocType 3
 Error
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
3
 Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
6
 Error
regexp RegexpSinglelineJava
  • format: "System\.exit"
3
 Error
RegexpSinglelineJava
  • format: "System\.out\.println"
3
 Error
whitespace ParenPad
  • option: "space"
90
 Error

Details

fr/paris/lutece/plugins/vault/business/Application.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/vault/business/ApplicationDAO.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/vault/business/ApplicationHome.java

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

fr/paris/lutece/plugins/vault/business/Environnement.java

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

fr/paris/lutece/plugins/vault/business/EnvironnementDAO.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2

fr/paris/lutece/plugins/vault/business/EnvironnementHome.java

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

fr/paris/lutece/plugins/vault/business/IApplicationDAO.java

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

fr/paris/lutece/plugins/vault/business/IEnvironnementDAO.java

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

fr/paris/lutece/plugins/vault/business/IPropertiesDAO.java

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

fr/paris/lutece/plugins/vault/business/Properties.java

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

fr/paris/lutece/plugins/vault/business/PropertiesHome.java

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

fr/paris/lutece/plugins/vault/rs/VaultAPI.java

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

fr/paris/lutece/plugins/vault/service/EnvironnementUtil.java

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

fr/paris/lutece/plugins/vault/service/VaultService.java

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

fr/paris/lutece/plugins/vault/service/VaultUtil.java

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

fr/paris/lutece/plugins/vault/web/AbstractManageApplicationJspBean.java

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

fr/paris/lutece/plugins/vault/web/ApplicationJspBean.java

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

fr/paris/lutece/plugins/vault/web/EnvironnementJspBean.java

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

fr/paris/lutece/plugins/vault/web/PropertiesJspBean.java

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