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 | |||
|---|---|---|---|
| 1306 | 0 | 70 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | BooleanExpressionComplexity | 9 | |
| ClassFanOutComplexity | 19 | ||
| CyclomaticComplexity | 26 | ||
| JavaNCSS | 9 | ||
| NPathComplexity | 5 | ||
| sizes | ExecutableStatementCount
|
2 |
Details
org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/MySQLExternalExternalTestParameterLoadTemplate.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 30 (max allowed is 10). | 70 | |
| metrics | JavaNCSS | NCSS for this method is 72 (max allowed is 50). | 70 | |
| metrics | NPathComplexity | NPath Complexity is 1,866,601 (max allowed is 200). | 70 | |
| sizes | ExecutableStatementCount | Executable statement count is 62 (max allowed is 50). | 70 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 144 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 205 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 21 (max allowed is 10). | 214 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 224 |
org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/PostgreSQLExternalTestParameterLoadTemplate.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 104 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 111 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 26 (max allowed is 10). | 222 | |
| metrics | NPathComplexity | NPath Complexity is 81,002 (max allowed is 200). | 222 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 23 (max allowed is 10). | 321 | |
| metrics | JavaNCSS | NCSS for this method is 67 (max allowed is 50). | 321 | |
| metrics | NPathComplexity | NPath Complexity is 72,900 (max allowed is 200). | 321 | |
| sizes | ExecutableStatementCount | Executable statement count is 54 (max allowed is 50). | 321 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 39 (max allowed is 10). | 404 | |
| metrics | JavaNCSS | NCSS for this method is 54 (max allowed is 50). | 404 | |
| metrics | NPathComplexity | NPath Complexity is 8,064 (max allowed is 200). | 404 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 413 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 429 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 473 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 475 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 478 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 519 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 5 (max allowed is 3). | 615 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/assignment/AssignmentValueAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 53 | |
| metrics | NPathComplexity | NPath Complexity is 1,024 (max allowed is 200). | 53 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/expression/ExpressionAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 76 (max allowed is 20). | 119 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 37 (max allowed is 10). | 729 | |
| metrics | JavaNCSS | NCSS for this method is 111 (max allowed is 50). | 729 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/projection/ProjectionAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 70 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/table/TableAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 74 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/SQLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 69 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/doris/DorisDALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 96 (max allowed is 20). | 167 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 47 (max allowed is 10). | 177 | |
| metrics | JavaNCSS | NCSS for this method is 138 (max allowed is 50). | 177 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/mysql/MySQLDALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 100 (max allowed is 20). | 173 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 49 (max allowed is 10). | 183 | |
| metrics | JavaNCSS | NCSS for this method is 144 (max allowed is 50). | 183 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/standard/StandardDALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 26 (max allowed is 20). | 62 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 72 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 40 (max allowed is 20). | 69 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 19 (max allowed is 10). | 79 | |
| metrics | JavaNCSS | NCSS for this method is 54 (max allowed is 50). | 79 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/oracle/OracleDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 67 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 77 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/postgresql/PostgreSQLDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 57 (max allowed is 20). | 129 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 139 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 36 (max allowed is 10). | 169 | |
| metrics | JavaNCSS | NCSS for this method is 108 (max allowed is 50). | 169 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/StandardDDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 82 (max allowed is 20). | 144 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 47 (max allowed is 10). | 154 | |
| metrics | JavaNCSS | NCSS for this method is 118 (max allowed is 50). | 154 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/AlterTableStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 58 (max allowed is 20). | 112 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/plsql/PLSQLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 59 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/QueryableRALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 59 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/pipeline/UpdatablePipelineRALStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 64 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 74 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/RDLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 65 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/alter/AlterRuleStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 58 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 68 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/create/CreateRuleStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 64 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 74 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/drop/DropRuleStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 68 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 78 |
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/RQLStatementAssert.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 57 |
org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/segment/impl/expr/ExpectedExpression.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 39 (max allowed is 20). | 42 |
org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/dml/standard/InsertStatementTestCase.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 47 |
org/apache/shardingsphere/test/it/sql/parser/postgresql/InternalPostgreSQLParserIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 44 (max allowed is 20). | 87 |
