🍺 BREW Explorer

← all formulae

kcov

brew install kcov v43_1 GPL-2.0-or-later

Code coverage measurement tool for compiled binaries, Python, and shell scripts.

Why you might care

kcov instruments executables to track line and branch coverage without recompilation, useful for C/C++/Rust programs and scripts where you need coverage reports. Works with existing binaries and produces reports in multiple formats; faster and less invasive than some heavyweight instrumentation approaches.

Categories

Alternatives

gcov llvm-cov coverage
1.9k
30-day installs · #992
6.6k
90-day · #972
34.3k
365-day · #828

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "gcov",
    "llvm-cov",
    "coverage"
  ],
  "build_dependencies": [
    "cmake",
    "pkgconf"
  ],
  "categories": [
    "debugger",
    "profiler",
    "benchmark"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "dwarfutils",
    "openssl@3"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Code coverage tester for compiled programs, Python, and shell scripts",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:15+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "kcov",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://simonkagstrom.github.io/kcov/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 1912,
  "installs_365d": 34276,
  "installs_90d": 6644,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-or-later",
  "llm_generated_at": "2026-06-20T23:48:17+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "kcov",
  "oldnames": [],
  "one_liner": "Code coverage measurement tool for compiled binaries, Python, and shell scripts.",
  "optional_dependencies": [],
  "rank_30d": 992,
  "rank_365d": 828,
  "rank_90d": 972,
  "raw_hash": "7c1f97448f7110db",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/k/kcov.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    {
      "python": "build"
    },
    "curl"
  ],
  "version_head": "HEAD",
  "version_stable": "43",
  "versioned_formulae": [],
  "why_use_this": "kcov instruments executables to track line and branch coverage without recompilation, useful for C/C++/Rust programs and scripts where you need coverage reports. Works with existing binaries and produces reports in multiple formats; faster and less invasive than some heavyweight instrumentation approaches."
}