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 |
Info |
Warnings |
Errors |
| 260 |
0 |
20 |
0 |
Details
org/apache/shardingsphere/mcp/support/database/metadata/jdbc/AbstractMCPJdbcMetadataLoaderTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassFanOutComplexity |
Class Fan-Out Complexity is 27 (max allowed is 20). |
77 |
org/apache/shardingsphere/mcp/support/database/metadata/jdbc/MCPJdbcMetadataLoaderTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassFanOutComplexity |
Class Fan-Out Complexity is 21 (max allowed is 20). |
58 |
org/apache/shardingsphere/mcp/support/database/metadata/query/MetadataQueryServiceTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassFanOutComplexity |
Class Fan-Out Complexity is 27 (max allowed is 20). |
78 |
Warning |
coding |
NestedForDepth |
Nested for depth is 2 (max allowed is 1). |
496 |
org/apache/shardingsphere/mcp/support/database/tool/service/RuntimeDatabaseValidationServiceTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassDataAbstractionCoupling |
Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ClassNotFoundException, DatabaseIdentifierContext, IdentifierCasePolicySet, MCPMetadataSnapshot, RuntimeDatabaseConfiguration, RuntimeDatabaseProfile, RuntimeDatabaseValidationRequest, RuntimeDatabaseValidationService, SQLException, SQLTimeoutException, ShardingSphereSchema]. |
69 |
Warning |
metrics |
ClassFanOutComplexity |
Class Fan-Out Complexity is 25 (max allowed is 20). |
69 |
org/apache/shardingsphere/mcp/support/descriptor/MCPDescriptorCatalogLoaderTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassDataAbstractionCoupling |
Class Data Abstraction Coupling is 13 (max allowed is 10) classes [IOException, MCPCompletionTargetDescriptor, MCPDescriptorCatalog, MCPPromptArgumentDescriptor, MCPPromptDescriptor, MCPPromptTemplateBinding, MCPProtocolDescriptorCatalog, MCPResourceDescriptor, MCPShardingSphereDescriptorCatalog, MCPUriVariableDescriptor, ShardingSphereMCPResourceMetadata, URL, URLClassLoader]. |
57 |
Warning |
metrics |
ClassFanOutComplexity |
Class Fan-Out Complexity is 22 (max allowed is 20). |
57 |
org/apache/shardingsphere/mcp/support/descriptor/MCPDescriptorCatalogValidatorTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassDataAbstractionCoupling |
Class Data Abstraction Coupling is 11 (max allowed is 10) classes [MCPCompletionTargetDescriptor, MCPDescriptorCatalog, MCPPromptArgumentDescriptor, MCPPromptDescriptor, MCPPromptTemplateBinding, MCPProtocolDescriptorCatalog, MCPResourceAnnotations, MCPResourceDescriptor, MCPShardingSphereDescriptorCatalog, MCPToolDescriptor, MCPToolRuntimeDescriptor]. |
43 |
org/apache/shardingsphere/mcp/support/descriptor/MCPDescriptorCatalogYamlSwapper.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassDataAbstractionCoupling |
Class Data Abstraction Coupling is 14 (max allowed is 10) classes [MCPCompletionTargetDescriptor, MCPDescriptorCatalog, MCPPromptArgumentDescriptor, MCPPromptDescriptor, MCPPromptTemplateBinding, MCPProtocolDescriptorCatalog, MCPResourceAnnotations, MCPResourceDescriptor, MCPResourceNavigationDescriptor, MCPShardingSphereDescriptorCatalog, MCPToolDescriptor, MCPToolRuntimeDescriptor, MCPUriVariableDescriptor, ShardingSphereMCPResourceMetadata]. |
50 |
Warning |
metrics |
ClassFanOutComplexity |
Class Fan-Out Complexity is 28 (max allowed is 20). |
50 |
org/apache/shardingsphere/mcp/support/descriptor/MCPToolDescriptorCatalogValidator.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
NPathComplexity |
NPath Complexity is 384 (max allowed is 200). |
81 |
org/apache/shardingsphere/mcp/support/descriptor/MCPToolInputSchemaValidator.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
BooleanExpressionComplexity |
Boolean expression complexity is 4 (max allowed is 3). |
223 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowArtifactMaskUtils.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
CyclomaticComplexity |
Cyclomatic Complexity is 11 (max allowed is 10). |
182 |
Warning |
metrics |
BooleanExpressionComplexity |
Boolean expression complexity is 7 (max allowed is 3). |
189 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowPlanPayloadBuilderTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
JavaNCSS |
NCSS for this method is 52 (max allowed is 50). |
61 |
Warning |
sizes |
ExecutableStatementCount |
Executable statement count is 51 (max allowed is 50). |
61 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowPlanningContextValidator.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
CyclomaticComplexity |
Cyclomatic Complexity is 13 (max allowed is 10). |
84 |
Warning |
metrics |
NPathComplexity |
NPath Complexity is 1,024 (max allowed is 200). |
84 |
org/apache/shardingsphere/mcp/support/workflow/service/WorkflowPlanningSupportTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassDataAbstractionCoupling |
Class Data Abstraction Coupling is 12 (max allowed is 10) classes [ClarifiedIntent, DatabaseIdentifierContext, InteractionPlan, MCPColumnMetadata, RuntimeDatabaseProfile, ShardingSphereSchema, ShardingSphereTable, TestWorkflowSessionContext, WorkflowContextSnapshot, WorkflowIssue, WorkflowPlanningSupport, WorkflowRequest]. |
62 |