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
12 0 8 0

Files

File  I  W  E
org/apache/shardingsphere/sql/parser/sql92/visitor/statement/SQL92StatementVisitor.java 0 2 0
org/apache/shardingsphere/sql/parser/sql92/visitor/statement/type/SQL92DDLStatementVisitor.java 0 2 0
org/apache/shardingsphere/sql/parser/sql92/visitor/statement/type/SQL92DMLStatementVisitor.java 0 4 0

Rules

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

Details

org/apache/shardingsphere/sql/parser/sql92/visitor/statement/SQL92StatementVisitor.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 33 (max allowed is 10) classes [AggregationDistinctProjectionSegment, AggregationProjectionSegment, BetweenExpression, BinaryOperationExpression, BooleanLiteralValue, CollectionValue, ColumnOrderByItemSegment, ColumnSegment, CommonExpressionSegment, DataTypeLengthSegment, DataTypeSegment, ExpressionProjectionSegment, FunctionSegment, IdentifierValue, InExpression, IndexOrderByItemSegment, Interval, KeywordValue, ListExpression, LiteralExpressionSegment, NotExpression, NullLiteralValue, NumberLiteralValue, OrderBySegment, OtherLiteralValue, OwnerSegment, ParameterMarkerExpressionSegment, ParameterMarkerValue, SimpleTableSegment, StringLiteralValue, SubqueryExpressionSegment, SubquerySegment, TableNameSegment]. 110
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 75 (max allowed is 20). 110

org/apache/shardingsphere/sql/parser/sql92/visitor/statement/type/SQL92DDLStatementVisitor.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 13 (max allowed is 10) classes [AddColumnDefinitionSegment, AddConstraintDefinitionSegment, CollectionValue, ColumnDefinitionSegment, ConstraintDefinitionSegment, ConstraintSegment, DropColumnDefinitionSegment, DropConstraintDefinitionSegment, Interval, ModifyColumnDefinitionSegment, SQL92AlterTableStatement, SQL92CreateTableStatement, SQL92DropTableStatement]. 65
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 39 (max allowed is 20). 65

org/apache/shardingsphere/sql/parser/sql92/visitor/statement/type/SQL92DMLStatementVisitor.java

Severity Category Rule Message Line
 Warning metrics ClassDataAbstractionCoupling Class Data Abstraction Coupling is 25 (max allowed is 10) classes [AliasSegment, BooleanLiteralValue, ColumnAssignmentSegment, ColumnProjectionSegment, CommonExpressionSegment, ExpressionProjectionSegment, GroupBySegment, HavingSegment, IdentifierValue, InsertColumnsSegment, InsertValuesSegment, Interval, JoinTableSegment, OwnerSegment, ProjectionsSegment, SQL92DeleteStatement, SQL92InsertStatement, SQL92SelectStatement, SQL92UpdateStatement, SetAssignmentSegment, ShorthandProjectionSegment, SubqueryProjectionSegment, SubquerySegment, SubqueryTableSegment, WhereSegment]. 104
 Warning metrics ClassFanOutComplexity Class Fan-Out Complexity is 73 (max allowed is 20). 104
 Warning metrics CyclomaticComplexity Cyclomatic Complexity is 11 (max allowed is 10). 303
 Warning metrics NPathComplexity NPath Complexity is 768 (max allowed is 200). 303