Skip to content
SPECIFICTION
Get listed

gcovr

gcovr.com

WindowsmacOSLinux
Visit gcovr.com
Spec score 7.6 #13 of 27 in Test Coverage Tools

Spec sheet

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

Where Specifiction places it

Alternatives to gcovrAll alternatives →