Le document suivant contient les résultats de Checkstyle 8.19 avec les règles build-config/lutece_checks.xml. 
| Fichiers | |||
|---|---|---|---|
| 9 | 0 | 0 | 132 |
| Catégorie | Règle | Violations | Sévérité |
|---|---|---|---|
| blocks | LeftCurly
|
11 | |
| NeedBraces | 3 | ||
RightCurly
|
1 | ||
| coding | ArrayTrailingComma | 3 | |
| DeclarationOrder | 4 | ||
| ExplicitInitialization | 1 | ||
| HiddenField | 1 | ||
| design | HideUtilityClassConstructor | 1 | |
| header | Header
|
9 | |
| imports | UnusedImports | 47 | |
| javadoc | JavadocMethod | 26 | |
| JavadocType | 6 | ||
| naming | MemberName
|
1 | |
| regexp | RegexpSinglelineJava
|
1 | |
RegexpSinglelineJava
|
1 | ||
| whitespace | ParenPad
|
17 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of '/*'. | 1 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.util.AppPropertiesService. | 6 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 10 | |
| blocks | LeftCurly | '{' at column 61 should be on a new line. | 10 | |
| coding | DeclarationOrder | Variable access definition in wrong order. | 13 | |
| coding | DeclarationOrder | Variable access definition in wrong order. | 15 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 17 | |
| blocks | LeftCurly | '{' at column 29 should be on a new line. | 17 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 21 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 21 | |
| coding | HiddenField | 'content' hides a field. | 21 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 21 | |
| blocks | LeftCurly | '{' at column 41 should be on a new line. | 21 | |
| coding | DeclarationOrder | Instance variable definition in wrong order. | 25 | |
| naming | MemberName | Name 'content' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 25 | |
| blocks | LeftCurly | '{' at column 48 should be on a new line. | 28 | |
| blocks | LeftCurly | '{' at column 33 should be on a new line. | 35 | |
| blocks | LeftCurly | '{' at column 30 should be on a new line. | 41 | |
| blocks | LeftCurly | '{' at column 30 should be on a new line. | 46 | |
| blocks | LeftCurly | '{' at column 30 should be on a new line. | 51 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| imports | UnusedImports | Unused import - org.xml.sax.ContentHandler. | 39 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.search.solr.util.LuteceSolrException. | 47 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.search.solr.util.TikaIndexerUtil. | 50 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.business.page.Page. | 51 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.business.page.PageHome. | 52 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.page.IPageService. | 54 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.spring.SpringContextService. | 55 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.util.AppException. | 56 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.util.url.UrlItem. | 59 | |
| javadoc | JavadocMethod | Unused @param tag for 'page'. | 132 | |
| javadoc | JavadocMethod | Expected @param tag for 'coord'. | 137 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 59 | |
| coding | ArrayTrailingComma | Array should contain trailing comma. | 89 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 115 | |
| coding | ArrayTrailingComma | Array should contain trailing comma. | 142 | |
| coding | ArrayTrailingComma | Array should contain trailing comma. | 170 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 44 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 68 | |
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 68 | |
| javadoc | JavadocMethod | Expected @param tag for 'datalayer'. | 99 | |
| javadoc | JavadocMethod | Expected @param tag for 'dataLayerMapTemplate'. | 100 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 183 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 201 | |
| javadoc | JavadocMethod | Expected @return tag. | 240 | |
| javadoc | JavadocMethod | Expected @param tag for 'adresse'. | 240 | |
| javadoc | JavadocMethod | Expected @return tag. | 264 | |
| javadoc | JavadocMethod | Expected @param tag for 'coordinate'. | 264 | |
| javadoc | JavadocMethod | Expected @param tag for 'map'. | 293 | |
| javadoc | JavadocMethod | Expected @param tag for 'model'. | 293 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Type Javadoc comment is missing @param <S> tag. | 49 | |
| javadoc | JavadocType | Type Javadoc comment is missing @param <T> tag. | 49 | |
| javadoc | JavadocMethod | Expected @param tag for '<T>'. | 82 | |
| javadoc | JavadocMethod | Unused @param tag for '<S>'. | 108 | |
| javadoc | JavadocMethod | Unused @param tag for '<T>'. | 110 | |
| javadoc | JavadocMethod | Expected @param tag for 'listIds'. | 116 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.carto.business.BasemapHome. | 36 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.carto.business.DataLayerMapTemplateHome. | 42 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.carto.business.IDataLayerDAO. | 45 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.search.solr.business.SolrFacetedResult. | 52 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.search.solr.business.SolrSearchAppConf. | 53 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.search.solr.business.SolrSearchEngine. | 54 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.search.solr.service.SolrSearchAppConfService. | 58 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.search.solr.web.SolrIndexerJspBean. | 59 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.workflowcore.business.state.State. | 60 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.spring.SpringContextService. | 71 | |
| coding | DeclarationOrder | Static variable definition in wrong order. | 146 | |
| coding | ExplicitInitialization | Variable '_idMap' explicitly initialized to '0' (default value for its type). | 146 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 162 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 162 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 162 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 162 | |
| blocks | LeftCurly | '{' at column 55 should be on a new line. | 162 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 163 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 163 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 163 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 163 | |
| javadoc | JavadocMethod | Expected @param tag for 'datalayer'. | 248 | |
| javadoc | JavadocMethod | Expected @param tag for 'dataLayerMapTemplate'. | 249 | |
| javadoc | JavadocMethod | Expected @throws tag for 'AccessDeniedException'. | 315 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 376 | |
| javadoc | JavadocMethod | Expected @throws tag for 'AccessDeniedException'. | 508 |
| Sévérité | Catégorie | Règle | Message | Ligne |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.message.AdminMessage. | 37 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.message.AdminMessageService. | 38 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.business.file.File. | 40 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.business.file.FileHome. | 41 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.business.physicalfile.PhysicalFile. | 42 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.file.FileService. | 44 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.file.IFileStoreServiceProvider. | 45 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.util.AppException. | 46 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.util.AppLogService. | 47 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.util.AppPropertiesService. | 48 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.util.url.UrlItem. | 52 | |
| imports | UnusedImports | Unused import - java.nio.file.Files. | 59 | |
| imports | UnusedImports | Unused import - java.util.Optional. | 63 | |
| imports | UnusedImports | Unused import - org.apache.commons.lang3.StringUtils. | 68 | |
| imports | UnusedImports | Unused import - com.fasterxml.jackson.core.JsonProcessingException. | 70 | |
| imports | UnusedImports | Unused import - com.fasterxml.jackson.databind.JsonMappingException. | 71 | |
| imports | UnusedImports | Unused import - com.fasterxml.jackson.databind.JsonNode. | 72 | |
| imports | UnusedImports | Unused import - com.fasterxml.jackson.databind.ObjectMapper. | 73 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.carto.business.DataLayerMapTemplate. | 79 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.carto.business.DataLayerMapTemplateHome. | 80 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.carto.business.DataLayerType. | 81 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.carto.business.DataLayerTypeHome. | 82 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.cartography.modules.solr.service.CartographyService. | 84 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.filegenerator.business.TemporaryFile. | 85 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.leaflet.business.GeolocItem. | 87 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.leaflet.business.GeolocItemPolygon. | 88 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.leaflet.service.IconService. | 89 | |
| javadoc | JavadocMethod | Expected @throws tag for 'AccessDeniedException'. | 210 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 212 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 212 | |
| javadoc | JavadocMethod | Missing a Javadoc comment. | 219 | |
| blocks | LeftCurly | '{' at column 7 should be on a new line. | 233 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 234 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 247 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 248 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 249 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 250 | |
| blocks | RightCurly | '}' at column 3 should be alone on a line. | 283 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 283 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 283 | |
| blocks | LeftCurly | '{' at column 27 should be on a new line. | 283 | |
| regexp | RegexpSinglelineJava | Line matches the illegal pattern 'printStackTrace'. | 285 | |
| javadoc | JavadocMethod | Expected @param tag for 'datalayer'. | 299 |