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

afxres / binary-rust / 45206572650
92%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 03:34PM UTC
Jobs 1
Files 15
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

23 Nov 2026 03:33PM UTC coverage: 92.71% (+4.9%) from 87.833%
45206572650

push

github

afxres
Close the measured coverage gaps

Line coverage 85.26% -> 90.13% (2076 lines, 1871 hit, 205 missed), tests
150 -> 162. The gaps came from the per-line lcov data, and every added test
covers a real behaviour rather than a bare line:

- `usize` / `isize` had no test at all, not even an `encode` round trip.
- Raw `&[u8]`, the variable-length header of `[String; N]`, a failure in the
  middle of array decoding, an unknown `Option` tag, `Decoder::peek_byte`
  (never called), the borrowed `Encoder`'s `finish` and `Debug`, and the bulk
  write that follows the 128-byte reservation of the owned encoder.
- `ErasedError::source` and the `None` branch of `Error::source`.
- `rename` literal parsing in the derive: escape sequences, `\xNN`, `\u{...}`,
  raw strings and line continuations.

The remaining 205 lines are not a test shortage: `array_len` / `tuple_len` are
`const fn` evaluated at compile time, the 21 lines in `primitives.rs` only
exist for big-endian builds, `LengthTooLarge` needs a payload over 2 GiB, and
most of what is left in the derive is diagnostics that each need a
compile-fail fixture.

`run-coverage.sh` also returned zero when the tests failed: `set -uo pipefail`
has no `-e` and the last command is a `sed`, so the cargo failure was
swallowed. Add `-e`, otherwise the CI step stays green no matter what.

1844 of 1989 relevant lines covered (92.71%)

139.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45206572650.1 23 Nov 2026 03:34PM UTC 15
92.71
GitHub Action Run
Source Files on build 45206572650
  • Tree
  • List 15
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45206572650
  • e2c73346 on github
  • Prev Build on main (#45193380755)
  • Next Build on main (#45410128003)
  • Delete
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