Automic VaultAutomic Vault

brew

Install gcovr with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Reports from gcov test coverage program. Version 8.6 via Homebrew; verified 2026-04-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gcovr

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gcovr

MacPorts ports tree · devel/gcovr/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add gcovr

Alpine Linux edge package indexes · gcovr · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gcovr

Debian stable package indexes · gcovr · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gcovr

Fedora Rawhide package metadata · gcovr · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gcovr

nixpkgs package indexes · pkgs/by-name/gc/gcovr/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S gcovr

Arch Linux sync databases · gcovr · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install gcovr

openSUSE Tumbleweed package metadata · gcovr · source: download.opensuse.org

overview

Package summary

Reports from gcov test coverage program

Commands and aliases

  • gcovr

history

Project history and usage

gcovr is a Python-based coverage reporting tool for GCC/gcov data. It turns compiler coverage output into human and machine-readable reports, including text, HTML, CSV, JSON, Cobertura, Coveralls, SonarQube, JaCoCo, and LCOV formats.

Project history

The official changelog traces gcovr releases back to version 2.0 on 22 August 2010. The current GitHub repository was created in May 2013 and describes the project as generating code coverage reports with gcc/gcov.

Adoption history

gcovr became a common packaging target because it sits at a practical boundary between C/C++ test builds and CI coverage dashboards. Its documentation focuses on command-line operation, configuration files, filtering, reproducible timestamps, and multiple report formats, which are all package-manager-friendly workflows.

How it is used

Typical use is to compile code with coverage flags, run tests, and invoke gcovr from a project root to collect gcov data and emit reports. The configuration file support lets repeatable coverage options live in a repository instead of only in CI shell scripts.

Why package nerds care

gcovr matters because it gives gcov users a single small CLI for report formats expected by CI systems and code-quality services. It is a bridge package: not a compiler, not a test framework, but the adapter that makes compiler-native coverage data useful to modern automation.

Timeline

  • 2010: The official changelog records gcovr 2.0.
  • 2013: GitHub records the gcovr repository creation.
  • 2018: gcovr 4.0 appears in the official changelog.
  • 2021: gcovr 5.0 appears in the official changelog.
  • 2024: gcovr 8.0 appears in the official changelog.
  • 2026: gcovr 8.6 is documented with Python 3.14 support and Python 3.9 support dropped.

Related projects

  • GCC and gcov provide the compiler and raw coverage data that gcovr processes.
  • LCOV, Cobertura, Coveralls, SonarQube, and JaCoCo are report ecosystems supported by gcovr output formats.
  • Python is the implementation and packaging ecosystem for the gcovr CLI.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
gcovr.cfg in the -r/--root directory

executables

Installed executables

CommandKindExposureNote
gcovrcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version8.6
manager updated2026-04-22
local dataok
upstreamnot checked
latest detectednot detected

https://gcovr.com/

  • infoRelease/tag comparison is only available for GitHub repositories.https://gcovr.com/none confidence

install metadata

Package metadata

Package keybrew:gcovr
Version8.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gcovr
Homepagehttps://gcovr.com/
Repositoryhttps://github.com/gcovr/gcovr
Upstream docshttps://gcovr.com/en/stable
LicenseBSD-3-Clause
Source archivehttps://files.pythonhosted.org/packages/07/37/b4a87dff166dc0a5002e9d03fcb6ca8eeff048247b011b67f047e31122c9/gcovr-8.6.tar.gz
Last updated2026-04-22T10:28:01Z
Pulseupdated
Dependenciespython@3.14
Uses from macOSlibxml2, libxslt
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegcovr
Version Scheme0
Revision2
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gcovr 7.2+really-1.1

Manages the compilation of coverage information from gcov

http://gcovr.com/

sudo apt install gcovr
  • Section: devel
  • Architecture: all
  • 8 dependencies
  • normalized package name match
  • Matched by: Gcovr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gcovr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gcovr

nix profile install nixpkgs#gcovr
  • normalized package name match
  • Matched by: Gcovr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gc/gcovr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gcovr 7.0-1

Manages the compilation of coverage information from gcov

http://gcovr.com/

sudo apt install gcovr
  • Section: universe/devel
  • Architecture: all
  • 5 dependencies
  • normalized package name match
  • Matched by: Gcovr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gcovr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gcovr 8.6-r1

Generates a simple report that summarizes the gcc code coverage

http://gcovr.com/

sudo apk add gcovr
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gcovr
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gcovr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcovr from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gcovr-pyc 8.6-r1

Precompiled Python bytecode for gcovr

http://gcovr.com/

sudo apk add gcovr-pyc
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gcovr
  • 1 dependencies
  • normalized package name match
  • Matched by: Gcovr
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gcovr-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gcovr 8.6-2.fc45

A code coverage report generator using GNU gcov

https://gcovr.com/

sudo dnf install gcovr
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gcovr
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Gcovr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gcovr from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

gcovr-doc 8.6-2.fc45

Documentation of gcovr

https://gcovr.com/

sudo dnf install gcovr-doc
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gcovr
  • 1 provides
  • normalized package name match
  • Matched by: Gcovr
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gcovr-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gcovr 8.6-1

provides a utility for managing the use of the GNU gcov utility

https://gcovr.com/

sudo pacman -S gcovr
  • License: BSD-3-Clause
  • Architecture: any
  • 6 dependencies
  • normalized package name match
  • Matched by: Gcovr
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gcovr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gcovr 6.0-1.8

A code coverage report generator using GNU gcov

https://gcovr.com/

sudo zypper install gcovr
  • License: BSD-3-Clause
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: gcovr
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Gcovr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcovr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gcovr-doc 6.0-1.8

Documentation of gcovr

https://gcovr.com/

sudo zypper install gcovr-doc
  • License: BSD-3-Clause
  • Category: Documentation/HTML
  • Architecture: noarch
  • Source Package: gcovr
  • 1 provides
  • normalized package name match
  • Matched by: Gcovr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gcovr-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gcovr

sudo port install gcovr
  • normalized package name match
  • Matched by: Gcovr
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gcovr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment