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 | |||
|---|---|---|---|
| 57 | 0 | 19 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | BooleanExpressionComplexity | 3 | |
| ClassFanOutComplexity | 7 | ||
| CyclomaticComplexity | 5 | ||
| JavaNCSS | 2 | ||
| NPathComplexity | 2 |
Details
org/apache/shardingsphere/test/e2e/sql/cases/value/SQLValue.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 52 (max allowed is 10). | 50 | |
| metrics | JavaNCSS | NCSS for this method is 69 (max allowed is 50). | 50 | |
| metrics | NPathComplexity | NPath Complexity is 384 (max allowed is 200). | 50 |
org/apache/shardingsphere/test/e2e/sql/env/DataSetEnvironmentManager.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 23 (max allowed is 20). | 72 |
org/apache/shardingsphere/test/e2e/sql/env/DataSetResetScopeCalculator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 54 (max allowed is 20). | 87 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 458 |
org/apache/shardingsphere/test/e2e/sql/it/distsql/ral/RALE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 69 |
org/apache/shardingsphere/test/e2e/sql/it/distsql/rql/RQLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 64 |
org/apache/shardingsphere/test/e2e/sql/it/sql/ddl/DDLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 25 (max allowed is 20). | 69 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 195 | |
| metrics | NPathComplexity | NPath Complexity is 243 (max allowed is 200). | 195 |
org/apache/shardingsphere/test/e2e/sql/it/sql/dml/BaseDMLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 30 (max allowed is 20). | 81 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 25 (max allowed is 10). | 273 | |
| metrics | JavaNCSS | NCSS for this method is 59 (max allowed is 50). | 273 |
org/apache/shardingsphere/test/e2e/sql/it/sql/dql/BaseDQLE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 27 (max allowed is 20). | 66 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 183 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 224 |
org/apache/shardingsphere/test/e2e/sql/it/sql/dql/DQLExclusiveExecutionDetector.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 6 (max allowed is 3). | 61 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 67 |
