Find the riskiest code in any repo. A CLI for surfacing complexity hotspots and refactor targets.
-
Updated
Sep 5, 2026 - Rust
Find the riskiest code in any repo. A CLI for surfacing complexity hotspots and refactor targets.
Measure your codebase from the terminal — lines per language, duplicate code, complexity, token cost for AI agents, comment drift, change coupling, a refactor verdict per file, and what is safe to hand to an agent. JSON output, CI exit codes, PR diff mode and an MCP server. One dependency, 100% test coverage.
COMPLEX.md: a computed map of where edits are risky and where bugs get fixed, for coding agents. Spec, CLI, hooks, MCP server.
Turn local Git history into actionable insights—explore contributors, code hotspots, ownership, and function evolution. One binary, no account, fully local.
Go CLI & library to measure code complexity, find technical-debt hotspots (complexity × git churn), detect duplicate code, and map the dependency graph — across Go, Python, JS/TS, Rust, Java, C/C++, C#, Ruby, PHP and any tree-sitter language. Cyclomatic + cognitive complexity, Halstead, Maintainability Index. Ships a Claude Code skill.
To associate your repository with the code-hotspots topic, visit your repo's landing page and select "manage topics."