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
954 0 30 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/asserts/statement/tcl/TCLStatementAssert.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/InsertStatementTestCase.java 0 1 0

Rules

Category Rule Violations Severity
metrics ClassFanOutComplexity 14  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 68 (max allowed is 20). 110
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 33 (max allowed is 10). 643
 Warning metrics JavaNCSS NCSS for this method is 99 (max allowed is 50). 643

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 12 (max allowed is 10). 62

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 110 (max allowed is 20). 188
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 54 (max allowed is 10). 198
 Warning sizes ExecutableStatementCount Executable statement count is 54 (max allowed is 50). 198
 Warning metrics JavaNCSS NCSS for this method is 159 (max allowed is 50). 198

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 78 (max allowed is 20). 140
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 38 (max allowed is 10). 150
 Warning metrics JavaNCSS NCSS for this method is 111 (max allowed is 50). 150

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/asserts/statement/tcl/TCLStatementAssert.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/cases/parser/jaxb/segment/impl/expr/ExpectedExpression.java

Severity Category Rule Message Line
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 35 (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