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 | |||
|---|---|---|---|
| 20 | 0 | 4 | 0 |
Files
| File | |||
|---|---|---|---|
| org/apache/shardingsphere/test/it/rewriter/engine/SQLRewriterIT.java | 0 | 2 | 0 |
| org/apache/shardingsphere/test/it/rewriter/engine/parameter/SQLRewriteEngineTestParametersBuilder.java | 0 | 2 | 0 |
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | ClassDataAbstractionCoupling
|
1 | |
| ClassFanOutComplexity | 1 | ||
| CyclomaticComplexity | 1 | ||
| NPathComplexity | 1 |
Details
org/apache/shardingsphere/test/it/rewriter/engine/SQLRewriterIT.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 21 (max allowed is 10) classes [ConcurrentHashMap, ConfigurationProperties, ConnectionContext, ConnectionProperties, DataSourceProvidedDatabaseConfiguration, DefaultSQLParserRuleConfigurationBuilder, File, HintValueContext, Properties, QueryContext, ResourceMetaData, RewriteScenarioContext, RuleMetaData, SQLBindEngine, SQLParserRule, SQLRewriteEntry, SQLRouteEngine, ShardingSphereDatabase, ShardingSphereMetaData, YamlDataSourceConfigurationSwapper, YamlRuleConfigurationSwapperEngine]. | 102 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 47 (max allowed is 20). | 102 |
org/apache/shardingsphere/test/it/rewriter/engine/parameter/SQLRewriteEngineTestParametersBuilder.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 15 (max allowed is 10). | 228 | |
| metrics | NPathComplexity | NPath Complexity is 1,920 (max allowed is 200). | 228 |
