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

nlohmann / json / 34766479438
99%

Build:
DEFAULT BRANCH: develop
Ran 13 Sep 2026 04:18PM 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

13 Sep 2026 03:43PM UTC coverage: 97.813% (+0.001%) from 97.812%
34766479438

push

github

web-flow
Swap diagnostic positions in basic_json::swap() (#5493)

basic_json::swap() (and the friend swap() that forwards to it) only
exchanged m_data.m_type/m_data.m_value, leaving start_position/end_position
untouched under JSON_DIAGNOSTIC_POSITIONS. This is inconsistent with
copy-assignment's operator=(basic_json), which swaps positions as part of
its copy-and-swap implementation, so after swap(a, b) each value ended up
with the other value's content but its own original position.

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

2582 of 2801 branches covered (92.18%)

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

7334 of 7498 relevant lines covered (97.81%)

15633143.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34766479438.1 13 Sep 2026 04:18PM UTC 33
97.81
GitHub Action Run
Source Files on build 34766479438
  • Tree
  • List 33
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34766479438
  • c0b2878a on github
  • Prev Build on develop (#34713336213)
  • Next Build on develop (#34807128945)
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