gcovr

Input—per 1M tokens
Output—per 1M tokens
Context—tokens
WeightsClosed

About

gcovr is ranked #5 of 26 in test coverage tools on Inferse. It runs on Linux, macOS, Windows.

Compared on test coverage tools

Free plan
Yesgcovr.com
Coverage types
line, branch, decision, function, condition, callgcovr.com
Supported languages
C, C++gcovr.com
Report formats
text, HTML, CSV, JSON, Markdown, Clover XML, Cobertura XML, Coveralls JSON, JaCoCo XML, LCOV, SonarQube XMLgcovr.com
Coverage gates
Yesgcovr.com

Facts

Purpose
gcovr manages GNU gcov and generates summarized code coverage results.gcovr.com · 30 Sept 2026
Coverage reports
It can produce text, HTML, CSV, JSON, Markdown, Clover XML, Cobertura XML, Coveralls JSON, JaCoCo XML, LCOV, and SonarQube reports.gcovr.com · 30 Sept 2026
HTML reports
HTML output supports overview, annotated-source, nested, self-contained, themed, and customizable-template reports.gcovr.com · 30 Sept 2026
Workflow
Users compile with GCC coverage flags, run their test suite, and invoke gcovr to generate a tabular report.gcovr.com · 30 Sept 2026
Python requirement
The current release supports Python 3.10 and newer.gcovr.com · 30 Sept 2026
Operating systems
The project supports Linux, Windows, and macOS.gcovr.com · 30 Sept 2026
Compilers
Development testing covers GCC and Clang.gcovr.com · 30 Sept 2026
CI integration
Cobertura XML output is suitable for import into Jenkins and Hudson through coverage plugins.gcovr.com · 30 Sept 2026
SonarQube integration
gcovr can generate SonarQube-compatible XML coverage reports with line, branch, condition, or decision metrics.gcovr.com · 30 Sept 2026
JaCoCo integration
gcovr can generate JaCoCo XML output containing line, branch, and method counters.gcovr.com · 30 Sept 2026
Support
The documentation directs users to GitHub tickets, Stack Overflow, and Gitter for help.gcovr.com · 30 Sept 2026
License
gcovr is released under the BSD 3-Clause License, which permits redistribution and use in source and binary forms subject to its conditions.gcovr.com · 30 Sept 2026
Maintainers
The project lists Lukas Atkinson and Michael Förderer as maintainers.gcovr.com · 30 Sept 2026
Notable limitation
gcovr's branch coverage is based on GCC's low-level control-flow graph arcs, so reports can include compiler-generated branches and 100% branch coverage is impossible for most programs.gcovr.com · 30 Sept 2026
Purpose
gcovr manages GNU gcov and generates summarized code coverage results.gcovr.com · 1 Oct 2026
Command-line tool
gcovr is described as a command-line alternative to lcov.gcovr.com · 1 Oct 2026
Report formats
It generates text, HTML, CSV, JSON, Markdown, Clover, Cobertura, Coveralls, JaCoCo, LCOV and SonarQube reports.gcovr.com · 1 Oct 2026
HTML reports
HTML output can provide an overview of all files, annotated source files and custom Jinja2 templates.gcovr.com · 1 Oct 2026
Coverage types
Its branch coverage reports are based on GCC's -fprofile-arcs control-flow graph data.gcovr.com · 1 Oct 2026
Decision coverage
The --decisions option parses source code to extract a decision-coverage metric.gcovr.com · 1 Oct 2026
Filters
gcovr supports filters for speeding up coverage-data searches and filtering symlinks.gcovr.com · 1 Oct 2026
Configuration
The user guide includes configuration files, exclusion markers and reproducible timestamp features.gcovr.com · 1 Oct 2026
Integrations
Cobertura XML can be used with Jenkins, and gcovr also produces Coveralls and SonarQube formats.gcovr.com · 1 Oct 2026
Installation
gcovr is distributed as a Python package installable with pip, with development versions installable from GitHub.gcovr.com · 1 Oct 2026
Runtime requirements
The current documentation supports Python 3.10 and newer, GCC or Clang, and Linux, Windows and macOS.gcovr.com · 1 Oct 2026
Support
The project directs users to GitHub issue tickets, Stack Overflow and a Gitter chat room for help.gcovr.com · 1 Oct 2026
Quality assurance
Pull requests are automatically tested on Windows and Linux, and code coverage is collected.gcovr.com · 1 Oct 2026
License
gcovr is available under the BSD 3-Clause License.gcovr.com · 1 Oct 2026
Maintainers
The documentation lists Lukas Atkinson and Michael Förderer as maintainers.gcovr.com · 1 Oct 2026

Best gcovr alternatives

See all 12

Where it ranks on Inferse

Sources