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 | |||
|---|---|---|---|
| 61 | 0 | 11 | 0 |
Files
| File | |||
|---|---|---|---|
| org/apache/shardingsphere/test/e2e/mcp/llm/LLMHttpE2EIT.java | 0 | 10 | 0 |
| org/apache/shardingsphere/test/e2e/mcp/llm/conversation/LLMMCPSafetyValidator.java | 0 | 1 | 0 |
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| coding | NestedForDepth | 2 | |
| metrics | BooleanExpressionComplexity | 3 | |
| ClassFanOutComplexity | 1 | ||
| CyclomaticComplexity | 3 | ||
| NPathComplexity | 2 |
Details
org/apache/shardingsphere/test/e2e/mcp/llm/LLMHttpE2EIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 73 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 16 (max allowed is 10). | 279 | |
| metrics | NPathComplexity | NPath Complexity is 287 (max allowed is 200). | 279 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 8 (max allowed is 3). | 294 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 313 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 9 (max allowed is 3). | 322 | |
| metrics | NPathComplexity | NPath Complexity is 276 (max allowed is 200). | 331 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 11 (max allowed is 10). | 429 | |
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 435 | |
| coding | NestedForDepth | Nested for depth is 2 (max allowed is 1). | 442 |
org/apache/shardingsphere/test/e2e/mcp/llm/conversation/LLMMCPSafetyValidator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 45 |
