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
45 0 0 279

Files

File
 I
 W
 E
fr/paris/lutece/plugins/knowledge/business/Bot.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/BotDAO.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/BotHome.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/BotSession.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/BotSessionDAO.java 0 0 10
fr/paris/lutece/plugins/knowledge/business/BotSessionHome.java 0 0 3
fr/paris/lutece/plugins/knowledge/business/Dataset.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/DatasetDAO.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/DatasetFile.java 0 0 5
fr/paris/lutece/plugins/knowledge/business/DatasetFileDAO.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/DatasetFileHome.java 0 0 2
fr/paris/lutece/plugins/knowledge/business/DatasetHome.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/IBotDAO.java 0 0 4
fr/paris/lutece/plugins/knowledge/business/IBotSessionDAO.java 0 0 12
fr/paris/lutece/plugins/knowledge/business/IDatasetDAO.java 0 0 4
fr/paris/lutece/plugins/knowledge/business/IDatasetFileDAO.java 0 0 5
fr/paris/lutece/plugins/knowledge/business/IToolSetAbilityDAO.java 0 0 4
fr/paris/lutece/plugins/knowledge/business/IToolSetDAO.java 0 0 4
fr/paris/lutece/plugins/knowledge/business/ToolSet.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/ToolSetAbility.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/ToolSetAbilityDAO.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/ToolSetAbilityHome.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/ToolSetDAO.java 0 0 1
fr/paris/lutece/plugins/knowledge/business/ToolSetHome.java 0 0 1
fr/paris/lutece/plugins/knowledge/rs/BotResponse.java 0 0 10
fr/paris/lutece/plugins/knowledge/rs/BotRest.java 0 0 5
fr/paris/lutece/plugins/knowledge/rs/Constants.java 0 0 1
fr/paris/lutece/plugins/knowledge/rs/RequestData.java 0 0 22
fr/paris/lutece/plugins/knowledge/rs/SwaggerRest.java 0 0 1
fr/paris/lutece/plugins/knowledge/service/ChatMemoryService.java 0 0 63
fr/paris/lutece/plugins/knowledge/service/ChatService.java 0 0 16
fr/paris/lutece/plugins/knowledge/service/Constant.java 0 0 2
fr/paris/lutece/plugins/knowledge/service/DataSetService.java 0 0 12
fr/paris/lutece/plugins/knowledge/service/ElasticStoreService.java 0 0 33
fr/paris/lutece/plugins/knowledge/service/PromptUtils.java 0 0 9
fr/paris/lutece/plugins/knowledge/web/AbstractManageBotsJspBean.java 0 0 7
fr/paris/lutece/plugins/knowledge/web/BotJspBean.java 0 0 3
fr/paris/lutece/plugins/knowledge/web/BotSessionJspBean.java 0 0 3
fr/paris/lutece/plugins/knowledge/web/BotXPage.java 0 0 11
fr/paris/lutece/plugins/knowledge/web/DatasetFileJspBean.java 0 0 3
fr/paris/lutece/plugins/knowledge/web/DatasetJspBean.java 0 0 5
fr/paris/lutece/plugins/knowledge/web/ToolSetAbilityJspBean.java 0 0 3
fr/paris/lutece/plugins/knowledge/web/ToolSetJspBean.java 0 0 3

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
25
 Error
RightCurly
  • option: "alone"
4
 Error
coding HiddenField 8
 Error
design FinalClass 1
 Error
HideUtilityClassConstructor 5
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
43
 Error
imports AvoidStarImport 10
 Error
javadoc JavadocMethod 98
 Error
JavadocType 9
 Error
naming LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
1
 Error
MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
8
 Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
6
 Error
StaticVariableName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
2
 Error
regexp RegexpSinglelineJava
  • format: "System\.exit"
3
 Error
RegexpSinglelineJava
  • format: "System\.out\.println"
3
 Error
whitespace ParenPad
  • option: "space"
56
 Error

Details

fr/paris/lutece/plugins/knowledge/business/Bot.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/knowledge/business/BotDAO.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/knowledge/business/BotHome.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/knowledge/business/BotSession.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/knowledge/business/BotSessionDAO.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
whitespace ParenPad '(' is not followed by whitespace. 279
 Error
whitespace ParenPad ')' is not preceded with whitespace. 279
 Error
blocks LeftCurly '{' at column 120 should be on a new line. 279
 Error
whitespace ParenPad '(' is not followed by whitespace. 308
 Error
whitespace ParenPad ')' is not preceded with whitespace. 308
 Error
blocks LeftCurly '{' at column 85 should be on a new line. 308
 Error
whitespace ParenPad '(' is not followed by whitespace. 335
 Error
whitespace ParenPad ')' is not preceded with whitespace. 335
 Error
blocks LeftCurly '{' at column 100 should be on a new line. 335

fr/paris/lutece/plugins/knowledge/business/BotSessionHome.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 'strSessionId'. 183
 Error
javadoc JavadocMethod Expected @param tag for 'strAccessCode'. 187

fr/paris/lutece/plugins/knowledge/business/Dataset.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/knowledge/business/DatasetDAO.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/knowledge/business/DatasetFile.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. 145
 Error
javadoc JavadocMethod Missing a Javadoc comment. 150
 Error
javadoc JavadocMethod Missing a Javadoc comment. 155
 Error
javadoc JavadocMethod Missing a Javadoc comment. 160

fr/paris/lutece/plugins/knowledge/business/DatasetFileDAO.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/knowledge/business/DatasetFileHome.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
javadoc JavadocMethod Expected @param tag for 'nIdDataSet'. 138

fr/paris/lutece/plugins/knowledge/business/DatasetHome.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/knowledge/business/IBotDAO.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 'plugin'. 121
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 127
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 127

fr/paris/lutece/plugins/knowledge/business/IBotSessionDAO.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 'nKey'. 95
 Error
javadoc JavadocMethod Expected @param tag for 'strAccessCode'. 99
 Error
javadoc JavadocMethod Expected @param tag for 'strSessionId'. 99
 Error
javadoc JavadocMethod Unused @param tag for 'nKey'. 103
 Error
javadoc JavadocMethod Expected @param tag for 'strSessionId'. 107
 Error
javadoc JavadocMethod Expected @return tag. 125
 Error
javadoc JavadocMethod Expected @param tag for 'strAccessCode'. 125
 Error
javadoc JavadocMethod Expected @param tag for 'plugin'. 125
 Error
javadoc JavadocMethod Unused @param tag for 'plugin'. 148
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 154
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 154

fr/paris/lutece/plugins/knowledge/business/IDatasetDAO.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 'plugin'. 121
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 127
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 127

fr/paris/lutece/plugins/knowledge/business/IDatasetFileDAO.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 'nDatasetId'. 107
 Error
javadoc JavadocMethod Unused @param tag for 'plugin'. 130
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 136
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 136

fr/paris/lutece/plugins/knowledge/business/IToolSetAbilityDAO.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 'plugin'. 132
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 138
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 138

fr/paris/lutece/plugins/knowledge/business/IToolSetDAO.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 'plugin'. 121
 Error
javadoc JavadocMethod Expected @param tag for '_plugin'. 127
 Error
naming ParameterName Name '_plugin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 127

fr/paris/lutece/plugins/knowledge/business/ToolSet.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/knowledge/business/ToolSetAbility.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/knowledge/business/ToolSetAbilityDAO.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/knowledge/business/ToolSetAbilityHome.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/knowledge/business/ToolSetDAO.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/knowledge/business/ToolSetHome.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/knowledge/rs/BotResponse.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
naming MemberName Name 'steps' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 19
 Error
naming MemberName Name 'output' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 20
 Error
naming MemberName Name 'session' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 21
 Error
javadoc JavadocMethod Missing a Javadoc comment. 23
 Error
coding HiddenField 'output' hides a field. 23
 Error
coding HiddenField 'session' hides a field. 23
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'printStackTrace'. 115
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'printStackTrace'. 125
 Error
coding HiddenField 'session' hides a field. 145

fr/paris/lutece/plugins/knowledge/rs/BotRest.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
naming StaticVariableName Name 'sessions' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 64
 Error
javadoc JavadocMethod Missing a Javadoc comment. 66
 Error
blocks LeftCurly '{' at column 48 should be on a new line. 81
 Error
javadoc JavadocMethod Missing a Javadoc comment. 100

fr/paris/lutece/plugins/knowledge/rs/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/knowledge/rs/RequestData.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. 3
 Error
naming MemberName Name 'action' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 5
 Error
naming MemberName Name 'question' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 6
 Error
naming MemberName Name 'botId' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 7
 Error
naming MemberName Name 'botSessionId' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 8
 Error
naming MemberName Name 'audioFile' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 9
 Error
javadoc JavadocMethod Missing a Javadoc comment. 11
 Error
javadoc JavadocMethod Missing a Javadoc comment. 16
 Error
coding HiddenField 'action' hides a field. 16
 Error
javadoc JavadocMethod Missing a Javadoc comment. 21
 Error
javadoc JavadocMethod Missing a Javadoc comment. 26
 Error
coding HiddenField 'question' hides a field. 26
 Error
javadoc JavadocMethod Missing a Javadoc comment. 31
 Error
javadoc JavadocMethod Missing a Javadoc comment. 36
 Error
coding HiddenField 'botId' hides a field. 36
 Error
javadoc JavadocMethod Missing a Javadoc comment. 41
 Error
javadoc JavadocMethod Missing a Javadoc comment. 46
 Error
coding HiddenField 'audioFile' hides a field. 46
 Error
javadoc JavadocMethod Missing a Javadoc comment. 51
 Error
javadoc JavadocMethod Missing a Javadoc comment. 56
 Error
coding HiddenField 'botSessionId' hides a field. 56

fr/paris/lutece/plugins/knowledge/rs/SwaggerRest.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/knowledge/service/ChatMemoryService.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. 25
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 25
 Error
javadoc JavadocMethod Unused @param tag for 'session'. 33
 Error
javadoc JavadocMethod Unused @param tag for 'projectId'. 35
 Error
whitespace ParenPad '(' is not followed by whitespace. 40
 Error
javadoc JavadocMethod Expected @param tag for 'request'. 40
 Error
javadoc JavadocMethod Expected @param tag for 'data'. 40
 Error
javadoc JavadocMethod Expected @param tag for 'bot'. 40
 Error
javadoc JavadocMethod Expected @param tag for 'sessionId'. 40
 Error
blocks LeftCurly '{' at column 147 should be on a new line. 40
 Error
whitespace ParenPad '(' is not followed by whitespace. 41
 Error
whitespace ParenPad ')' is not preceded with whitespace. 41
 Error
whitespace ParenPad '(' is not followed by whitespace. 45
 Error
whitespace ParenPad ')' is not preceded with whitespace. 45
 Error
whitespace ParenPad '(' is not followed by whitespace. 47
 Error
whitespace ParenPad ')' is not preceded with whitespace. 47
 Error
blocks LeftCurly '{' at column 41 should be on a new line. 47
 Error
whitespace ParenPad '(' is not followed by whitespace. 49
 Error
whitespace ParenPad ')' is not preceded with whitespace. 49
 Error
blocks LeftCurly '{' at column 46 should be on a new line. 53
 Error
whitespace ParenPad '(' is not followed by whitespace. 59
 Error
whitespace ParenPad ')' is not preceded with whitespace. 59
 Error
blocks LeftCurly '{' at column 38 should be on a new line. 59
 Error
whitespace ParenPad '(' is not followed by whitespace. 60
 Error
whitespace ParenPad ')' is not preceded with whitespace. 60
 Error
blocks LeftCurly '{' at column 49 should be on a new line. 60
 Error
whitespace ParenPad '(' is not followed by whitespace. 63
 Error
whitespace ParenPad '(' is not followed by whitespace. 63
 Error
whitespace ParenPad ')' is not preceded with whitespace. 63
 Error
whitespace ParenPad ')' is not preceded with whitespace. 63
 Error
whitespace ParenPad ')' is not preceded with whitespace. 64
 Error
blocks RightCurly '}' at column 13 should be alone on a line. 66
 Error
blocks LeftCurly '{' at column 20 should be on a new line. 66
 Error
whitespace ParenPad '(' is not followed by whitespace. 67
 Error
whitespace ParenPad '(' is not followed by whitespace. 69
 Error
whitespace ParenPad ')' is not preceded with whitespace. 69
 Error
blocks RightCurly '}' at column 9 should be alone on a line. 72
 Error
blocks LeftCurly '{' at column 16 should be on a new line. 72
 Error
whitespace ParenPad '(' is not followed by whitespace. 76
 Error
whitespace ParenPad ')' is not preceded with whitespace. 76
 Error
javadoc JavadocMethod Missing a Javadoc comment. 79
 Error
whitespace ParenPad '(' is not followed by whitespace. 79
 Error
blocks LeftCurly '{' at column 102 should be on a new line. 79
 Error
whitespace ParenPad '(' is not followed by whitespace. 82
 Error
whitespace ParenPad '(' is not followed by whitespace. 82
 Error
whitespace ParenPad ')' is not preceded with whitespace. 82
 Error
whitespace ParenPad ')' is not preceded with whitespace. 82
 Error
whitespace ParenPad '(' is not followed by whitespace. 83
 Error
whitespace ParenPad ')' is not preceded with whitespace. 83
 Error
whitespace ParenPad '(' is not followed by whitespace. 86
 Error
whitespace ParenPad ')' is not preceded with whitespace. 86
 Error
javadoc JavadocType Missing a Javadoc comment. 89
 Error
blocks LeftCurly '{' at column 73 should be on a new line. 89
 Error
whitespace ParenPad '(' is not followed by whitespace. 91
 Error
whitespace ParenPad ')' is not preceded with whitespace. 91
 Error
blocks LeftCurly '{' at column 63 should be on a new line. 91
 Error
whitespace ParenPad '(' is not followed by whitespace. 98
 Error
whitespace ParenPad ')' is not preceded with whitespace. 98
 Error
blocks LeftCurly '{' at column 81 should be on a new line. 98
 Error
whitespace ParenPad '(' is not followed by whitespace. 106
 Error
whitespace ParenPad ')' is not preceded with whitespace. 106
 Error
blocks LeftCurly '{' at column 53 should be on a new line. 106

fr/paris/lutece/plugins/knowledge/service/ChatService.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
 Error
javadoc JavadocMethod Missing a Javadoc comment. 40
 Error
whitespace ParenPad '(' is not followed by whitespace. 51
 Error
whitespace ParenPad ')' is not preceded with whitespace. 51
 Error
javadoc JavadocMethod Missing a Javadoc comment. 70
 Error
naming LocalVariableName Name '_proxyAddress' must match pattern '^[a-z][a-zA-Z0-9]*$'. 74
 Error
javadoc JavadocMethod Missing a Javadoc comment. 86
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 91
 Error
blocks LeftCurly '{' at column 34 should be on a new line. 94
 Error
blocks LeftCurly '{' at column 27 should be on a new line. 96
 Error
javadoc JavadocMethod Missing a Javadoc comment. 103
 Error
javadoc JavadocType Missing a Javadoc comment. 113
 Error
javadoc JavadocMethod Missing a Javadoc comment. 115
 Error
whitespace ParenPad ')' is not preceded with whitespace. 115

fr/paris/lutece/plugins/knowledge/service/Constant.java

Severity Category Rule Message Line
 Error
header Header Missing a header - not enough lines in file. 1
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 8

fr/paris/lutece/plugins/knowledge/service/DataSetService.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
design FinalClass Class DataSetService should be declared as final. 13
 Error
javadoc JavadocType Missing a Javadoc comment. 13
 Error
javadoc JavadocMethod Missing a Javadoc comment. 17
 Error
blocks LeftCurly '{' at column 36 should be on a new line. 64
 Error
blocks LeftCurly '{' at column 17 should be on a new line. 65
 Error
blocks RightCurly '}' at column 4 should be alone on a line. 68
 Error
whitespace ParenPad '(' is not followed by whitespace. 68
 Error
whitespace ParenPad ')' is not preceded with whitespace. 68
 Error
blocks LeftCurly '{' at column 37 should be on a new line. 68
 Error
whitespace ParenPad '(' is not followed by whitespace. 69
 Error
whitespace ParenPad ')' is not preceded with whitespace. 69

fr/paris/lutece/plugins/knowledge/service/ElasticStoreService.java

Severity Category Rule Message Line
 Error
header Header Line does not match expected header line of '/*'. 1
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.data.document.*. 4
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.data.document.parser.*. 5
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.data.document.splitter.*. 6
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.data.embedding.*. 7
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.model.embedding.*. 9
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.model.openai.*. 10
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.store.embedding.*. 12
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - java.util.*. 21
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - dev.langchain4j.model.openai.OpenAiModelName.*. 22
 Error
imports AvoidStarImport Using the '.*' form of import should be avoided - java.time.Duration.*. 23
 Error
javadoc JavadocType Missing a Javadoc comment. 25
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 25
 Error
naming StaticVariableName Name 'fileStoreService' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. 27
 Error
javadoc JavadocMethod Unused @param tag for 'document'. 35
 Error
javadoc JavadocMethod Unused @param tag for 'projectId'. 37
 Error
javadoc JavadocMethod Expected @param tag for 'dataSetFile'. 40
 Error
javadoc JavadocMethod Expected @param tag for 'dataSet'. 40
 Error
blocks LeftCurly '{' at column 91 should be on a new line. 45
 Error
blocks LeftCurly '{' at column 13 should be on a new line. 49
 Error
blocks RightCurly '}' at column 3 should be alone on a line. 61
 Error
whitespace ParenPad '(' is not followed by whitespace. 61
 Error
whitespace ParenPad ')' is not preceded with whitespace. 61
 Error
blocks LeftCurly '{' at column 36 should be on a new line. 61
 Error
whitespace ParenPad '(' is not followed by whitespace. 62
 Error
whitespace ParenPad ')' is not preceded with whitespace. 62
 Error
javadoc JavadocMethod Unused @param tag for 'relevantEmbeddings'. 70
 Error
javadoc JavadocMethod Expected @param tag for 'inputStream'. 74
 Error
javadoc JavadocMethod Expected @param tag for 'fileName'. 74
 Error
javadoc JavadocMethod Unused @param tag for 'projectId'. 110
 Error
javadoc JavadocMethod Expected @param tag for 'dateSetId'. 114
 Error
javadoc JavadocMethod Unused @param tag for 'projectId'. 124
 Error
javadoc JavadocMethod Expected @param tag for 'dateSetId'. 128

fr/paris/lutece/plugins/knowledge/service/PromptUtils.java

Severity Category Rule Message Line
 Error
header Header Missing a header - not enough lines in file. 1
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 12
 Error
javadoc JavadocMethod Expected @return tag. 18
 Error
javadoc JavadocMethod Expected @param tag for 'question'. 18
 Error
javadoc JavadocMethod Expected @param tag for 'information'. 18
 Error
javadoc JavadocMethod Expected @param tag for 'fileNamesSources'. 18
 Error
javadoc JavadocMethod Expected @param tag for 'systemPrompt'. 18
 Error
javadoc JavadocMethod Expected @param tag for 'noDataResponse'. 18
 Error
regexp RegexpSinglelineJava Line matches the illegal pattern 'System\.out\.println'. 28

fr/paris/lutece/plugins/knowledge/web/AbstractManageBotsJspBean.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 Type Javadoc comment is missing @param <S> tag. 50
 Error
javadoc JavadocType Type Javadoc comment is missing @param <T> tag. 50
 Error
javadoc JavadocMethod Expected @param tag for '<T>'. 82
 Error
javadoc JavadocMethod Unused @param tag for '<S>'. 108
 Error
javadoc JavadocMethod Unused @param tag for '<T>'. 110
 Error
javadoc JavadocMethod Expected @param tag for 'listIds'. 116

fr/paris/lutece/plugins/knowledge/web/BotJspBean.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 'AccessDeniedException'. 193
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 319

fr/paris/lutece/plugins/knowledge/web/BotSessionJspBean.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 'AccessDeniedException'. 185
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 279

fr/paris/lutece/plugins/knowledge/web/BotXPage.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 'UserNotSignedException'. 120
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 145
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 169
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 169
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 202
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 223
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 242
 Error
whitespace ParenPad ')' is not preceded with whitespace. 262
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 278
 Error
javadoc JavadocMethod Expected @throws tag for 'UserNotSignedException'. 278

fr/paris/lutece/plugins/knowledge/web/DatasetFileJspBean.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 'AccessDeniedException'. 185
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 279

fr/paris/lutece/plugins/knowledge/web/DatasetJspBean.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 'AccessDeniedException'. 195
 Error
javadoc JavadocMethod Missing a Javadoc comment. 281
 Error
javadoc JavadocMethod Missing a Javadoc comment. 291
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 309

fr/paris/lutece/plugins/knowledge/web/ToolSetAbilityJspBean.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 'AccessDeniedException'. 185
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 280

fr/paris/lutece/plugins/knowledge/web/ToolSetJspBean.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 'AccessDeniedException'. 185
 Error
javadoc JavadocMethod Expected @throws tag for 'AccessDeniedException'. 279