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
32 0 5 0

Files

File  I  W  E
org/apache/shardingsphere/database/exception/firebird/mapper/FirebirdDialectExceptionMapper.java 0 3 0
org/apache/shardingsphere/database/exception/firebird/mapper/FirebirdDialectExceptionMapperTest.java 0 2 0

Rules

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

Details

org/apache/shardingsphere/database/exception/firebird/mapper/FirebirdDialectExceptionMapper.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 27 (max allowed is 20). 53
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 23 (max allowed is 10). 55
 Warning metrics NPathComplexity NPath Complexity is 4,194,304 (max allowed is 200). 55

org/apache/shardingsphere/database/exception/firebird/mapper/FirebirdDialectExceptionMapperTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 22 (max allowed is 10) classes [AccessDeniedException, BatchAlreadyOpenedException, BatchParametersRequiredException, BatchTooBigException, CannotUpdateOldBlobException, DatabaseCreateExistsException, DatabaseDropNotExistsException, DialectSQLParsingException, ExcessTransactionsException, InvalidBatchHandleException, InvalidBatchMessageFormatException, InvalidBatchParameterVersionException, InvalidBatchStatementTypeException, InvalidParameterValueException, InvalidSegstrHandleException, InvalidSegstrIdException, InvalidSegstrTypeException, InvalidStatementHandleException, InvalidTransactionHandleException, LoginErrorException, TableExistsException, UnknownDatabaseException]. 62
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 30 (max allowed is 20). 62