macOS
brew install lcovlocal Homebrew formula metadata
sudo port install lcovMacPorts ports tree · devel/lcov/Portfile · 来源: api.github.com
安装
brew install lcovlocal Homebrew formula metadata
sudo port install lcovMacPorts ports tree · devel/lcov/Portfile · 来源: api.github.com
sudo apk add lcovAlpine Linux edge package indexes · lcov · 来源: dl-cdn.alpinelinux.org
sudo dnf install lcovFedora Rawhide package metadata · lcov · 来源: dl.fedoraproject.org
nix profile install nixpkgs#lcovnixpkgs package indexes · pkgs/by-name/lc/lcov/package.nix · 来源: api.github.com
sudo pacman -S lcovArch Linux sync databases · lcov · 来源: geo.mirror.pkgbuild.com
sudo zypper install lcovopenSUSE Tumbleweed package metadata · lcov · 来源: download.opensuse.org
choco install lcovChocolatey community package catalog · lcov · 来源: community.chocolatey.org
概览
Graphical front-end for GCC's coverage testing tool (gcov)
历史
LCOV is the Linux Test Project GCOV extension: a suite of Perl-oriented command-line tools that collect, transform, merge, filter, and render code coverage data, most famously as navigable HTML reports generated by `genhtml`.
The LCOV README describes the project as a tool for manipulating and displaying what parts of a program were covered during tests. It began as a front end around GCC `gcov` output and was initially designed to support Linux kernel coverage measurements, while also working for ordinary user-space programs.
Over time LCOV expanded beyond GCC `gcov` text data. The README lists converters and support for coverage sources such as LLVM `llvm-cov`, Python Coverage.py, Cobertura-like XML, Perl Devel::Cover, and Jacoco-style workflows, along with differential coverage, date binning, owner binning, and spreadsheet/reporting support.
LCOV became a common package in Unix developer toolchains because it gives C and C++ projects a simple path from compiler coverage flags to browsable HTML reports. It is packaged across Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Chocolatey, Alpine, and openSUSE-style ecosystems.
Its adoption also comes from CI and kernel-development workflows: coverage reports are easy to publish as artifacts, and LCOV trace files can be merged, filtered, and compared across test runs.
Typical usage captures baseline or test coverage with `lcov` or `geninfo`, removes unwanted paths, merges trace files, and renders the result with `genhtml`. Related utilities convert data from Perl, Python, LLVM, and XML coverage formats into LCOV trace data.
LCOV matters to package nerds because it is one of the standard lingua franca formats and toolsets for coverage artifacts. Many packages, CI recipes, and dashboards understand LCOV trace files or HTML output even when the project itself uses a different compiler or language.
It is also a classic example of a packaging-friendly developer tool: script-based, manpage documented, configurable via system and user rc files, and useful both in local shells and noninteractive build farms.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
/etc/lcovrc~/.lcovrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gendesc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
genhtml | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
geninfo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
genpng | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
lcov | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
llvm2lcov | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
perl2lcov | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
py2lcov | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
xml2lcov | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
xml2lcovutil.py | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:lcov |
|---|---|
| 版本 | 2.5 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/linux-test-project/lcov |
| 仓库 | https://github.com/linux-test-project/lcov |
| 最后更新 | 2026-07-07T08:09:46Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
lcov 2.3.1-1
Summarise Code coverage information from GCOV
https://github.com/linux-test-project/lcov
sudo apt install lcovlcov
nix profile install nixpkgs#lcovlcov 2.0-4ubuntu2
Summarise Code coverage information from GCOV
https://github.com/linux-test-project/lcov.git
sudo apt install lcovlcov 2.3.1-r1
LCOV is an extension to GCOV. It provides a graphical frontend for converage information
https://github.com/linux-test-project/lcov
sudo apk add lcovlcov-doc 2.3.1-r1
LCOV is an extension to GCOV. It provides a graphical frontend for converage information (documentation)
https://github.com/linux-test-project/lcov
sudo apk add lcov-doclcov 2.0-8.fc45
LTP GCOV extension code coverage tool
https://github.com/linux-test-project/lcov/
sudo dnf install lcovlcov 2.5-1
front-end for GCC’s coverage testing tool gcov
https://github.com/linux-test-project/lcov
sudo pacman -S lcovlcov 2.4-1.3
A Graphical GCOV Front-end
https://github.com/linux-test-project/lcov
sudo zypper install lcovlcov-example 2.4-1.3
Example for lcov
https://github.com/linux-test-project/lcov
sudo zypper install lcov-examplelcov
sudo port install lcovlcov
choco install lcov来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.