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

This page's audience real numbers from our own analytics — open to see them
–Visitors
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · counted by iTechGuides's own first-party analytics, bots removed, every figure rounded down · how we count

gcovr

Free#13 of 27 in Test Coverage Tools

gcovr: A free, open-source coverage utility for C/C++ teams that need detailed reports and build gates. Ranked #13 of 27 in Test Coverage Tools by our editors (6.0/10); pricing: Free plan; best for C/C++ teams needing rich reports and gates.

6.0/10Editor score
gcovr6.0 Visit gcovr

At a glance

  • Editor score
    6.0 / 10
  • Pricing
    Free plan
  • Best for
    C/C++ teams needing rich reports and gates
  • Free plan
    Yes
  • Paid from
    None
  • Coverage types
    line, branch, decision, function, condition, call
  • Facts checked
    20 Sep 2026
gcovr screenshot
  • Where it wins

    • Covers line, branch, decision, function, condition, and call coverage
    • Exports HTML, text, CSV, JSON, Markdown, and multiple XML formats
    • Fails builds when coverage falls below configured thresholds
  • Where it doesn't

    • Focuses on C and C++ coverage workflows
    • Requires compiler-generated coverage data to operate
    • Runs locally as a Python package rather than a hosted service

Our verdict on gcovr

gcovr is an open-source command-line utility for developers working with GCC- or Clang-instrumented C and C++ software. It runs GNU gcov or LLVM coverage tools, summarizes the resulting data, and supports Linux, Windows, and macOS. The product is aimed at teams that want local coverage analysis, report generation, and automated minimum-coverage checks without a paid plan or hosted dashboard.

Its main strength is breadth within that workflow. gcovr reports line, branch, decision, function, condition, and call coverage, then presents results as annotated HTML source files or text, CSV, JSON, and Markdown reports. It also generates Clover, Cobertura, Coveralls, JaCoCo, LCOV, and SonarQube formats, which can fit different reporting and CI environments. Coverage data from JSON and Cobertura trace files can be combined, while source and coverage-file filters help limit reporting to relevant code. These capabilities make it a practical fit for projects that need several report targets or detailed coverage views.

Build enforcement is another clear use case: command-line options can return a nonzero status when configured coverage thresholds are not met. That supports CI gates without adding a separate hosted service. The trade-off is scope and setup context. gcovr is centered on C and C++ projects and depends on compiler-generated coverage data, so teams working across other languages or seeking a broader testing platform should choose a different category of tool. Choose gcovr when a local Python package, GCC or Clang coverage workflow, varied report output, and threshold-based build failure match your process; avoid it when a hosted interface or wider language coverage is the priority.

gcovr pricing

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

gcovr fact sheet

Free planYes
Paid fromNone
Coverage typesline, branch, decision, function, condition, call
Supported languagesC, C++
Report formatstext, HTML, CSV, JSON, Markdown, Clover XML, Cobertura XML, Coveralls JSON, JaCoCo XML, LCOV, SonarQube XML
Pull-request annotationsNot verified
Self-hosted optionNot verified
Historical trendsNot verified
Coverage gatesYes
DeploymentDesktop
PlatformsWindows, macOS, Linux
SupportTickets, Community, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
PricingFree plan
Websitegcovr.com
Facts checked20 Sep 2026

Alternatives to gcovr

See all gcovr alternatives →

Used gcovr? 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 gcovr 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 — gcovr 6.0/10

gcovr is listed in our Test Coverage Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/gcovr/"><img src="https://www.itechguides.com/best/badge/gcovr.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. It never changes a score or a verdict. How we rank.

Last updated · How we research and update