Checkstyle Results
The following document contains the results of Checkstyle 14.1.0 with /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/src/resources/checkstyle.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 202 | 0 | 31 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | BooleanExpressionComplexity | 2 | |
ClassDataAbstractionCoupling
|
8 | ||
| ClassFanOutComplexity | 12 | ||
| CyclomaticComplexity | 4 | ||
| JavaNCSS | 2 | ||
| NPathComplexity | 2 | ||
| sizes | ExecutableStatementCount
|
1 |
Details
org/apache/shardingsphere/sqlfederation/compiler/compiler/it/SQLStatementCompilerIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [CalciteConnectionConfigImpl, CompilerContext, DefaultSQLParserRuleConfigurationBuilder, MySQLOperatorTable, Properties, SQLFederationRelConverter, SQLFederationSchema, SQLParserRule, SQLStatementCompiler, ShardingSphereColumn, ShardingSphereSchema, ShardingSphereTable]. | 63 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 63 |
org/apache/shardingsphere/sqlfederation/compiler/metadata/schema/SQLFederationTable.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 62 |
org/apache/shardingsphere/sqlfederation/compiler/rel/converter/SQLFederationRelConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 70 |
org/apache/shardingsphere/sqlfederation/compiler/rel/operator/logical/LogicalScan.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 91 |
org/apache/shardingsphere/sqlfederation/compiler/rel/operator/logical/LogicalScanTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 67 |
org/apache/shardingsphere/sqlfederation/compiler/rel/operator/physical/EnumerableScanTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 68 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/SQLNodeConverterEngine.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 54 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/ExpressionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 80 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 27 (max allowed is 10). | 90 | |
| metrics | JavaNCSS | NCSS for this method is 54 (max allowed is 50). | 90 | |
| metrics | NPathComplexity | NPath Complexity is 67,108,864 (max allowed is 200). | 90 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/ExpressionConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 26 (max allowed is 10) classes [AggregationProjectionSegment, BetweenExpression, BinaryOperationExpression, CaseWhenExpression, CollateExpression, ColumnSegment, CommonExpressionSegment, DataTypeSegment, ExistsSubqueryExpression, ExtractArgExpression, FunctionSegment, IdentifierValue, InExpression, IntervalExpression, ListExpression, LiteralExpressionSegment, MatchAgainstExpression, NotExpression, ParameterMarkerExpressionSegment, QuantifySubqueryExpression, RowExpression, SubqueryExpressionSegment, SubquerySegment, TypeCastExpression, UnaryOperationExpression, VariableSegment]. | 100 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 38 (max allowed is 20). | 100 | |
| metrics | JavaNCSS | NCSS for this method is 102 (max allowed is 50). | 113 | |
| sizes | ExecutableStatementCount | Executable statement count is 101 (max allowed is 50). | 113 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/impl/BinaryOperationExpressionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 158 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 175 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/impl/FunctionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 87 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/segment/expression/impl/LiteralExpressionConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 60 | |
| metrics | NPathComplexity | NPath Complexity is 16,384 (max allowed is 200). | 60 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/DeleteStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [AliasSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CommonTableExpressionSegment, DeleteMultiTableSegment, DeleteStatementConverter, IdentifierValue, JoinTableSegment, LimitSegment, NumberLiteralLimitValueSegment, OrderBySegment, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ProjectionsSegment, SimpleTableSegment, SubquerySegment, TableNameSegment, WhereSegment, WithSegment]. | 71 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 31 (max allowed is 20). | 71 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/ExplainStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, ExplainStatement, ExplainStatementConverter, IdentifierValue, InsertValuesSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, SetAssignmentSegment, SimpleTableSegment, TableNameSegment]. | 52 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 52 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/InsertStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ColumnAssignmentSegment, ColumnProjectionSegment, ColumnSegment, IdentifierValue, InsertColumnsSegment, InsertStatementConverter, InsertValuesSegment, ParameterMarkerExpressionSegment, ProjectionsSegment, SetAssignmentSegment, SimpleTableSegment, SubquerySegment, TableNameSegment]. | 48 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/MergeStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 11 (max allowed is 10) classes [AliasSegment, ColumnAssignmentSegment, ColumnSegment, ExpressionWithParamsSegment, IdentifierValue, MergeStatementConverter, ParameterMarkerExpressionSegment, SetAssignmentSegment, SimpleTableSegment, TableNameSegment, WhereSegment]. | 48 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/SelectStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 23 (max allowed is 10) classes [AggregationProjectionSegment, AliasSegment, ColumnOrderByItemSegment, ColumnProjectionSegment, ColumnSegment, CombineSegment, ExpressionOrderByItemSegment, GroupBySegment, IdentifierValue, LimitSegment, NumberLiteralLimitValueSegment, OrderBySegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, ProjectionsSegment, SelectStatementConverter, SimpleTableSegment, SubquerySegment, TableNameSegment, WhereSegment, WindowItemSegment, WindowSegment, WithSegment]. | 64 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 64 |
org/apache/shardingsphere/sqlfederation/compiler/sql/ast/converter/statement/type/UpdateStatementConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 15 (max allowed is 10) classes [AliasSegment, ColumnAssignmentSegment, ColumnOrderByItemSegment, ColumnSegment, IdentifierValue, LimitSegment, NumberLiteralLimitValueSegment, OrderBySegment, ParameterMarkerExpressionSegment, ParameterMarkerLimitValueSegment, SetAssignmentSegment, SimpleTableSegment, TableNameSegment, UpdateStatementConverter, WhereSegment]. | 54 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 54 |
