Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
23 0 0 96

Rules

Category Rule Violations Severity
coding DeclarationOrder 3  Error
design FinalClass 1  Error
HideUtilityClassConstructor 1  Error
VisibilityModifier 3  Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/report-plugin-dataviz-doc-QA/workspace/target/checkstyle-header.txt"
21  Error
imports UnusedImports 24  Error
javadoc JavadocMethod 18  Error
JavadocType 1  Error
naming MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
1  Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
3  Error
whitespace ParenPad
  • option: "space"
18  Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
2  Error

Details

fr/paris/lutece/plugins/dataviz/business/AbstractSqlStat.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error naming MemberName Name '_Result' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 44
 Error naming ParameterName Name 'Result' must match pattern '^[a-z][a-zA-Z0-9]*$'. 83

fr/paris/lutece/plugins/dataviz/business/AbstractStat.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error whitespace ParenPad '(' is not followed by whitespace. 74
 Error whitespace ParenPad ')' is not preceded with whitespace. 74

fr/paris/lutece/plugins/dataviz/business/CompositeStatList.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error whitespace ParenPad ')' is not preceded with whitespace. 20
 Error whitespace ParenPad '(' is not followed by whitespace. 32

fr/paris/lutece/plugins/dataviz/business/IList.java

Severity Category Rule Message Line
 Error header Header Missing a header - not enough lines in file. 1
 Error javadoc JavadocMethod Missing a Javadoc comment. 17

fr/paris/lutece/plugins/dataviz/business/ISqlStat.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error naming ParameterName Name 'Result' must match pattern '^[a-z][a-zA-Z0-9]*$'. 32

fr/paris/lutece/plugins/dataviz/business/IStat.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/dataviz/business/IStatDAO.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.Collection. 39
 Error javadoc JavadocMethod Unused @param tag for 'plugin'. 96
 Error javadoc JavadocMethod Expected @param tag for '_plugin'. 100
 Error naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 100
 Error whitespace ParenPad ')' is not preceded with whitespace. 108

fr/paris/lutece/plugins/dataviz/business/IStatList.java

Severity Category Rule Message Line
 Error header Header Missing a header - not enough lines in file. 1

fr/paris/lutece/plugins/dataviz/business/Stat.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error javadoc JavadocMethod Unused @param tag for 'Name'. 61
 Error javadoc JavadocMethod Expected @param tag for 'name'. 63
 Error javadoc JavadocMethod Unused @param tag for 'Id'. 79
 Error javadoc JavadocMethod Expected @param tag for 'id'. 81
 Error javadoc JavadocMethod Unused @param tag for 'List'. 97
 Error javadoc JavadocMethod Expected @param tag for 'list'. 99
 Error javadoc JavadocMethod Unused @param tag for 'GraphType'. 115
 Error javadoc JavadocMethod Expected @param tag for 'graphType'. 117

fr/paris/lutece/plugins/dataviz/business/StatDAO.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - java.util.ArrayList. 42
 Error imports UnusedImports Unused import - java.util.Collection. 43
 Error whitespace ParenPad ')' is not preceded with whitespace. 215

fr/paris/lutece/plugins/dataviz/business/StatHome.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - java.util.Collection. 40
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error javadoc JavadocMethod Missing a Javadoc comment. 66

fr/paris/lutece/plugins/dataviz/business/StatList.java

Severity Category Rule Message Line
 Error header Header Missing a header - not enough lines in file. 1

fr/paris/lutece/plugins/dataviz/business/StatSingle.java

Severity Category Rule Message Line
 Error header Header Missing a header - not enough lines in file. 1

fr/paris/lutece/plugins/dataviz/service/StatNotFoundException.java

Severity Category Rule Message Line
 Error header Header Missing a header - not enough lines in file. 1
 Error javadoc JavadocMethod Missing a Javadoc comment. 15

fr/paris/lutece/plugins/dataviz/service/StatsService.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error imports UnusedImports Unused import - fr.paris.lutece.plugins.dataviz.business.IStat. 9
 Error design FinalClass Class StatsService should be declared as final. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error javadoc JavadocMethod Expected @param tag for 'strStatName'. 59

fr/paris/lutece/plugins/dataviz/web/ManageStatJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error design VisibilityModifier Variable '_nDefaultItemsPerPage' must be private and have accessor methods. 51
 Error design VisibilityModifier Variable '_strCurrentPageIndex' must be private and have accessor methods. 52
 Error design VisibilityModifier Variable '_nItemsPerPage' must be private and have accessor methods. 53

fr/paris/lutece/plugins/dataviz/web/StatJspBean.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of '/*'. 1
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 62
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 62
 Error coding DeclarationOrder Variable access definition in wrong order. 68
 Error javadoc JavadocMethod Missing a Javadoc comment. 74
 Error whitespace ParenPad ')' is not preceded with whitespace. 85
 Error whitespace ParenPad ')' is not preceded with whitespace. 86
 Error whitespace ParenPad ')' is not preceded with whitespace. 87
 Error whitespace ParenPad ')' is not preceded with whitespace. 88
 Error whitespace ParenPad '(' is not followed by whitespace. 91
 Error whitespace ParenPad ')' is not preceded with whitespace. 91

fr/paris/lutece/plugins/dataviz/web/StatServlet.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2

fr/paris/lutece/plugins/dataviz/web/StatXPage.java

Severity Category Rule Message Line
 Error header Header Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. 2
 Error coding DeclarationOrder Variable access definition in wrong order. 62
 Error coding DeclarationOrder Variable access definition in wrong order. 63
 Error whitespace ParenPad '(' is not followed by whitespace. 84
 Error whitespace ParenPad ')' is not preceded with whitespace. 94
 Error whitespace ParenPad ')' is not preceded with whitespace. 95
 Error whitespace ParenPad ')' is not preceded with whitespace. 96
 Error whitespace ParenPad '(' is not followed by whitespace. 99
 Error whitespace ParenPad ')' is not preceded with whitespace. 99

fr/paris/lutece/plugins/dataviz/web/rs/Constants.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. 37
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 37

fr/paris/lutece/plugins/dataviz/web/rs/StatRest.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.plugins.dataviz.business.Stat. 36
 Error imports UnusedImports Unused import - fr.paris.lutece.plugins.dataviz.business.StatHome. 37
 Error imports UnusedImports Unused import - fr.paris.lutece.plugins.rest.util.json.JSONUtil. 39
 Error imports UnusedImports Unused import - fr.paris.lutece.plugins.rest.util.xml.XMLUtil. 40
 Error imports UnusedImports Unused import - fr.paris.lutece.util.xml.XmlUtil. 41
 Error imports UnusedImports Unused import - fr.paris.lutece.portal.service.util.AppLogService. 42
 Error imports UnusedImports Unused import - java.io.IOException. 43
 Error imports UnusedImports Unused import - net.sf.json.JSONObject. 45
 Error imports UnusedImports Unused import - java.util.Collection. 47
 Error imports UnusedImports Unused import - javax.ws.rs.DELETE. 48
 Error imports UnusedImports Unused import - javax.ws.rs.FormParam. 49
 Error imports UnusedImports Unused import - javax.ws.rs.GET. 50
 Error imports UnusedImports Unused import - javax.ws.rs.HeaderParam. 51
 Error imports UnusedImports Unused import - javax.ws.rs.POST. 52
 Error imports UnusedImports Unused import - javax.ws.rs.PathParam. 54
 Error imports UnusedImports Unused import - javax.ws.rs.QueryParam. 55
 Error imports UnusedImports Unused import - javax.ws.rs.core.HttpHeaders. 56
 Error imports UnusedImports Unused import - javax.ws.rs.core.MediaType. 57
 Error imports UnusedImports Unused import - javax.ws.rs.core.Response. 58