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

Files

File
 I
 W
 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

Rules

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

Details

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

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

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

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

Severity Category Rule Message Line
 Error
header Header Missing a header - not enough lines in file. 1
 Error
javadoc JavadocType Missing a Javadoc comment. 8
 Error
blocks LeftCurly '{' at column 61 should be on a new line. 8
 Error
javadoc JavadocMethod Missing a Javadoc comment. 12

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

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

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

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
javadoc JavadocType Missing a Javadoc comment. 12
 Error
blocks LeftCurly '{' at column 100 should be on a new line. 12
 Error
whitespace ParenPad '(' is not followed by whitespace. 16
 Error
whitespace ParenPad ')' is not preceded with whitespace. 16
 Error
blocks LeftCurly '{' at column 55 should be on a new line. 16
 Error
whitespace ParenPad '(' is not followed by whitespace. 26
 Error
whitespace ParenPad ')' is not preceded with whitespace. 26
 Error
blocks LeftCurly '{' at column 65 should be on a new line. 26
 Error
whitespace ParenPad '(' is not followed by whitespace. 49

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

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