# Installer kcov avec Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de kcov pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:kcov
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install kcov
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kcov
```

  Preuve: MacPorts ports tree: devel/kcov/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install kcov
```

  Preuve: Debian stable package indexes: kcov from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install kcov
```

  Preuve: Fedora Rawhide package metadata: kcov from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#kcov
```

  Preuve: nixpkgs package indexes: pkgs/by-name/kc/kcov/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S kcov
```

  Preuve: Arch Linux sync databases: kcov from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install kcov
```

  Preuve: openSUSE Tumbleweed package metadata: kcov from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:kcov
- **Gestionnaire de paquets:** Homebrew
- **Version:** 43
- **Résumé source:** Code coverage tester for compiled programs, Python, and shell scripts
- **Page d'accueil:** <https://simonkagstrom.github.io/kcov/>
- **Dépôt:** <https://github.com/SimonKagstrom/kcov>
- **Dernière mise à jour:** 2026-07-27T15:44:48+02:00
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- kcov (alias)
- kcov-system-daemon (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 43
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <https://bcov.sourceforge.net/>
- <https://github.com/SimonKagstrom/kcov>
- <https://github.com/SimonKagstrom/kcov/releases>
- <https://simonkagstrom.github.io/kcov>


## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- generalized runtime or code generation signal

## Autres enregistrements de gestionnaires de paquets

- Debian apt - kcov - 43+dfsg-1+b4: normalized package name match | Debian stable package indexes: kcov from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Code coverage analysis using DWARF debugging information | https://simonkagstrom.github.io/kcov/
- Nix - kcov: normalized package name match | nixpkgs package indexes: pkgs/by-name/kc/kcov/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - kcov - 43-6.fc45: normalized package name match | Fedora Rawhide package metadata: kcov from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Code coverage tool without special compilation options | https://simonkagstrom.github.io/kcov
- pacman - kcov - 43-1: normalized package name match | Arch Linux sync databases: kcov from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Code coverage tester for compiled programs, Python scripts and shell scripts | https://simonkagstrom.github.io/kcov
- zypper - kcov - 42-4.5: normalized package name match | openSUSE Tumbleweed package metadata: kcov from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Code coverage tool without special compilation options | https://github.com/SimonKagstrom/kcov
- MacPorts - kcov: normalized package name match | MacPorts ports tree: devel/kcov/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/kcov.yml](https://github.com/mxcl/pkgdb/blob/main/combined/kcov.yml)


## Sources

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