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

spdx / tools-golang / 29457529062
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/setup-go-7
DEFAULT BRANCH: main
Ran 15 Jul 2026 11:06PM UTC
Jobs 1
Files 138
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 Jul 2026 11:05PM UTC coverage: 86.517% (+0.05%) from 86.471%
29457529062

Pull #292

github

arpitjain099
rdf: check endPointerTriples in the snippet range end pointer guard

The guard ahead of endPointerTriples[0] tests len(startPointerTriples)
instead, which the previous block has already validated, so it always
passes. Its own error message says endPointer, which is what it was
meant to check.

A range node with a valid startPointer and no endPointer clears every
earlier check (3 associated triples, exactly 1 rdf:type, exactly 1
startPointer) if the third triple is some other predicate, and then
indexes an empty slice. That panics the parser on malformed RDF input
rather than returning the intended error.

Same line was wrong in v2_2 and v2_3, so both are fixed here.

The existing 0-endPointer test case actually had two endPointers and no
startPointer, so it tripped the startPointer guard and never reached
this branch. Rewrote it to match what it says it covers.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
Pull Request #292: rdf: fix end pointer guard checking the wrong slice in snippet range parsing

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

7578 of 8759 relevant lines covered (86.52%)

18.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29457529062.1 15 Jul 2026 11:06PM UTC 138
86.52
GitHub Action Run
Source Files on build 29457529062
  • Tree
  • List 138
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #292
  • PR Base - main (#29130292506)
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