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

Code Inspector

Free#9 of 18 in Code Complexity Analyzers

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 (7.9/10); pricing: Free plan; best for teams needing detailed, free complexity diagnostics.

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

At a glance

  • Editor score
    7.9 / 10
  • Pricing
    Free plan
  • Best for
    Teams needing detailed, free complexity diagnostics
  • Free plan
    Yes
  • Paid from
    Free
  • Hotspot detection
    Yes
  • Facts checked
    27 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.

Your product? Our editors can test Code Inspector in depth and publish a review, labelled as paid · from $149/mo →

Code Inspector pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on github.com

Code Inspector fact sheet

Free planYes
Paid fromFree
Complexity metricsBoth
Supported languages18
Hotspot detectionYes
IDE feedbackNot verified
Pull-request gatesYes
Trend historyNot verified
DeploymentSelf-hosted
PlatformsWindows, macOS, Linux
SupportDocs, Community
Built forSolo, Small business, Mid-market (editorial estimate)
PricingFree plan
Websitegithub.com
Facts checked27 Sep 2026

Alternatives to Code Inspector

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

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Code Inspector 7.9/10

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 Oct 2026

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