Query module BlockWithTooManyStatements

name
Block with too many statements
description
Blocks with too many consecutive statements are candidates for refactoring. Only complex statements are counted here (eg. ‘for’, ‘while’, ‘switch’ …). The top-level logic will be clearer if each complex statement is extracted to a function.
kind
problem
problem.severity
recommendation
precision
high
id
cs/complex-block
tags
maintainability testability complexity

Imports

csharp

The default C# QL library.

Classes