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

nlohmann / json / 38783114323
98%

Build:
DEFAULT BRANCH: develop
Ran 15 Oct 2026 07:20PM UTC
Jobs 1
Files 38
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

15 Oct 2026 06:08PM UTC coverage: 98.165% (-0.4%) from 98.526%
38783114323

push

github

web-flow
Fix AppVeyor failures from the Zmij double writer (#5843)

MSVC 2015 warns C4554 on the shifts with casts in the fractional part
of zmij::to_shortest despite the parentheses; with /WX every target
fails to build. Name the shift amounts as constants instead.

The shortest-digits test built the candidates with one digit fewer via
a stream with std::setprecision(digits.size() - 2); the standard library
of MSVC 2017 ignores a precision of 0, so for two-digit values the
"shorter" candidates were the value itself. Truncate the digits
instead: the value lies within half a unit of the last digit, so the
truncated digits and their successor are the closest candidates.

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

3506 of 4043 branches covered (86.72%)

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

125 existing lines in 9 files now uncovered.

9521 of 9699 relevant lines covered (98.16%)

7155600.44 hits per line

Coverage Regressions

Lines Coverage ∆ File
70
96.84
-0.77% include/nlohmann/json.hpp
19
94.08
0.07% include/nlohmann/detail/input/number_parse.hpp
15
98.76
-0.41% include/nlohmann/detail/input/binary_reader.hpp
9
98.13
-1.59% include/nlohmann/detail/json_pointer.hpp
6
85.71
-14.29% include/nlohmann/detail/value_t.hpp
2
99.41
0.01% include/nlohmann/detail/input/json_sax.hpp
2
99.63
0.35% include/nlohmann/detail/output/serializer.hpp
1
95.12
0.0% include/nlohmann/detail/meta/type_traits.hpp
1
97.62
-2.38% include/nlohmann/detail/string_escape.hpp
Jobs
ID Job ID Ran Files Coverage
1 38783114323.1 15 Oct 2026 07:20PM UTC 38
98.16
GitHub Action Run
Source Files on build 38783114323
  • Tree
  • List 38
  • Changed 16
  • Source Changed 16
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38783114323
  • b41228c2 on github
  • Prev Build on develop (#38598423994)
  • Next Build on develop (#38804587597)
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