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