🍺 BREW Explorer

← all formulae

lcov

brew install lcov v2.4_1 GPL-2.0-or-later

Perl-based tool that processes gcov output to generate HTML coverage reports for C/C++, Python, and other languages.

Why you might care

Use lcov to visualize code coverage across large projects with interactive HTML reports showing coverage by directory, file, and source line. It bridges gcov's raw text output with human-readable dashboards, supports multiple languages and CI/CD workflows, and handles differential and historical coverage tracking—essential for quality gates in test-driven development.

Categories

Alternatives

gcov llvm-cov kcov codecov
21.8k
30-day installs · #222
37.6k
90-day · #328
132.9k
365-day · #358
1.1k
★ GitHub stars · updated 2mo ago

Links

Blurb generated by claude-haiku-4-5 on 2mo ago.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "gcov",
    "llvm-cov",
    "kcov",
    "codecov"
  ],
  "build_dependencies": [],
  "categories": [
    "profiler",
    "coverage",
    "testing"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Graphical front-end for GCC\u0027s coverage testing tool (gcov)",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:45+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "lcov",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-09T16:41:04Z",
  "github_readme_excerpt": "=================================================\nREADME file for the LTP GCOV extension (LCOV)\n=================================================\n\nLast changes: 2026-05-30\n\nDescription\n===========\n\nLCOV is a tool to manipulate and display information about what parts of a\nprogram are actually executed (*i.e.* \"covered\") while running a particular test\ncase or set of testcases. LCOV consists of a set of Perl scripts which build on\nthe text output of various coverage tools - *e.g.*, gcov, llvm-cov, Coverage.py,\nCobertura, Devel::Cover, Jacoco, etc. - to implement the following enhanced\nfunctionality:\n\n- **HTML based output**: coverage rates are indicated using bar graphs and\n  specific colors in a hyperlinked coverage report, intended to enable the\n  user to quickly diagnose and address coverage issues.\n\n- **Support for large projects**: overview pages allow quick browsing of\n  coverage data by providing a hierarchical directory structure view, a flat\n  list of all source files in the project, or a three-level detail view:\n  directory, file and source code view.\n\n- **Support for multiple languages** - including C/C++, Perl, and Python.\n\nLCOV was initially designed to support Linux kernel coverage measurements,\nbut works as well for coverage measurements on standard user space applications.\n\nLCOV supports differential coverage, as well as date- and owner-binning. See:\n\n- https://arxiv.org/abs/2008.07947\n\nor\n\n- https://ieeexplore.ieee.org/document/9438597\n\nfor a detailed explanation of the concepts and several possible use models.\n\nA video presentation of the basic ideas can be found at:\n\n- http://doi.org/10.5281/zenodo.4653252\n\nIn addition, several other features and capabilities are available. See\nsection 6, below, for a brief description - and also see the man pages and\nthe test cases.\n\n.. _table-of-contents:\n\nTable of Contents\n=================\n\n1. `Included files \u003c#section-1-included-files\u003e`_\n2. `Installing LCOV \u003c#section-2-installing-lcov\u003e`_\n3. `Dependencies \u003c#sec",
  "github_repo": "linux-test-project/lcov",
  "github_stars": 1097,
  "github_topics": [],
  "homepage": "https://github.com/linux-test-project/lcov",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 21799,
  "installs_365d": 132853,
  "installs_90d": 37609,
  "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:43:29+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "lcov",
  "oldnames": [],
  "one_liner": "Perl-based tool that processes gcov output to generate HTML coverage reports for C/C++, Python, and other languages.",
  "optional_dependencies": [],
  "rank_30d": 222,
  "rank_365d": 358,
  "rank_90d": 328,
  "raw_hash": "30d743e2a2f5dc17",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/l/lcov.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "perl"
  ],
  "version_head": "HEAD",
  "version_stable": "2.4",
  "versioned_formulae": [],
  "why_use_this": "Use lcov to visualize code coverage across large projects with interactive HTML reports showing coverage by directory, file, and source line. It bridges gcov\u0027s raw text output with human-readable dashboards, supports multiple languages and CI/CD workflows, and handles differential and historical coverage tracking\u2014essential for quality gates in test-driven development."
}