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

Fichiers

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

Règles

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

Détails

fr/paris/lutece/plugins/cartography/modules/solr/business/TemporaryFileExtract.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 - fr.paris.lutece.portal.service.util.AppPropertiesService. 6
 Erreur
javadoc JavadocType Missing a Javadoc comment. 10
 Erreur
blocks LeftCurly '{' at column 61 should be on a new line. 10
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 13
 Erreur
coding DeclarationOrder Variable access definition in wrong order. 15
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 17
 Erreur
blocks LeftCurly '{' at column 29 should be on a new line. 17
 Erreur
javadoc JavadocMethod Missing a Javadoc comment. 21
 Erreur
whitespace ParenPad '(' is not followed by whitespace. 21
 Erreur
coding HiddenField 'content' hides a field. 21
 Erreur
whitespace ParenPad ')' is not preceded with whitespace. 21
 Erreur
blocks LeftCurly '{' at column 41 should be on a new line. 21
 Erreur
coding DeclarationOrder Instance variable definition in wrong order. 25
 Erreur
naming MemberName Name 'content' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 25
 Erreur
blocks LeftCurly '{' at column 48 should be on a new line. 28
 Erreur
blocks LeftCurly '{' at column 33 should be on a new line. 35
 Erreur
blocks LeftCurly '{' at column 30 should be on a new line. 41
 Erreur
blocks LeftCurly '{' at column 30 should be on a new line. 46
 Erreur
blocks LeftCurly '{' at column 30 should be on a new line. 51

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

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

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

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

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

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

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