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
180 0 10 0

Files

File  I  W  E
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacket.java 0 1 0
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/MySQLBinlogProtocolValueFactory.java 0 2 0
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoder.java 0 3 0
org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java 0 1 0
org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacket.java 0 1 0
org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacket.java 0 1 0
org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacketTest.java 0 1 0

Rules

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

Details

org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/MySQLBinlogTableMapEventPacket.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 16 (max allowed is 10). 88

org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/MySQLBinlogProtocolValueFactory.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 22 (max allowed is 10) classes [EnumMap, MySQLBitBinlogProtocolValue, MySQLBlobBinlogProtocolValue, MySQLDateBinlogProtocolValue, MySQLDatetime2BinlogProtocolValue, MySQLDatetimeBinlogProtocolValue, MySQLDecimalBinlogProtocolValue, MySQLDoubleBinlogProtocolValue, MySQLFloatBinlogProtocolValue, MySQLInt24BinlogProtocolValue, MySQLJsonBinlogProtocolValue, MySQLLongBinlogProtocolValue, MySQLLongLongBinlogProtocolValue, MySQLShortBinlogProtocolValue, MySQLStringBinlogProtocolValue, MySQLTime2BinlogProtocolValue, MySQLTimeBinlogProtocolValue, MySQLTimestamp2BinlogProtocolValue, MySQLTimestampBinlogProtocolValue, MySQLTinyBinlogProtocolValue, MySQLVarcharBinlogProtocolValue, MySQLYearBinlogProtocolValue]. 52
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 25 (max allowed is 20). 52

org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoder.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 14 (max allowed is 10). 52
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 17 (max allowed is 10). 149
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 234

org/apache/shardingsphere/database/protocol/mysql/packet/binlog/row/column/value/string/MySQLJsonValueDecoderTest.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 12 (max allowed is 10). 223

org/apache/shardingsphere/database/protocol/mysql/packet/command/query/binary/execute/MySQLComStmtExecutePacket.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 14 (max allowed is 10). 158

org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacket.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 12 (max allowed is 10). 74

org/apache/shardingsphere/database/protocol/mysql/packet/command/query/text/MySQLTextResultSetRowPacketTest.java

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