Le document suivant contient les résultats de Checkstyle 6.11.2 avec les règles build-config/lutece_checks.xml.
Catégorie | Règle | Violations | Sévérité |
---|---|---|---|
blocks | EmptyBlock | 1 | Erreur |
LeftCurly
|
11 | Erreur | |
NeedBraces | 3 | Erreur | |
RightCurly
|
1 | Erreur | |
coding | DeclarationOrder | 20 | Erreur |
ExplicitInitialization | 5 | Erreur | |
HiddenField | 9 | Erreur | |
design | HideUtilityClassConstructor | 1 | Erreur |
header | Header
|
12 | Erreur |
imports | UnusedImports | 3 | Erreur |
javadoc | JavadocMethod | 56 | Erreur |
JavadocType | 2 | Erreur | |
modifier | RedundantModifier | 6 | Erreur |
naming | MemberName
|
4 | Erreur |
ParameterName
|
7 | Erreur | |
StaticVariableName
|
3 | Erreur | |
whitespace | ParenPad
|
54 | Erreur |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 44 |
Erreur | modifier | RedundantModifier | Redundant 'public' modifier. | 44 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 46 |
Erreur | modifier | RedundantModifier | Redundant 'public' modifier. | 46 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 48 |
Erreur | modifier | RedundantModifier | Redundant 'public' modifier. | 48 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of '/*'. | 1 |
Erreur | naming | MemberName | Name 'longitude' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 9 |
Erreur | coding | ExplicitInitialization | Variable 'longitude' explicitly initialized to '0' (default value for its type). | 9 |
Erreur | naming | MemberName | Name 'latitude' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 11 |
Erreur | coding | ExplicitInitialization | Variable 'latitude' explicitly initialized to '0' (default value for its type). | 11 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 19 |
Erreur | coding | HiddenField | 'longitude' hides a field. | 19 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'longitude'. | 19 |
Erreur | coding | HiddenField | 'latitude' hides a field. | 19 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'latitude'. | 19 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 19 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Erreur | javadoc | JavadocType | Missing a Javadoc comment. | 40 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 81 |
Erreur | coding | HiddenField | '_strJsFile' hides a field. | 81 |
Erreur | naming | ParameterName | Name '_strJsFile' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 81 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 86 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 91 |
Erreur | coding | HiddenField | '_strServerName' hides a field. | 91 |
Erreur | naming | ParameterName | Name '_strServerName' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 91 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 96 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 101 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 106 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 111 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 116 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 121 |
Erreur | coding | HiddenField | '_strFeatureNS' hides a field. | 121 |
Erreur | naming | ParameterName | Name '_strFeatureNS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 121 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 126 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 131 |
Erreur | coding | HiddenField | '_strAvailableParameters' hides a field. | 131 |
Erreur | naming | ParameterName | Name '_strAvailableParameters' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 131 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 136 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 141 |
Erreur | coding | HiddenField | '_strAvailableParametersLayers' hides a field. | 141 |
Erreur | naming | ParameterName | Name '_strAvailableParametersLayers' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 141 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 146 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 151 |
Erreur | coding | HiddenField | '_strAvailableParametersStyles' hides a field. | 151 |
Erreur | naming | ParameterName | Name '_strAvailableParametersStyles' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 151 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 156 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 161 |
Erreur | coding | HiddenField | '_strAvailableParametersStyleRules' hides a field. | 161 |
Erreur | naming | ParameterName | Name '_strAvailableParametersStyleRules' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 161 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 166 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 49 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 50 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 51 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 52 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 53 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 54 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 55 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 56 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 57 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 58 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 59 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 60 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 61 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 62 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 63 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 64 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 65 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 66 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 67 |
Erreur | coding | DeclarationOrder | Variable access definition in wrong order. | 68 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 70 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 75 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 193 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 207 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 46 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.util.html.HtmlTemplate. | 40 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strGisCode'. | 90 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strXpageViewName'. | 90 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'request'. | 90 |
Erreur | blocks | LeftCurly | '{' at column 28 should be on a new line. | 94 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 97 |
Erreur | javadoc | JavadocMethod | Expected an @return tag. | 111 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strGisCode'. | 111 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'parameters'. | 111 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'request'. | 111 |
Erreur | blocks | LeftCurly | '{' at column 29 should be on a new line. | 115 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 116 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 116 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 116 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 116 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 128 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'view'. | 128 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'request'. | 128 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 128 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'templateFile'. | 145 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'model'. | 146 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'request'. | 146 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of '/*'. | 1 |
Erreur | blocks | LeftCurly | '{' at column 40 should be on a new line. | 14 |
Erreur | modifier | RedundantModifier | Redundant 'public' modifier. | 26 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 26 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 26 |
Erreur | javadoc | JavadocMethod | Expected @throws tag for 'RemoteException'. | 27 |
Erreur | modifier | RedundantModifier | Redundant 'public' modifier. | 40 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 40 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 40 |
Erreur | javadoc | JavadocMethod | Expected @throws tag for 'RemoteException'. | 41 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of '/*'. | 1 |
Erreur | naming | StaticVariableName | Name 'addressServiceFacade' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 34 |
Erreur | coding | ExplicitInitialization | Variable 'addressServiceFacade' explicitly initialized to 'null' (default value for its type). | 34 |
Erreur | naming | StaticVariableName | Name 'logger' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 35 |
Erreur | coding | ExplicitInitialization | Variable 'logger' explicitly initialized to 'null' (default value for its type). | 35 |
Erreur | blocks | LeftCurly | '{' at column 9 should be on a new line. | 38 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 43 |
Erreur | blocks | LeftCurly | '{' at column 58 should be on a new line. | 43 |
Erreur | blocks | NeedBraces | 'if' construct must use '{}'s. | 45 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 45 |
Erreur | blocks | LeftCurly | '{' at column 7 should be on a new line. | 48 |
Erreur | blocks | RightCurly | '}' at column 3 should be alone on a line. | 51 |
Erreur | blocks | LeftCurly | '{' at column 47 should be on a new line. | 51 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 52 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 52 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 52 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 52 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 64 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 64 |
Erreur | javadoc | JavadocMethod | Expected @throws tag for 'RemoteException'. | 65 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 68 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 68 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 69 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 69 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 72 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 72 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 84 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 84 |
Erreur | javadoc | JavadocMethod | Expected @throws tag for 'RemoteException'. | 85 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 88 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 88 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 89 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 89 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 90 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 90 |
Erreur | blocks | LeftCurly | '{' at column 4 should be on a new line. | 96 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 97 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 97 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 97 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 97 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 97 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 97 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 99 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 99 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.message.SiteMessageException. | 37 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.security.UserNotSignedException. | 38 |
Erreur | javadoc | JavadocType | Missing a Javadoc comment. | 48 |
Erreur | javadoc | JavadocMethod | Unused @param tag for 'nMode'. | 70 |
Erreur | javadoc | JavadocMethod | Expected an @return tag. | 75 |
Erreur | javadoc | JavadocMethod | Unused @param tag for 'nMode'. | 86 |
Erreur | javadoc | JavadocMethod | Expected an @return tag. | 91 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2016, Mairie de Paris'. | 2 |
Erreur | naming | MemberName | Name 'servletContext' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 70 |
Erreur | naming | MemberName | Name 'log' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 71 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 79 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 101 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 107 |
Erreur | blocks | NeedBraces | 'while' construct must use '{}'s. | 160 |
Erreur | blocks | NeedBraces | 'while' construct must use '{}'s. | 185 |
Erreur | blocks | EmptyBlock | Must have at least one statement. | 199 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | header | Header | Line does not match expected header line of '/*'. | 1 |
Erreur | blocks | LeftCurly | '{' at column 61 should be on a new line. | 18 |
Erreur | naming | StaticVariableName | Name 'gisService' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 34 |
Erreur | coding | ExplicitInitialization | Variable 'gisService' explicitly initialized to 'null' (default value for its type). | 34 |
Erreur | blocks | LeftCurly | '{' at column 9 should be on a new line. | 39 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 48 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 48 |
Erreur | blocks | LeftCurly | '{' at column 56 should be on a new line. | 49 |
Erreur | modifier | RedundantModifier | Redundant 'final' modifier. | 71 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 71 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 71 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 74 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 74 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 75 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 75 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 76 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 76 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 77 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 77 |