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
62 0 9 0

Files

File  I  W  E
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/MySQLBinlogClient.java 0 2 0
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/MySQLBinlogClientTest.java 0 2 0
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/netty/MySQLBinlogEventPacketDecoder.java 0 1 0
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/netty/MySQLNegotiateHandlerTest.java 0 1 0
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/dumper/MySQLIncrementalDumper.java 0 1 0
org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/dumper/MySQLIncrementalDumperTest.java 0 2 0

Rules

Category Rule Violations Severity
metrics ClassDataAbstractionCoupling
  • max: "10"
4  Warning
ClassFanOutComplexity 5  Warning

Details

org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/MySQLBinlogClient.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 22 (max allowed is 10) classes [ArrayBlockingQueue, AtomicInteger, Bootstrap, ChannelAttrInitializer, ChannelInitializer, DefaultPromise, MySQLBinlogEventHandler, MySQLBinlogEventPacketDecoder, MySQLComBinlogDumpCommandPacket, MySQLComQueryPacket, MySQLComRegisterSlaveCommandPacket, MySQLCommandPacketDecoder, MySQLCommandResponseHandler, MySQLNegotiateHandler, MySQLNegotiatePackageDecoder, MySQLPacketCodecEngine, MySQLSequenceIdInboundHandler, NioEventLoopGroup, PacketCodec, PipelineInternalException, PlaceholderBinlogEvent, UnsupportedSQLOperationException]. 75
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 38 (max allowed is 20). 75

org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/MySQLBinlogClientTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 18 (max allowed is 10) classes [AtomicInteger, AtomicReference, CompletableFuture, ConnectInfo, DefaultPromise, InetSocketAddress, InternalResultSet, InterruptedException, MySQLBinlogClient, MySQLErrPacket, MySQLOKPacket, MySQLServerVersion, MySQLTextResultSetRowPacket, NioEventLoopGroup, PipelineInternalException, PlaceholderBinlogEvent, SQLException, TimeoutException]. 105
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 44 (max allowed is 20). 105

org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/netty/MySQLBinlogEventPacketDecoder.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 14 (max allowed is 10) classes [MySQLBinlogContext, MySQLBinlogEventHeader, MySQLBinlogFormatDescriptionEventPacket, MySQLBinlogRotateEventPacket, MySQLBinlogRowsEventPacket, MySQLBinlogTableMapEventPacket, MySQLDeleteRowsBinlogEvent, MySQLPacketPayload, MySQLQueryBinlogEvent, MySQLUpdateRowsBinlogEvent, MySQLWriteRowsBinlogEvent, MySQLXidBinlogEvent, PipelineInternalException, PlaceholderBinlogEvent]. 51

org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/client/netty/MySQLNegotiateHandlerTest.java

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

org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/dumper/MySQLIncrementalDumper.java

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

org/apache/shardingsphere/data/pipeline/mysql/ingest/incremental/dumper/MySQLIncrementalDumperTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 18 (max allowed is 10) classes [ActualAndLogicTableNameMapper, AtomicInteger, DumperCommonContext, IncrementalDumperContext, MySQLBinlogPosition, MySQLDeleteRowsBinlogEvent, MySQLIncrementalDumper, MySQLUpdateRowsBinlogEvent, MySQLWriteRowsBinlogEvent, PipelineColumnMetaData, PipelineDataSourceManager, PipelineTableMetaData, PlaceholderBinlogEvent, Serializable, ShardingSphereIdentifier, StandardPipelineDataSourceConfiguration, TableAndSchemaNameMapper, Thread]. 81
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 36 (max allowed is 20). 81