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

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

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 09:07AM UTC
Files 13
Run time 1s
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 09:07AM UTC coverage: 99.065%. Remained the same
26501924285.1

push

github

sgerrand
test(constants): silence "guard always yields the same result" warning

`case 2 do ... is_male(g) ... is_female(g) ...` triggered a compile
warning under `--warnings-as-errors`: the literal `2` let the compiler
prove the other clauses were unreachable.

Move the dispatch into a `defp classify_gender/1` so the value reaches
the guard at runtime and the compiler treats each clause as live.

318 of 321 relevant lines covered (99.07%)

14.88 hits per line

Source Files on job 26501924285.1
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26501924285
  • 0b1dfecb on github
  • Prev Job for on main (#26501519978.1)
  • Next Job for on main (#26502853584.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