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
1306 0 70 0

Files

File  I  W  E
org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/MySQLExternalExternalTestParameterLoadTemplate.java 0 8 0
org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/PostgreSQLExternalTestParameterLoadTemplate.java 0 18 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/assignment/AssignmentValueAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/expression/ExpressionAssert.java 0 3 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/projection/ProjectionAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/table/TableAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/SQLStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/doris/DorisDALStatementAssert.java 0 3 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/mysql/MySQLDALStatementAssert.java 0 3 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/standard/StandardDALStatementAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java 0 3 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/oracle/OracleDDLStatementAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/postgresql/PostgreSQLDDLStatementAssert.java 0 4 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/StandardDDLStatementAssert.java 0 3 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/AlterTableStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/plsql/PLSQLStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/QueryableRALStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/pipeline/UpdatablePipelineRALStatementAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/RDLStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/alter/AlterRuleStatementAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/create/CreateRuleStatementAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/drop/DropRuleStatementAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/RQLStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/segment/impl/expr/ExpectedExpression.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/dml/standard/InsertStatementTestCase.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/postgresql/InternalPostgreSQLParserIT.java 0 1 0

Rules

Category Rule Violations Severity
metrics BooleanExpressionComplexity 9  Warning
ClassFanOutComplexity 19  Warning
CyclomaticComplexity 26  Warning
JavaNCSS 9  Warning
NPathComplexity 5  Warning
sizes ExecutableStatementCount
  • max: "50"
2  Warning

Details

org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/MySQLExternalExternalTestParameterLoadTemplate.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 30 (max allowed is 10). 70
 Warning metrics JavaNCSS NCSS for this method is 72 (max allowed is 50). 70
 Warning metrics NPathComplexity NPath Complexity is 1,866,601 (max allowed is 200). 70
 Warning sizes ExecutableStatementCount Executable statement count is 62 (max allowed is 50). 70
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 4 (max allowed is 3). 144
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 4 (max allowed is 3). 205
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 21 (max allowed is 10). 214
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 4 (max allowed is 3). 224

org/apache/shardingsphere/test/it/sql/parser/external/loader/template/dialect/PostgreSQLExternalTestParameterLoadTemplate.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 104
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 4 (max allowed is 3). 111
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 26 (max allowed is 10). 222
 Warning metrics NPathComplexity NPath Complexity is 81,002 (max allowed is 200). 222
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 23 (max allowed is 10). 321
 Warning metrics JavaNCSS NCSS for this method is 67 (max allowed is 50). 321
 Warning metrics NPathComplexity NPath Complexity is 72,900 (max allowed is 200). 321
 Warning sizes ExecutableStatementCount Executable statement count is 54 (max allowed is 50). 321
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 39 (max allowed is 10). 404
 Warning metrics JavaNCSS NCSS for this method is 54 (max allowed is 50). 404
 Warning metrics NPathComplexity NPath Complexity is 8,064 (max allowed is 200). 404
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 5 (max allowed is 3). 413
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 4 (max allowed is 3). 429
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 12 (max allowed is 10). 473
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 4 (max allowed is 3). 475
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 5 (max allowed is 3). 478
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 519
 Warning metrics BooleanExpressionComplexity Boolean expression complexity is 5 (max allowed is 3). 615

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/assignment/AssignmentValueAssert.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 53
 Warning metrics NPathComplexity NPath Complexity is 1,024 (max allowed is 200). 53

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/expression/ExpressionAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 76 (max allowed is 20). 119
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 37 (max allowed is 10). 729
 Warning metrics JavaNCSS NCSS for this method is 111 (max allowed is 50). 729

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/projection/ProjectionAssert.java

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

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/table/TableAssert.java

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

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/SQLStatementAssert.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 16 (max allowed is 10). 69

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/doris/DorisDALStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 96 (max allowed is 20). 167
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 47 (max allowed is 10). 177
 Warning metrics JavaNCSS NCSS for this method is 138 (max allowed is 50). 177

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/dialect/mysql/MySQLDALStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 100 (max allowed is 20). 173
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 49 (max allowed is 10). 183
 Warning metrics JavaNCSS NCSS for this method is 144 (max allowed is 50). 183

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dal/standard/StandardDALStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 26 (max allowed is 20). 62
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 12 (max allowed is 10). 72

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 40 (max allowed is 20). 69
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 19 (max allowed is 10). 79
 Warning metrics JavaNCSS NCSS for this method is 54 (max allowed is 50). 79

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/oracle/OracleDDLStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 27 (max allowed is 20). 67
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 77

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/postgresql/PostgreSQLDDLStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 57 (max allowed is 20). 129
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 12 (max allowed is 10). 139
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 36 (max allowed is 10). 169
 Warning metrics JavaNCSS NCSS for this method is 108 (max allowed is 50). 169

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/StandardDDLStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 82 (max allowed is 20). 144
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 47 (max allowed is 10). 154
 Warning metrics JavaNCSS NCSS for this method is 118 (max allowed is 50). 154

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/standard/type/AlterTableStatementAssert.java

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

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/plsql/PLSQLStatementAssert.java

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

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/QueryableRALStatementAssert.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 59

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/type/pipeline/UpdatablePipelineRALStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 28 (max allowed is 20). 64
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 74

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/RDLStatementAssert.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 65

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/alter/AlterRuleStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 23 (max allowed is 20). 58
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 68

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/create/CreateRuleStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 27 (max allowed is 20). 64
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 15 (max allowed is 10). 74

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rdl/drop/DropRuleStatementAssert.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 30 (max allowed is 20). 68
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 15 (max allowed is 10). 78

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/rql/RQLStatementAssert.java

Severity Category Rule Message Line
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 57

org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/segment/impl/expr/ExpectedExpression.java

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

org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/dml/standard/InsertStatementTestCase.java

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

org/apache/shardingsphere/test/it/sql/parser/postgresql/InternalPostgreSQLParserIT.java

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