LCOV
github.com
- Free plan
- Linux
- Self-hosted
What LCOV is
LCOV is free, GPL-2.0 open-source software for Linux and self-hosted environments that captures which parts of a program run during tests. It creates HTML reports with colored coverage rates, bar graphs, and hyperlinks, and can also produce LCOV .info tracefiles. Listed coverage types include line, function, branch, and MC/DC coverage. The project describes support for C/C++, Perl, and Python, with translators for LLVM, Coverage.py, Devel::Cover, Cobertura-like XML, and JaCoCo data. Reports can use hierarchical directories, flat source-file lists, or directory, file, and source-code detail. Users can include or exclude code and filter generated branches. Differential reports, date and owner binning, historical trends, and coverage gates are supported. Git and Perforce callbacks can identify source changes, authors, and edit dates. lcov, genhtml, and geninfo can parallelize work across cores with memory limits. RPM, tarball, and Git-clone installation options are documented.
Who it suits
LCOV suits Linux developers and test teams working with C/C++, Perl, or Python who need self-hosted coverage reports and gates. It is also useful where differential or historical coverage views matter.
Good to know, and what to watch
- Free GPL-2.0 open-source license
- HTML and .info coverage reports
- Supports line, function, branch, and MC/DC coverage
- Differential reports and historical trends
- Parallel processing across multiple cores
- Requires a current Perl installation and packages
- Optional XS extension needs a C++20-capable compiler
- Support is provided by volunteers
Plans
Every plan and priceLCOV
Open source
The verdict
LCOV provides broad coverage reporting and filtering for supported languages, with multiple installation and report options. Its Perl dependencies and Linux-focused, self-hosted setup require technical administration.
What the maker publishes
- Dependencies
- LCOV is primarily implemented in Perl and requires a moderately up-to-date Perl installation and multiple Perl packages. source
- Differential coverage
- LCOV supports differential coverage reports as well as date and owner binning. source
- Filtering
- Users can include or exclude code and filter coverage artifacts such as compiler-generated branches. source
- Installation
- The project provides RPM and tarball releases, and documents installation from a Git clone; the default install location is /usr/local. source
- Languages
- The project describes support for C/C++, Perl, and Python, and includes translators for LLVM, Python Coverage.py, Perl Devel::Cover, Cobertura-like XML, and JaCoCo data. source
- License
- The repository identifies LCOV as GPL-2.0 licensed. source
- Maker
- The GitHub organization describes Linux Test Project as providing tools and test suites to verify the Linux kernel and related subsystems. source
- Optional extension
- The optional XS extension requires a C++20-capable compiler; the README specifies g++ 8 or later and recommends g++ 14 or later. source
- Parallel processing
- lcov, genhtml, and geninfo can parallelize work across multiple cores when requested, with an option to limit memory use. source
- Project scale
- Its reports can show coverage in a hierarchical directory view, a flat source-file list, or directory, file, and source-code detail levels. source
- Purpose
- LCOV captures and displays information about which parts of a program ran during tests. source
- Reports
- It generates HTML coverage reports with colored coverage rates, bar graphs, and hyperlinks. source
- Support
- The README directs users with questions to open an issue or discussion and says issue support is provided by volunteers. source
- Version control
- Sample callbacks are provided for Git and Perforce to identify source changes, authors, and edit dates. source
Checked against the maker's pages on 9 Oct 2026.