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

sgerrand / ex_deputy / 26519149127
100%

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

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.

8 of 9 new or added lines in 1 file covered. (88.89%)

6 existing lines in 1 file now uncovered.

315 of 324 relevant lines covered (97.22%)

16.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
93.75
-0.8% lib/deputy/error.ex

Coverage Regressions

Lines Coverage ∆ File
6
76.92
-23.08% lib/deputy/locations.ex
Jobs
ID Job ID Ran Files Coverage
1 26519149127.1 27 May 2026 02:55PM UTC 14
97.22
GitHub Action Run
Source Files on build 26519149127
  • Tree
  • List 14
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26519149127
  • 7ca670be on github
  • Prev Build on main (#26514952333)
  • Next Build on main (#26520668966)
  • 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