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 |
| 22 |
0 |
5 |
0 |
Details
org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketFactory.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
ClassDataAbstractionCoupling |
Class Data Abstraction Coupling is 13 (max allowed is 10) classes [OpenGaussComBatchBindPacket, PostgreSQLAggregatedCommandPacket, PostgreSQLComBindPacket, PostgreSQLComClosePacket, PostgreSQLComDescribePacket, PostgreSQLComExecutePacket, PostgreSQLComFlushPacket, PostgreSQLComParsePacket, PostgreSQLComQueryPacket, PostgreSQLComSyncPacket, PostgreSQLComTerminationPacket, PostgreSQLPacketPayload, PostgreSQLUnsupportedCommandPacket]. |
46 |
Warning |
metrics |
CyclomaticComplexity |
Cyclomatic Complexity is 11 (max allowed is 10). |
71 |
org/apache/shardingsphere/database/protocol/opengauss/packet/command/OpenGaussCommandPacketFactoryTest.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
NPathComplexity |
NPath Complexity is 256 (max allowed is 200). |
91 |
org/apache/shardingsphere/database/protocol/opengauss/packet/command/generic/OpenGaussErrorResponsePacket.java
| Severity |
Category |
Rule |
Message |
Line |
Warning |
metrics |
CyclomaticComplexity |
Cyclomatic Complexity is 14 (max allowed is 10). |
77 |
Warning |
metrics |
NPathComplexity |
NPath Complexity is 8,192 (max allowed is 200). |
77 |