• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-grape / grape / 35913321290
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: benchmark/grape-on-rack
DEFAULT BRANCH: master
Ran 23 Sep 2026 08:04PM UTC
Jobs 32
Files 168
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Sep 2026 08:02PM UTC coverage: 99.828% (+0.07%) from 99.76%
35913321290

Pull #2997

github

ericproulx
Cover the router's missed branches and drop its dead guards

Specs for the branches no spec reached:

- A cascading response's body is closed once a sibling answers, as
  Rack requires.
- A path another route spells out in full, answered by an earlier route
  that names a param twice, gives each request its own Array capture:
  only a String is frozen whole in the static-path table, so an Array
  kept there would have been shared, and one request's change to it
  seen by the next.
- `recognize_path` does not recognize a path whose bytes are not UTF-8.

Guards that could never matter are dropped:

- `recognize_path`'s `if input`: `greedy_match?(nil)` already answers nil.
- `rotation`'s `@map[method]&.`: it only runs once a route for that
  method has cascaded.
- `static_routes_for`'s `matched&.` / `matched &&`: a union match always
  sets one route's group.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pull Request #2997: Cover the router's missed branches and drop its dead guards

1487 of 1497 branches covered (99.33%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

4325 of 4325 relevant lines covered (100.0%)

29193.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rack_3_1.gemfile - 35913321290.1 23 Sep 2026 08:05PM UTC 167
98.68
GitHub Action Run
2 run-3.4-Gemfile - 35913321290.2 23 Sep 2026 08:04PM UTC 167
98.66
GitHub Action Run
3 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35913321290.3 23 Sep 2026 08:04PM UTC 166
45.77
GitHub Action Run
4 run-3.3-Gemfile - 35913321290.4 23 Sep 2026 08:04PM UTC 167
98.68
GitHub Action Run
5 run-4.0-gemfiles/multi_json_1_20.gemfile - 35913321290.5 23 Sep 2026 08:05PM UTC 166
46.08
GitHub Action Run
6 run-3.3-gemfiles/rails_8_0.gemfile - 35913321290.6 23 Sep 2026 08:05PM UTC 168
98.68
GitHub Action Run
7 run-3.3-gemfiles/rails_8_1.gemfile - 35913321290.7 23 Sep 2026 08:04PM UTC 168
98.68
GitHub Action Run
8 run-4.0-Gemfile - 35913321290.8 23 Sep 2026 08:04PM UTC 167
98.66
GitHub Action Run
9 run-3.4-gemfiles/rack_2_2.gemfile - 35913321290.9 23 Sep 2026 08:05PM UTC 167
98.62
GitHub Action Run
10 run-4.0-gemfiles/rails_8_0.gemfile - 35913321290.10 23 Sep 2026 08:05PM UTC 168
98.66
GitHub Action Run
11 run-3.4-gemfiles/rails_8_1.gemfile - 35913321290.11 23 Sep 2026 08:04PM UTC 168
98.66
GitHub Action Run
12 run-4.0-gemfiles/rack_2_2.gemfile - 35913321290.12 23 Sep 2026 08:05PM UTC 167
98.62
GitHub Action Run
13 run-3.3-gemfiles/rails_7_2.gemfile - 35913321290.13 23 Sep 2026 08:04PM UTC 168
98.68
GitHub Action Run
14 run-3.4-gemfiles/rack_3_0.gemfile - 35913321290.14 23 Sep 2026 08:05PM UTC 167
98.66
GitHub Action Run
15 run-4.0-gemfiles/grape_entity.gemfile - 35913321290.15 23 Sep 2026 08:05PM UTC 166
48.83
GitHub Action Run
16 run-4.0-gemfiles/hashie.gemfile - 35913321290.16 23 Sep 2026 08:04PM UTC 166
60.0
GitHub Action Run
17 run-3.3-gemfiles/rack_2_2.gemfile - 35913321290.17 23 Sep 2026 08:04PM UTC 167
98.64
GitHub Action Run
18 run-4.0-gemfiles/grape_swagger.gemfile - 35913321290.18 23 Sep 2026 08:05PM UTC 166
53.37
GitHub Action Run
19 run-4.0-gemfiles/rails_7_2.gemfile - 35913321290.19 23 Sep 2026 08:04PM UTC 168
98.66
GitHub Action Run
20 run-4.0-gemfiles/rack_3_2.gemfile - 35913321290.20 23 Sep 2026 08:05PM UTC 167
98.66
GitHub Action Run
21 run-4.0-gemfiles/multi_xml.gemfile - 35913321290.21 23 Sep 2026 08:05PM UTC 166
45.73
GitHub Action Run
22 run-3.4-gemfiles/rails_7_2.gemfile - 35913321290.22 23 Sep 2026 08:05PM UTC 168
98.66
GitHub Action Run
23 run-3.3-gemfiles/rack_3_2.gemfile - 35913321290.23 23 Sep 2026 08:04PM UTC 167
98.68
GitHub Action Run
24 run-4.0-gemfiles/multi_json.gemfile - 35913321290.24 23 Sep 2026 08:05PM UTC 166
46.04
GitHub Action Run
25 run-4.0-gemfiles/rails_8_1.gemfile - 35913321290.25 23 Sep 2026 08:05PM UTC 168
98.66
GitHub Action Run
26 run-3.4-gemfiles/rack_3_2.gemfile - 35913321290.26 23 Sep 2026 08:05PM UTC 167
98.66
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 35913321290.27 23 Sep 2026 08:04PM UTC 167
98.66
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 35913321290.28 23 Sep 2026 08:04PM UTC 167
98.68
GitHub Action Run
29 run-4.0-gemfiles/dry_validation.gemfile - 35913321290.29 23 Sep 2026 08:04PM UTC 166
55.99
GitHub Action Run
30 run-3.4-gemfiles/rack_3_1.gemfile - 35913321290.30 23 Sep 2026 08:05PM UTC 167
98.66
GitHub Action Run
31 run-3.4-gemfiles/rails_8_0.gemfile - 35913321290.31 23 Sep 2026 08:05PM UTC 168
98.66
GitHub Action Run
32 run-4.0-gemfiles/rack_3_1.gemfile - 35913321290.32 23 Sep 2026 08:04PM UTC 167
98.66
GitHub Action Run
Source Files on build 35913321290
  • Tree
  • List 168
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35913321290
  • Pull Request #2997
  • PR Base - master (#35913297405)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc