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

ConnectionMaster / json / 34779455506
98%

Build:
DEFAULT BRANCH: develop
Ran 13 Sep 2026 08:58PM 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: 96.281% (+0.001%) from 96.28%
34779455506

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%)

Branch coverage included in aggregate %.

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 34779455506.1 13 Sep 2026 08:58PM UTC 33
96.28
GitHub Action Run
Source Files on build 34779455506
  • 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 #34779455506
  • c0b2878a on github
  • Prev Build on develop (#34715852937)
  • Next Build on develop (#34820607084)
  • 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