# simplecov-ruby/simplecov

Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

Repository: https://github.com/simplecov-ruby/simplecov
Canonical: https://ross.abutalabs.com/products/simplecov
Language: Ruby
License: MIT
License Family: permissive
Topics: ruby, test-coverage, code-quality, rails, coverage, coverage-report, coverage-library
Last push: 2026-08-26T02:51:29+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 5862, "days_push": 7, "days_rel": 21, "gap_med": 5.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4918, forks 579 (observed 2026-08-28T04:09:02.362188+00:00)

## What it is
SimpleCov is a code coverage analysis library for Ruby built on Ruby's built-in Coverage library. It provides a clean API to filter, group, merge, and format coverage results, with automatic merging of coverage across test suites and built-in HTML and JSON formatters.

## Use cases
- measure code coverage of my Ruby test suite
- merge coverage results across unit and integration tests
- generate an HTML coverage report for a Rails app
- track which lines of my Ruby code are untested
- set up code coverage for RSpec or Minitest
- enforce a minimum coverage threshold in CI

## When to choose
- you need code coverage metrics for Ruby or Rails projects
- you want coverage merged across multiple test suites
- you want a quick setup with just a couple of lines in your test helper

## When to avoid
- you need coverage for languages other than Ruby
- you need branch-level coverage tooling beyond what Ruby's Coverage library provides

## Facets
- artifact type: library
- maturity: stable
- function: testing, developer-tools
- domain: testing, developer-tools, web-development
- platform: ruby
- tags: code-coverage, test-coverage, coverage-report, ruby-gem, rails

## Member repositories
- simplecov-ruby/simplecov (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:02.362188+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:18:02.857084+00:00, confidence not recorded.
  - readme: https://github.com/simplecov-ruby/simplecov (fetched 2026-08-28T04:09:02.362188+00:00, sha 93c983220b42)
- Data as of 2026-08-30T08:39:29.467469+00:00.
