Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

Code Inspector review

Free#9 of 18 in Code Complexity Analyzers

A free local analyzer with detailed complexity metrics, churn-ranked hotspots, and CI-check APIs.

7.9/10Editor score
Code Inspector7.9 Visit Code Inspector

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

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 pros and cons

  • 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

Code Inspector fact sheet, pricing and score →

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update