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
25 0 6 0

Files

File  I  W  E
org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumper.java 0 1 0
org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumperTest.java 0 2 0
org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/wal/decode/MppdbDecodingPlugin.java 0 3 0

Rules

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

Details

org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumper.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 34 (max allowed is 20). 64

org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/dumper/OpenGaussIncrementalDumperTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 15 (max allowed is 10) classes [ActualAndLogicTableNameMapper, AtomicInteger, BeginTXEvent, CommitTXEvent, DumperCommonContext, IncrementalDumperContext, MemoryPipelineChannel, OpenGaussIncrementalDumper, OpenGaussLogSequenceNumber, SQLException, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, TableAndSchemaNameMapper, WALPosition, WriteRowEvent]. 80
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 32 (max allowed is 20). 80

org/apache/shardingsphere/data/pipeline/opengauss/ingest/incremental/wal/decode/MppdbDecodingPlugin.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 11 (max allowed is 10) classes [BeginTXEvent, BigDecimal, CommitTXEvent, DecodingException, DeleteRowEvent, IngestException, PGInterval, PGobject, PlaceholderEvent, UpdateRowEvent, WriteRowEvent]. 52
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 22 (max allowed is 20). 52
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 18 (max allowed is 10). 184