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