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
18 0 0 79

Files

File
 I
 W
 E
fr/paris/lutece/plugins/searchstats/business/IQueryRecordDAO.java 0 0 7
fr/paris/lutece/plugins/searchstats/business/QueryRecord.java 0 0 1
fr/paris/lutece/plugins/searchstats/business/QueryRecordDAO.java 0 0 6
fr/paris/lutece/plugins/searchstats/business/QueryRecordHome.java 0 0 6
fr/paris/lutece/plugins/searchstats/business/RecordCount.java 0 0 1
fr/paris/lutece/plugins/searchstats/business/RecordFilter.java 0 0 3
fr/paris/lutece/plugins/searchstats/business/TimedRecord.java 0 0 1
fr/paris/lutece/plugins/searchstats/daemon/StatsDaemon.java 0 0 8
fr/paris/lutece/plugins/searchstats/service/QueryListener.java 0 0 2
fr/paris/lutece/plugins/searchstats/service/SearchStatsPlugin.java 0 0 2
fr/paris/lutece/plugins/searchstats/service/SearchStatsService.java 0 0 28
fr/paris/lutece/plugins/searchstats/service/TermRecord.java 0 0 1
fr/paris/lutece/plugins/searchstats/service/TermRecordComparator.java 0 0 2
fr/paris/lutece/plugins/searchstats/service/TermRecordService.java 0 0 3
fr/paris/lutece/plugins/searchstats/web/SearchStatsDashboardComponent.java 0 0 2
fr/paris/lutece/plugins/searchstats/web/SearchStatsJspBean.java 0 0 6

Rules

Category Rule Violations Severity
coding ExplicitInitialization 1
 Error
design HideUtilityClassConstructor 1
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
16
 Error
imports RedundantImport 3
 Error
javadoc JavadocMethod 26
 Error
JavadocType 3
 Error
modifier RedundantModifier 4
 Error
naming StaticVariableName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
3
 Error
whitespace ParenPad
  • option: "space"
20
 Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
2
 Error

Details

fr/paris/lutece/plugins/searchstats/business/IQueryRecordDAO.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
imports RedundantImport Redundant import from the same package - fr.paris.lutece.plugins.searchstats.business.QueryRecord. 36
 Error
modifier RedundantModifier Redundant 'public' modifier. 66
 Error
modifier RedundantModifier Redundant 'public' modifier. 77
 Error
modifier RedundantModifier Redundant 'public' modifier. 87
 Error
javadoc JavadocMethod Expected @param tag for 'bNoResult'. 87
 Error
modifier RedundantModifier Redundant 'public' modifier. 96

fr/paris/lutece/plugins/searchstats/business/QueryRecord.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/searchstats/business/QueryRecordDAO.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 RedundantImport Redundant import from the same package - fr.paris.lutece.plugins.searchstats.business.QueryRecord. 36
 Error
javadoc JavadocMethod Expected @param tag for 'bNoResult'. 95
 Error
javadoc JavadocMethod Missing a Javadoc comment. 234
 Error
javadoc JavadocMethod Missing a Javadoc comment. 243
 Error
javadoc JavadocMethod Missing a Javadoc comment. 261

fr/paris/lutece/plugins/searchstats/business/QueryRecordHome.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 RedundantImport Redundant import from the same package - fr.paris.lutece.plugins.searchstats.business.QueryRecord. 36
 Error
javadoc JavadocMethod Expected @param tag for 'filter'. 83
 Error
javadoc JavadocMethod Expected @param tag for 'filter'. 95
 Error
javadoc JavadocMethod Expected @param tag for 'bNoResult'. 108
 Error
javadoc JavadocMethod Missing a Javadoc comment. 113

fr/paris/lutece/plugins/searchstats/business/RecordCount.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/searchstats/business/RecordFilter.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 Unused @param tag for 'NoResults'. 67
 Error
javadoc JavadocMethod Expected @param tag for 'bNoResults'. 69

fr/paris/lutece/plugins/searchstats/business/TimedRecord.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/searchstats/daemon/StatsDaemon.java

Severity Category Rule Message Line
 Error
header Header Missing a header - not enough lines in file. 1
 Error
javadoc JavadocType Missing a Javadoc comment. 9
 Error
whitespace ParenPad '(' is not followed by whitespace. 16
 Error
whitespace ParenPad '(' is not followed by whitespace. 16
 Error
whitespace ParenPad ')' is not preceded with whitespace. 16
 Error
whitespace ParenPad '(' is not followed by whitespace. 16
 Error
whitespace ParenPad ')' is not preceded with whitespace. 16
 Error
whitespace ParenPad ')' is not preceded with whitespace. 16

fr/paris/lutece/plugins/searchstats/service/QueryListener.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 Missing a Javadoc comment. 52

fr/paris/lutece/plugins/searchstats/service/SearchStatsPlugin.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 Missing a Javadoc comment. 50

fr/paris/lutece/plugins/searchstats/service/SearchStatsService.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. 62
 Error
naming StaticVariableName Name 'PROPERTY_MAIL_SENDER_NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 65
 Error
naming StaticVariableName Name 'CONSTANT_MAIL_SENDER' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 66
 Error
naming StaticVariableName Name 'MESSAGE_MAIL_SUBJECT' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 67
 Error
whitespace ParenPad '(' is not followed by whitespace. 67
 Error
whitespace ParenPad ')' is not preceded with whitespace. 67
 Error
whitespace ParenPad '(' is not followed by whitespace. 67
 Error
whitespace ParenPad ')' is not preceded with whitespace. 67
 Error
javadoc JavadocMethod Expected @return tag. 80
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 82
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 82
 Error
whitespace ParenPad '(' is not followed by whitespace. 88
 Error
whitespace ParenPad ')' is not preceded with whitespace. 88
 Error
whitespace ParenPad ')' is not preceded with whitespace. 88
 Error
whitespace ParenPad '(' is not followed by whitespace. 89
 Error
whitespace ParenPad ')' is not preceded with whitespace. 89
 Error
whitespace ParenPad '(' is not followed by whitespace. 92
 Error
whitespace ParenPad ')' is not preceded with whitespace. 92
 Error
whitespace ParenPad ')' is not preceded with whitespace. 92
 Error
javadoc JavadocMethod Expected @param tag for 'nMonth'. 116
 Error
javadoc JavadocMethod Expected @param tag for 'nDay'. 116
 Error
javadoc JavadocMethod Expected @param tag for 'nHour'. 116
 Error
whitespace ParenPad '(' is not followed by whitespace. 133
 Error
whitespace ParenPad ')' is not preceded with whitespace. 133
 Error
javadoc JavadocMethod Expected @param tag for 'listQueryRecords'. 165
 Error
javadoc JavadocMethod Expected @param tag for 'nLimit'. 165
 Error
javadoc JavadocMethod Expected @param tag for 'query'. 182

fr/paris/lutece/plugins/searchstats/service/TermRecord.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/searchstats/service/TermRecordComparator.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 Missing a Javadoc comment. 44

fr/paris/lutece/plugins/searchstats/service/TermRecordService.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 HideUtilityClassConstructor Utility classes should not have a public or default constructor. 48
 Error
javadoc JavadocMethod Missing a Javadoc comment. 51

fr/paris/lutece/plugins/searchstats/web/SearchStatsDashboardComponent.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 'request'. 80

fr/paris/lutece/plugins/searchstats/web/SearchStatsJspBean.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. 63
 Error
coding ExplicitInitialization Variable '_nItemPerPageDates' explicitly initialized to '0' (default value for its type). 97
 Error
javadoc JavadocMethod Missing a Javadoc comment. 101
 Error
javadoc JavadocMethod Missing a Javadoc comment. 172
 Error
javadoc JavadocMethod Missing a Javadoc comment. 208