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
33 0 0 155

Files

File
 I
 W
 E
fr/paris/lutece/plugins/kibana/business/Dashboard.java 0 0 1
fr/paris/lutece/plugins/kibana/business/DashboardDAO.java 0 0 2
fr/paris/lutece/plugins/kibana/business/DashboardHome.java 0 0 3
fr/paris/lutece/plugins/kibana/business/DashboardReference.java 0 0 13
fr/paris/lutece/plugins/kibana/business/Gird.java 0 0 32
fr/paris/lutece/plugins/kibana/business/GirdLayout.java 0 0 7
fr/paris/lutece/plugins/kibana/business/IDashboardDAO.java 0 0 4
fr/paris/lutece/plugins/kibana/service/DashboardIdService.java 0 0 2
fr/paris/lutece/plugins/kibana/service/DashboardService.java 0 0 8
fr/paris/lutece/plugins/kibana/service/IDataVisualizerService.java 0 0 4
fr/paris/lutece/plugins/kibana/service/KibanaPlugin.java 0 0 1
fr/paris/lutece/plugins/kibana/service/NoElasticSearchServerException.java 0 0 1
fr/paris/lutece/plugins/kibana/service/NoKibanaIndexException.java 0 0 1
fr/paris/lutece/plugins/kibana/service/SavedObjectService.java 0 0 36
fr/paris/lutece/plugins/kibana/service/VisualizationService.java 0 0 27
fr/paris/lutece/plugins/kibana/service/listener/DataSourceEventListener.java 0 0 3
fr/paris/lutece/plugins/kibana/utils/constants/KibanaConstants.java 0 0 1
fr/paris/lutece/plugins/kibana/web/DashboardJspBean.java 0 0 5
fr/paris/lutece/plugins/kibana/web/KibanaDashboardJspBean.java 0 0 2
fr/paris/lutece/plugins/kibana/web/ManageKibanaJspBean.java 0 0 2

Rules

Category Rule Violations Severity
coding DeclarationOrder 1
 Error
ExplicitInitialization 5
 Error
HiddenField 8
 Error
ParameterAssignment 10
 Error
design FinalClass 1
 Error
HideUtilityClassConstructor 2
 Error
VisibilityModifier 3
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
20
 Error
imports UnusedImports 2
 Error
javadoc JavadocMethod 80
 Error
JavadocType 6
 Error
modifier RedundantModifier 4
 Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
4
 Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
8
 Error
regexp RegexpSinglelineJava
  • format: "System\.exit"
1
 Error
RegexpSinglelineJava
  • format: "System\.out\.println"
1
 Error

Details

fr/paris/lutece/plugins/kibana/business/Dashboard.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/kibana/business/DashboardDAO.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.plugins.elasticdata.service.DataSourceService. 36

fr/paris/lutece/plugins/kibana/business/DashboardHome.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 @param tag for 'dashboard'. 141
 Error
javadoc JavadocMethod Expected @param tag for 'strIdKibana'. 160

fr/paris/lutece/plugins/kibana/business/DashboardReference.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. 38
 Error
design VisibilityModifier Variable '_id' must be private and have accessor methods. 40
 Error
design VisibilityModifier Variable '_name' must be private and have accessor methods. 41
 Error
design VisibilityModifier Variable '_type' must be private and have accessor methods. 42
 Error
javadoc JavadocMethod Missing a Javadoc comment. 44
 Error
javadoc JavadocMethod Missing a Javadoc comment. 51
 Error
javadoc JavadocMethod Missing a Javadoc comment. 58
 Error
javadoc JavadocMethod Missing a Javadoc comment. 63
 Error
javadoc JavadocMethod Missing a Javadoc comment. 68
 Error
javadoc JavadocMethod Missing a Javadoc comment. 73
 Error
javadoc JavadocMethod Missing a Javadoc comment. 78
 Error
javadoc JavadocMethod Missing a Javadoc comment. 83

fr/paris/lutece/plugins/kibana/business/Gird.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
naming MemberName Name 'X' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 38
 Error
naming MemberName Name 'Y' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 39
 Error
naming MemberName Name 'W' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 40
 Error
naming MemberName Name 'H' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 41
 Error
javadoc JavadocMethod Missing a Javadoc comment. 43
 Error
javadoc JavadocMethod Missing a Javadoc comment. 48
 Error
coding HiddenField 'X' hides a field. 48
 Error
naming ParameterName Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
 Error
coding HiddenField 'Y' hides a field. 48
 Error
naming ParameterName Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
 Error
coding HiddenField 'W' hides a field. 48
 Error
naming ParameterName Name 'W' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
 Error
coding HiddenField 'H' hides a field. 48
 Error
naming ParameterName Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 48
 Error
javadoc JavadocMethod Missing a Javadoc comment. 56
 Error
javadoc JavadocMethod Missing a Javadoc comment. 61
 Error
javadoc JavadocMethod Missing a Javadoc comment. 66
 Error
javadoc JavadocMethod Missing a Javadoc comment. 71
 Error
javadoc JavadocMethod Missing a Javadoc comment. 76
 Error
coding HiddenField 'X' hides a field. 76
 Error
naming ParameterName Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. 76
 Error
javadoc JavadocMethod Missing a Javadoc comment. 81
 Error
coding HiddenField 'Y' hides a field. 81
 Error
naming ParameterName Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. 81
 Error
javadoc JavadocMethod Missing a Javadoc comment. 86
 Error
coding HiddenField 'W' hides a field. 86
 Error
naming ParameterName Name 'W' must match pattern '^[a-z][a-zA-Z0-9]*$'. 86
 Error
javadoc JavadocMethod Missing a Javadoc comment. 91
 Error
coding HiddenField 'H' hides a field. 91
 Error
naming ParameterName Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. 91

fr/paris/lutece/plugins/kibana/business/GirdLayout.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 ExplicitInitialization Variable '_x' explicitly initialized to '0' (default value for its type). 45
 Error
coding ExplicitInitialization Variable '_y' explicitly initialized to '0' (default value for its type). 46
 Error
coding ExplicitInitialization Variable '_preX' explicitly initialized to '0' (default value for its type). 47
 Error
coding ExplicitInitialization Variable '_preY' explicitly initialized to '0' (default value for its type). 48
 Error
javadoc JavadocMethod Expected @param tag for 'width'. 55
 Error
javadoc JavadocMethod Expected @param tag for 'height'. 55

fr/paris/lutece/plugins/kibana/business/IDashboardDAO.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 @param tag for 'plugin'. 129
 Error
javadoc JavadocMethod Expected @param tag for 'dashboard'. 138
 Error
javadoc JavadocMethod Expected @param tag for 'plugin'. 138

fr/paris/lutece/plugins/kibana/service/DashboardIdService.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. 47

fr/paris/lutece/plugins/kibana/service/DashboardService.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
design FinalClass Class DashboardService should be declared as final. 61
 Error
coding ExplicitInitialization Variable '_instance' explicitly initialized to 'null' (default value for its type). 90
 Error
javadoc JavadocMethod Missing a Javadoc comment. 98
 Error
javadoc JavadocMethod Expected @param tag for 'dashboard'. 296
 Error
javadoc JavadocMethod Expected @param tag for 'listDashboard'. 308
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 308
 Error
javadoc JavadocMethod Expected @param tag for 'nIdDashboard'. 328

fr/paris/lutece/plugins/kibana/service/IDataVisualizerService.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 @param tag for 'dataSource'. 50
 Error
javadoc JavadocMethod Unused @param tag for 'plugin'. 57
 Error
javadoc JavadocMethod Expected @return tag. 60

fr/paris/lutece/plugins/kibana/service/KibanaPlugin.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/kibana/service/NoElasticSearchServerException.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/kibana/service/NoKibanaIndexException.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/kibana/service/SavedObjectService.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. 61
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 61
 Error
javadoc JavadocMethod Unused @param tag for 'strIdIndexPattern'. 94
 Error
javadoc JavadocMethod Expected @return tag. 97
 Error
javadoc JavadocMethod Expected @param tag for 'strIdDashboard'. 97
 Error
javadoc JavadocMethod Missing a Javadoc comment. 125
 Error
javadoc JavadocMethod Expected @return tag. 185
 Error
javadoc JavadocMethod Unused @param tag for 'strSpaceId'. 238
 Error
javadoc JavadocMethod Expected @param tag for 'strLogin'. 241
 Error
javadoc JavadocMethod Expected @param tag for 'strPassword'. 241
 Error
javadoc JavadocMethod Expected @param tag for 'listTargetIndexName'. 241
 Error
javadoc JavadocMethod Expected @param tag for 'dataSource'. 380
 Error
javadoc JavadocMethod Unused @param tag for 'strIdVisualisation'. 415
 Error
javadoc JavadocMethod Expected @param tag for 'panelId'. 421
 Error
javadoc JavadocMethod Unused @param tag for 'savedObject'. 442
 Error
modifier RedundantModifier Redundant 'final' modifier. 445
 Error
javadoc JavadocMethod Expected @param tag for 'strType'. 445
 Error
javadoc JavadocMethod Expected @param tag for 'strIdObject'. 445
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'printStackTrace'. 531
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 581
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 594
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 595
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 596
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 597
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 598
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 599
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 600
 Error
coding ParameterAssignment Assignment of parameter 'jsString' is not allowed. 601
 Error
modifier RedundantModifier Redundant 'final' modifier. 611
 Error
javadoc JavadocMethod Expected @param tag for 'apiUrl'. 611
 Error
modifier RedundantModifier Redundant 'final' modifier. 634
 Error
javadoc JavadocMethod Unused @param tag for 'savedObject'. 660
 Error
javadoc JavadocMethod Expected @param tag for 'savedObjectList'. 663
 Error
modifier RedundantModifier Redundant 'final' modifier. 695
 Error
coding ParameterAssignment Assignment of parameter 'strObject' is not allowed. 700

fr/paris/lutece/plugins/kibana/service/VisualizationService.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. 40
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 40
 Error
javadoc JavadocMethod Unused @param tag for 'visualization'. 45
 Error
javadoc JavadocMethod Expected @return tag. 48
 Error
javadoc JavadocMethod Expected @param tag for 'strTitle'. 48
 Error
javadoc JavadocMethod Expected @param tag for 'strIdVisualization'. 48
 Error
javadoc JavadocMethod Expected @param tag for 'strIdIndexPattern'. 48
 Error
javadoc JavadocMethod Expected @param tag for 'queryFilter'. 48
 Error
javadoc JavadocMethod Unused @param tag for 'visualization'. 81
 Error
javadoc JavadocMethod Expected @param tag for 'strTitle'. 84
 Error
javadoc JavadocMethod Expected @param tag for 'strFieldName'. 84
 Error
javadoc JavadocMethod Expected @param tag for 'strIdVisualization'. 84
 Error
javadoc JavadocMethod Expected @param tag for 'strIdIndexPattern'. 84
 Error
javadoc JavadocMethod Expected @param tag for 'queryFilter'. 85
 Error
javadoc JavadocMethod Unused @param tag for 'visualization'. 101
 Error
javadoc JavadocMethod Expected @param tag for 'strTitle'. 104
 Error
javadoc JavadocMethod Expected @param tag for 'strFieldName'. 104
 Error
javadoc JavadocMethod Expected @param tag for 'strIdVisualization'. 104
 Error
javadoc JavadocMethod Expected @param tag for 'strIdIndexPattern'. 104
 Error
javadoc JavadocMethod Expected @param tag for 'queryFilter'. 105
 Error
javadoc JavadocMethod Unused @param tag for 'visualization'. 131
 Error
javadoc JavadocMethod Expected @param tag for 'strTitle'. 134
 Error
javadoc JavadocMethod Expected @param tag for 'strFieldName'. 134
 Error
javadoc JavadocMethod Expected @param tag for 'strIdVisualization'. 134
 Error
javadoc JavadocMethod Expected @param tag for 'strIdIndexPattern'. 134
 Error
javadoc JavadocMethod Expected @param tag for 'queryFilter'. 134

fr/paris/lutece/plugins/kibana/service/listener/DataSourceEventListener.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. 45
 Error
javadoc JavadocMethod Expected @return tag. 101

fr/paris/lutece/plugins/kibana/utils/constants/KibanaConstants.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/kibana/web/DashboardJspBean.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 @return tag. 105
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 106
 Error
javadoc JavadocMethod Expected @return tag. 137
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 138

fr/paris/lutece/plugins/kibana/web/KibanaDashboardJspBean.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.stream.Collectors. 40

fr/paris/lutece/plugins/kibana/web/ManageKibanaJspBean.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. 55