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

nerves-project / property_table / 7c962115-073e-4449-b146-e87b57a2054a
93%

Build:
DEFAULT BRANCH: main
Ran 23 Dec 2024 07:52PM 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%
7c962115-073e-4449-b146-e87b57a2054a

push

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.

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 7c962115-073e-4449-b146-e87b57a2054a.1 23 Dec 2024 07:52PM UTC 8
93.4
CircleCI Job
Source Files on build 7c962115-073e-4449-b146-e87b57a2054a
  • Tree
  • List 8
  • Changed 5
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #7C962115...
  • c8c4b37f on github
  • Prev Build on rel-v0.2.6 (#92A564E0...)
  • Next Build on main (#505797F7...)
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