Checkstyle Results

The following document contains the results of Checkstyle 9.3 with /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/src/resources/checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
170 0 6 0

Files

File  I  W  E
org/apache/shardingsphere/database/protocol/postgresql/packet/command/PostgreSQLCommandPacketFactory.java 0 1 0
org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedCommandPacket.java 0 2 0
org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnType.java 0 1 0
org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryProtocolValueFactory.java 0 2 0

Rules

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

Details

org/apache/shardingsphere/database/protocol/postgresql/packet/command/PostgreSQLCommandPacketFactory.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 12 (max allowed is 10) classes [PostgreSQLAggregatedCommandPacket, PostgreSQLComBindPacket, PostgreSQLComClosePacket, PostgreSQLComDescribePacket, PostgreSQLComExecutePacket, PostgreSQLComFlushPacket, PostgreSQLComParsePacket, PostgreSQLComQueryPacket, PostgreSQLComSyncPacket, PostgreSQLComTerminationPacket, PostgreSQLPacketPayload, PostgreSQLUnsupportedCommandPacket]. 41

org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLAggregatedCommandPacket.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 17 (max allowed is 10). 41
 Warning metrics NPathComplexity NPath Complexity is 932 (max allowed is 200). 41

org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/PostgreSQLColumnType.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 16 (max allowed is 10) classes [PostgreSQLBitValueParser, PostgreSQLBoolValueParser, PostgreSQLDateValueParser, PostgreSQLDoubleValueParser, PostgreSQLFloatValueParser, PostgreSQLIntValueParser, PostgreSQLJsonValueParser, PostgreSQLLongValueParser, PostgreSQLNumericValueParser, PostgreSQLProtocolException, PostgreSQLTextArrayValueParser, PostgreSQLTimeValueParser, PostgreSQLTimestampValueParser, PostgreSQLUnspecifiedValueParser, PostgreSQLVarcharArrayValueParser, PostgreSQLVarcharValueParser]. 49

org/apache/shardingsphere/database/protocol/postgresql/packet/command/query/extended/bind/protocol/PostgreSQLBinaryProtocolValueFactory.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 21 (max allowed is 10) classes [PostgreSQLBoolArrayBinaryProtocolValue, PostgreSQLBoolBinaryProtocolValue, PostgreSQLByteaBinaryProtocolValue, PostgreSQLDateBinaryProtocolValue, PostgreSQLDoubleBinaryProtocolValue, PostgreSQLFloat4ArrayBinaryProtocolValue, PostgreSQLFloat8ArrayBinaryProtocolValue, PostgreSQLFloatBinaryProtocolValue, PostgreSQLInt2ArrayBinaryProtocolValue, PostgreSQLInt2BinaryProtocolValue, PostgreSQLInt4ArrayBinaryProtocolValue, PostgreSQLInt4BinaryProtocolValue, PostgreSQLInt8ArrayBinaryProtocolValue, PostgreSQLInt8BinaryProtocolValue, PostgreSQLNumericBinaryProtocolValue, PostgreSQLStringArrayBinaryProtocolValue, PostgreSQLStringBinaryProtocolValue, PostgreSQLTextArrayBinaryProtocolValue, PostgreSQLTimeBinaryProtocolValue, PostgreSQLUUIDBinaryProtocolValue, PostgreSQLUnspecifiedBinaryProtocolValue]. 32
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 24 (max allowed is 20). 32