The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset.
Files | Info | Warnings | Errors |
---|---|---|---|
28 | 0 | 7 | 143 |
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly
|
10 | Error |
RightCurly
|
2 | Error | |
coding | ArrayTrailingComma | 2 | Error |
DeclarationOrder | 15 | Error | |
ExplicitInitialization | 1 | Error | |
NestedIfDepth
|
3 | Error | |
ReturnCount
|
3 | Warning | |
design | FinalClass | 1 | Error |
HideUtilityClassConstructor | 1 | Error | |
MutableException | 1 | Error | |
VisibilityModifier | 5 | Error | |
header | Header
|
26 | Error |
imports | UnusedImports | 2 | Error |
javadoc | JavadocMethod | 10 | Error |
JavadocType | 1 | Error | |
sizes | ParameterNumber | 4 | Warning |
whitespace | ParenPad
|
61 | Error |
WhitespaceAround
|
2 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
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 |
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 |