Code Inspector
Code Inspector: A free local analyzer with detailed complexity metrics, churn-ranked hotspots, and CI-check APIs. Ranked #9 of 18 in Code Complexity Analyzers by our editors (6.5/10); pricing: Free plan; best for teams needing detailed, free complexity diagnostics.
At a glance
- Editor score6.5 / 10
- PricingFree plan
- Best forTeams needing detailed, free complexity diagnostics
- Free planYes
- Paid fromNone
- Hotspot detectionYes
- Facts checked27 Sep 2026
Where it wins
- Measures cyclomatic, cognitive, Halstead, and maintainability metrics
- Ranks hotspots using complexity and git churn; detects duplicate code
- Runs locally across 18 languages with CLI output and a Go library API
Where it doesn't
- Metrics CLI and library, not a hosted dashboard
- No AI features
- Support is through documentation and the community
Our verdict on Code Inspector
Code Inspector is an open-source Go command-line tool and library for measuring code complexity and maintainability. It suits developers and teams who want local diagnostics across Go and 17 additional bundled languages, without adopting a hosted dashboard or LLM analyzer. It runs on Windows, macOS, and Linux, and can be used directly from the CLI or embedded in custom quality gates and CI checks.
Its analysis goes beyond a single complexity score: it reports cyclomatic and cognitive complexity, Halstead metrics, and Maintainability Index, with per-file and per-function metrics. Hotspot ranking combines complexity with git churn, while token-normalized duplicate detection and import dependency graphs add ways to investigate code structure. The graphs include fan-in, fan-out, and cycle detection. Tree-sitter support is used for the additional bundled languages. This breadth makes the tool a fit for teams that want several kinds of code-quality signals in one local workflow; those seeking a hosted dashboard or AI analysis should look elsewhere.
The project is free and open source, with no commercial pricing or hosted plans described. JSON or tree-formatted CLI output supports scripted use, and the Go library API allows custom quality gates and CI checks. Deployment is self-hosted, so teams choose how to run it in their own environment. Support is through documentation and the community. Code Inspector is a practical option for solo developers and small to mid-market teams comfortable integrating a CLI or library; teams that need a managed service or dedicated support should consider alternatives.
Code Inspector pricing
Code Inspector fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Complexity metrics | Both |
| Supported languages | 18 |
| Hotspot detection | Yes |
| IDE feedback | Not verified |
| Pull-request gates | Yes |
| Trend history | Not verified |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Support | Docs, Community |
| Built for | Solo, Small business, Mid-market (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 27 Sep 2026 |
Alternatives to Code Inspector
- QodanaBroad static analysis with quality gates, security checks and cloud or self-hosted deployment.9.0
- CodeSceneCodeScene connects code-health scores and hotspots to reviews, IDE feedback, and team insights.8.4
- CodacyAffordable cloud analysis spanning code quality, security, coverage, and pull requests.7.9
See all Code Inspector alternatives →
Used Code Inspector? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Code Inspector for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Code Inspector is listed in our Code Complexity Analyzers directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/code-inspector/"><img src="https://www.itechguides.com/best/badge/code-inspector.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Sep 2026
Advertiser disclosure: iTechGuides is reader-supported. We may earn a commission when you click some links. How we rank.
Last updated · How we research and update


