Skip to content

Check MethodComplexity

github-actions[bot] edited this page Nov 22, 2024 · 4 revisions

The Cyclomatic Complexity of methods should not exceed a defined threshold.

Complex code may perform poorly and can be difficult to test thoroughly.

Options

Option Default value Description
method-complexity.max-complexity 10 Maximum complexity of method by the McCabe definition

Note

This page is generated. Any changes made to this page through the wiki will be lost in the future.