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
58 0 13 0

Files

File  I  W  E
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/dumper/PostgreSQLIncrementalDumper.java 0 1 0
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/dumper/PostgreSQLIncrementalDumperTest.java 0 2 0
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/WALEventConverter.java 0 1 0
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/WALEventConverterTest.java 0 2 0
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/decode/TestDecodingPlugin.java 0 2 0
org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/wal/decode/TestDecodingPluginTest.java 0 1 0
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/column/PostgreSQLColumnPropertiesAppender.java 0 2 0
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/constraints/PostgreSQLConstraintsPropertiesAppenderTest.java 0 1 0
org/apache/shardingsphere/data/pipeline/postgresql/sqlbuilder/ddl/index/PostgreSQLIndexSQLGeneratorTest.java 0 1 0

Rules

Category Rule Violations Severity
metrics ClassDataAbstractionCoupling
  • max: "10"
2  Warning
ClassFanOutComplexity 5  Warning
CyclomaticComplexity 3  Warning
JavaNCSS 1  Warning
NPathComplexity 2  Warning

Details

org/apache/shardingsphere/data/pipeline/postgresql/ingest/incremental/dumper/PostgreSQLIncrementalDumper.java

Severity Category Rule Message Line
 Warning 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
 Warning 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
 Warning 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
 Warning 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
 Warning 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
 Warning 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
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 22 (max allowed is 10). 166
 Warning 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
 Warning 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
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 12 (max allowed is 10). 241
 Warning 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
 Warning 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
 Warning metrics JavaNCSS NCSS for this method is 56 (max allowed is 50). 115