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

ConnectionMaster / json / 34523863486
98%

Build:
DEFAULT BRANCH: develop
Ran 10 Sep 2026 09:56PM UTC
Jobs 1
Files 33
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

10 Sep 2026 03:59PM UTC coverage: 96.992% (-0.3%) from 97.301%
34523863486

push

github

web-flow
Fix to_bjdata() silently truncating out-of-range _ArrayData_ elements (#5473)

write_bjdata_ndarray() validated that each _ArrayData_ element matched
the number kind (integer vs. float) named by _ArrayType_, but not its
range. An element that did not fit the target C++ type (e.g. 256 for
"uint8") was silently wrapped by the static_cast used to write it, or,
for "single", silently overflowed to infinity.

Range-check each element against the type named by _ArrayType_ before
writing it, reusing the existing fallback path that already encodes
the annotated object as a plain object for other invalid-annotation
cases in this function.

Fixes #5403.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>

2491 of 2681 branches covered (92.91%)

Branch coverage included in aggregate %.

41 of 41 new or added lines in 1 file covered. (100.0%)

17 existing lines in 3 files now uncovered.

7054 of 7160 relevant lines covered (98.52%)

15671067.67 hits per line

Coverage Regressions

Lines Coverage ∆ File
13
96.72
-0.81% include/nlohmann/json.hpp
3
98.12
-0.51% include/nlohmann/detail/input/lexer.hpp
1
98.71
-0.84% include/nlohmann/detail/input/input_adapters.hpp
Jobs
ID Job ID Ran Files Coverage
1 34523863486.1 10 Sep 2026 09:56PM UTC 33
96.99
GitHub Action Run
Source Files on build 34523863486
  • Tree
  • List 33
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34523863486
  • bfb07786 on github
  • Prev Build on develop (#34452943565)
  • Next Build on develop (#34666500751)
  • 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