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
146 0 39 0

Files

File  I  W  E
org/apache/shardingsphere/driver/executor/engine/DriverExecuteExecutor.java 0 1 0
org/apache/shardingsphere/driver/executor/engine/batch/preparedstatement/BatchPreparedStatementExecutorTest.java 0 2 0
org/apache/shardingsphere/driver/executor/engine/batch/preparedstatement/DriverExecuteBatchExecutor.java 0 1 0
org/apache/shardingsphere/driver/executor/engine/facade/DriverExecutorFacade.java 0 1 0
org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteExecutor.java 0 1 0
org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteQueryExecutor.java 0 1 0
org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteUpdateExecutor.java 0 1 0
org/apache/shardingsphere/driver/jdbc/adapter/AdaptedDatabaseMetaData.java 0 2 0
org/apache/shardingsphere/driver/jdbc/adapter/PreparedStatementAdapterTest.java 0 2 0
org/apache/shardingsphere/driver/jdbc/adapter/StatementAdapterTest.java 0 2 0
org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnection.java 0 2 0
org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnectionTest.java 0 1 0
org/apache/shardingsphere/driver/jdbc/core/datasource/metadata/ShardingSphereDatabaseMetaDataTest.java 0 3 0
org/apache/shardingsphere/driver/jdbc/core/resultset/DistSQLResultSet.java 0 1 0
org/apache/shardingsphere/driver/jdbc/core/resultset/MySQLResultSetValueConverter.java 0 3 0
org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSet.java 0 1 0
org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSetTest.java 0 1 0
org/apache/shardingsphere/driver/jdbc/core/statement/DistSQLStatementExecutorTest.java 0 1 0
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java 0 2 0
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatementTest.java 0 2 0
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatement.java 0 2 0
org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatementTest.java 0 2 0
org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaData.java 0 2 0
org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaDataTest.java 0 2 0

Rules

Category Rule Violations Severity
metrics ClassDataAbstractionCoupling
  • max: "10"
8  Warning
ClassFanOutComplexity 19  Warning
CyclomaticComplexity 2  Warning
NPathComplexity 2  Warning
sizes MethodCount 8  Warning

Details

org/apache/shardingsphere/driver/executor/engine/DriverExecuteExecutor.java

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

org/apache/shardingsphere/driver/executor/engine/batch/preparedstatement/BatchPreparedStatementExecutorTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [BatchExecutionUnit, BatchPreparedStatementExecutor, ExecutionGroup, ExecutionGroupContext, ExecutionGroupReportContext, ExecutionUnit, JDBCExecutionUnit, JDBCExecutor, RuleAttributes, RuleMetaData, SQLException, SQLUnit, UUID]. 68
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 26 (max allowed is 20). 68

org/apache/shardingsphere/driver/executor/engine/batch/preparedstatement/DriverExecuteBatchExecutor.java

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

org/apache/shardingsphere/driver/executor/engine/facade/DriverExecutorFacade.java

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

org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteExecutor.java

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

org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteQueryExecutor.java

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

org/apache/shardingsphere/driver/executor/engine/pushdown/jdbc/DriverJDBCPushDownExecuteUpdateExecutor.java

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

org/apache/shardingsphere/driver/jdbc/adapter/AdaptedDatabaseMetaData.java

Severity Category Rule Message Line
 Warning sizes MethodCount Number of public methods is 147 (max allowed is 100). 29
 Warning sizes MethodCount Total number of methods is 147 (max allowed is 100). 29

org/apache/shardingsphere/driver/jdbc/adapter/PreparedStatementAdapterTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ByteArrayInputStream, ConfigurationProperties, Date, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, Properties, RuleMetaData, SQLFederationRule, SQLParserRule, ShardingSpherePreparedStatement, StringReader, Time, Timestamp]. 59
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 23 (max allowed is 20). 59

org/apache/shardingsphere/driver/jdbc/adapter/StatementAdapterTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 11 (max allowed is 10) classes [CommitStatement, ConfigurationProperties, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, Properties, RollbackStatement, RuleMetaData, SQLFederationRule, SQLParserRule, SQLStatement, ShardingSphereStatement]. 65
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 22 (max allowed is 20). 65

org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnection.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 11 (max allowed is 10) classes [ConcurrentLinkedQueue, ConnectionClosedException, DatabaseTypeRegistry, DriverDatabaseConnectionManager, ForceExecuteTemplate, ProcessEngine, SQLException, SQLFeatureNotSupportedException, ShardingSphereDatabaseMetaData, ShardingSpherePreparedStatement, ShardingSphereStatement]. 53
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 24 (max allowed is 20). 53

org/apache/shardingsphere/driver/jdbc/core/connection/ShardingSphereConnectionTest.java

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

org/apache/shardingsphere/driver/jdbc/core/datasource/metadata/ShardingSphereDatabaseMetaDataTest.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 22 (max allowed is 20). 64
 Warning sizes MethodCount Number of package methods is 182 (max allowed is 100). 64
 Warning sizes MethodCount Total number of methods is 184 (max allowed is 100). 64

org/apache/shardingsphere/driver/jdbc/core/resultset/DistSQLResultSet.java

Severity Category Rule Message Line
 Warning metrics NPathComplexity NPath Complexity is 387 (max allowed is 200). 98

org/apache/shardingsphere/driver/jdbc/core/resultset/MySQLResultSetValueConverter.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 26 (max allowed is 10). 39
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 14 (max allowed is 10). 91
 Warning metrics NPathComplexity NPath Complexity is 300 (max allowed is 200). 91

org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSet.java

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

org/apache/shardingsphere/driver/jdbc/core/resultset/ShardingSphereResultSetTest.java

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

org/apache/shardingsphere/driver/jdbc/core/statement/DistSQLStatementExecutorTest.java

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

org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatement.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [CommonSQLStatementContext, DatabaseTypeRegistry, DistSQLStatementExecutor, DriverExecuteBatchExecutor, DriverExecutorFacade, EmptySQLException, GeneratedKeysResultSet, QueryContext, SQLBindEngine, ShardingSphereParameterMetaData, StatementManager, StatementOption, UnknownDatabaseException]. 74
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 34 (max allowed is 20). 74

org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSpherePreparedStatementTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 16 (max allowed is 10) classes [AtomicReference, CommitStatement, ConfigurationProperties, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, GeneratedKeysResultSet, ParseStatement, Properties, RollbackStatement, RuleMetaData, SQLException, SQLFederationRule, SQLParserRule, SQLStatement, ShardingSpherePreparedStatement, UnknownDatabaseException]. 87
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 34 (max allowed is 20). 87

org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatement.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [BatchStatementExecutor, CommonSQLStatementContext, DatabaseTypeRegistry, DistSQLStatementExecutor, DriverExecutorFacade, EmptySQLException, GeneratedKeysResultSet, QueryContext, SQLBindEngine, StatementManager, StatementOption, UnknownDatabaseException, UnknownSQLException]. 71
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 35 (max allowed is 20). 71

org/apache/shardingsphere/driver/jdbc/core/statement/ShardingSphereStatementTest.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [ConfigurationProperties, DatabaseProtocolException, DefaultSQLFederationRuleConfigurationBuilder, DefaultSQLParserRuleConfigurationBuilder, NoDatabaseSelectedException, ParseStatement, Properties, RuleMetaData, SQLException, SQLFederationRule, SQLParserRule, ShardingSphereStatement, UnknownDatabaseException]. 81
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 29 (max allowed is 20). 81

org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaData.java

Severity Category Rule Message Line
 Warning sizes MethodCount Number of public methods is 176 (max allowed is 100). 28
 Warning sizes MethodCount Total number of methods is 176 (max allowed is 100). 28

org/apache/shardingsphere/driver/state/circuit/metadata/CircuitBreakerDatabaseMetaDataTest.java

Severity Category Rule Message Line
 Warning sizes MethodCount Number of package methods is 176 (max allowed is 100). 29
 Warning sizes MethodCount Total number of methods is 176 (max allowed is 100). 29