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

sgerrand / ex_deputy / 26519149127 / 1
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 02:55PM UTC
Files 14
Run time 50s
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

27 May 2026 02:55PM UTC coverage: 97.222% (-1.8%) from 99.065%
26519149127.1

push

github

sgerrand
refactor(error): collapse 429 path and dedupe body integer lookups

`from_response/1` had two separate 429 clauses, one for responses
with headers and one for responses without. `header_int(nil, _)`
already returns `nil` via the catch-all clause, so the
header-absent branch is redundant — merge into a single clause that
pulls headers with `Map.get/2`.

`get_retry_after/1`, `get_rate_limit/1`, and `get_rate_remaining/1`
were three near-identical helpers differing only in which two body
keys they checked. Collapse into one `body_int(body, keys)` helper
driven by three module-attribute key lists.

315 of 324 relevant lines covered (97.22%)

16.1 hits per line

Source Files on job 26519149127.1
  • Tree
  • List 14
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26519149127
  • 7ca670be on github
  • Prev Job for on main (#26514952333.1)
  • Next Job for on main (#26520668966.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc