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

romshark / jscan / 30398036131
98%
main: 99%

Build:
Build:
LAST BUILD BRANCH: tokenizer
DEFAULT BRANCH: main
Ran 28 Jul 2026 08:50PM UTC
Jobs 1
Files 4
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

28 Jul 2026 08:47PM UTC coverage: 98.287% (-0.4%) from 98.687%
30398036131

Pull #27

github

romshark
!refactor: Accept only string and []byte

Every type switch on the type parameter is now exhaustive, which removes
the unreachable default branches in Scan, ScanOne, Validate and
ValidateOne and fixes variantCheckAndReplace, which silently skipped
escaping for derived types.

!fix: Unescape object keys before RFC-6901 encoding them. A pointer
references the decoded member name, hence `{"a\/b":1}` and `{"a/b":1}`
now both yield /a~1b.

test: Add exhaustive, boundary and fuzz tests for keyescape.

BREAKING CHANGE: Types derived from string or []byte such as
json.RawMessage no longer satisfy the type parameter constraint and must
be converted at the call site. Pointer and ViewPointer now encode the
decoded key, hence keys containing JSON escape sequences produce
different pointers than before.
Pull Request #27: Tokenizer API

733 of 746 new or added lines in 4 files covered. (98.26%)

4 existing lines in 1 file now uncovered.

1836 of 1868 relevant lines covered (98.29%)

33624.1 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
98.22
tokenize.go

Coverage Regressions

Lines Coverage ∆ File
4
95.04
-2.79% jscan.go
Jobs
ID Job ID Ran Files Coverage
1 30398036131.1 28 Jul 2026 08:50PM UTC 4
98.29
GitHub Action Run
Source Files on build 30398036131
  • Tree
  • List 4
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30398036131
  • Pull Request #27
  • PR Base - main (#30386852643)
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