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 | |||
|---|---|---|---|
| 58 | 0 | 13 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | ClassDataAbstractionCoupling
|
2 | |
| ClassFanOutComplexity | 5 | ||
| CyclomaticComplexity | 3 | ||
| JavaNCSS | 1 | ||
| NPathComplexity | 2 |
Details
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/dumper/PostgreSQLIncrementalDumper.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 60 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/dumper/PostgreSQLIncrementalDumperTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [ActualAndLogicTableNameMapper, DumperCommonContext, IncrementalDumperContext, IngestException, MemoryPipelineChannel, PipelineDataSourceManager, PostgreSQLIncrementalDumper, PostgreSQLLogSequenceNumber, SQLWrapperException, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, StandardPipelineTableMetaDataLoader, TableAndSchemaNameMapper, WALPosition]. | 65 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 29 (max allowed is 20). | 65 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/WALEventConverter.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 51 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/WALEventConverterTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 19 (max allowed is 10) classes [AbstractRowEvent, ActualAndLogicTableNameMapper, BeginTXEvent, CommitTXEvent, DeleteRowEvent, DumperCommonContext, IncrementalDumperContext, PipelineColumnMetaData, PipelineDataSourceManager, PipelineTableMetaData, PlaceholderEvent, PostgreSQLLogSequenceNumber, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, StandardPipelineTableMetaDataLoader, TableAndSchemaNameMapper, UpdateRowEvent, WALEventConverter, WriteRowEvent]. | 79 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 35 (max allowed is 20). | 79 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/decode/TestDecodingPlugin.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 22 (max allowed is 10). | 166 | |
| metrics | NPathComplexity | NPath Complexity is 576 (max allowed is 200). | 166 |
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/decode/TestDecodingPluginTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 21 (max allowed is 20). | 55 |
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/column/PostgreSQLColumnPropertiesAppender.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 12 (max allowed is 10). | 241 | |
| metrics | NPathComplexity | NPath Complexity is 384 (max allowed is 200). | 241 |
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/constraints/PostgreSQLConstraintsPropertiesAppenderTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 14 (max allowed is 10). | 135 |
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/index/PostgreSQLIndexSQLGeneratorTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | JavaNCSS | NCSS for this method is 56 (max allowed is 50). | 115 |
