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
28 0 7 143

Files

File
 I
 W
 E
fr/paris/lutece/plugins/dansmarue/modules/rest/dto/SignalementRestDTO.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/pojo/ErrorSignalement.java 0 0 3
fr/paris/lutece/plugins/dansmarue/modules/rest/pojo/ErrorSira.java 0 0 3
fr/paris/lutece/plugins/dansmarue/modules/rest/pojo/SignalementPOJO.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/pojo/SignalementsPOJO.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/rs/SignalementRest.java 0 2 8
fr/paris/lutece/plugins/dansmarue/modules/rest/service/ISignalementRestService.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/ManageSignalementService.java 0 2 5
fr/paris/lutece/plugins/dansmarue/modules/rest/service/RamenClientService.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/SignRequestService.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/SignalementRestService.java 0 3 72
fr/paris/lutece/plugins/dansmarue/modules/rest/service/SiraModule.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/SiraRequestService.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/formatters/CategoriesFormatterJson.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/formatters/ErrorSignalementFormatterJson.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/formatters/ErrorSiraFormatterJson.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/formatters/SignalementFormatterJson.java 0 0 14
fr/paris/lutece/plugins/dansmarue/modules/rest/service/formatters/SignalementRestDTOFormatterJson.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/service/upload/handler/AbstractUploadHandler.java 0 0 10
fr/paris/lutece/plugins/dansmarue/modules/rest/service/upload/handler/DansMaRueUploadHandler.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/util/StringUtilsDmr.java 0 0 5
fr/paris/lutece/plugins/dansmarue/modules/rest/util/constants/SignalementRestConstants.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/util/constants/SiraRestConstants.java 0 0 2
fr/paris/lutece/plugins/dansmarue/modules/rest/util/date/DateUtils.java 0 0 1
fr/paris/lutece/plugins/dansmarue/modules/rest/util/exception/ParseSignalementFromJSONException.java 0 0 2
fr/paris/lutece/plugins/dansmarue/modules/rest/xpage/signalement/ManageSignalementApp.java 0 0 4

Rules

Category Rule Violations Severity
blocks LeftCurly
  • option: "nl"
10
 Error
RightCurly
  • option: "alone"
2
 Error
coding ArrayTrailingComma 2
 Error
DeclarationOrder 15
 Error
ExplicitInitialization 1
 Error
NestedIfDepth
  • max: "3"
3
 Error
ReturnCount
  • max: "5"
3
 Warning
design FinalClass 1
 Error
HideUtilityClassConstructor 1
 Error
MutableException 1
 Error
VisibilityModifier 5
 Error
header Header
  • fileExtensions: "java"
  • headerFile: "/opt/datas/jenkins/home/jobs/admin-github-build/workspace/target/checkstyle-header.txt"
26
 Error
imports UnusedImports 2
 Error
javadoc JavadocMethod 10
 Error
JavadocType 1
 Error
sizes ParameterNumber 4
 Warning
whitespace ParenPad
  • option: "space"
61
 Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
2
 Error

Details

fr/paris/lutece/plugins/dansmarue/modules/rest/dto/SignalementRestDTO.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/dansmarue/modules/rest/pojo/ErrorSignalement.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 '_nErrorCode' must be private and have accessor methods. 43
 Error
design VisibilityModifier Variable '_strErrorMessage' must be private and have accessor methods. 46

fr/paris/lutece/plugins/dansmarue/modules/rest/pojo/ErrorSira.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 '_nErrorCode' must be private and have accessor methods. 43
 Error
design VisibilityModifier Variable '_strErrorMessage' must be private and have accessor methods. 46

fr/paris/lutece/plugins/dansmarue/modules/rest/pojo/SignalementPOJO.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/dansmarue/modules/rest/pojo/SignalementsPOJO.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/dansmarue/modules/rest/rs/SignalementRest.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
 Warning
sizes ParameterNumber More than 7 parameters (found 12). 303
 Warning
sizes ParameterNumber More than 7 parameters (found 11). 358
 Error
whitespace ParenPad '(' is not followed by whitespace. 1344
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1344
 Error
blocks LeftCurly '{' at column 71 should be on a new line. 1344
 Error
whitespace ParenPad '(' is not followed by whitespace. 1345
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1345
 Error
javadoc JavadocMethod Missing a Javadoc comment. 1478
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1505

fr/paris/lutece/plugins/dansmarue/modules/rest/service/ISignalementRestService.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/dansmarue/modules/rest/service/ManageSignalementService.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 Variable access definition in wrong order. 124
 Error
coding DeclarationOrder Variable access definition in wrong order. 127
 Warning
sizes ParameterNumber More than 7 parameters (found 9). 182
 Warning
sizes ParameterNumber More than 7 parameters (found 12). 257
 Error
whitespace ParenPad '(' is not followed by whitespace. 387
 Error
whitespace ParenPad ')' is not preceded with whitespace. 387

fr/paris/lutece/plugins/dansmarue/modules/rest/service/RamenClientService.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/dansmarue/modules/rest/service/SignRequestService.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/dansmarue/modules/rest/service/SignalementRestService.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 Static variable definition in wrong order. 240
 Error
coding DeclarationOrder Static variable definition in wrong order. 243
 Error
coding DeclarationOrder Static variable definition in wrong order. 246
 Error
coding DeclarationOrder Static variable definition in wrong order. 249
 Error
coding DeclarationOrder Static variable definition in wrong order. 252
 Error
coding DeclarationOrder Static variable definition in wrong order. 255
 Error
javadoc JavadocMethod Missing a Javadoc comment. 475
 Error
blocks LeftCurly '{' at column 62 should be on a new line. 531
 Error
blocks LeftCurly '{' at column 61 should be on a new line. 580
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 1394
 Error
whitespace ParenPad '(' is not followed by whitespace. 1394
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1394
 Error
blocks LeftCurly '{' at column 79 should be on a new line. 1394
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 1399
 Error
coding NestedIfDepth Nested if-else depth is 4 (max allowed is 3). 1406
 Error
javadoc JavadocMethod Missing a Javadoc comment. 1754
 Error
javadoc JavadocMethod Expected @param tag for 'guid'. 1782
 Error
whitespace ParenPad '(' is not followed by whitespace. 1844
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1844
 Error
blocks LeftCurly '{' at column 50 should be on a new line. 1844
 Error
whitespace ParenPad '(' is not followed by whitespace. 1863
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1863
 Error
blocks RightCurly '}' at column 9 should be alone on a line. 1866
 Error
blocks LeftCurly '{' at column 16 should be on a new line. 1866
 Error
javadoc JavadocMethod Missing a Javadoc comment. 1920
 Error
whitespace ParenPad '(' is not followed by whitespace. 1926
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1926
 Error
whitespace ParenPad '(' is not followed by whitespace. 1928
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1928
 Error
whitespace ParenPad '(' is not followed by whitespace. 1932
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1932
 Error
whitespace ParenPad '(' is not followed by whitespace. 1933
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1933
 Error
whitespace ParenPad '(' is not followed by whitespace. 1934
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1934
 Error
whitespace ParenPad '(' is not followed by whitespace. 1935
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1935
 Error
whitespace ParenPad '(' is not followed by whitespace. 1936
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1936
 Error
whitespace ParenPad '(' is not followed by whitespace. 1937
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1937
 Error
whitespace ParenPad '(' is not followed by whitespace. 1939
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1939
 Error
javadoc JavadocMethod Missing a Javadoc comment. 1949
 Error
whitespace ParenPad '(' is not followed by whitespace. 1955
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1955
 Error
whitespace ParenPad '(' is not followed by whitespace. 1957
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1957
 Error
whitespace ParenPad '(' is not followed by whitespace. 1961
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1961
 Error
whitespace ParenPad '(' is not followed by whitespace. 1962
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1962
 Error
whitespace ParenPad '(' is not followed by whitespace. 1963
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1963
 Error
whitespace ParenPad '(' is not followed by whitespace. 1964
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1964
 Error
whitespace ParenPad '(' is not followed by whitespace. 1965
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1965
 Error
whitespace ParenPad '(' is not followed by whitespace. 1966
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1966
 Error
whitespace ParenPad '(' is not followed by whitespace. 1968
 Error
whitespace ParenPad ')' is not preceded with whitespace. 1968
 Warning
coding ReturnCount Return count is 6 (max allowed for non-void methods/lambdas is 5). 2326
 Error
whitespace ParenPad ')' is not preceded with whitespace. 2454
 Error
whitespace ParenPad '(' is not followed by whitespace. 2457
 Error
blocks LeftCurly '{' at column 53 should be on a new line. 2457
 Error
whitespace ParenPad ')' is not preceded with whitespace. 2462
 Error
whitespace ParenPad ')' is not preceded with whitespace. 2465
 Error
whitespace ParenPad ')' is not preceded with whitespace. 2467
 Error
javadoc JavadocMethod Expected @param tag for 'guid'. 2495
 Error
javadoc JavadocMethod Expected @param tag for 'attributeName'. 2495
 Warning
coding ReturnCount Return count is 9 (max allowed for non-void methods/lambdas is 5). 2520
 Warning
coding ReturnCount Return count is 7 (max allowed for non-void methods/lambdas is 5). 2719
 Error
javadoc JavadocMethod Unused Javadoc tag. 2854

fr/paris/lutece/plugins/dansmarue/modules/rest/service/SiraModule.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/dansmarue/modules/rest/service/SiraRequestService.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/dansmarue/modules/rest/service/formatters/CategoriesFormatterJson.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/dansmarue/modules/rest/service/formatters/ErrorSignalementFormatterJson.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/dansmarue/modules/rest/service/formatters/ErrorSiraFormatterJson.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/dansmarue/modules/rest/service/formatters/SignalementFormatterJson.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 '_formatWithGuid' explicitly initialized to 'null' (default value for its type). 72
 Error
whitespace WhitespaceAround '=' is not followed by whitespace. 170
 Error
whitespace WhitespaceAround '=' is not preceded with whitespace. 170
 Error
whitespace ParenPad '(' is not followed by whitespace. 183
 Error
whitespace ParenPad ')' is not preceded with whitespace. 183
 Error
blocks LeftCurly '{' at column 103 should be on a new line. 183
 Error
blocks RightCurly '}' at column 21 should be alone on a line. 187
 Error
blocks LeftCurly '{' at column 28 should be on a new line. 187
 Error
whitespace ParenPad '(' is not followed by whitespace. 252
 Error
whitespace ParenPad ')' is not preceded with whitespace. 252
 Error
blocks LeftCurly '{' at column 71 should be on a new line. 252
 Error
whitespace ParenPad '(' is not followed by whitespace. 253
 Error
whitespace ParenPad ')' is not preceded with whitespace. 253

fr/paris/lutece/plugins/dansmarue/modules/rest/service/formatters/SignalementRestDTOFormatterJson.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/dansmarue/modules/rest/service/upload/handler/AbstractUploadHandler.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 '_uploadDirectory' must be private and have accessor methods. 71
 Error
coding DeclarationOrder Static variable definition in wrong order. 92
 Error
coding DeclarationOrder Static variable definition in wrong order. 95
 Error
coding DeclarationOrder Static variable definition in wrong order. 98
 Error
coding DeclarationOrder Static variable definition in wrong order. 101
 Error
coding DeclarationOrder Static variable definition in wrong order. 104
 Error
coding DeclarationOrder Static variable definition in wrong order. 107
 Error
coding DeclarationOrder Constructor definition in wrong order. 112
 Error
coding ArrayTrailingComma Array should contain trailing comma. 164

fr/paris/lutece/plugins/dansmarue/modules/rest/service/upload/handler/DansMaRueUploadHandler.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/dansmarue/modules/rest/util/StringUtilsDmr.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. 5
 Error
design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 5
 Error
javadoc JavadocMethod Missing a Javadoc comment. 7
 Error
whitespace ParenPad '(' is not followed by whitespace. 9

fr/paris/lutece/plugins/dansmarue/modules/rest/util/constants/SignalementRestConstants.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/dansmarue/modules/rest/util/constants/SiraRestConstants.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 FinalClass Class SiraRestConstants should be declared as final. 39

fr/paris/lutece/plugins/dansmarue/modules/rest/util/date/DateUtils.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/dansmarue/modules/rest/util/exception/ParseSignalementFromJSONException.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 MutableException The field '_strParseError' must be declared final. 46

fr/paris/lutece/plugins/dansmarue/modules/rest/xpage/signalement/ManageSignalementApp.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 - javax.inject.Named. 42
 Error
imports UnusedImports Unused import - fr.paris.lutece.plugins.dansmarue.utils.impl.ListUtils. 61
 Error
coding ArrayTrailingComma Array should contain trailing comma. 289