ArchSetu
ArchSetu
ArchSetuToolsRepository IntelligenceCyclomatic Complexity Calculator
Free tool

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.

Was this tool helpful?

See this same kind of analysis applied to your whole repository

Call graphs, dead code, blast radius, and a health score. Results in 60 seconds, free.

Analyze a repository

Runs entirely in your browser. Nothing is stored. Free forever.

Powered by ArchSetu