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 0 132

Files

File
 I
 W
 E
fr/paris/lutece/plugins/cartography/modules/solr/business/TemporaryFileExtract.java 0 0 20
fr/paris/lutece/plugins/cartography/modules/solr/indexer/SolrCoordinateIndexer.java 0 0 12
fr/paris/lutece/plugins/cartography/modules/solr/provider/CartoSolrMarkerProvider.java 0 0 6
fr/paris/lutece/plugins/cartography/modules/solr/service/CartoSolrAppAddon.java 0 0 2
fr/paris/lutece/plugins/cartography/modules/solr/service/CartographyService.java 0 0 13
fr/paris/lutece/plugins/cartography/modules/solr/service/CartographySolrPlugin.java 0 0 1
fr/paris/lutece/plugins/cartography/modules/solr/web/AbstractManageCartoJspBean.java 0 0 7
fr/paris/lutece/plugins/cartography/modules/solr/web/CoordinateXPage.java 0 0 27
fr/paris/lutece/plugins/cartography/modules/solr/web/ExportDataLayerJspBean.java 0 0 44

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
11
 Error
NeedBraces 3
 Error
RightCurly
  • option: "alone"
1
 Error
coding ArrayTrailingComma 3
 Error
DeclarationOrder 4
 Error
ExplicitInitialization 1
 Error
HiddenField 1
 Error
design HideUtilityClassConstructor 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
9
 Error
imports UnusedImports 47
 Error
javadoc JavadocMethod 26
 Error
JavadocType 6
 Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
1
 Error
regexp RegexpSinglelineJava
  • format: "System\.exit"
1
 Error
RegexpSinglelineJava
  • format: "System\.out\.println"
1
 Error
whitespace ParenPad
  • option: "space"
17
 Error

Details

fr/paris/lutece/plugins/cartography/modules/solr/business/TemporaryFileExtract.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppPropertiesService. 6
 Error
javadoc JavadocType Missing a Javadoc comment. 10
 Error
blocks LeftCurly '{' at column 61 should be on a new line. 10
 Error
coding DeclarationOrder Variable access definition in wrong order. 13
 Error
coding DeclarationOrder Variable access definition in wrong order. 15
 Error
javadoc JavadocMethod Missing a Javadoc comment. 17
 Error
blocks LeftCurly '{' at column 29 should be on a new line. 17
 Error
javadoc JavadocMethod Missing a Javadoc comment. 21
 Error
whitespace ParenPad '(' is not followed by whitespace. 21
 Error
coding HiddenField 'content' hides a field. 21
 Error
whitespace ParenPad ')' is not preceded with whitespace. 21
 Error
blocks LeftCurly '{' at column 41 should be on a new line. 21
 Error
coding DeclarationOrder Instance variable definition in wrong order. 25
 Error
naming MemberName Name 'content' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 25
 Error
blocks LeftCurly '{' at column 48 should be on a new line. 28
 Error
blocks LeftCurly '{' at column 33 should be on a new line. 35
 Error
blocks LeftCurly '{' at column 30 should be on a new line. 41
 Error
blocks LeftCurly '{' at column 30 should be on a new line. 46
 Error
blocks LeftCurly '{' at column 30 should be on a new line. 51

fr/paris/lutece/plugins/cartography/modules/solr/indexer/SolrCoordinateIndexer.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 - org.xml.sax.ContentHandler. 39
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.search.solr.util.LuteceSolrException. 47
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.search.solr.util.TikaIndexerUtil. 50
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.business.page.Page. 51
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.business.page.PageHome. 52
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.page.IPageService. 54
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.spring.SpringContextService. 55
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppException. 56
 Error
imports UnusedImports Unused import - fr.paris.lutece.util.url.UrlItem. 59
 Error
javadoc JavadocMethod Unused @param tag for 'page'. 132
 Error
javadoc JavadocMethod Expected @param tag for 'coord'. 137

fr/paris/lutece/plugins/cartography/modules/solr/provider/CartoSolrMarkerProvider.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. 59
 Error
coding ArrayTrailingComma Array should contain trailing comma. 89
 Error
blocks NeedBraces 'if' construct must use '{}'s. 115
 Error
coding ArrayTrailingComma Array should contain trailing comma. 142
 Error
coding ArrayTrailingComma Array should contain trailing comma. 170

fr/paris/lutece/plugins/cartography/modules/solr/service/CartoSolrAppAddon.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. 44

fr/paris/lutece/plugins/cartography/modules/solr/service/CartographyService.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. 68
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 68
 Error
javadoc JavadocMethod Expected @param tag for 'datalayer'. 99
 Error
javadoc JavadocMethod Expected @param tag for 'dataLayerMapTemplate'. 100
 Error
javadoc JavadocMethod Missing a Javadoc comment. 183
 Error
javadoc JavadocMethod Missing a Javadoc comment. 201
 Error
javadoc JavadocMethod Expected @return tag. 240
 Error
javadoc JavadocMethod Expected @param tag for 'adresse'. 240
 Error
javadoc JavadocMethod Expected @return tag. 264
 Error
javadoc JavadocMethod Expected @param tag for 'coordinate'. 264
 Error
javadoc JavadocMethod Expected @param tag for 'map'. 293
 Error
javadoc JavadocMethod Expected @param tag for 'model'. 293

fr/paris/lutece/plugins/cartography/modules/solr/service/CartographySolrPlugin.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/cartography/modules/solr/web/AbstractManageCartoJspBean.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 Type Javadoc comment is missing @param <S> tag. 49
 Error
javadoc JavadocType Type Javadoc comment is missing @param <T> tag. 49
 Error
javadoc JavadocMethod Expected @param tag for '<T>'. 82
 Error
javadoc JavadocMethod Unused @param tag for '<S>'. 108
 Error
javadoc JavadocMethod Unused @param tag for '<T>'. 110
 Error
javadoc JavadocMethod Expected @param tag for 'listIds'. 116

fr/paris/lutece/plugins/cartography/modules/solr/web/CoordinateXPage.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.carto.business.BasemapHome. 36
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.carto.business.DataLayerMapTemplateHome. 42
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.carto.business.IDataLayerDAO. 45
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.search.solr.business.SolrFacetedResult. 52
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.search.solr.business.SolrSearchAppConf. 53
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.search.solr.business.SolrSearchEngine. 54
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.search.solr.service.SolrSearchAppConfService. 58
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.search.solr.web.SolrIndexerJspBean. 59
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.workflowcore.business.state.State. 60
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.spring.SpringContextService. 71
 Error
coding DeclarationOrder Static variable definition in wrong order. 146
 Error
coding ExplicitInitialization Variable '_idMap' explicitly initialized to '0' (default value for its type). 146
 Error
whitespace ParenPad '(' is not followed by whitespace. 162
 Error
whitespace ParenPad '(' is not followed by whitespace. 162
 Error
whitespace ParenPad ')' is not preceded with whitespace. 162
 Error
whitespace ParenPad ')' is not preceded with whitespace. 162
 Error
blocks LeftCurly '{' at column 55 should be on a new line. 162
 Error
whitespace ParenPad '(' is not followed by whitespace. 163
 Error
whitespace ParenPad '(' is not followed by whitespace. 163
 Error
whitespace ParenPad ')' is not preceded with whitespace. 163
 Error
whitespace ParenPad ')' is not preceded with whitespace. 163
 Error
javadoc JavadocMethod Expected @param tag for 'datalayer'. 248
 Error
javadoc JavadocMethod Expected @param tag for 'dataLayerMapTemplate'. 249
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 315
 Error
javadoc JavadocMethod Missing a Javadoc comment. 376
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 508

fr/paris/lutece/plugins/cartography/modules/solr/web/ExportDataLayerJspBean.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.message.AdminMessage. 37
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.message.AdminMessageService. 38
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.business.file.File. 40
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.business.file.FileHome. 41
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.business.physicalfile.PhysicalFile. 42
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.file.FileService. 44
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.file.IFileStoreServiceProvider. 45
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppException. 46
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppLogService. 47
 Error
imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppPropertiesService. 48
 Error
imports UnusedImports Unused import - fr.paris.lutece.util.url.UrlItem. 52
 Error
imports UnusedImports Unused import - java.nio.file.Files. 59
 Error
imports UnusedImports Unused import - java.util.Optional. 63
 Error
imports UnusedImports Unused import - org.apache.commons.lang3.StringUtils. 68
 Error
imports UnusedImports Unused import - com.fasterxml.jackson.core.JsonProcessingException. 70
 Error
imports UnusedImports Unused import - com.fasterxml.jackson.databind.JsonMappingException. 71
 Error
imports UnusedImports Unused import - com.fasterxml.jackson.databind.JsonNode. 72
 Error
imports UnusedImports Unused import - com.fasterxml.jackson.databind.ObjectMapper. 73
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.carto.business.DataLayerMapTemplate. 79
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.carto.business.DataLayerMapTemplateHome. 80
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.carto.business.DataLayerType. 81
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.carto.business.DataLayerTypeHome. 82
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.cartography.modules.solr.service.CartographyService. 84
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.filegenerator.business.TemporaryFile. 85
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.leaflet.business.GeolocItem. 87
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.leaflet.business.GeolocItemPolygon. 88
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.leaflet.service.IconService. 89
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 210
 Error
whitespace ParenPad '(' is not followed by whitespace. 212
 Error
whitespace ParenPad ')' is not preceded with whitespace. 212
 Error
javadoc JavadocMethod Missing a Javadoc comment. 219
 Error
blocks LeftCurly '{' at column 7 should be on a new line. 233
 Error
whitespace ParenPad '(' is not followed by whitespace. 234
 Error
blocks NeedBraces 'if' construct must use '{}'s. 247
 Error
whitespace ParenPad ')' is not preceded with whitespace. 248
 Error
blocks NeedBraces 'else' construct must use '{}'s. 249
 Error
whitespace ParenPad ')' is not preceded with whitespace. 250
 Error
blocks RightCurly '}' at column 3 should be alone on a line. 283
 Error
whitespace ParenPad '(' is not followed by whitespace. 283
 Error
whitespace ParenPad ')' is not preceded with whitespace. 283
 Error
blocks LeftCurly '{' at column 27 should be on a new line. 283
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'printStackTrace'. 285
 Error
javadoc JavadocMethod Expected @param tag for 'datalayer'. 299