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
28 0 0 82

Files

File
 I
 W
 E
fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/AuthDataClient.java 0 0 9
fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/AuthDataClientJson.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/Oauth2Authentication.java 0 0 13
fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/Oauth2User.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/oauth2/listener/Oauth2LuteceUserSessionListener.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/oauth2/listener/SessionTrackingModeSetter.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/IOauth2LuteceUserSessionService.java 0 0 6
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/MyluteceOauth2Plugin.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/Oauth2LuteceUserSession.java 0 0 15
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/Oauth2LuteceUserSessionService.java 0 0 7
fr/paris/lutece/plugins/mylutece/modules/oauth2/service/Oauth2Service.java 0 0 12
fr/paris/lutece/plugins/mylutece/modules/oauth2/web/Constants.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/oauth2/web/MyluteceOauth2Filter.java 0 0 11
fr/paris/lutece/plugins/mylutece/modules/oauth2/web/NotifyLuteceUserFilter.java 0 0 2
fr/paris/lutece/plugins/mylutece/modules/oauth2/web/Oauth2App.java 0 0 1

Rules

Category Rule Violations Severity
coding HiddenField 3
 Error
NestedIfDepth
  • max: "3"
2
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
15
 Error
imports UnusedImports 10
 Error
javadoc JavadocMethod 18
 Error
JavadocType 3
 Error
modifier ModifierOrder 1
 Error
naming ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
3
 Error
StaticVariableName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
2
 Error
whitespace ParenPad
  • option: "space"
18
 Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
7
 Error

Details

fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/AuthDataClient.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
whitespace ParenPad '(' is not followed by whitespace. 131
 Error
whitespace ParenPad ')' is not preceded with whitespace. 131
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 133
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 133
 Error
whitespace ParenPad '(' is not followed by whitespace. 133
 Error
whitespace ParenPad ')' is not preceded with whitespace. 133
 Error
whitespace ParenPad '(' is not followed by whitespace. 136
 Error
whitespace ParenPad ')' is not preceded with whitespace. 136

fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/AuthDataClientJson.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/mylutece/modules/oauth2/authentication/Oauth2Authentication.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.ArrayList. 38
 Error
imports UnusedImports Unused import - java.util.stream.Collectors. 42
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.mylutece.business.LuteceUserRoleDescription. 49
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.mylutece.business.attribute.AttributeHome. 50
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.mylutece.service.MyLutecePlugin. 52
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.business.role.RoleHome. 56
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.plugin.Plugin. 57
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.plugin.PluginService. 58
 Error
whitespace ParenPad '(' is not followed by whitespace. 236
 Error
whitespace ParenPad ')' is not preceded with whitespace. 236
 Error
whitespace ParenPad '(' is not followed by whitespace. 239
 Error
whitespace ParenPad ')' is not preceded with whitespace. 239

fr/paris/lutece/plugins/mylutece/modules/oauth2/authentication/Oauth2User.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/mylutece/modules/oauth2/listener/Oauth2LuteceUserSessionListener.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/mylutece/modules/oauth2/listener/SessionTrackingModeSetter.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/mylutece/modules/oauth2/service/IOauth2LuteceUserSessionService.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. 36
 Error
javadoc JavadocMethod Missing a Javadoc comment. 38
 Error
javadoc JavadocMethod Missing a Javadoc comment. 40
 Error
javadoc JavadocMethod Missing a Javadoc comment. 42
 Error
javadoc JavadocMethod Missing a Javadoc comment. 44

fr/paris/lutece/plugins/mylutece/modules/oauth2/service/MyluteceOauth2Plugin.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/mylutece/modules/oauth2/service/Oauth2LuteceUserSession.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. 36
 Error
javadoc JavadocMethod Missing a Javadoc comment. 42
 Error
javadoc JavadocMethod Missing a Javadoc comment. 49
 Error
javadoc JavadocMethod Missing a Javadoc comment. 54
 Error
coding HiddenField '_strIdSession' hides a field. 54
 Error
naming ParameterName Name '_strIdSession' must match pattern '^[a-z][a-zA-Z0-9]*$'. 54
 Error
javadoc JavadocMethod Missing a Javadoc comment. 59
 Error
javadoc JavadocMethod Missing a Javadoc comment. 64
 Error
coding HiddenField '_strLuteceUserName' hides a field. 64
 Error
naming ParameterName Name '_strLuteceUserName' must match pattern '^[a-z][a-zA-Z0-9]*$'. 64
 Error
javadoc JavadocMethod Missing a Javadoc comment. 69
 Error
javadoc JavadocMethod Missing a Javadoc comment. 74
 Error
coding HiddenField '_bUpToDate' hides a field. 74
 Error
naming ParameterName Name '_bUpToDate' must match pattern '^[a-z][a-zA-Z0-9]*$'. 74

fr/paris/lutece/plugins/mylutece/modules/oauth2/service/Oauth2LuteceUserSessionService.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. 43
 Error
javadoc JavadocMethod Missing a Javadoc comment. 50
 Error
javadoc JavadocMethod Missing a Javadoc comment. 62
 Error
javadoc JavadocMethod Missing a Javadoc comment. 74
 Error
javadoc JavadocMethod Missing a Javadoc comment. 85
 Error
javadoc JavadocMethod Missing a Javadoc comment. 104

fr/paris/lutece/plugins/mylutece/modules/oauth2/service/Oauth2Service.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 StaticVariableName Name 'ATTRIBUTE_USER_MAPPING' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 96
 Error
naming StaticVariableName Name 'ATTRIBUTE_USER_KEY_NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 99
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 152
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 163
 Error
whitespace ParenPad '(' is not followed by whitespace. 304
 Error
javadoc JavadocMethod Expected @param tag for 'locale'. 304
 Error
whitespace ParenPad ')' is not preceded with whitespace. 304
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 307
 Error
whitespace ParenPad '(' is not followed by whitespace. 320
 Error
whitespace ParenPad ')' is not preceded with whitespace. 320
 Error
whitespace ParenPad ')' is not preceded with whitespace. 320

fr/paris/lutece/plugins/mylutece/modules/oauth2/web/Constants.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/mylutece/modules/oauth2/web/MyluteceOauth2Filter.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.HashSet. 40
 Error
imports UnusedImports Unused import - org.apache.commons.collections.map.HashedMap. 54
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 133
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 133
 Error
whitespace ParenPad '(' is not followed by whitespace. 133
 Error
whitespace ParenPad ')' is not preceded with whitespace. 133
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 134
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 134
 Error
whitespace ParenPad ')' is not preceded with whitespace. 136
 Error
javadoc JavadocMethod Missing a Javadoc comment. 210

fr/paris/lutece/plugins/mylutece/modules/oauth2/web/NotifyLuteceUserFilter.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
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 57

fr/paris/lutece/plugins/mylutece/modules/oauth2/web/Oauth2App.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