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

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

Build:
Build:
LAST BUILD BRANCH: fix/content-type-order-cache
DEFAULT BRANCH: master
Ran 17 Oct 2026 04:30PM 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

17 Oct 2026 02:05PM UTC coverage: 99.95% (-0.02%) from 99.966%
39049696879

push

github

ericproulx
Hold every method to RuboCop's default cyclomatic complexity

Metrics/CyclomaticComplexity was raised to 15; the 31 methods above the
default of 7 are split instead, each into the helper or predicate its
own comments already described, and the override is dropped.

Behaviour is unchanged. A few of the splits also simplify:

- Router: #transaction hands what it tries after a decline or a miss to
  #fall_back, and the route scan it shares with the static table is one
  #matched_route. #neighbours drops two `!cascaded` tests a nil
  neighbour already answers.
- `redirect` picks its message from the status it set.
- The `type == 'Set'` test in DeclaredParamsHandler is dropped, since
  `start_with?('Set')` already answers it.
- The `values:` / `except_values:` checks share one #fixed_values?.

Request-path fast paths stay inline: PathNormalizer's early returns, the
router's static and bucket lookups, #match? / #greedy_match?, and the
`represent` lookup an error message goes through. Two specs pin what
mutation testing showed unpinned among the moved lines: an ANY route
closing the cascading sibling it supersedes, and `allow_blank` not
counting `false` as blank.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

1501 of 1503 branches covered (99.87%)

Branch coverage included in aggregate %.

177 of 177 new or added lines in 22 files covered. (100.0%)

4465 of 4466 relevant lines covered (99.98%)

29388.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_7_2.gemfile - 39049696879.1 17 Oct 2026 04:30PM UTC 168
98.79
GitHub Action Run
2 run-3.3-gemfiles/rack_3_0.gemfile - 39049696879.2 17 Oct 2026 04:30PM UTC 167
98.81
GitHub Action Run
3 run-3.4-gemfiles/rails_7_2.gemfile - 39049696879.3 17 Oct 2026 04:30PM UTC 168
98.79
GitHub Action Run
4 run-4.0-gemfiles/multi_json_1_20.gemfile - 39049696879.4 17 Oct 2026 04:30PM UTC 166
46.25
GitHub Action Run
5 run-4.0-gemfiles/multi_xml_0_8.gemfile - 39049696879.5 17 Oct 2026 04:30PM UTC 166
45.95
GitHub Action Run
6 run-4.0-gemfiles/rack_2_2.gemfile - 39049696879.6 17 Oct 2026 04:31PM UTC 167
98.76
GitHub Action Run
7 run-4.0-gemfiles/grape_entity.gemfile - 39049696879.7 17 Oct 2026 04:30PM UTC 166
49.08
GitHub Action Run
8 run-3.3-gemfiles/rails_8_1.gemfile - 39049696879.8 17 Oct 2026 04:30PM UTC 168
98.81
GitHub Action Run
9 run-3.3-Gemfile - 39049696879.9 17 Oct 2026 04:30PM UTC 167
98.81
GitHub Action Run
10 run-4.0-gemfiles/multi_json.gemfile - 39049696879.10 17 Oct 2026 04:30PM UTC 166
46.22
GitHub Action Run
11 run-4.0-gemfiles/rack_3_2.gemfile - 39049696879.11 17 Oct 2026 04:31PM UTC 167
98.78
GitHub Action Run
12 run-3.4-gemfiles/rack_2_2.gemfile - 39049696879.12 17 Oct 2026 04:31PM UTC 167
98.76
GitHub Action Run
13 run-3.3-gemfiles/rack_3_2.gemfile - 39049696879.13 17 Oct 2026 04:30PM UTC 167
98.81
GitHub Action Run
14 run-4.0-gemfiles/rack_3_0.gemfile - 39049696879.14 17 Oct 2026 04:30PM UTC 167
98.79
GitHub Action Run
15 run-4.0-gemfiles/hashie.gemfile - 39049696879.15 17 Oct 2026 04:30PM UTC 166
60.1
GitHub Action Run
16 run-4.0-gemfiles/multi_xml.gemfile - 39049696879.16 17 Oct 2026 04:30PM UTC 166
45.92
GitHub Action Run
17 run-3.3-gemfiles/rails_7_2.gemfile - 39049696879.17 17 Oct 2026 04:30PM UTC 168
98.81
GitHub Action Run
18 run-3.3-gemfiles/rack_2_2.gemfile - 39049696879.18 17 Oct 2026 04:30PM UTC 167
98.78
GitHub Action Run
19 run-3.4-gemfiles/rack_3_2.gemfile - 39049696879.19 17 Oct 2026 04:30PM UTC 167
98.79
GitHub Action Run
20 run-4.0-gemfiles/dry_validation.gemfile - 39049696879.20 17 Oct 2026 04:30PM UTC 166
56.07
GitHub Action Run
21 run-3.3-gemfiles/rack_3_1.gemfile - 39049696879.21 17 Oct 2026 04:31PM UTC 167
98.81
GitHub Action Run
22 run-4.0-gemfiles/rack_3_1.gemfile - 39049696879.22 17 Oct 2026 04:31PM UTC 167
98.79
GitHub Action Run
23 run-4.0-Gemfile - 39049696879.23 17 Oct 2026 04:31PM UTC 167
98.79
GitHub Action Run
24 run-4.0-gemfiles/rails_8_1.gemfile - 39049696879.24 17 Oct 2026 04:30PM UTC 168
98.79
GitHub Action Run
25 run-3.4-gemfiles/rack_3_1.gemfile - 39049696879.25 17 Oct 2026 04:31PM UTC 167
98.79
GitHub Action Run
26 run-3.4-Gemfile - 39049696879.26 17 Oct 2026 04:30PM UTC 167
98.79
GitHub Action Run
27 run-3.4-gemfiles/rails_8_0.gemfile - 39049696879.27 17 Oct 2026 04:30PM UTC 168
98.79
GitHub Action Run
28 run-4.0-gemfiles/rails_8_0.gemfile - 39049696879.28 17 Oct 2026 04:30PM UTC 168
98.79
GitHub Action Run
29 run-3.4-gemfiles/rails_8_1.gemfile - 39049696879.29 17 Oct 2026 04:31PM UTC 168
98.79
GitHub Action Run
30 run-4.0-gemfiles/grape_swagger.gemfile - 39049696879.30 17 Oct 2026 04:30PM UTC 166
53.38
GitHub Action Run
31 run-3.3-gemfiles/rails_8_0.gemfile - 39049696879.31 17 Oct 2026 04:31PM UTC 168
98.81
GitHub Action Run
32 run-3.4-gemfiles/rack_3_0.gemfile - 39049696879.32 17 Oct 2026 04:31PM UTC 167
98.79
GitHub Action Run
Source Files on build 39049696879
  • Tree
  • List 168
  • Changed 23
  • Source Changed 22
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39049696879
  • 0ca901f9 on github
  • Prev Build on master (#39035381478)
  • Next Build on refactor/cyclomatic-complexity (#39049735756)
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