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
5 0 1 25

Files

File
 I
 W
 E
fr/paris/lutece/plugins/document/modules/solr/business/SolrDocumentContentService.java 0 1 16
fr/paris/lutece/plugins/document/modules/solr/indexer/SolrDocIndexer.java 0 0 7
fr/paris/lutece/plugins/document/modules/solr/service/DocumentSolrPlugin.java 0 0 2

Rules

Category Rule Violations Severity
blocks NeedBraces 1
 Error
coding ParameterAssignment 1
 Error
ReturnCount
  • max: "5"
1
 Warning
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
3
 Error
imports UnusedImports 1
 Error
javadoc JavadocMethod 17
 Error
JavadocType 1
 Error
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
1
 Error

Details

fr/paris/lutece/plugins/document/modules/solr/business/SolrDocumentContentService.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 - java.util.Hashtable. 78
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 161
 Error
javadoc JavadocMethod Expected @param tag for 'terms'. 223
 Error
javadoc JavadocMethod Expected @return tag. 243
 Warning
coding ReturnCount Return count is 6 (max allowed for non-void methods/lambdas is 5). 243
 Error
javadoc JavadocMethod Expected @param tag for 'terms'. 243
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 244
 Error
javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 244
 Error
coding ParameterAssignment Assignment of parameter 'strPortletId' is not allowed. 282
 Error
javadoc JavadocMethod Missing a Javadoc comment. 399
 Error
javadoc JavadocMethod Expected @throws tag for 'SiteMessageException'. 426
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 554
 Error
javadoc JavadocMethod Expected @param tag for 'strMailingListId'. 554
 Error
javadoc JavadocMethod Expected @param tag for 'strXssError'. 554
 Error
javadoc JavadocMethod Expected @param tag for 'strCheckEmail'. 555
 Error
javadoc JavadocMethod Expected @param tag for 'strMandatoryField'. 555

fr/paris/lutece/plugins/document/modules/solr/indexer/SolrDocIndexer.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 'portlet'. 209
 Error
javadoc JavadocMethod Expected @param tag for 'listIdDocument'. 209
 Error
javadoc JavadocMethod Expected @throws tag for 'Exception'. 209
 Error
javadoc JavadocMethod Expected @throws tag for 'Exception'. 255
 Error
blocks NeedBraces 'else' construct must use '{}'s. 392
 Error
naming LocalVariableName Name '_factoryIndexer' must match pattern '^[a-z][a-zA-Z0-9]*$'. 399

fr/paris/lutece/plugins/document/modules/solr/service/DocumentSolrPlugin.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. 38