gcovr

Manages the compilation of coverage information from gcov

Install

All systems
curl cmd.cat/gcovr.sh
Debian Debian
apt-get install gcovr
Ubuntu
apt-get install gcovr
Alpine
apk add gcovr
Arch Arch Linux
pacman -S gcovr
image/svg+xml Kali Linux
apt-get install gcovr
Fedora
dnf install gcovr
Windows (WSL2)
sudo apt-get update sudo apt-get install gcovr
OS X
brew install gcovr
Raspbian
apt-get install gcovr
Docker
docker run cmd.cat/gcovr gcovr powered by Commando

gcovr

Manages the compilation of coverage information from gcov

The gcovr command provides a utility for running the gcov command and summarizing code coverage results. This command is inspired by the Python coverage.py package, which provides a similar utility in Python. Further, gcovr can be viewed as a command-line alternative of the lcov utility, which runs gcov and generates an HTML output.