Skip to content

Repository Intelligence

Cyclomatic Complexity Calculator

Paste one function and get its cyclomatic complexity score - decision points + 1, the number of independent paths you'd need to test.

Paste one function

10

Moderate

Still reasonable, but worth watching if it keeps growing.

Pattern-based, same idea as the AST-based analysis in full Repository Analysis, scoped to one pasted function instead of your whole codebase.