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
16 0 0 56

Files

File
 I
 W
 E
fr/paris/lutece/plugins/libraryelastic/business/bulk/AbstractSubRequest.java 0 0 6
fr/paris/lutece/plugins/libraryelastic/business/bulk/BulkRequest.java 0 0 2
fr/paris/lutece/plugins/libraryelastic/business/bulk/IndexSubRequest.java 0 0 1
fr/paris/lutece/plugins/libraryelastic/business/search/AbstractSearchLeaf.java 0 0 1
fr/paris/lutece/plugins/libraryelastic/business/search/AbstractSearchQuery.java 0 0 4
fr/paris/lutece/plugins/libraryelastic/business/search/AbstractSearchSimpleTextLeaf.java 0 0 1
fr/paris/lutece/plugins/libraryelastic/business/search/BoolQuery.java 0 0 6
fr/paris/lutece/plugins/libraryelastic/business/search/MatchLeaf.java 0 0 4
fr/paris/lutece/plugins/libraryelastic/business/search/SearchRequest.java 0 0 3
fr/paris/lutece/plugins/libraryelastic/business/search/TermLeaf.java 0 0 4
fr/paris/lutece/plugins/libraryelastic/business/suggest/AbstractSuggestRequest.java 0 0 2
fr/paris/lutece/plugins/libraryelastic/business/suggest/CompletionSuggestRequest.java 0 0 1
fr/paris/lutece/plugins/libraryelastic/util/Constants.java 0 0 1
fr/paris/lutece/plugins/libraryelastic/util/Elastic.java 0 0 8
fr/paris/lutece/plugins/libraryelastic/util/ElasticClientException.java 0 0 2
fr/paris/lutece/plugins/libraryelastic/util/ElasticConnexion.java 0 0 10

Rules

Category Rule Violations Severity
coding DeclarationOrder 2
 Error
ExplicitInitialization 2
 Error
design VisibilityModifier 4
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
16
 Error
javadoc JavadocMethod 27
 Error
JavadocType 1
 Error
naming MethodName
  • format: "^[a-z][a-zA-Z0-9]*$"
4
 Error

Details

fr/paris/lutece/plugins/libraryelastic/business/bulk/AbstractSubRequest.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. 40
 Error
javadoc JavadocMethod Missing a Javadoc comment. 45
 Error
javadoc JavadocMethod Expected @param tag for 'strAction'. 55
 Error
javadoc JavadocMethod Expected @param tag for 'strId'. 65
 Error
javadoc JavadocMethod Expected @param tag for 'factory'. 76

fr/paris/lutece/plugins/libraryelastic/business/bulk/BulkRequest.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 @throws tag for 'JsonProcessingException'. 81

fr/paris/lutece/plugins/libraryelastic/business/bulk/IndexSubRequest.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/libraryelastic/business/search/AbstractSearchLeaf.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/libraryelastic/business/search/AbstractSearchQuery.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 @return tag. 47
 Error
javadoc JavadocMethod Expected @param tag for 'factory'. 61
 Error
javadoc JavadocMethod Expected @param tag for 'factory'. 67

fr/paris/lutece/plugins/libraryelastic/business/search/AbstractSearchSimpleTextLeaf.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/libraryelastic/business/search/BoolQuery.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 VisibilityModifier Variable '_listMust' must be private and have accessor methods. 51
 Error
design VisibilityModifier Variable '_listFilter' must be private and have accessor methods. 52
 Error
design VisibilityModifier Variable '_listShould' must be private and have accessor methods. 53
 Error
design VisibilityModifier Variable '_listMustNot' must be private and have accessor methods. 54
 Error
javadoc JavadocMethod Missing a Javadoc comment. 73

fr/paris/lutece/plugins/libraryelastic/business/search/MatchLeaf.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
coding DeclarationOrder Constructor definition in wrong order. 53
 Error
javadoc JavadocMethod Expected @param tag for 'strKey'. 53
 Error
javadoc JavadocMethod Expected @param tag for 'strValue'. 53

fr/paris/lutece/plugins/libraryelastic/business/search/SearchRequest.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
coding ExplicitInitialization Variable '_searchQuery' explicitly initialized to 'null' (default value for its type). 44
 Error
coding ExplicitInitialization Variable '_nSize' explicitly initialized to 'null' (default value for its type). 45

fr/paris/lutece/plugins/libraryelastic/business/search/TermLeaf.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
coding DeclarationOrder Constructor definition in wrong order. 53
 Error
javadoc JavadocMethod Expected @param tag for 'strKey'. 53
 Error
javadoc JavadocMethod Expected @param tag for 'strValue'. 53

fr/paris/lutece/plugins/libraryelastic/business/suggest/AbstractSuggestRequest.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 'factory'. 108

fr/paris/lutece/plugins/libraryelastic/business/suggest/CompletionSuggestRequest.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/libraryelastic/util/Constants.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/libraryelastic/util/Elastic.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 @throws tag for 'ElasticClientException'. 151
 Error
javadoc JavadocMethod Unused @param tag for 'strSearchRequest'. 347
 Error
javadoc JavadocMethod Expected @param tag for 'searchRequest'. 353
 Error
javadoc JavadocMethod Expected @return tag. 433
 Error
javadoc JavadocMethod Expected @param tag for 'strIndex'. 433
 Error
javadoc JavadocMethod Expected @param tag for 'strJsonMappings'. 433
 Error
javadoc JavadocMethod Expected @throws tag for 'ElasticClientException'. 433

fr/paris/lutece/plugins/libraryelastic/util/ElasticClientException.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. 43

fr/paris/lutece/plugins/libraryelastic/util/ElasticConnexion.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 'strServerLogin'. 53
 Error
javadoc JavadocMethod Unused @param tag for 'strServerPwd'. 55
 Error
javadoc JavadocMethod Expected @param tag for 'strLogin'. 58
 Error
javadoc JavadocMethod Expected @param tag for 'strPassword'. 58
 Error
naming MethodName Name 'GET' must match pattern '^[a-z][a-zA-Z0-9]*$'. 79
 Error
javadoc JavadocMethod Expected @throws tag for 'HttpAccessException'. 79
 Error
naming MethodName Name 'PUT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 96
 Error
naming MethodName Name 'POST' must match pattern '^[a-z][a-zA-Z0-9]*$'. 112
 Error
naming MethodName Name 'DELETE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 126