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
16 0 0 93

Files

File
 I
 W
 E
fr/paris/lutece/plugins/adminauthenticationoauth2/business/authentication/AdminOauth2Authentication.java 0 0 11
fr/paris/lutece/plugins/adminauthenticationoauth2/business/authentication/AdminOauth2User.java 0 0 2
fr/paris/lutece/plugins/adminauthenticationoauth2/business/authentication/AuthDataClient.java 0 0 1
fr/paris/lutece/plugins/adminauthenticationoauth2/business/authentication/AuthDataClientJson.java 0 0 1
fr/paris/lutece/plugins/adminauthenticationoauth2/service/Oauth2Service.java 0 0 9
fr/paris/lutece/plugins/adminauthenticationoauth2/service/Oauth2Utils.java 0 0 35
fr/paris/lutece/plugins/adminauthenticationoauth2/service/listener/Oauth2AdminUserSessionListener.java 0 0 1
fr/paris/lutece/plugins/adminauthenticationoauth2/service/listener/SessionTrackingModeSetter.java 0 0 1
fr/paris/lutece/plugins/adminauthenticationoauth2/service/session/IOauth2AdminUserSessionService.java 0 0 6
fr/paris/lutece/plugins/adminauthenticationoauth2/service/session/Oauth2AdminUserSession.java 0 0 9
fr/paris/lutece/plugins/adminauthenticationoauth2/service/session/Oauth2AdminUserSessionService.java 0 0 8
fr/paris/lutece/plugins/adminauthenticationoauth2/web/AdminOauth2Filter.java 0 0 5
fr/paris/lutece/plugins/adminauthenticationoauth2/web/NotifyAdminUserFilter.java 0 0 2
fr/paris/lutece/plugins/adminauthenticationoauth2/web/Oauth2AuthenticationJspBean.java 0 0 2

Rules

Category Rule Violations Severity
coding DeclarationOrder 29
 Error
NestedIfDepth
  • max: "3"
4
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
14
 Error
imports AvoidStarImport 2
 Error
UnusedImports 3
 Error
javadoc JavadocMethod 23
 Error
JavadocType 4
 Error
naming StaticVariableName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
2
 Error
whitespace ParenPad
  • option: "space"
12
 Error

Details

fr/paris/lutece/plugins/adminauthenticationoauth2/business/authentication/AdminOauth2Authentication.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. 191
 Error
whitespace ParenPad ')' is not preceded with whitespace. 191
 Error
whitespace ParenPad '(' is not followed by whitespace. 209
 Error
whitespace ParenPad ')' is not preceded with whitespace. 209
 Error
whitespace ParenPad '(' is not followed by whitespace. 215
 Error
whitespace ParenPad ')' is not preceded with whitespace. 215
 Error
whitespace ParenPad '(' is not followed by whitespace. 221
 Error
whitespace ParenPad ')' is not preceded with whitespace. 221
 Error
whitespace ParenPad '(' is not followed by whitespace. 227
 Error
whitespace ParenPad ')' is not preceded with whitespace. 227

fr/paris/lutece/plugins/adminauthenticationoauth2/business/authentication/AdminOauth2User.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 Expected @param tag for 'token'. 86

fr/paris/lutece/plugins/adminauthenticationoauth2/business/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

fr/paris/lutece/plugins/adminauthenticationoauth2/business/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/adminauthenticationoauth2/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
imports UnusedImports Unused import - fr.paris.lutece.plugins.adminauthenticationoauth2.business.authentication.AdminOauth2Authentication. 36
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.spring.SpringContextService. 45
 Error
naming StaticVariableName Name 'ATTRIBUTE_USER_MAPPING' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 66
 Error
naming StaticVariableName Name 'ATTRIBUTE_USER_KEY_NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 69
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 119
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 129
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 156
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 156

fr/paris/lutece/plugins/adminauthenticationoauth2/service/Oauth2Utils.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. 54
 Error
coding DeclarationOrder Variable access definition in wrong order. 55
 Error
coding DeclarationOrder Variable access definition in wrong order. 56
 Error
coding DeclarationOrder Variable access definition in wrong order. 57
 Error
coding DeclarationOrder Variable access definition in wrong order. 58
 Error
coding DeclarationOrder Variable access definition in wrong order. 59
 Error
coding DeclarationOrder Variable access definition in wrong order. 60
 Error
coding DeclarationOrder Variable access definition in wrong order. 61
 Error
coding DeclarationOrder Variable access definition in wrong order. 62
 Error
coding DeclarationOrder Variable access definition in wrong order. 63
 Error
coding DeclarationOrder Variable access definition in wrong order. 64
 Error
coding DeclarationOrder Variable access definition in wrong order. 67
 Error
coding DeclarationOrder Variable access definition in wrong order. 68
 Error
coding DeclarationOrder Variable access definition in wrong order. 69
 Error
coding DeclarationOrder Variable access definition in wrong order. 70
 Error
coding DeclarationOrder Variable access definition in wrong order. 71
 Error
coding DeclarationOrder Variable access definition in wrong order. 74
 Error
coding DeclarationOrder Variable access definition in wrong order. 77
 Error
coding DeclarationOrder Variable access definition in wrong order. 78
 Error
coding DeclarationOrder Variable access definition in wrong order. 79
 Error
coding DeclarationOrder Variable access definition in wrong order. 80
 Error
coding DeclarationOrder Variable access definition in wrong order. 81
 Error
coding DeclarationOrder Variable access definition in wrong order. 82
 Error
coding DeclarationOrder Variable access definition in wrong order. 83
 Error
coding DeclarationOrder Variable access definition in wrong order. 84
 Error
coding DeclarationOrder Variable access definition in wrong order. 85
 Error
coding DeclarationOrder Variable access definition in wrong order. 86
 Error
coding DeclarationOrder Variable access definition in wrong order. 87
 Error
coding DeclarationOrder Variable access definition in wrong order. 88
 Error
whitespace ParenPad '(' is not followed by whitespace. 89
 Error
whitespace ParenPad ')' is not preceded with whitespace. 89
 Error
javadoc JavadocMethod Missing a Javadoc comment. 102
 Error
javadoc JavadocMethod Missing a Javadoc comment. 111
 Error
javadoc JavadocMethod Missing a Javadoc comment. 120

fr/paris/lutece/plugins/adminauthenticationoauth2/service/listener/Oauth2AdminUserSessionListener.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/adminauthenticationoauth2/service/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/adminauthenticationoauth2/service/session/IOauth2AdminUserSessionService.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/adminauthenticationoauth2/service/session/Oauth2AdminUserSession.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
javadoc JavadocMethod Missing a Javadoc comment. 59
 Error
javadoc JavadocMethod Missing a Javadoc comment. 64
 Error
javadoc JavadocMethod Missing a Javadoc comment. 69
 Error
javadoc JavadocMethod Missing a Javadoc comment. 74

fr/paris/lutece/plugins/adminauthenticationoauth2/service/session/Oauth2AdminUserSessionService.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.adminauthenticationoauth2.service.Oauth2Utils. 36
 Error
javadoc JavadocType Missing a Javadoc comment. 44
 Error
javadoc JavadocMethod Missing a Javadoc comment. 52
 Error
javadoc JavadocMethod Missing a Javadoc comment. 64
 Error
javadoc JavadocMethod Missing a Javadoc comment. 76
 Error
javadoc JavadocMethod Missing a Javadoc comment. 83
 Error
javadoc JavadocMethod Missing a Javadoc comment. 102

fr/paris/lutece/plugins/adminauthenticationoauth2/web/AdminOauth2Filter.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 - javax.servlet.*. 54
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 151
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 155
 Error
javadoc JavadocMethod Missing a Javadoc comment. 203

fr/paris/lutece/plugins/adminauthenticationoauth2/web/NotifyAdminUserFilter.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 - javax.servlet.*. 40

fr/paris/lutece/plugins/adminauthenticationoauth2/web/Oauth2AuthenticationJspBean.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. 51