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.
Related tools
See all Repository Intelligence tools →Dependency Graph Visualizer
Paste package.json - dependencies grouped by type, plus packages listed twice with conflicting versions.
Cargo.toml Dependency Auditor
Paste Cargo.toml - every dependency listed, with wildcard or bare-major version ranges flagged.
Code Duplication Detector
Paste code - find repeated 4+ line blocks and the percentage of duplicated lines.
Code Churn Visualizer
Paste git log churn output - a ranked bar chart of your highest-churn files.
Technical Debt "Interest Rate" Estimator
When does fixing it properly pay for itself?
Runs entirely in your browser. Nothing is stored. Free forever.
