# coverlet-coverage/coverlet

Cross platform code coverage for .NET

Repository: https://github.com/coverlet-coverage/coverlet
Canonical: https://ross.abutalabs.com/products/coverlet
Language: C#
License: MIT
License Family: permissive
Topics: code-coverage, dotnet-core, unittest, coverage, cross-platform, coverage-library, dotnet, coverlet, instrumentation, bytecode
Last push: 2026-08-22T09:51:59+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 84, longevity 100
- inputs: {"age_days": 3136, "days_push": 11, "days_rel": 107, "gap_med": 30, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3171, forks 396 (observed 2026-08-28T04:07:47.493692+00:00)

## What it is
Coverlet is a cross-platform code coverage framework for .NET that supports line, branch, and method coverage. It integrates via multiple drivers including MSBuild tasks, VSTest collector, a .NET global tool, and Microsoft Testing Platform integration.

## Use cases
- measure code coverage of .NET unit tests
- get branch and line coverage reports for dotnet projects
- integrate coverage collection into CI pipelines
- collect coverage from integration tests
- generate coverage output in Cobertura or OpenCover formats

## When to choose
- you need code coverage metrics for .NET SDK-style projects
- you want cross-platform coverage including Linux and macOS
- you need branch-level coverage analysis
- you use VSTest, MSBuild, or Microsoft Testing Platform

## When to avoid
- you work with legacy non-SDK-style .NET projects
- you need coverage for languages other than .NET
- you need runtime application performance profiling rather than test coverage

## Facets
- artifact type: library
- maturity: active
- function: testing, developer-tools
- domain: testing, developer-tools
- platform: cross-platform, windows, dotnet
- tags: code-coverage, instrumentation, unit-testing, dotnet-core, msbuild, vstest, branch-coverage, dotnet, linux, macos

## Member repositories
- coverlet-coverage/coverlet (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:47.493692+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-29T18:45:28.753640+00:00, confidence not recorded.
  - readme: https://github.com/coverlet-coverage/coverlet (fetched 2026-08-28T04:07:47.493692+00:00, sha b68fc4fac1ee)
- Data as of 2026-08-30T08:39:29.467469+00:00.
