Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 kcov

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kcov

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install kcov

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

Linux

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

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

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

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

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

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

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

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

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

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

概览

软件包摘要

Code coverage tester for compiled programs, Python, and shell scripts

命令和别名

  • kcov
  • kcov-system-daemon

历史

项目历史与用法

kcov is a code coverage tool for compiled programs, Python, and shell scripts. Its README says it began as a fork of Bcov and uses DWARF debugging information so programs can be measured without special compiler switches.

项目历史

Simon Kagstrom created the GitHub repository in August 2010. From the README's account, kcov started with Bcov's idea of using debug information for coverage and then expanded into a broader coverage-reporting tool with HTML, lcov-style output, Cobertura XML, JSON output, and CI integrations.

Release history documents platform and integration work through the 2010s and 2020s, including Docker images from v31, macOS binaries in v32, FreeBSD and macOS build work in v36, AArch64 support in release 38, RISC-V and Codecov updates in v41, and Cobertura/Jenkins fixes in v43.

采用历史

The batch input records packages in Homebrew, Debian, Fedora, MacPorts, Nix, Arch, and openSUSE. Upstream docs also point to an official Docker image, making kcov available through both traditional package managers and container workflows.

使用方式

A typical invocation runs kcov with an output directory and an executable plus arguments. Users filter included or excluded paths, merge multiple coverage runs, and publish reports to CI services such as Coveralls, Codecov, Jenkins, SonarQube, GitHub Actions, and GitLab CI.

为什么软件包爱好者会关心

kcov is notable because it brings coverage to binaries and scripts without requiring the build to be compiled with coverage instrumentation. For distro packagers and CI maintainers, that makes it useful for testing shell-heavy or mixed-language projects where gcov-style workflows are awkward.

时间线

  • 2010-08-23: GitHub repository created.
  • 2015-11-02: v29 release published.
  • 2016-04-28: v31 release published; README documents official Docker images for releases since v31.
  • 2018-08-23: v36 release included FreeBSD port and macOS build fixes.
  • 2020-01-17: release 38 added AArch64 support.
  • 2024-07-23: v43 release included Cobertura and Jenkins fixes.

Related projects

  • kcov descends from Bcov and integrates with coverage-reporting services including Coveralls, Codecov, Jenkins, SonarQube, GitHub Actions, and GitLab CI.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kcovcli全局可执行文件
kcov-system-daemoncli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本43
管理器更新时间2026-06-13
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/SimonKagstrom/kcov

安装元数据

软件包元数据

软件包键brew:kcov
版本43
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/kcov
主页https://simonkagstrom.github.io/kcov/
仓库https://github.com/SimonKagstrom/kcov
上游文档https://github.com/SimonKagstrom/kcov#readme
许可证GPL-2.0-or-later
源码归档https://github.com/SimonKagstrom/kcov/archive/refs/tags/v43.tar.gz
最后更新2026-06-13T23:35:01+02:00
Pulseupdated
依赖dwarfutils, openssl@3
构建依赖cmake, pkgconf
macOS 提供的库curl
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekcov
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

kcov 43+dfsg-1+b4

Code coverage analysis using DWARF debugging information

https://simonkagstrom.github.io/kcov/

sudo apt install kcov
  • Section: devel
  • Architecture: amd64
  • Source Package: kcov
  • 8 依赖
  • normalized package name match
  • 匹配方式:Kcov
Debian stable package indexes · deb.debian.org · Debian stable package indexes: kcov from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

kcov

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

kcov 43-4.fc44

Code coverage tool without special compilation options

https://simonkagstrom.github.io/kcov

sudo dnf install kcov
  • License: GPL-2.0-only AND MIT AND (GPL-2.0-only OR MIT)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: kcov
  • 8 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Kcov
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: kcov from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

kcov 43-1

Code coverage tester for compiled programs, Python scripts and shell scripts

https://simonkagstrom.github.io/kcov

sudo pacman -S kcov
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 6 依赖
  • normalized package name match
  • 匹配方式:Kcov
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: kcov from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

kcov 42-4.3

Code coverage tool without special compilation options

https://github.com/SimonKagstrom/kcov

sudo zypper install kcov
  • License: APSL-2.0 AND GPL-2.0-only
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: kcov
  • 11 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kcov
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: kcov from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

kcov

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

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment