macOS
brew install kcovlocal Homebrew formula metadata
sudo port install kcovMacPorts ports tree · devel/kcov/Portfile · source: api.github.com
brew
Code coverage tester for compiled programs, Python, and shell scripts. Version 43 via Homebrew; verified 2026-06-13.
install
brew install kcovlocal Homebrew formula metadata
sudo port install kcovMacPorts ports tree · devel/kcov/Portfile · source: api.github.com
sudo apt install kcovDebian stable package indexes · kcov · source: deb.debian.org
sudo dnf install kcovFedora Rawhide package metadata · kcov · source: dl.fedoraproject.org
nix profile install nixpkgs#kcovnixpkgs package indexes · pkgs/by-name/kc/kcov/package.nix · source: api.github.com
sudo pacman -S kcovArch Linux sync databases · kcov · source: geo.mirror.pkgbuild.com
sudo zypper install kcovopenSUSE Tumbleweed package metadata · kcov · source: download.opensuse.org
overview
Code coverage tester for compiled programs, Python, and shell scripts
history
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.
security posture
generalized runtime or code generation signal.
yellow risk · medium confidence · runtime
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
kcov | cli | global executable | |
kcov-system-daemon | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/SimonKagstrom/kcov
install metadata
| Package key | brew:kcov |
|---|---|
| Version | 43 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/kcov |
| Homepage | https://simonkagstrom.github.io/kcov/ |
| Repository | https://github.com/SimonKagstrom/kcov |
| Upstream docs | https://github.com/SimonKagstrom/kcov#readme |
| License | GPL-2.0-or-later |
| Source archive | https://github.com/SimonKagstrom/kcov/archive/refs/tags/v43.tar.gz |
| Last updated | 2026-06-13T23:35:01+02:00 |
| Pulse | updated |
| Dependencies | dwarfutils, openssl@3 |
| Build dependencies | cmake, pkgconf |
| Uses from macOS | curl |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kcov |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
kcov 43+dfsg-1+b4
Code coverage analysis using DWARF debugging information
https://simonkagstrom.github.io/kcov/
sudo apt install kcovkcov
nix profile install nixpkgs#kcovkcov 43-4.fc44
Code coverage tool without special compilation options
https://simonkagstrom.github.io/kcov
sudo dnf install kcovkcov 43-1
Code coverage tester for compiled programs, Python scripts and shell scripts
https://simonkagstrom.github.io/kcov
sudo pacman -S kcovkcov 42-4.3
Code coverage tool without special compilation options
https://github.com/SimonKagstrom/kcov
sudo zypper install kcovkcov
sudo port install kcovsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.