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
9 0 1 99

Fichiers

Fichier
 I
 A
 E
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AbstractFilterDao.java 0 1 48
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AssignUnitTree.java 0 0 2
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AssignUnitTreeDAO.java 0 0 4
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AssignUnitTreeHome.java 0 0 1
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/FormDataSourceUnitTree.java 0 0 4
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/IAssignUnitTreeDAO.java 0 0 4
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/web/AbstractJspBean.java 0 0 16
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/web/DataSourceUnitTreeAttributesProvider.java 0 0 10
fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/web/UnitTreeElasticService.java 0 0 10

Règles

Catégorie Règle Violations Sévérité
blocks LeftCurly
  • option: "nl"
6
 Erreur
coding DeclarationOrder 16
 Erreur
ReturnCount
  • max: "5"
1
 Avertissement
design VisibilityModifier 3
 Erreur
header Header
  • fileExtensions: "java"
  • headerFile: "/var/jenkins_home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
9
 Erreur
imports UnusedImports 4
 Erreur
javadoc JavadocMethod 15
 Erreur
JavadocType 5
 Erreur
modifier ModifierOrder 15
 Erreur
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
1
 Erreur
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
2
 Erreur
regexp RegexpSinglelineJava
  • format: "System\.exit"
1
 Erreur
RegexpSinglelineJava
  • format: "System\.out\.println"
1
 Erreur
whitespace ParenPad
  • option: "space"
10
 Erreur
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
12
 Erreur

Détails

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AbstractFilterDao.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
imports UnusedImports Unused import - java.util.ArrayList. 37
 Erreur
javadoc JavadocType Missing a Javadoc comment. 45
 Erreur
design VisibilityModifier Variable '_mapSql' must be private and have accessor methods. 48
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 51
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 51
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 52
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 52
 Erreur
regexp RegexpSinglelineJava Line matches the illegal pattern 'WHERE 1'. 55
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 55
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 55
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 55
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 56
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 56
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 56
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 57
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 57
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 57
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 58
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 58
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 58
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 59
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 59
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 60
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 60
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 60
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 61
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 61
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 61
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 64
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 64
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 65
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 65
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 66
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 66
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 67
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 67
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 70
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 70
 Erreur
coding DeclarationOrder Static variable definition in wrong order. 71
 Erreur
modifier ModifierOrder 'static' modifier out of order with the JLS suggestions. 71
 Erreur
javadoc JavadocMethod Expected @param tag for 'SQL_QUERY_SELECTALL_ID'. 84
 Erreur
naming ParameterName Name 'SQL_QUERY_SELECTALL_ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 84
 Erreur
naming LocalVariableName Name 'WhereClauses' must match pattern '^[a-z][a-zA-Z0-9]*$'. 104
 Erreur
javadoc JavadocMethod Expected @param tag for 'mapFilterCriteria'. 159
 Avertissement
coding ReturnCount Return count is 6 (max allowed for non-void methods/lambdas is 5). 179
 Erreur
javadoc JavadocMethod Expected @param tag for 'strAttributeName'. 206
 Erreur
javadoc JavadocMethod Expected @param tag for 'strPrefixToCut'. 206
 Erreur
javadoc JavadocMethod Expected @param tag for 'businessClass'. 235

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AssignUnitTree.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
imports UnusedImports Unused import - javax.validation.constraints.NotEmpty. 37

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AssignUnitTreeDAO.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 JavadocMethod Missing a Javadoc comment. 261
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 261
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 261

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/AssignUnitTreeHome.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/elasticdatasearch/modules/unittree/business/FormDataSourceUnitTree.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Missing a header - not enough lines in file. 1
 Erreur
javadoc JavadocType Missing a Javadoc comment. 8
 Erreur
blocks LeftCurly '{' at column 61 should be on a new line. 8
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 12

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/business/IAssignUnitTreeDAO.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 JavadocMethod Unused @param tag for 'plugin'. 114
 Erreur
javadoc JavadocMethod Expected @param tag for '_plugin'. 118
 Erreur
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 118

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/web/AbstractJspBean.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
imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppPropertiesService. 37
 Erreur
javadoc JavadocType Missing a Javadoc comment. 51
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 60
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 75
 Erreur
whitespace WhitespaceAround '=' is not preceded with whitespace. 75
 Erreur
javadoc JavadocMethod Expected @param tag for '<T>'. 85
 Erreur
javadoc JavadocMethod Unused @param tag for '<S>'. 111
 Erreur
javadoc JavadocMethod Unused @param tag for '<T>'. 112
 Erreur
javadoc JavadocMethod Expected @param tag for 'listIds'. 117
 Erreur
blocks LeftCurly '{' at column 49 should be on a new line. 119
 Erreur
whitespace WhitespaceAround '=' is not followed by whitespace. 126
 Erreur
whitespace WhitespaceAround '=' is not preceded with whitespace. 126
 Erreur
javadoc JavadocMethod Expected @return tag. 169
 Erreur
whitespace WhitespaceAround '==' is not followed by whitespace. 172
 Erreur
whitespace WhitespaceAround '==' is not preceded with whitespace. 172

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/web/DataSourceUnitTreeAttributesProvider.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of '/*'. 1
 Erreur
javadoc JavadocType Missing a Javadoc comment. 12
 Erreur
blocks LeftCurly '{' at column 100 should be on a new line. 12
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 16
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 16
 Erreur
blocks LeftCurly '{' at column 55 should be on a new line. 16
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 26
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 26
 Erreur
blocks LeftCurly '{' at column 65 should be on a new line. 26
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 49

fr/paris/lutece/plugins/elasticdatasearch/modules/unittree/web/UnitTreeElasticService.java

Sévérité Catégorie Règle Message Ligne
 Erreur
header Header Line does not match expected header line of '/*'. 1
 Erreur
imports UnusedImports Unused import - java.util.ArrayList. 3
 Erreur
javadoc JavadocType Missing a Javadoc comment. 13
 Erreur
blocks LeftCurly '{' at column 37 should be on a new line. 13
 Erreur
design VisibilityModifier Variable '_unitUserService' must be private and have accessor methods. 16
 Erreur
design VisibilityModifier Variable '_unitService' must be private and have accessor methods. 17
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 19
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 21
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 22
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 22