pkg.soopen package index

brew / 排名 311

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper 安装 lcov

查看 lcov 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lcov

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lcov

MacPorts ports tree · devel/lcov/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add lcov

Alpine Linux edge package indexes · lcov · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install lcov

Debian stable package indexes · lcov · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install lcov

Fedora Rawhide package metadata · lcov · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#lcov

nixpkgs package indexes · pkgs/by-name/lc/lcov/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S lcov

Arch Linux sync databases · lcov · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install lcov

openSUSE Tumbleweed package metadata · lcov · 来源: download.opensuse.org

概览

软件包摘要

Graphical front-end for GCC's coverage testing tool (gcov)

命令和别名

  • gendesc
  • genhtml
  • geninfo
  • genpng
  • lcov
  • llvm2lcov
  • perl2lcov
  • py2lcov
  • xml2lcov
  • xml2lcovutil.py

历史

项目历史与用法

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.

时间线

  • 2000s: LCOV originated in the Linux Test Project as a GCOV extension for kernel coverage measurement.
  • 2022-06-03: Version 1.16 release published on GitHub.
  • 2023-05-25: Version 2.0 release published.
  • 2024-04-19: Version 2.1 release published.
  • 2025-01-09: Version 2.3 release published.
  • 2025-12-21: Version 2.4 release published.

Related projects

  • Related projects and formats include GCC `gcov`, LLVM `llvm-cov`, Linux Test Project, Coverage.py, Cobertura XML, Perl Devel::Cover, Jacoco, gcovr, CI coverage artifact publishing, and kernel coverage tooling.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
/etc/lcovrc~/.lcovrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gendesc可执行文件已索引可执行文件从本地可执行文件索引发现。
genhtml可执行文件已索引可执行文件从本地可执行文件索引发现。
geninfo可执行文件已索引可执行文件从本地可执行文件索引发现。
genpng可执行文件已索引可执行文件从本地可执行文件索引发现。
lcov可执行文件已索引可执行文件从本地可执行文件索引发现。
llvm2lcov可执行文件已索引可执行文件从本地可执行文件索引发现。
perl2lcov可执行文件已索引可执行文件从本地可执行文件索引发现。
py2lcov可执行文件已索引可执行文件从本地可执行文件索引发现。
xml2lcov可执行文件已索引可执行文件从本地可执行文件索引发现。
xml2lcovutil.py可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.5
管理器更新时间2026-07-07
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:lcov
版本2.5
软件包管理器Homebrew
主页https://github.com/linux-test-project/lcov
仓库https://github.com/linux-test-project/lcov
最后更新2026-07-07T08:09:46Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

lcov 2.3.1-1

Summarise Code coverage information from GCOV

https://github.com/linux-test-project/lcov

sudo apt install lcov
  • Section: devel
  • Architecture: all
  • 9 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Lcov
Debian stable package indexes · deb.debian.org · Debian stable package indexes: lcov from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

lcov

nix profile install nixpkgs#lcov
  • normalized package name match
  • 匹配方式:Lcov
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lc/lcov/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

lcov 2.0-4ubuntu2

Summarise Code coverage information from GCOV

https://github.com/linux-test-project/lcov.git

sudo apt install lcov
  • Section: universe/devel
  • Architecture: all
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Lcov
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: lcov from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

lcov 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 lcov
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lcov
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lcov
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lcov from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

lcov-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-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: lcov
  • normalized package name match
  • 匹配方式:Lcov
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: lcov-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

lcov 2.0-8.fc45

LTP GCOV extension code coverage tool

https://github.com/linux-test-project/lcov/

sudo dnf install lcov
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: lcov
  • 5 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Lcov
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: lcov from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

lcov 2.5-1

front-end for GCC’s coverage testing tool gcov

https://github.com/linux-test-project/lcov

sudo pacman -S lcov
  • License: GPL
  • Architecture: any
  • 5 依赖
  • 5 可选依赖
  • normalized package name match
  • 匹配方式:Lcov
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lcov from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

lcov 2.4-1.3

A Graphical GCOV Front-end

https://github.com/linux-test-project/lcov

sudo zypper install lcov
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: lcov
  • 9 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Lcov
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lcov from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

lcov-example 2.4-1.3

Example for lcov

https://github.com/linux-test-project/lcov

sudo zypper install lcov-example
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: lcov
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Lcov
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lcov-example from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

lcov

sudo port install lcov
  • normalized package name match
  • 匹配方式:Lcov
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/lcov/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

lcov

choco install lcov
  • normalized package name match
  • 匹配方式:Lcov
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: lcov from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','kindle'

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation