Checkstyle Results

The following document contains the results of Checkstyle 9.3 with /home/runner/work/shardingsphere-doc/shardingsphere-doc/shardingsphere/src/resources/checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
958 0 29 0

Files

File  I  W  E
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/segment/assignment/AssignmentValueAssert.java 0 1 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/DALStatementAssert.java 0 4 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dcl/DCLStatementAssert.java 0 3 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/DDLStatementAssert.java 0 3 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/dml/DMLStatementAssert.java 0 2 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/impl/QueryableRALStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/impl/UpdatableRALStatementAssert.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/impl/pipeline/UpdatablePipelineRALStatementAssert.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/cases/parser/jaxb/segment/impl/expr/ExpectedExpression.java 0 1 0
org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/dml/InsertStatementTestCase.java 0 1 0

Rules

Category Rule Violations Severity
metrics ClassFanOutComplexity 13  Warning
CyclomaticComplexity 10  Warning
JavaNCSS 4  Warning
NPathComplexity 1  Warning
sizes ExecutableStatementCount
  • max: "50"
1  Warning

Details

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

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

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 70 (max allowed is 20). 112
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 34 (max allowed is 10). 655
 Warning metrics JavaNCSS NCSS for this method is 102 (max allowed is 50). 655

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 22 (max allowed is 20). 64

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 23 (max allowed is 20). 65

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

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

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

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 112 (max allowed is 20). 191
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 55 (max allowed is 10). 201
 Warning sizes ExecutableStatementCount Executable statement count is 55 (max allowed is 50). 201
 Warning metrics JavaNCSS NCSS for this method is 162 (max allowed is 50). 201

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

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

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

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 80 (max allowed is 20). 143
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 39 (max allowed is 10). 153
 Warning metrics JavaNCSS NCSS for this method is 114 (max allowed is 50). 153

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

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 24 (max allowed is 20). 59
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 69

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/impl/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/impl/UpdatableRALStatementAssert.java

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

org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ral/impl/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/create/CreateRuleStatementAssert.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 11 (max allowed is 10). 68

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 28 (max allowed is 20). 65
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 13 (max allowed is 10). 75

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 36 (max allowed is 20). 40

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

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