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

nerves-project / property_table / 41694884-e29b-4e33-83da-6dd21ce1e693
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: dependabot/hex/credo-1.7.15
DEFAULT BRANCH: main
Ran 21 Dec 2024 05:53AM UTC
Jobs 1
Files 8
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

21 Dec 2024 05:45AM UTC coverage: 93.403% (+0.1%) from 93.286%
41694884-e29b-4e33-83da-6dd21ce1e693

Pull #98

circleci

fhunleth
Use exception structs; add raising persistence functions

There was a pattern to match against `:ok` everywhere which
would lead to match errors obscuring the file I/O errors causing them.
This adds raising versions of the persistence versions so that all
of those matches aren't needed.

This had a side effect of requiring consistent use of exception structs
so that bare atoms weren't being raised. This made it possible to
tighten specs.

BREAKING CHANGE: snapshot functions now raise if persistence isn't
enabled. They used to return `:noop`, but this forced more `:ok = `
matching to satisfy Dialyzer. Since this feels more like the programmer
made a mistake about not enabling persistence, `:noop` is now an error.
Pull Request #98: Use exception structs; add raising persistence functions

23 of 26 new or added lines in 4 files covered. (88.46%)

269 of 288 relevant lines covered (93.4%)

13.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.93
-0.53% lib/property_table.ex
1
97.56
1.26% lib/property_table/persist.ex
1
91.67
0.0% lib/property_table/updater.ex
Jobs
ID Job ID Ran Files Coverage
1 41694884-e29b-4e33-83da-6dd21ce1e693.1 21 Dec 2024 05:53AM UTC 8
93.4
CircleCI Job
Source Files on build 41694884-e29b-4e33-83da-6dd21ce1e693
  • Tree
  • List 8
  • Changed 5
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #41694884...
  • Pull Request #98
  • PR Base - main (#3EB7280A...)
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