The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset. 
| Files | |||
|---|---|---|---|
| 26 | 0 | 1 | 140 |
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | LeftCurly
|
4 | |
| coding | ExplicitInitialization | 2 | |
| HiddenField | 8 | ||
| ParameterAssignment | 1 | ||
ReturnCount
|
1 | ||
| design | FinalClass | 1 | |
| HideUtilityClassConstructor | 2 | ||
| header | Header
|
13 | |
| imports | UnusedImports | 2 | |
| javadoc | JavadocMethod | 54 | |
| JavadocType | 7 | ||
| naming | ParameterName
|
8 | |
StaticVariableName
|
2 | ||
| whitespace | ParenPad
|
36 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 28 | |
| coding | HiddenField | '_strType' hides a field. | 28 | |
| javadoc | JavadocMethod | Expected @param tag for '_strType'. | 28 | |
| naming | ParameterName | Name '_strType' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 28 | |
| coding | HiddenField | '_strStatus' hides a field. | 28 | |
| javadoc | JavadocMethod | Expected @param tag for '_strStatus'. | 28 | |
| naming | ParameterName | Name '_strStatus' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 28 | |
| coding | HiddenField | '_strReason' hides a field. | 28 | |
| javadoc | JavadocMethod | Expected @param tag for '_strReason'. | 28 | |
| naming | ParameterName | Name '_strReason' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 28 | |
| coding | HiddenField | '_strMessage' hides a field. | 28 | |
| naming | ParameterName | Name '_strMessage' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 28 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 28 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 53 | |
| coding | HiddenField | '_strType' hides a field. | 53 | |
| naming | ParameterName | Name '_strType' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 53 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 53 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 73 | |
| coding | HiddenField | '_strStatus' hides a field. | 73 | |
| naming | ParameterName | Name '_strStatus' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 73 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 73 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 93 | |
| coding | HiddenField | '_strReason' hides a field. | 93 | |
| naming | ParameterName | Name '_strReason' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 93 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 93 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 113 | |
| coding | HiddenField | '_strMessage' hides a field. | 113 | |
| naming | ParameterName | Name '_strMessage' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 113 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 113 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 128 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 128 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 128 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 128 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 128 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 128 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 128 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 128 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 128 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 129 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 129 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 129 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 129 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 129 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 129 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 129 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 129 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 129 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 36 | |
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 36 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| naming | StaticVariableName | Name 'bIsInitialized' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 82 | |
| coding | ExplicitInitialization | Variable 'bIsInitialized' explicitly initialized to 'false' (default value for its type). | 82 | |
| javadoc | JavadocMethod | Expected @return tag. | 90 | |
| coding | ParameterAssignment | Assignment of parameter 'strGuid' is not allowed. | 148 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| imports | UnusedImports | Unused import - fr.paris.lutece.plugins.crmclient.util.CRMException. | 36 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 47 | |
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 47 | |
| naming | StaticVariableName | Name 'bIsInitialized' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 51 | |
| coding | ExplicitInitialization | Variable 'bIsInitialized' explicitly initialized to 'false' (default value for its type). | 51 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 90 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| imports | UnusedImports | Unused import - com.fasterxml.jackson.databind.JsonMappingException. | 52 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 62 | |
| javadoc | JavadocMethod | Expected @param tag for 'notif'. | 120 | |
| javadoc | JavadocMethod | Expected @throws tag for 'CRMException'. | 120 | |
| javadoc | JavadocMethod | Expected @throws tag for 'CRMException'. | 187 | |
| javadoc | JavadocMethod | Unused @param tag for 'crmItem'. | 209 | |
| javadoc | JavadocMethod | Expected @throws tag for 'CRMException'. | 216 | |
| blocks | LeftCurly | '{' at column 29 should be on a new line. | 310 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 46 | |
| blocks | LeftCurly | '{' at column 29 should be on a new line. | 59 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 83 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 106 | |
| javadoc | JavadocMethod | Expected @param tag for 'lstEmailAdress'. | 133 | |
| javadoc | JavadocMethod | Expected @param tag for 'email'. | 158 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 43 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 55 | |
| blocks | LeftCurly | '{' at column 29 should be on a new line. | 66 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 52 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 67 | |
| blocks | LeftCurly | '{' at column 33 should be on a new line. | 112 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| design | FinalClass | Class GrusupplyUtils should be declared as final. | 49 | |
| javadoc | JavadocMethod | Expected @return tag. | 75 | |
| javadoc | JavadocMethod | Expected @param tag for 'object'. | 75 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocMethod | Expected @return tag. | 88 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIdDemandType'. | 91 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIndex'. | 92 | |
| javadoc | JavadocMethod | Expected @param tag for 'strCustomerId'. | 93 | |
| javadoc | JavadocMethod | Expected @param tag for 'strNotificationType'. | 94 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIdDemandType'. | 122 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIndex'. | 123 | |
| javadoc | JavadocMethod | Expected @param tag for 'strCustomerId'. | 124 | |
| javadoc | JavadocMethod | Expected @param tag for 'strListStatus'. | 125 | |
| javadoc | JavadocMethod | Expected @param tag for 'strNotificationType'. | 126 | |
| javadoc | JavadocMethod | Expected @return tag. | 154 | |
| javadoc | JavadocMethod | Expected @param tag for 'result'. | 154 | |
| javadoc | JavadocMethod | Expected @param tag for 'nIndex'. | 154 | |
| javadoc | JavadocMethod | Expected @param tag for 'nDefaultItemsPerPage'. | 154 | |
| javadoc | JavadocMethod | Expected @param tag for 'listIds'. | 154 | |
| javadoc | JavadocMethod | Expected @param tag for 'listIds'. | 176 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 188 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 188 | |
| javadoc | JavadocMethod | Expected @param tag for 'demand'. | 197 | |
| javadoc | JavadocMethod | Expected @return tag. | 231 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIdDemand'. | 234 | |
| javadoc | JavadocMethod | Expected @param tag for 'strIdDemandType'. | 235 | |
| javadoc | JavadocMethod | Expected @param tag for 'strCustomerId'. | 236 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 255 |
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 | |
| javadoc | JavadocType | Missing a Javadoc comment. | 77 | |
| coding | ReturnCount | Return count is 6 (max allowed for non-void methods/lambdas is 5). | 114 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 248 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 254 | |
| javadoc | JavadocMethod | Expected @param tag for 'notif'. | 279 | |
| javadoc | JavadocMethod | Expected @return tag. | 315 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 315 | |
| javadoc | JavadocMethod | Expected @param tag for 'strResponseStatus'. | 315 | |
| javadoc | JavadocMethod | Expected @param tag for 'strErrorMessage'. | 315 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 315 | |
| javadoc | JavadocMethod | Expected @return tag. | 435 | |
| javadoc | JavadocMethod | Expected @param tag for 'notification'. | 435 | |
| javadoc | JavadocMethod | Unused @param tag for 'notification'. | 468 | |
| javadoc | JavadocMethod | Expected @param tag for 'notificationEvent'. | 471 | |
| javadoc | JavadocMethod | Unused @param tag for 'strMessage'. | 481 | |
| javadoc | JavadocMethod | Expected @param tag for 'httpStatus'. | 487 | |
| javadoc | JavadocMethod | Unused @param tag for 'strMessage'. | 507 | |
| javadoc | JavadocMethod | Unused @param tag for 'ex'. | 509 | |
| javadoc | JavadocMethod | Expected @param tag for 'warnings'. | 513 | |
| whitespace | ParenPad | '(' is not followed by whitespace. | 517 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 517 | |
| whitespace | ParenPad | ')' is not preceded with whitespace. | 525 |