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.
This is one question. ArchSetu answers it for a whole repository.
Call graph, dead code, blast radius and a health score, in about a minute.
Related tools
All Repository Intelligence tools →Dependency Graph VisualizerPaste package.json - dependencies grouped by type, plus packages listed twice with conflicting versions.Git-History Risk ScoringPaste a real GitHub repo - bus factor and ownership risk from its actual commit history, not a paste-one-file estimate.Blast Radius ExplorerPaste a real GitHub repo, pick a file, see exactly what breaks if you change it - the real reverse-dependency graph.Dead Code FinderPaste a real GitHub repo - functions with zero known callers, traced from the real call graph.Dependency Hygiene CheckerPaste a real GitHub repo - packages imported in code but never declared in any package.json.Cargo.toml Dependency AuditorPaste Cargo.toml - every dependency listed, with wildcard or bare-major version ranges flagged.
Was this tool helpful?