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

steve-downey / transcode / 41334883354
71%

Build:
DEFAULT BRANCH: main
Ran 01 Nov 2026 06:10PM UTC
Jobs 1
Files 45
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

01 Nov 2026 06:06PM UTC coverage: 73.725% (-0.1%) from 73.847%
41334883354

push

github

steve-downey
Silence GCC-16 -O3 warnings in the UTF-16 and GB18030 decoders

decoder::flush() decodes pending state by calling decode_one on an empty
range spelled as a pair of null pointers. GCC-16 at -O3 propagates that
null into utf16_decode_one's byte reads, concludes the input is a
zero-length array at address zero, and emits -Warray-bounds for every
dereference it cannot prove dead — 177 across the UTF-16 instantiations
built by bench-report's `--target all`.

Guard the no-pending branch of utf16_decode_one with its real
precondition, current != end, so the empty-range reads are provably
unreachable; this also makes decode_one safe against an empty range
rather than relying on callers never passing one.

Zero-initialize gb18030_decode_one's 4-byte buf to clear a
-Wmaybe-uninitialized false positive: the inner decode reads only
[buf, buf+count), all written, but the optimizer cannot see that bound.

4 of 5 new or added lines in 2 files covered. (80.0%)

3 existing lines in 1 file now uncovered.

2096 of 2843 relevant lines covered (73.72%)

186127.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.48
-2.02% include/beman/transcode/detail/utf16.hpp

Coverage Regressions

Lines Coverage ∆ File
3
82.61
-1.0% benchmark/benchmark_fixture.cpp
Jobs
ID Job ID Ran Files Coverage
1 41334883354.1 01 Nov 2026 06:10PM UTC 45
73.72
GitHub Action Run
Source Files on build 41334883354
  • Tree
  • List 45
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41334883354
  • 15705a26 on github
  • Prev Build on main (#41328253560)
  • Next Build on main (#41345981327)
  • 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