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 | |||
|---|---|---|---|
| 181 | 0 | 17 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| metrics | BooleanExpressionComplexity | 1 | |
ClassDataAbstractionCoupling
|
2 | ||
| ClassFanOutComplexity | 2 | ||
| CyclomaticComplexity | 7 | ||
| JavaNCSS | 3 | ||
| NPathComplexity | 2 |
Details
org/apache/shardingsphere/database/protocol/firebird/codec/FirebirdPacketCodecEngineTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 24 (max allowed is 20). | 78 |
org/apache/shardingsphere/database/protocol/firebird/constant/FirebirdArchType.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 24 (max allowed is 10). | 63 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 63 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/FirebirdCommandPacketFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 23 (max allowed is 10) classes [FirebirdAllocateStatementPacket, FirebirdBatchBlobSegmentsCommandPacket, FirebirdBatchCancelCommandPacket, FirebirdBatchCreateCommandPacket, FirebirdBatchExecuteCommandPacket, FirebirdBatchMessageCommandPacket, FirebirdBatchReleaseCommandPacket, FirebirdBatchSyncCommandPacket, FirebirdCancelBlobCommandPacket, FirebirdCloseBlobCommandPacket, FirebirdCommitTransactionPacket, FirebirdCreateBlobCommandPacket, FirebirdExecuteStatementPacket, FirebirdFetchStatementPacket, FirebirdFreeStatementPacket, FirebirdGetBlobSegmentCommandPacket, FirebirdOpenBlobCommandPacket, FirebirdPrepareStatementPacket, FirebirdPutBlobSegmentCommandPacket, FirebirdRollbackTransactionPacket, FirebirdSeekBlobCommandPacket, FirebirdStartTransactionPacket, FirebirdUnsupportedCommandPacket]. | 55 | |
| metrics | ClassFanOutComplexity | Class Fan-Out Complexity is 28 (max allowed is 20). | 55 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 29 (max allowed is 10). | 67 | |
| metrics | JavaNCSS | NCSS for this method is 57 (max allowed is 50). | 67 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 29 (max allowed is 10). | 137 | |
| metrics | JavaNCSS | NCSS for this method is 55 (max allowed is 50). | 137 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/batch/FirebirdParseBatchBlr.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 141 | |
| metrics | NPathComplexity | NPath Complexity is 320 (max allowed is 200). | 141 | |
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 170 | |
| metrics | NPathComplexity | NPath Complexity is 240 (max allowed is 200). | 170 | |
| metrics | BooleanExpressionComplexity | Boolean expression complexity is 4 (max allowed is 3). | 177 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/FirebirdBlrRowMetadata.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 13 (max allowed is 10). | 70 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/execute/protocol/FirebirdBinaryProtocolValueFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | ClassDataAbstractionCoupling | Class Data Abstraction Coupling is 14 (max allowed is 10) classes [FirebirdBlobBinaryProtocolValue, FirebirdBooleanBinaryProtocolValue, FirebirdDateBinaryProtocolValue, FirebirdDoubleBinaryProtocolValue, FirebirdFloatBinaryProtocolValue, FirebirdInt16BinaryProtocolValue, FirebirdInt2BinaryProtocolValue, FirebirdInt4BinaryProtocolValue, FirebirdInt8BinaryProtocolValue, FirebirdNullBinaryProtocolValue, FirebirdStringBinaryProtocolValue, FirebirdTimeBinaryProtocolValue, FirebirdTimestampBinaryProtocolValue, FirebirdTimestampTZBinaryProtocolValue]. | 33 |
org/apache/shardingsphere/database/protocol/firebird/packet/command/query/statement/prepare/FirebirdReturnColumnPacket.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| metrics | CyclomaticComplexity | Cyclomatic Complexity is 20 (max allowed is 10). | 57 |
