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

dblock / grape / 33936559544
99%
master: 97%

Build:
Build:
LAST BUILD BRANCH: standardize-error-messages
DEFAULT BRANCH: master
Ran 05 Sep 2026 01:34AM 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

05 Sep 2026 01:33AM UTC coverage: 99.118% (+0.3%) from 98.855%
33936559544

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>

1283 of 1328 branches covered (96.61%)

Branch coverage included in aggregate %.

3997 of 3999 relevant lines covered (99.95%)

27258.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_json.gemfile - 33936559544.1 05 Sep 2026 01:34AM UTC 166
47.59
GitHub Action Run
2 run-3.4-gemfiles/rack_2_2.gemfile - 33936559544.2 05 Sep 2026 01:34AM UTC 167
97.78
GitHub Action Run
3 run-4.0-gemfiles/grape_swagger.gemfile - 33936559544.3 05 Sep 2026 01:34AM UTC 166
55.26
GitHub Action Run
4 run-3.4-gemfiles/rails_8_1.gemfile - 33936559544.4 05 Sep 2026 01:35AM UTC 168
97.82
GitHub Action Run
5 run-3.3-gemfiles/rails_8_0.gemfile - 33936559544.5 05 Sep 2026 01:34AM UTC 168
97.84
GitHub Action Run
6 run-3.3-gemfiles/rack_3_1.gemfile - 33936559544.6 05 Sep 2026 01:34AM UTC 167
97.84
GitHub Action Run
7 run-3.4-gemfiles/rack_3_0.gemfile - 33936559544.7 05 Sep 2026 01:34AM UTC 167
97.82
GitHub Action Run
8 run-4.0-gemfiles/grape_entity.gemfile - 33936559544.8 05 Sep 2026 01:34AM UTC 166
50.39
GitHub Action Run
9 run-3.4-gemfiles/rack_3_2.gemfile - 33936559544.9 05 Sep 2026 01:34AM UTC 167
97.82
GitHub Action Run
10 run-4.0-gemfiles/rails_8_0.gemfile - 33936559544.10 05 Sep 2026 01:34AM UTC 168
97.82
GitHub Action Run
11 run-3.3-gemfiles/rack_2_2.gemfile - 33936559544.11 05 Sep 2026 01:34AM UTC 167
97.78
GitHub Action Run
12 run-3.3-gemfiles/rails_7_2.gemfile - 33936559544.12 05 Sep 2026 01:34AM UTC 168
97.82
GitHub Action Run
13 run-3.4-gemfiles/rails_8_0.gemfile - 33936559544.13 05 Sep 2026 01:34AM UTC 168
97.82
GitHub Action Run
14 run-3.4-gemfiles/rack_3_1.gemfile - 33936559544.14 05 Sep 2026 01:34AM UTC 167
97.82
GitHub Action Run
15 run-3.3-gemfiles/rails_8_1.gemfile - 33936559544.15 05 Sep 2026 01:34AM UTC 168
97.82
GitHub Action Run
16 run-4.0-Gemfile - 33936559544.16 05 Sep 2026 01:34AM UTC 167
97.82
GitHub Action Run
17 run-4.0-gemfiles/dry_validation.gemfile - 33936559544.17 05 Sep 2026 01:34AM UTC 166
57.85
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 33936559544.18 05 Sep 2026 01:34AM UTC 167
97.82
GitHub Action Run
19 run-3.3-Gemfile - 33936559544.19 05 Sep 2026 01:34AM UTC 167
97.84
GitHub Action Run
20 run-4.0-gemfiles/multi_json_1_20.gemfile - 33936559544.20 05 Sep 2026 01:34AM UTC 166
47.63
GitHub Action Run
21 run-4.0-gemfiles/hashie.gemfile - 33936559544.21 05 Sep 2026 01:35AM UTC 166
61.85
GitHub Action Run
22 run-4.0-gemfiles/rails_7_2.gemfile - 33936559544.22 05 Sep 2026 01:35AM UTC 168
97.82
GitHub Action Run
23 run-3.4-Gemfile - 33936559544.23 05 Sep 2026 01:34AM UTC 167
97.8
GitHub Action Run
24 run-4.0-gemfiles/rack_2_2.gemfile - 33936559544.24 05 Sep 2026 01:34AM UTC 167
97.78
GitHub Action Run
25 run-4.0-gemfiles/rack_3_0.gemfile - 33936559544.25 05 Sep 2026 01:34AM UTC 167
97.8
GitHub Action Run
26 run-4.0-gemfiles/rack_3_1.gemfile - 33936559544.26 05 Sep 2026 01:34AM UTC 167
97.8
GitHub Action Run
27 run-3.3-gemfiles/rack_3_0.gemfile - 33936559544.27 05 Sep 2026 01:34AM UTC 167
97.82
GitHub Action Run
28 run-4.0-gemfiles/rails_8_1.gemfile - 33936559544.28 05 Sep 2026 01:34AM UTC 168
97.82
GitHub Action Run
29 run-3.4-gemfiles/rails_7_2.gemfile - 33936559544.29 05 Sep 2026 01:34AM UTC 168
97.82
GitHub Action Run
30 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33936559544.30 05 Sep 2026 01:34AM UTC 166
47.1
GitHub Action Run
31 run-3.3-gemfiles/rack_3_2.gemfile - 33936559544.31 05 Sep 2026 01:34AM UTC 167
97.82
GitHub Action Run
32 run-4.0-gemfiles/multi_xml.gemfile - 33936559544.32 05 Sep 2026 01:34AM UTC 166
47.06
GitHub Action Run
Source Files on build 33936559544
  • Tree
  • List 168
  • Changed 12
  • Source Changed 2
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33936559544
  • 6e51977d on github
  • Prev Build on add-coverage-100 (#33936517819)
  • Next Build on improve-branch-coverage (#33982671186)
  • 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