The following document contains the results of Checkstyle 6.11.2 with build-config/lutece_checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | LeftCurly
|
4 | Error |
RightCurly
|
1 | Error | |
coding | DeclarationOrder | 3 | Error |
ParameterAssignment | 1 | Error | |
design | FinalClass | 1 | Error |
VisibilityModifier | 4 | Error | |
header | Header
|
14 | Error |
imports | AvoidStarImport | 4 | Error |
UnusedImports | 2 | Error | |
javadoc | JavadocMethod | 6 | Error |
misc | Translation | 1 | Error |
naming | MemberName
|
4 | Error |
whitespace | ParenPad
|
55 | Error |
WhitespaceAround
|
6 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.validation.constraints.*. | 36 |
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.hibernate.validator.constraints.*. | 37 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 66 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 99 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 126 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 135 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 100 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - javax.validation.constraints.*. | 36 |
Error | imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.hibernate.validator.constraints.*. | 37 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 64 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 99 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 126 |
Error | javadoc | JavadocMethod | Expected an @return tag. | 134 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nIdCategory'. | 134 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 134 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 136 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | misc | Translation | Key 'module.provider' missing. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | imports | UnusedImports | Unused import - org.apache.commons.lang.StringUtils. | 51 |
Error | naming | MemberName | Name 'NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 58 |
Error | design | VisibilityModifier | Variable 'NAME' must be private and have accessor methods. | 58 |
Error | naming | MemberName | Name 'DESCRIPTION' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 59 |
Error | design | VisibilityModifier | Variable 'DESCRIPTION' must be private and have accessor methods. | 59 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 81 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 83 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 84 |
Error | coding | ParameterAssignment | Assignment of parameter 'user' is not allowed. | 85 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 85 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 85 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 87 |
Error | blocks | LeftCurly | '{' at column 22 should be on a new line. | 87 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 89 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 89 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 89 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 90 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 90 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 90 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 91 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 91 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 91 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 91 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 93 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 93 |
Error | blocks | LeftCurly | '{' at column 39 should be on a new line. | 93 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 95 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 95 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 95 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 95 |
Error | blocks | LeftCurly | '{' at column 102 should be on a new line. | 95 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 97 |
Error | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 98 |
Error | blocks | LeftCurly | '{' at column 48 should be on a new line. | 104 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 106 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 106 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 107 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | naming | MemberName | Name 'NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 48 |
Error | design | VisibilityModifier | Variable 'NAME' must be private and have accessor methods. | 48 |
Error | naming | MemberName | Name 'DESCRIPTION' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 49 |
Error | design | VisibilityModifier | Variable 'DESCRIPTION' must be private and have accessor methods. | 49 |
Error | coding | DeclarationOrder | Static variable definition in wrong order. | 50 |
Error | coding | DeclarationOrder | Static variable definition in wrong order. | 51 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 74 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.cache.AbstractCacheableService. | 38 |
Error | design | FinalClass | Class RssWidgetService should be declared as final. | 49 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 53 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 70 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 75 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 75 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 80 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 80 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 81 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 93 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 93 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 100 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 100 |
Error | blocks | RightCurly | '}' at column 9 should be alone on a line. | 101 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 101 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 101 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 107 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 112 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 112 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 200 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2017, Mairie de Paris'. | 2 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 116 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 116 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 133 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 133 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 135 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 135 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 208 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 214 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 214 |
Error | whitespace | ParenPad | '(' is not followed by whitespace. | 216 |
Error | whitespace | ParenPad | ')' is not preceded with whitespace. | 216 |