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

jallum / flatbuffer / 686b8bbe4a0dd4d8a3c8add6b3c75c55c6876251-PR-12
99%
main: 100%

Build:
Build:
LAST BUILD BRANCH: fix/fb-3lk-codegen
DEFAULT BRANCH: main
Ran 31 Aug 2026 05:07PM 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:06PM UTC coverage: 99.327% (+0.9%) from 98.43%
686b8bbe4a0dd4d8a3c8add6b3c75c55c6876251-PR-12

Pull #12

github

jallum
Cover error paths for union vectors and mismatched schemas

## 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 (an unrecognized field type, or a missing table
definition).

## 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.

Claude-Session: https://claude.ai/code/session_014wfX6262n6A6qBPCXEo6Gz
Pull Request #12: Cover error paths for union vectors and mismatched schemas

443 of 446 relevant lines covered (99.33%)

52.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 686b8bbe4a0dd4d8a3c8add6b3c75c55c6876251-PR-12.1 31 Aug 2026 05:07PM UTC 8
99.33
GitHub Action Run
Source Files on build 686b8bbe4a0dd4d8a3c8add6b3c75c55c6876251-PR-12
  • Tree
  • List 8
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #12
  • PR Base - main (#3ECCF87E...)
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