Fork me on GitHub

Résultats Checkstyle

Le document suivant contient les résultats de Checkstyle 8.19 avec les règles build-config/lutece_checks.xml. 

rss feed

Résumé

Fichiers
 Infos
 Avertissements
 Erreurs
11 0 1 72

Fichiers

Fichier
 I
 A
 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

Règles

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

Détails

fr/paris/lutece/plugins/mylutece/modules/cas/authentication/CASAuthentication.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 88
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 89
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 90
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 91
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 92
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 93
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 96
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 97
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 98
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 99
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 100
 Erreur
naming MemberName Name 'cASUserKeyService' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 107
 Erreur
naming MemberName Name 'ATTRIBUTE_ROLES' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 110
 Erreur
naming MemberName Name 'USER_MANDATORY_ATTRIBUTES' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 111
 Erreur
naming MemberName Name 'ROLES_ASSOCIATIONS' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 112
 Erreur
naming MemberName Name 'ATTRIBUTE_USER_MAPPING' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 113
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 223
 Erreur
whitespace WhitespaceAround '=' is not preceded with whitespace. 223
 Erreur
blocks LeftCurly '{' at column 10 should be on a new line. 224
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 225
 Erreur
whitespace WhitespaceAround '=' is not preceded with whitespace. 225
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 225
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 225
 Erreur
blocks RightCurly '}' at column 4 should be alone on a line. 226
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 226
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 226
 Erreur
blocks LeftCurly '{' at column 43 should be on a new line. 226
 Erreur
javadoc JavadocMethod Expected @throws tag for 'CASAuthenticationException'. 293
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 419
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 497
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 502
 Erreur
coding HiddenField 'cASUserKeyService' hides a field. 502
 Erreur
javadoc JavadocMethod Unused @param tag for 'value'. 537
 Erreur
javadoc JavadocMethod Expected @param tag for 'lValues'. 540

fr/paris/lutece/plugins/mylutece/modules/cas/authentication/CASUser.java

Sévérité Catégorie Règle Message Ligne
 Erreur
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

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocType Missing a Javadoc comment. 36
 Erreur
blocks LeftCurly '{' at column 59 should be on a new line. 36

fr/paris/lutece/plugins/mylutece/modules/cas/exception/CASUserKeyEmptyException.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocType Missing a Javadoc comment. 36
 Erreur
blocks LeftCurly '{' at column 74 should be on a new line. 36

fr/paris/lutece/plugins/mylutece/modules/cas/exception/CASUserNotAuthorizedException.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocType Missing a Javadoc comment. 36
 Erreur
blocks LeftCurly '{' at column 79 should be on a new line. 36

fr/paris/lutece/plugins/mylutece/modules/cas/service/CASPlugin.java

Sévérité Catégorie Règle Message Ligne
 Erreur
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

Sévérité Catégorie Règle Message Ligne
 Erreur
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

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocType Missing a Javadoc comment. 36
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 42

fr/paris/lutece/plugins/mylutece/modules/cas/service/ICASUserKeyService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
javadoc JavadocType Missing a Javadoc comment. 36

fr/paris/lutece/plugins/mylutece/modules/cas/web/LuteceCASFilter.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
naming MemberName Name 'noCookieMessageKey' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 77
 Erreur
coding ExplicitInitialization Variable 'noCookieMessageKey' explicitly initialized to 'null' (default value for its type). 77
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 83
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 84
 Erreur
naming MemberName Name 'redirectAfterGateway' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 90
 Erreur
coding ExplicitInitialization Variable 'redirectAfterGateway' explicitly initialized to 'false' (default value for its type). 90
 Avertissement
coding ReturnCount Return count is 2 (max allowed for void methods/constructors/lambdas is 1). 106
 Erreur
blocks RightCurly '}' at column 13 should be alone on a line. 120
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 130
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 130
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 147
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 168
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 168
 Erreur
blocks LeftCurly '{' at column 65 should be on a new line. 168
 Erreur
blocks LeftCurly '{' at column 43 should be on a new line. 172
 Erreur
blocks RightCurly '}' at column 5 should be alone on a line. 180
 Erreur
blocks LeftCurly '{' at column 12 should be on a new line. 180

fr/paris/lutece/plugins/mylutece/modules/cas/web/ParameterGatewayResolver.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. 2
 Erreur
blocks LeftCurly '{' at column 66 should be on a new line. 48
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 91