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

gcov

Free#15 of 27 in Test Coverage Tools

gcov: A free, self-hosted choice for detailed coverage of GCC-compiled native code. Ranked #15 of 27 in Test Coverage Tools by our editors (5.9/10); pricing: Free plan; best for GCC-based native-code coverage.

5.9/10Editor score
gcov5.9 Visit GCC

At a glance

  • Editor score
    5.9 / 10
  • Pricing
    Free plan
  • Best for
    GCC-based native-code coverage
  • Free plan
    Yes
  • Paid from
    None
  • Coverage types
    line, function, branch, condition, prime-path, basic-block
  • Founded
    1987
  • Facts checked
    20 Sep 2026
gcov screenshot
  • Where it wins

    • Measures line, function, branch, condition, prime-path, and basic-block coverage
    • Supports C, C++, Objective-C, Fortran, Ada, D, and Go through GCC
    • Merges offline .gcda profiles and exports compressed JSON output
  • Where it doesn't

    • Works only with programs compiled by GCC
    • Provides a local command-line workflow rather than a hosted dashboard
    • Reporting and integrations are comparatively basic

Our verdict on gcov

gcov is a free, open-source command-line coverage and profiling tool for developers testing programs compiled with GCC. It instruments code through GCC coverage options, collects execution data, and produces per-source reports. The supported language range includes C, C++, Objective-C, Objective-C++, Fortran, Ada, D, and Go, making it a focused fit for GCC-based native-code projects across Linux, Windows, and macOS. Its self-hosted model also suits teams that want coverage processing to remain in their own development environment.

Coverage depth is the main reason to consider gcov. It reports line execution, function summaries, branch frequency and counts, condition analysis, prime-path coverage, and basic-block execution counts. Results can be read in human-readable .gcov files or generated as compressed JSON files with the .gcov.json.gz format. The gcov-tool utility adds offline processing and merging for .gcda profiles, which is useful when execution data is collected across separate runs or environments. Integration is centered on GCC rather than a broad third-party ecosystem.

The trade-off is a local command-line workflow instead of a hosted coverage dashboard. gcov is intended for programs built with GCC, so teams working with other compilers or seeking coverage data from other testing systems should consider a tool designed for those inputs. Its reporting and integrations are comparatively basic, with GCC as the listed integration. Choose gcov for precise, open-source coverage analysis within GCC-based builds; choose an alternative when visual dashboards, broader compiler support, or richer integrations are priorities.

gcov pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on gcc.gnu.org

gcov fact sheet

Free planYes
Paid fromNone
Coverage typesline, function, branch, condition, prime-path, basic-block
Supported languagesC, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go
Report formats.gcov text, compressed JSON (.gcov.json.gz)
Pull-request annotationsNot verified
Self-hosted optionYes
Historical trendsNot verified
Coverage gatesNot verified
DeploymentSelf-hosted
PlatformsLinux, Windows, macOS
SupportDocs, Community
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations1 integrations: GCC
PricingFree plan
Websitegcc.gnu.org
Facts checked20 Sep 2026

gcov integrations

gcov lists 1 integrations on its own site.

  • GCC

Alternatives to gcov

See all gcov alternatives →

Used gcov? 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 gcov 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 — gcov 5.9/10

gcov 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/gcov/"><img src="https://www.itechguides.com/best/badge/gcov.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