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
20 0 0 94

Files

File
 I
 W
 E
fr/paris/lutece/plugins/mylutece/modules/openam/authentication/OpenamAuthentication.java 0 0 4
fr/paris/lutece/plugins/mylutece/modules/openam/authentication/OpenamUser.java 0 0 4
fr/paris/lutece/plugins/mylutece/modules/openam/listener/OpenamLuteceUserSessionListener.java 0 0 2
fr/paris/lutece/plugins/mylutece/modules/openam/service/Constants.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/openam/service/IIdentityProviderService.java 0 0 3
fr/paris/lutece/plugins/mylutece/modules/openam/service/IOpenamLuteceUserSessionService.java 0 0 6
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamAPI.java 0 0 7
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamAPIException.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamAPIService.java 0 0 15
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamAuthenticationAgentException.java 0 0 2
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamLuteceUserSession.java 0 0 15
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamLuteceUserSessionService.java 0 0 7
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamPlugin.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamService.java 0 0 17
fr/paris/lutece/plugins/mylutece/modules/openam/web/MyLuteceOpenamXPage.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/openam/web/NotifyLuteceUserFilter.java 0 0 2
fr/paris/lutece/plugins/mylutece/modules/openam/web/OpenamErrorJsonResponse.java 0 0 5
fr/paris/lutece/plugins/mylutece/modules/openam/web/OpenamLuteceFilter.java 0 0 1

Rules

Category Rule Violations Severity
coding DeclarationOrder 7
 Error
HiddenField 4
 Error
design VisibilityModifier 3
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
18
 Error
imports UnusedImports 1
 Error
javadoc JavadocMethod 44
 Error
JavadocType 3
 Error
modifier ModifierOrder 1
 Error
RedundantModifier 1
 Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
1
 Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
4
 Error
StaticVariableName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
7
 Error

Details

fr/paris/lutece/plugins/mylutece/modules/openam/authentication/OpenamAuthentication.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. 70
 Error
coding DeclarationOrder Variable access definition in wrong order. 71
 Error
coding DeclarationOrder Variable access definition in wrong order. 72

fr/paris/lutece/plugins/mylutece/modules/openam/authentication/OpenamUser.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 MemberName Name 'ROLE_VERIFIED' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 48
 Error
design VisibilityModifier Variable 'ROLE_VERIFIED' must be private and have accessor methods. 48
 Error
javadoc JavadocMethod Expected @param tag for 'strSubjectId'. 72

fr/paris/lutece/plugins/mylutece/modules/openam/listener/OpenamLuteceUserSessionListener.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.security.LuteceUser. 37

fr/paris/lutece/plugins/mylutece/modules/openam/service/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/openam/service/IIdentityProviderService.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 'attributeUserMapping'. 49
 Error
modifier RedundantModifier Redundant 'public' modifier. 54

fr/paris/lutece/plugins/mylutece/modules/openam/service/IOpenamLuteceUserSessionService.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/openam/service/OpenamAPI.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. 53
 Error
design VisibilityModifier Variable '_logger' must be private and have accessor methods. 53
 Error
design VisibilityModifier Variable '_bDebug' must be private and have accessor methods. 54
 Error
javadoc JavadocMethod Expected @param tag for 'mapHeaders'. 171
 Error
javadoc JavadocMethod Expected @param tag for 'mapHeaders'. 189
 Error
javadoc JavadocMethod Expected @param tag for 'bGet'. 189

fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamAPIException.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/openam/service/OpenamAPIService.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 @throws tag for 'OpenamAPIException'. 87
 Error
javadoc JavadocMethod Expected @throws tag for 'OpenamAPIException'. 116
 Error
javadoc JavadocMethod Unused @param tag for 'strPCUID'. 137
 Error
javadoc JavadocMethod Expected @param tag for 'strCookieName'. 141
 Error
javadoc JavadocMethod Expected @param tag for 'strSubjectId'. 141
 Error
javadoc JavadocMethod Expected @throws tag for 'OpenamAPIException'. 141
 Error
javadoc JavadocMethod Unused @param tag for 'strPCUID'. 164
 Error
javadoc JavadocMethod Expected @param tag for 'strSubjectId'. 168
 Error
javadoc JavadocMethod Expected @param tag for 'strUserId'. 168
 Error
javadoc JavadocMethod Expected @param tag for 'strCookieName'. 168
 Error
javadoc JavadocMethod Expected @param tag for 'mapUserMapping'. 169
 Error
javadoc JavadocMethod Expected @param tag for 'strUserAttributeKey'. 169
 Error
javadoc JavadocMethod Expected @throws tag for 'OpenamAPIException'. 169
 Error
javadoc JavadocMethod Missing a Javadoc comment. 210

fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamAuthenticationAgentException.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. 45

fr/paris/lutece/plugins/mylutece/modules/openam/service/OpenamLuteceUserSession.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/openam/service/OpenamLuteceUserSessionService.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/openam/service/OpenamPlugin.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/openam/service/OpenamService.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. 72
 Error
coding DeclarationOrder Variable access definition in wrong order. 73
 Error
coding DeclarationOrder Variable access definition in wrong order. 74
 Error
naming StaticVariableName Name 'COOKIE_OPENAM_NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 75
 Error
naming StaticVariableName Name 'COOKIE_OPENAM_DOMAIN' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 76
 Error
naming StaticVariableName Name 'COOKIE_OPENAM_PATH' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 77
 Error
naming StaticVariableName Name 'COOKIE_OPENAM_MAX_AGE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 78
 Error
naming StaticVariableName Name 'COOKIE_OPENAM_SECURE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 79
 Error
naming StaticVariableName Name 'ATTRIBUTE_USER_MAPPING' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 81
 Error
naming StaticVariableName Name 'ATTRIBUTE_USER_KEY_NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 82
 Error
javadoc JavadocMethod Expected @throws tag for 'OpenamAuthenticationAgentException'. 171
 Error
javadoc JavadocMethod Unused @param tag for 'strPCUID'. 375
 Error
javadoc JavadocMethod Unused @param tag for 'strUserData'. 396
 Error
javadoc JavadocMethod Expected @param tag for 'userInformations'. 399
 Error
javadoc JavadocMethod Missing a Javadoc comment. 444
 Error
javadoc JavadocMethod Missing a Javadoc comment. 476

fr/paris/lutece/plugins/mylutece/modules/openam/web/MyLuteceOpenamXPage.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/openam/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/openam/web/OpenamErrorJsonResponse.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. 48
 Error
javadoc JavadocMethod Missing a Javadoc comment. 53
 Error
coding HiddenField '_strToken' hides a field. 74
 Error
naming ParameterName Name '_strToken' must match pattern '^[a-z][a-zA-Z0-9]*$'. 74

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