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

dblock / grape / 33993400533
99%
master: 97%

Build:
Build:
LAST BUILD BRANCH: standardize-error-messages
DEFAULT BRANCH: master
Ran 05 Sep 2026 09:34PM UTC
Jobs 32
Files 169
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

05 Sep 2026 09:33PM UTC coverage: 99.196%. Remained the same
33993400533

push

github

dblock
Improve branch coverage for exceptions, namespace, router, testing and translation utilities

Adds direct unit tests to exercise previously-uncovered branches:
- Grape::Exceptions::Base#translate_message (Proc/Hash-pattern/plain-value branches, and the Hash-without-:key error case)
- Grape::Exceptions::RequestError (new spec file)
- Grape::Exceptions::Validation (message omitted case)
- Grape::Middleware::Base (instance-level #default_options fallback)
- Grape::Middleware::Error (#resolved_backtrace fallback chain, InvalidVersionHeader precedence)
- Grape::Middleware::Stack::Middleware#== (non-Middleware/non-Class comparison)
- Grape::Middleware::Versioner::Header (skips media-type matching without a vendor)
- Grape::Namespace.joined_space
- Grape::Router::BaseRoute#initialize (ActiveSupport::OrderedOptions wrapping)
- Grape::Router::MustermannPattern (:param capture syntax, Integer vs. default constraint)
- Grape::Router::Pattern::Path#suffix (non-path versioning)
- Grape::Testing (missing block / no registered hooks)
- Grape::Util::Translation#translate (explicit locale / explicit default / fallback-locale retry)

Also marks one genuinely unreachable branch (comment-only, not deleted,
per project convention):
- Grape::DSL::Routing#version's trailing `@versions&.last` — @versions
  is unconditionally reassigned to an Array a few lines above, so the
  `&.` can never see nil.

Raises the full-matrix branch coverage from 95.58% (1278/1337) to
96.85% (1324/1367), while keeping line coverage at 100%. Not aiming for
100% branch coverage; only the easy, high-signal gaps were closed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

1291 of 1334 branches covered (96.78%)

Branch coverage included in aggregate %.

4013 of 4013 relevant lines covered (100.0%)

27275.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_2_2.gemfile - 33993400533.1 05 Sep 2026 09:34PM UTC 168
97.87
GitHub Action Run
2 run-3.4-gemfiles/rack_3_0.gemfile - 33993400533.2 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
3 run-4.0-gemfiles/rails_8_1.gemfile - 33993400533.3 05 Sep 2026 09:34PM UTC 169
97.89
GitHub Action Run
4 run-3.4-gemfiles/rack_3_1.gemfile - 33993400533.4 05 Sep 2026 09:34PM UTC 168
97.88
GitHub Action Run
5 run-4.0-gemfiles/rack_3_2.gemfile - 33993400533.5 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
6 run-4.0-gemfiles/multi_json.gemfile - 33993400533.6 05 Sep 2026 09:34PM UTC 167
47.58
GitHub Action Run
7 run-4.0-gemfiles/rack_3_1.gemfile - 33993400533.7 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
8 run-3.4-gemfiles/rails_8_0.gemfile - 33993400533.8 05 Sep 2026 09:34PM UTC 169
97.89
GitHub Action Run
9 run-3.4-gemfiles/rack_3_2.gemfile - 33993400533.9 05 Sep 2026 09:34PM UTC 168
97.88
GitHub Action Run
10 run-4.0-Gemfile - 33993400533.10 05 Sep 2026 09:34PM UTC 168
97.88
GitHub Action Run
11 run-3.4-gemfiles/rack_2_2.gemfile - 33993400533.11 05 Sep 2026 09:34PM UTC 168
97.87
GitHub Action Run
12 run-3.3-gemfiles/rack_3_2.gemfile - 33993400533.12 05 Sep 2026 09:34PM UTC 168
97.92
GitHub Action Run
13 run-4.0-gemfiles/dry_validation.gemfile - 33993400533.13 05 Sep 2026 09:34PM UTC 167
57.84
GitHub Action Run
14 run-3.3-gemfiles/rack_2_2.gemfile - 33993400533.14 05 Sep 2026 09:34PM UTC 168
97.88
GitHub Action Run
15 run-3.3-Gemfile - 33993400533.15 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
16 run-4.0-gemfiles/multi_json_1_20.gemfile - 33993400533.16 05 Sep 2026 09:34PM UTC 167
47.62
GitHub Action Run
17 run-3.3-gemfiles/rails_8_0.gemfile - 33993400533.17 05 Sep 2026 09:34PM UTC 169
97.9
GitHub Action Run
18 run-3.3-gemfiles/rack_3_1.gemfile - 33993400533.18 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
19 run-3.4-Gemfile - 33993400533.19 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
20 run-4.0-gemfiles/rack_3_0.gemfile - 33993400533.20 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
21 run-4.0-gemfiles/grape_swagger.gemfile - 33993400533.21 05 Sep 2026 09:34PM UTC 167
55.28
GitHub Action Run
22 run-4.0-gemfiles/grape_entity.gemfile - 33993400533.22 05 Sep 2026 09:34PM UTC 167
50.35
GitHub Action Run
23 run-3.3-gemfiles/rails_8_1.gemfile - 33993400533.23 05 Sep 2026 09:34PM UTC 169
97.9
GitHub Action Run
24 run-3.4-gemfiles/rails_8_1.gemfile - 33993400533.24 05 Sep 2026 09:34PM UTC 169
97.89
GitHub Action Run
25 run-4.0-gemfiles/multi_xml.gemfile - 33993400533.25 05 Sep 2026 09:34PM UTC 167
47.06
GitHub Action Run
26 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33993400533.26 05 Sep 2026 09:34PM UTC 167
47.09
GitHub Action Run
27 run-3.3-gemfiles/rails_7_2.gemfile - 33993400533.27 05 Sep 2026 09:34PM UTC 169
97.92
GitHub Action Run
28 run-4.0-gemfiles/hashie.gemfile - 33993400533.28 05 Sep 2026 09:34PM UTC 167
61.83
GitHub Action Run
29 run-3.4-gemfiles/rails_7_2.gemfile - 33993400533.29 05 Sep 2026 09:34PM UTC 169
97.9
GitHub Action Run
30 run-4.0-gemfiles/rails_8_0.gemfile - 33993400533.30 05 Sep 2026 09:34PM UTC 169
97.9
GitHub Action Run
31 run-3.3-gemfiles/rack_3_0.gemfile - 33993400533.31 05 Sep 2026 09:34PM UTC 168
97.9
GitHub Action Run
32 run-4.0-gemfiles/rails_7_2.gemfile - 33993400533.32 05 Sep 2026 09:34PM UTC 169
97.89
GitHub Action Run
Source Files on build 33993400533
  • Tree
  • List 169
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33993400533
  • 81dd073b on github
  • Prev Build on improve-branch-coverage (#33993287982)
  • Next Build on improve-branch-coverage (#33993564537)
  • Delete
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