# OpenCppCoverage/OpenCppCoverage

OpenCppCoverage is an open source code coverage tool for C++ under Windows.

Repository: https://github.com/OpenCppCoverage/OpenCppCoverage
Canonical: https://ross.abutalabs.com/products/opencppcoverage
Language: C++
License: GPL-3.0
License Family: copyleft
Archived: true
Last push: 2026-07-19T08:47:23+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 8, longevity 100
- inputs: {"age_days": 3312, "days_push": 45, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1005, forks 170 (observed 2026-09-03T02:15:06.961372+00:00)

## What it is
OpenCppCoverage is an open-source code coverage tool for C++ on Windows that measures line coverage without requiring recompilation, using PDB files for Visual Studio-compiled programs. It generates HTML coverage reports and can run as a Visual Studio plugin, though the project is now archived and unmaintained.

## Use cases
- measure line coverage of C++ unit tests on Windows
- generate HTML code coverage reports for C++ programs
- run coverage without recompiling the application
- find which lines of a C++ program were executed for debugging
- integrate code coverage into Visual Studio

## When to choose
- you need non-intrusive C++ code coverage on Windows with Visual Studio PDB support
- you want HTML coverage reports without recompiling your code
- you are on a legacy toolchain where this tool already works and needs no updates

## When to avoid
- you need ongoing support, bug fixes, or compatibility with new compiler/OS versions - the project is archived
- you are not on Windows or do not use PDB-based toolchains
- you need a maintained alternative such as OpenCppCoverage forks, gcov/lcov, or llvm-cov

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: testing, developer-tools, cli
- domain: developer-tools, testing, windows
- platform: windows, cli
- tags: code-coverage, c-plus-plus, unit-testing, html-report, visual-studio, archived

## Member repositories
- OpenCppCoverage/OpenCppCoverage (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:06.961372+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:13:06.078584+00:00, confidence not recorded.
  - readme: https://github.com/OpenCppCoverage/OpenCppCoverage (fetched 2026-09-03T02:15:06.961372+00:00, sha 684679baa452)
- Data as of 2026-08-30T08:39:29.467469+00:00.
