X-Ray Your Codebase.
One command surfaces risky files, knowledge silos, and hidden dependencies from your Git history. No API tokens. No config. Any repo.
What It Finds
Your Git history tells a story. git-vision reads between the lines.
Hotspot Detection
Files with high churn AND complexity are where bugs cluster. Formula: risk = churn × LOC. Test files are automatically dampened. We find the riskiest files before they find you.
Bus Factor
One person owns 90% of a critical file? That's a bus-factor-1 risk. We flag every knowledge silo in your codebase.
Change Coupling
Files that always change together reveal hidden dependencies your import graph doesn't show. Cross-module coupling = architecture smell.
Code Age
Ancient untouched code and sudden change spikes. Both are signals worth investigating. Categories from volatile to ancient.
Trend Tracking
Compare time periods. See if your codebase is getting healthier or rotting. Detects new hotspots, resolved ones, and worsening files.
True Ownership (git blame)
Goes beyond commit counting to line-level ownership. A developer who rewrote a file once owns more than someone who made 10 typo fixes. Shows who actually wrote the code that exists today. Enable with --blame.
PR Risk Scoring
Run git-vision diff main to score any branch. Exit code 1 on critical risk — perfect for CI gates.
Monorepo Support
Auto-detects workspaces from package.json, pnpm, or lerna. Per-workspace health scores so no package is left behind.
Repository Health Score
A composite 0-100 score from all analyzers. One number to rule your codebase.
15 Commands. Zero Config.
Every analysis module is a subcommand. Mix with flags for precise control.
How It Works
Run One Command
npx git-vision in any Git repo. No tokens, no config, no signup.
Analyze Git History
Parses commits, blame data, branch topology. Pure git log — no API needed.
Get Actionable Insights
Health score, risk files, knowledge silos, trend direction. Terminal, JSON, or interactive HTML.
Your Codebase
Is Talking.
Works with any Git repo. GitHub, GitLab, Bitbucket, self-hosted. No API tokens needed.