# danmayer/coverband

Ruby production code coverage collection and reporting (line of code usage)

Repository: https://github.com/danmayer/coverband
Canonical: https://ross.abutalabs.com/products/coverband
Homepage: https://github.com/danmayer/coverband
Language: Ruby
License: MIT
License Family: permissive
Topics: coverband, ruby, coverage-report, coverage-data, rack-middleware, rails
Last push: 2026-08-20T14:56:04+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 78, longevity 100
- inputs: {"age_days": 4686, "days_push": 13, "days_rel": 148, "gap_med": 0.0, "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 2686, forks 169 (observed 2026-08-28T04:07:10.257300+00:00)

## What it is
Coverband is a Ruby gem that measures production code usage, counting how many times each line of code executes in a running application. It collects coverage data with low overhead via Rack middleware or background threads, stores it in Redis, and exposes a mountable web UI for reporting.

## Use cases
- find dead code in a production Rails app
- measure which lines of code are actually executed in production
- identify unused code paths before refactoring
- track runtime vs eager-load code usage in Ruby apps
- view production code coverage reports in a web UI
- detect rarely used endpoints or background job code

## When to choose
- you run a Ruby or Rails application in production and want insight into real code usage
- you need low-overhead line-level execution counters with a Redis-backed store
- you want a mountable web interface to share coverage reports with your team

## When to avoid
- you need test suite code coverage - use SimpleCov instead
- your stack is not Ruby/Rack-based
- you cannot run Redis or another supported store in your environment

## Facets
- artifact type: library
- maturity: active
- function: monitoring, analytics, middleware, developer-tools
- domain: developer-tools, web-development, analytics, performance
- platform: ruby, self-hosted
- tags: code-coverage, production-code-usage, rack-middleware, rails, redis, line-coverage, dead-code-detection, web-server

## Member repositories
- danmayer/coverband (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.257300+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-30T02:17:47.419887+00:00, confidence not recorded.
  - readme: https://github.com/danmayer/coverband (fetched 2026-08-28T04:07:10.257300+00:00, sha 06b6c4725b1e)
  - homepage: https://github.com/danmayer/coverband (fetched 2026-08-29T09:59:50.090931+00:00, sha 77295908a8ac)
- Data as of 2026-08-30T08:39:29.467469+00:00.
