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

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

Build:
Build:
LAST BUILD BRANCH: fix/negotiated-format-fallback
DEFAULT BRANCH: master
Ran 23 Sep 2026 08:05PM UTC
Jobs 32
Files 168
Run time 1min
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:05PM UTC coverage: 99.845% (+0.09%) from 99.76%
35913609810

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 1496 branches covered (99.4%)

Branch coverage included in aggregate %.

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

4324 of 4324 relevant lines covered (100.0%)

29204.1 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_2_2.gemfile - 35913609810.1 23 Sep 2026 08:08PM UTC 167
98.64
GitHub Action Run
2 run-4.0-gemfiles/hashie.gemfile - 35913609810.2 23 Sep 2026 08:07PM UTC 166
60.02
GitHub Action Run
3 run-3.4-gemfiles/rails_7_2.gemfile - 35913609810.3 23 Sep 2026 08:07PM UTC 168
98.68
GitHub Action Run
4 run-4.0-gemfiles/grape_swagger.gemfile - 35913609810.4 23 Sep 2026 08:06PM UTC 166
53.39
GitHub Action Run
5 run-4.0-gemfiles/multi_xml.gemfile - 35913609810.5 23 Sep 2026 08:08PM UTC 166
45.75
GitHub Action Run
6 run-4.0-Gemfile - 35913609810.6 23 Sep 2026 08:08PM UTC 167
98.68
GitHub Action Run
7 run-3.4-gemfiles/rack_3_0.gemfile - 35913609810.7 23 Sep 2026 08:08PM UTC 167
98.68
GitHub Action Run
8 run-4.0-gemfiles/rack_3_0.gemfile - 35913609810.8 23 Sep 2026 08:06PM UTC 167
98.68
GitHub Action Run
9 run-3.4-Gemfile - 35913609810.9 23 Sep 2026 08:07PM UTC 167
98.68
GitHub Action Run
10 run-4.0-gemfiles/rack_3_2.gemfile - 35913609810.10 23 Sep 2026 08:06PM UTC 167
98.68
GitHub Action Run
11 run-3.3-gemfiles/rack_3_2.gemfile - 35913609810.11 23 Sep 2026 08:07PM UTC 167
98.69
GitHub Action Run
12 run-4.0-gemfiles/multi_json_1_20.gemfile - 35913609810.12 23 Sep 2026 08:06PM UTC 166
46.1
GitHub Action Run
13 run-3.3-gemfiles/rails_8_1.gemfile - 35913609810.13 23 Sep 2026 08:06PM UTC 168
98.69
GitHub Action Run
14 run-4.0-gemfiles/rack_3_1.gemfile - 35913609810.14 23 Sep 2026 08:06PM UTC 167
98.68
GitHub Action Run
15 run-4.0-gemfiles/rails_8_1.gemfile - 35913609810.15 23 Sep 2026 08:06PM UTC 168
98.68
GitHub Action Run
16 run-3.4-gemfiles/rack_3_1.gemfile - 35913609810.16 23 Sep 2026 08:08PM UTC 167
98.68
GitHub Action Run
17 run-3.4-gemfiles/rack_3_2.gemfile - 35913609810.17 23 Sep 2026 08:06PM UTC 167
98.68
GitHub Action Run
18 run-3.3-gemfiles/rails_8_0.gemfile - 35913609810.18 23 Sep 2026 08:07PM UTC 168
98.69
GitHub Action Run
19 run-4.0-gemfiles/multi_json.gemfile - 35913609810.19 23 Sep 2026 08:06PM UTC 166
46.06
GitHub Action Run
20 run-4.0-gemfiles/rails_8_0.gemfile - 35913609810.20 23 Sep 2026 08:07PM UTC 168
98.68
GitHub Action Run
21 run-3.3-gemfiles/rack_2_2.gemfile - 35913609810.21 23 Sep 2026 08:08PM UTC 167
98.66
GitHub Action Run
22 run-4.0-gemfiles/dry_validation.gemfile - 35913609810.22 23 Sep 2026 08:06PM UTC 166
56.01
GitHub Action Run
23 run-3.3-Gemfile - 35913609810.23 23 Sep 2026 08:06PM UTC 167
98.69
GitHub Action Run
24 run-3.4-gemfiles/rack_2_2.gemfile - 35913609810.24 23 Sep 2026 08:08PM UTC 167
98.64
GitHub Action Run
25 run-4.0-gemfiles/rails_7_2.gemfile - 35913609810.25 23 Sep 2026 08:07PM UTC 168
98.68
GitHub Action Run
26 run-3.4-gemfiles/rails_8_1.gemfile - 35913609810.26 23 Sep 2026 08:05PM UTC 168
98.68
GitHub Action Run
27 run-3.4-gemfiles/rails_8_0.gemfile - 35913609810.27 23 Sep 2026 08:06PM UTC 168
98.68
GitHub Action Run
28 run-4.0-gemfiles/grape_entity.gemfile - 35913609810.28 23 Sep 2026 08:07PM UTC 166
48.84
GitHub Action Run
29 run-3.3-gemfiles/rack_3_0.gemfile - 35913609810.29 23 Sep 2026 08:07PM UTC 167
98.69
GitHub Action Run
30 run-3.3-gemfiles/rack_3_1.gemfile - 35913609810.30 23 Sep 2026 08:06PM UTC 167
98.69
GitHub Action Run
31 run-3.3-gemfiles/rails_7_2.gemfile - 35913609810.31 23 Sep 2026 08:06PM UTC 168
98.69
GitHub Action Run
32 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35913609810.32 23 Sep 2026 08:06PM UTC 166
45.78
GitHub Action Run
Source Files on build 35913609810
  • Tree
  • List 168
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35913609810
  • 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