Description:
Reports from gcov test coverage program
|
|
Type: Formula
|
Latest Version: 8.4@0
|
Tracked Since: Nov 5, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
coverage
testing
c++
c
gcov
ci-cd
|
|
Install:
brew install gcovr
|
About:
gcovr is a Python-based command-line tool that provides a versatile way to summarize gcov coverage data. It can generate various report formats, including human-readable text summaries, compact console output, and machine-readable XML, HTML, or JSON reports. This makes it an essential utility for integrating code coverage analysis into automated build systems and continuous integration pipelines.
|
Key Features:
- Supports multiple output formats (HTML, XML, JSON, CSV, text)
- Provides a simple, human-readable summary of coverage statistics
- Filters coverage data to exclude specific files or directories
- Integrates seamlessly with CI/CD pipelines like Jenkins and GitLab CI
|
Use Cases:
- Generating coverage reports for C/C++ projects in a CI/CD environment
- Creating HTML reports for local development and code review
- Enforcing coverage thresholds in automated builds
|
Alternatives:
-
lcov
– lcov is an older, GCC-specific tool that generates detailed HTML reports, whereas gcovr is language-agnostic (works with any gcov-compatible compiler) and offers more flexible output formats.
-
llvm-cov
– llvm-cov is the native coverage tool for the LLVM/Clang toolchain, offering high performance and deep IDE integration, while gcovr is a cross-platform wrapper that standardizes reporting for the gcov format.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Nov 5, 2025 6:44am |
|
1 |
VERSION_BUMP |
0d2e43ca |
| Nov 5, 2025 6:44am |
|
1 |
VERSION_BUMP |
4eeb9c8b |
| Sep 11, 2025 2:44pm |
|
1 |
VERSION_BUMP |
ae953808 |
| Oct 13, 2024 9:33am |
|
0 |
VERSION_BUMP |
2e506c95 |
| Oct 13, 2024 12:45am |
|
0 |
VERSION_BUMP |
d1561a23 |
| Oct 10, 2024 6:32pm |
|
0 |
VERSION_BUMP |
07096d32 |
| Oct 8, 2024 6:34am |
|
0 |
VERSION_BUMP |
8737c631 |
| May 8, 2024 2:37am |
|
1 |
VERSION_BUMP |
6a2f1e42 |
| Jan 26, 2024 3:33am |
|
0 |
VERSION_BUMP |
cc55e8ce |
| Jan 25, 2024 7:51pm |
|
0 |
VERSION_BUMP |
588d5bc3 |
| Oct 1, 2023 9:18pm |
|
0 |
VERSION_BUMP |
c8341f67 |
|