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

jallum / flatbuffer / ba01e18afb381b36f5a2289da21b7b7681954f2a
100%

Build:
DEFAULT BRANCH: main
Ran 31 Aug 2026 05:49PM 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

31 Aug 2026 05:48PM UTC coverage: 99.327% (+0.9%) from 98.43%
ba01e18afb381b36f5a2289da21b7b7681954f2a

push

github

web-flow
Cover error paths for union vectors and mismatched schemas (#12)

## Why

Four reachable error branches had no tests: the writer's handling of
union vectors (which the schema parser accepts but the writer cannot
encode), and `get/4`'s defense against a schema whose entities disagree
with the buffer.

## What

- Writing a vector of unions throws `wrong_type` per element; writing an
empty one throws `unknown_scalar` when sizing the elements.
- `get/4` raises `BadFlatbufferError` when the schema names a field type
reading does not recognize, and when the table definition for the path
is absent from the schema.

Coverage rises from 98.5% to 99.3%; `access.ex` and `reading.ex` reach
100%. The three remaining uncovered lines are defensive clauses
unreachable through any parseable schema (`sizeof` for
vectors-of-vectors, which the grammar rejects, and the writer's
bare-atom `without_default`/`alignment` fallbacks).

https://claude.ai/code/session_014wfX6262n6A6qBPCXEo6Gz

443 of 446 relevant lines covered (99.33%)

52.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ba01e18afb381b36f5a2289da21b7b7681954f2a.1 31 Aug 2026 05:49PM UTC 8
99.33
GitHub Action Run
Source Files on build ba01e18afb381b36f5a2289da21b7b7681954f2a
  • Tree
  • List 8
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ba01e18a on github
  • Prev Build on main (#3ECCF87E...)
  • Next Build on main (#14E141AC...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc