The following document contains the results of Checkstyle 8.19 with build-config/lutece_checks.xml ruleset.
Files | Info | Warnings | Errors |
---|---|---|---|
33 | 0 | 0 | 155 |
Category | Rule | Violations | Severity |
---|---|---|---|
coding | DeclarationOrder | 1 | Error |
ExplicitInitialization | 5 | Error | |
HiddenField | 8 | Error | |
ParameterAssignment | 10 | Error | |
design | FinalClass | 1 | Error |
HideUtilityClassConstructor | 2 | Error | |
VisibilityModifier | 3 | Error | |
header | Header
|
20 | Error |
imports | UnusedImports | 2 | Error |
javadoc | JavadocMethod | 80 | Error |
JavadocType | 6 | Error | |
modifier | RedundantModifier | 4 | Error |
naming | MemberName
|
4 | Error |
ParameterName
|
8 | Error | |
regexp | RegexpSinglelineJava
|
1 | Error |
RegexpSinglelineJava
|
1 | Error |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | imports | UnusedImports | Unused import - fr.paris.lutece.plugins.elasticdata.service.DataSourceService. | 36 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocMethod | Expected @param tag for 'dashboard'. | 141 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdKibana'. | 160 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 38 |
Error | design | VisibilityModifier | Variable '_id' must be private and have accessor methods. | 40 |
Error | design | VisibilityModifier | Variable '_name' must be private and have accessor methods. | 41 |
Error | design | VisibilityModifier | Variable '_type' must be private and have accessor methods. | 42 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 44 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 51 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 58 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 63 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 68 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 73 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 78 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 83 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 36 |
Error | naming | MemberName | Name 'X' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 38 |
Error | naming | MemberName | Name 'Y' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 39 |
Error | naming | MemberName | Name 'W' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 40 |
Error | naming | MemberName | Name 'H' must match pattern '^_[a-z](_?[a-zA-Z0-9])*$'. | 41 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 43 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 48 |
Error | coding | HiddenField | 'X' hides a field. | 48 |
Error | naming | ParameterName | Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 48 |
Error | coding | HiddenField | 'Y' hides a field. | 48 |
Error | naming | ParameterName | Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 48 |
Error | coding | HiddenField | 'W' hides a field. | 48 |
Error | naming | ParameterName | Name 'W' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 48 |
Error | coding | HiddenField | 'H' hides a field. | 48 |
Error | naming | ParameterName | Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 48 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 56 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 61 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 66 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 71 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 76 |
Error | coding | HiddenField | 'X' hides a field. | 76 |
Error | naming | ParameterName | Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 76 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 81 |
Error | coding | HiddenField | 'Y' hides a field. | 81 |
Error | naming | ParameterName | Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 81 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 86 |
Error | coding | HiddenField | 'W' hides a field. | 86 |
Error | naming | ParameterName | Name 'W' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 86 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 91 |
Error | coding | HiddenField | 'H' hides a field. | 91 |
Error | naming | ParameterName | Name 'H' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 91 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | coding | ExplicitInitialization | Variable '_x' explicitly initialized to '0' (default value for its type). | 45 |
Error | coding | ExplicitInitialization | Variable '_y' explicitly initialized to '0' (default value for its type). | 46 |
Error | coding | ExplicitInitialization | Variable '_preX' explicitly initialized to '0' (default value for its type). | 47 |
Error | coding | ExplicitInitialization | Variable '_preY' explicitly initialized to '0' (default value for its type). | 48 |
Error | javadoc | JavadocMethod | Expected @param tag for 'width'. | 55 |
Error | javadoc | JavadocMethod | Expected @param tag for 'height'. | 55 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 129 |
Error | javadoc | JavadocMethod | Expected @param tag for 'dashboard'. | 138 |
Error | javadoc | JavadocMethod | Expected @param tag for 'plugin'. | 138 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 47 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | design | FinalClass | Class DashboardService should be declared as final. | 61 |
Error | coding | ExplicitInitialization | Variable '_instance' explicitly initialized to 'null' (default value for its type). | 90 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 98 |
Error | javadoc | JavadocMethod | Expected @param tag for 'dashboard'. | 296 |
Error | javadoc | JavadocMethod | Expected @param tag for 'listDashboard'. | 308 |
Error | javadoc | JavadocMethod | Expected @param tag for 'request'. | 308 |
Error | javadoc | JavadocMethod | Expected @param tag for 'nIdDashboard'. | 328 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocMethod | Expected @param tag for 'dataSource'. | 50 |
Error | javadoc | JavadocMethod | Unused @param tag for 'plugin'. | 57 |
Error | javadoc | JavadocMethod | Expected @return tag. | 60 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 61 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 61 |
Error | javadoc | JavadocMethod | Unused @param tag for 'strIdIndexPattern'. | 94 |
Error | javadoc | JavadocMethod | Expected @return tag. | 97 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdDashboard'. | 97 |
Error | javadoc | JavadocMethod | Missing a Javadoc comment. | 125 |
Error | javadoc | JavadocMethod | Expected @return tag. | 185 |
Error | javadoc | JavadocMethod | Unused @param tag for 'strSpaceId'. | 238 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strLogin'. | 241 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strPassword'. | 241 |
Error | javadoc | JavadocMethod | Expected @param tag for 'listTargetIndexName'. | 241 |
Error | javadoc | JavadocMethod | Expected @param tag for 'dataSource'. | 380 |
Error | javadoc | JavadocMethod | Unused @param tag for 'strIdVisualisation'. | 415 |
Error | javadoc | JavadocMethod | Expected @param tag for 'panelId'. | 421 |
Error | javadoc | JavadocMethod | Unused @param tag for 'savedObject'. | 442 |
Error | modifier | RedundantModifier | Redundant 'final' modifier. | 445 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strType'. | 445 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdObject'. | 445 |
Error | regexp | RegexpSinglelineJava | Line matches the illegal pattern 'printStackTrace'. | 531 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 581 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 594 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 595 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 596 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 597 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 598 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 599 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 600 |
Error | coding | ParameterAssignment | Assignment of parameter 'jsString' is not allowed. | 601 |
Error | modifier | RedundantModifier | Redundant 'final' modifier. | 611 |
Error | javadoc | JavadocMethod | Expected @param tag for 'apiUrl'. | 611 |
Error | modifier | RedundantModifier | Redundant 'final' modifier. | 634 |
Error | javadoc | JavadocMethod | Unused @param tag for 'savedObject'. | 660 |
Error | javadoc | JavadocMethod | Expected @param tag for 'savedObjectList'. | 663 |
Error | modifier | RedundantModifier | Redundant 'final' modifier. | 695 |
Error | coding | ParameterAssignment | Assignment of parameter 'strObject' is not allowed. | 700 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 40 |
Error | design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 40 |
Error | javadoc | JavadocMethod | Unused @param tag for 'visualization'. | 45 |
Error | javadoc | JavadocMethod | Expected @return tag. | 48 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strTitle'. | 48 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdVisualization'. | 48 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdIndexPattern'. | 48 |
Error | javadoc | JavadocMethod | Expected @param tag for 'queryFilter'. | 48 |
Error | javadoc | JavadocMethod | Unused @param tag for 'visualization'. | 81 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strTitle'. | 84 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strFieldName'. | 84 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdVisualization'. | 84 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdIndexPattern'. | 84 |
Error | javadoc | JavadocMethod | Expected @param tag for 'queryFilter'. | 85 |
Error | javadoc | JavadocMethod | Unused @param tag for 'visualization'. | 101 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strTitle'. | 104 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strFieldName'. | 104 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdVisualization'. | 104 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdIndexPattern'. | 104 |
Error | javadoc | JavadocMethod | Expected @param tag for 'queryFilter'. | 105 |
Error | javadoc | JavadocMethod | Unused @param tag for 'visualization'. | 131 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strTitle'. | 134 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strFieldName'. | 134 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdVisualization'. | 134 |
Error | javadoc | JavadocMethod | Expected @param tag for 'strIdIndexPattern'. | 134 |
Error | javadoc | JavadocMethod | Expected @param tag for 'queryFilter'. | 134 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocType | Missing a Javadoc comment. | 45 |
Error | javadoc | JavadocMethod | Expected @return tag. | 101 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | javadoc | JavadocMethod | Expected @return tag. | 105 |
Error | javadoc | JavadocMethod | Expected @param tag for 'request'. | 106 |
Error | javadoc | JavadocMethod | Expected @return tag. | 137 |
Error | javadoc | JavadocMethod | Expected @param tag for 'request'. | 138 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | imports | UnusedImports | Unused import - java.util.stream.Collectors. | 40 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
Error | header | Header | Line does not match expected header line of ' * Copyright (c) 2002-2020, City of Paris'. | 2 |
Error | coding | DeclarationOrder | Variable access definition in wrong order. | 55 |