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
13 0 1 72

Files

File
 I
 W
 E
fr/paris/lutece/plugins/mylutece/modules/cas/authentication/CASAuthentication.java 0 0 35
fr/paris/lutece/plugins/mylutece/modules/cas/authentication/CASUser.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/cas/exception/CASAuthenticationException.java 0 0 3
fr/paris/lutece/plugins/mylutece/modules/cas/exception/CASUserKeyEmptyException.java 0 0 3
fr/paris/lutece/plugins/mylutece/modules/cas/exception/CASUserNotAuthorizedException.java 0 0 3
fr/paris/lutece/plugins/mylutece/modules/cas/service/CASPlugin.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/cas/service/CASService.java 0 0 1
fr/paris/lutece/plugins/mylutece/modules/cas/service/DefaultCASUserKeyService.java 0 0 3
fr/paris/lutece/plugins/mylutece/modules/cas/service/ICASUserKeyService.java 0 0 2
fr/paris/lutece/plugins/mylutece/modules/cas/web/LuteceCASFilter.java 0 1 17
fr/paris/lutece/plugins/mylutece/modules/cas/web/ParameterGatewayResolver.java 0 0 3

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
9
 Error
RightCurly
  • option: "alone"
3
 Error
coding DeclarationOrder 13
 Error
ExplicitInitialization 2
 Error
HiddenField 1
 Error
ReturnCount
  • max: "5"
1
 Warning
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
11
 Error
javadoc JavadocMethod 7
 Error
JavadocType 5
 Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
7
 Error
whitespace ParenPad
  • option: "space"
10
 Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
4
 Error

Details

fr/paris/lutece/plugins/mylutece/modules/cas/authentication/CASAuthentication.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. 88
 Error
coding DeclarationOrder Variable access definition in wrong order. 89
 Error
coding DeclarationOrder Variable access definition in wrong order. 90
 Error
coding DeclarationOrder Variable access definition in wrong order. 91
 Error
coding DeclarationOrder Variable access definition in wrong order. 92
 Error
coding DeclarationOrder Variable access definition in wrong order. 93
 Error
coding DeclarationOrder Variable access definition in wrong order. 96
 Error
coding DeclarationOrder Variable access definition in wrong order. 97
 Error
coding DeclarationOrder Variable access definition in wrong order. 98
 Error
coding DeclarationOrder Variable access definition in wrong order. 99
 Error
coding DeclarationOrder Variable access definition in wrong order. 100
 Error
naming MemberName Name 'cASUserKeyService' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 107
 Error
naming MemberName Name 'ATTRIBUTE_ROLES' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 110
 Error
naming MemberName Name 'USER_MANDATORY_ATTRIBUTES' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 111
 Error
naming MemberName Name 'ROLES_ASSOCIATIONS' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 112
 Error
naming MemberName Name 'ATTRIBUTE_USER_MAPPING' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 113
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 223
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 223
 Error
blocks LeftCurly '{' at column 10 should be on a new line. 224
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 225
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 225
 Error
whitespace ParenPad '(' is not followed by whitespace. 225
 Error
whitespace ParenPad ')' is not preceded with whitespace. 225
 Error
blocks RightCurly '}' at column 4 should be alone on a line. 226
 Error
whitespace ParenPad '(' is not followed by whitespace. 226
 Error
whitespace ParenPad ')' is not preceded with whitespace. 226
 Error
blocks LeftCurly '{' at column 43 should be on a new line. 226
 Error
javadoc JavadocMethod Expected @throws tag for 'CASAuthenticationException'. 293
 Error
javadoc JavadocMethod Missing a Javadoc comment. 419
 Error
javadoc JavadocMethod Missing a Javadoc comment. 497
 Error
javadoc JavadocMethod Missing a Javadoc comment. 502
 Error
coding HiddenField 'cASUserKeyService' hides a field. 502
 Error
javadoc JavadocMethod Unused @param tag for 'value'. 537
 Error
javadoc JavadocMethod Expected @param tag for 'lValues'. 540

fr/paris/lutece/plugins/mylutece/modules/cas/authentication/CASUser.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/cas/exception/CASAuthenticationException.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
blocks LeftCurly '{' at column 59 should be on a new line. 36

fr/paris/lutece/plugins/mylutece/modules/cas/exception/CASUserKeyEmptyException.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
blocks LeftCurly '{' at column 74 should be on a new line. 36

fr/paris/lutece/plugins/mylutece/modules/cas/exception/CASUserNotAuthorizedException.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
blocks LeftCurly '{' at column 79 should be on a new line. 36

fr/paris/lutece/plugins/mylutece/modules/cas/service/CASPlugin.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/cas/service/CASService.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/cas/service/DefaultCASUserKeyService.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

fr/paris/lutece/plugins/mylutece/modules/cas/service/ICASUserKeyService.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

fr/paris/lutece/plugins/mylutece/modules/cas/web/LuteceCASFilter.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 'noCookieMessageKey' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 77
 Error
coding ExplicitInitialization Variable 'noCookieMessageKey' explicitly initialized to 'null' (default value for its type). 77
 Error
coding DeclarationOrder Static variable definition in wrong order. 83
 Error
coding DeclarationOrder Static variable definition in wrong order. 84
 Error
naming MemberName Name 'redirectAfterGateway' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 90
 Error
coding ExplicitInitialization Variable 'redirectAfterGateway' explicitly initialized to 'false' (default value for its type). 90
 Warning
coding ReturnCount Return count is 2 (max allowed for void methods/constructors/lambdas is 1). 106
 Error
blocks RightCurly '}' at column 13 should be alone on a line. 120
 Error
whitespace ParenPad '(' is not followed by whitespace. 130
 Error
whitespace ParenPad ')' is not preceded with whitespace. 130
 Error
whitespace ParenPad ')' is not preceded with whitespace. 147
 Error
whitespace ParenPad '(' is not followed by whitespace. 168
 Error
whitespace ParenPad ')' is not preceded with whitespace. 168
 Error
blocks LeftCurly '{' at column 65 should be on a new line. 168
 Error
blocks LeftCurly '{' at column 43 should be on a new line. 172
 Error
blocks RightCurly '}' at column 5 should be alone on a line. 180
 Error
blocks LeftCurly '{' at column 12 should be on a new line. 180

fr/paris/lutece/plugins/mylutece/modules/cas/web/ParameterGatewayResolver.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
blocks LeftCurly '{' at column 66 should be on a new line. 48
 Error
whitespace ParenPad '(' is not followed by whitespace. 91