Coverband
Production code-usage coverage with a mountable report
No ratings yet
- Gem
- coverband
- Repository
- danmayer/coverband
- License
- MIT
- Stars
- 2,700
- Added
- July 20, 2026
About
Coverband measures which of your code actually runs in production, and shows it in a
mounted report.
What you get
- Line-level usage collected from real traffic
- A web report you mount at a path
- Dead-code identification: files that have never been hit
- Low overhead, sampled
Mounting it
ruby
# Gemfile
gem "coverband"
# config/routes.rb
authenticate :user, ->(user) { user.admin? } do
mount Coverband::Reporters::Web.new, at: "/coverage"
end
Why it is in this directory
Coverage-as-a-service tells you what your tests touched. Coverband tells you what
your users touched, which is the number you want before deleting anything.
Discussion (0)
Sign in to join the discussion.
No comments yet.