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é |
---|---|---|---|
coding | HiddenField | 3 | Erreur |
ParameterAssignment | 15 | Erreur | |
StringLiteralEquality | 1 | Erreur | |
design | HideUtilityClassConstructor | 4 | Erreur |
imports | RedundantImport | 2 | Erreur |
UnusedImports | 14 | Erreur | |
javadoc | JavadocMethod | 38 | Erreur |
modifier | ModifierOrder | 5 | Erreur |
RedundantModifier | 2 | Erreur | |
naming | LocalVariableName
|
1 | Erreur |
MemberName
|
21 | Erreur | |
regexp | RegexpSinglelineJava
|
4 | Erreur |
RegexpSinglelineJava
|
4 | Erreur | |
whitespace | ParenPad
|
7 | Erreur |
WhitespaceAround
|
6 | Erreur |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | imports | UnusedImports | Unused import - java.util.StringTokenizer. | 51 |
Erreur | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'SELECT *'. | 71 |
Erreur | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'SELECT *'. | 72 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'connectionService' is not allowed. | 108 |
Erreur | javadoc | JavadocMethod | Expected @throws tag for 'SQLException'. | 253 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 361 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 376 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 391 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 54 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 423 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 450 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 502 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 528 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 554 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 580 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 606 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 632 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 637 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 648 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 45 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | naming | MemberName | Name 'strFieldName' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 43 |
Erreur | naming | MemberName | Name 'strOldValue' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 44 |
Erreur | naming | MemberName | Name 'strNewValue' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 45 |
Erreur | javadoc | JavadocMethod | Expected an @return tag. | 56 |
Erreur | coding | HiddenField | 'strFieldName' hides a field. | 65 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strFieldName'. | 65 |
Erreur | javadoc | JavadocMethod | Expected an @return tag. | 74 |
Erreur | coding | HiddenField | 'strOldValue' hides a field. | 83 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strOldValue'. | 83 |
Erreur | javadoc | JavadocMethod | Expected an @return tag. | 92 |
Erreur | coding | HiddenField | 'strNewValue' hides a field. | 101 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strNewValue'. | 101 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | imports | RedundantImport | Redundant import from the same package - fr.paris.lutece.plugins.adminsql.business.Field. | 44 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.plugin.Plugin. | 46 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.util.ReferenceList. | 47 |
Erreur | imports | UnusedImports | Unused import - java.sql.SQLException. | 49 |
Erreur | modifier | RedundantModifier | Redundant 'public' modifier. | 105 |
Erreur | modifier | RedundantModifier | Redundant 'public' modifier. | 123 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | imports | RedundantImport | Redundant import from the same package - fr.paris.lutece.plugins.adminsql.business.Field. | 36 |
Erreur | imports | UnusedImports | Unused import - java.sql.SQLException. | 40 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.plugin.Plugin. | 37 |
Erreur | imports | UnusedImports | Unused import - java.util.Collection. | 39 |
Erreur | javadoc | JavadocMethod | Unused @param tag for 'plugin'. | 50 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'connectionService'. | 53 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strTableName'. | 53 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 55 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 57 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 59 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | imports | UnusedImports | Unused import - java.sql.ResultSet. | 38 |
Erreur | imports | UnusedImports | Unused import - java.sql.SQLException. | 39 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.plugin.Plugin. | 37 |
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.util.sql.DAOUtil. | 40 |
Erreur | imports | UnusedImports | Unused import - java.util.Collection. | 49 |
Erreur | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'SELECT *'. | 68 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 72 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 88 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 104 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 166 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 182 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 198 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | imports | UnusedImports | Unused import - fr.paris.lutece.portal.service.plugin.Plugin. | 37 |
Erreur | imports | UnusedImports | Unused import - java.util.Collection. | 40 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 60 |
Erreur | modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 60 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 65 |
Erreur | modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 65 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 70 |
Erreur | modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 70 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 75 |
Erreur | modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 75 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 80 |
Erreur | modifier | ModifierOrder | 'public' modifier out of order with the JLS suggestions. | 80 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 69 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 74 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'System\.out\.println'. | 172 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 172 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 174 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 356 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 382 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 408 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 434 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 460 |
Erreur | coding | ParameterAssignment | Assignment of parameter 'plugin' is not allowed. | 486 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 491 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 503 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 46 |
Erreur | javadoc | JavadocMethod | Unused Javadoc tag. | 89 |
Erreur | javadoc | JavadocMethod | Expected @param tag for 'strTableNameToModify'. | 111 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 48 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 50 |
Sévérité | Catégorie | Règle | Message | Ligne |
---|---|---|---|---|
Erreur | naming | MemberName | Name 'TEMPLATE_MANAGE_POOL_SQL' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 186 |
Erreur | naming | MemberName | Name 'TEMPLATE_MANAGE_TABLE_SQL' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 187 |
Erreur | naming | MemberName | Name 'TEMPLATE_MANAGE_DATA_SQL' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 188 |
Erreur | naming | MemberName | Name 'TEMPLATE_CREATE_DATA' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 189 |
Erreur | naming | MemberName | Name 'TEMPLATE_MANAGE_STRUCTURE_SQL' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 190 |
Erreur | naming | MemberName | Name 'TEMPLATE_MODIFY_DATA' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 191 |
Erreur | naming | MemberName | Name 'TEMPLATE_MODIFY_STRUCTURE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 192 |
Erreur | naming | MemberName | Name 'TEMPLATE_CREATE_STRUCTURE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 193 |
Erreur | naming | MemberName | Name 'TEMPLATE_CREATE_TABLE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 194 |
Erreur | naming | MemberName | Name 'TEMPLATE_MODIFY_TABLE_NAME' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 195 |
Erreur | naming | MemberName | Name 'TEMPLATE_CHOOSE_FONCTIONNALITIES_LIST' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 196 |
Erreur | naming | MemberName | Name 'TEMPLATE_USER_REQUEST' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 197 |
Erreur | naming | MemberName | Name 'TEMPLATE_RESULT_OF_USER_REQUEST' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 198 |
Erreur | naming | MemberName | Name 'TEMPLATE_EXPORT_DATABASE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 199 |
Erreur | naming | MemberName | Name 'TEMPLATE_SQL_ERROR_PAGE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 200 |
Erreur | naming | MemberName | Name 'TEMPLATE_PARAMETER_TO_EXPORT_DATABASE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 201 |
Erreur | naming | MemberName | Name 'TEMPLATE_DUMP_DATABASE' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 202 |
Erreur | naming | MemberName | Name 'TEMPLATE_USER_REQUEST_ERROR' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 203 |
Erreur | javadoc | JavadocMethod | Missing a Javadoc comment. | 373 |
Erreur | naming | LocalVariableName | Name 'DumpCommandslist' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 416 |
Erreur | coding | StringLiteralEquality | Literal Strings should be compared using equals(), not '!='. | 498 |
Erreur | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 1139 |
Erreur | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 1139 |
Erreur | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 1140 |
Erreur | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 1140 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 1151 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 1151 |
Erreur | whitespace | ParenPad | '(' is not followed by whitespace. | 1152 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 1152 |
Erreur | whitespace | WhitespaceAround | '=' is not preceded with whitespace. | 1153 |
Erreur | whitespace | WhitespaceAround | '=' is not followed by whitespace. | 1153 |
Erreur | whitespace | ParenPad | ')' is not preceded with whitespace. | 1154 |