Skip to content

Check MethodComplexity

github-actions[bot] edited this page Dec 5, 2025 · 7 revisions

method-complexity - 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.

Clone this wiki locally