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

shexjs / shex.js / 29377876197
75%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 12:03AM UTC
Jobs 1
Files 69
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 12:02AM UTC coverage: 74.553% (+0.1%) from 74.447%
29377876197

push

github

Eric Prud'hommeaux
validation: constraint-level debug events (design doc phase 5)

Both regex engines take an optional debugHooks argument to compile();
onConstraint fires each time the engine (re)considers a
TripleConstraint -- in eval-threaded-nerr's matchTripleConstraint and
in eval-simple-1err's TripleConstraintState transition -- with the
focus node and the candidate triples.  ShExValidator forwards a new
debugHooks option to compile, so any caller can watch the match loop.

shex-debug steps into them: constraint events pause one level below
their enclosing shape (s descends to constraint granularity, n skips
back to shape granularity), b LINE now prefers the constraint on the
line (falling back to the enclosing shape), and bp PREDICATE breaks on
every constraint with that predicate; node breakpoints match constraint
focus nodes too.

DebugHooks-test covers both engines: per-constraint events with
focus/candidate payloads, nested-shape re-evaluation, and
results-identical-without-hooks; the REPL tests grow constraint
stepping, position-breakpoint-on-constraint, and bp.  5082 passing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

2461 of 3886 branches covered (63.33%)

Branch coverage included in aggregate %.

78 of 82 new or added lines in 3 files covered. (95.12%)

3 existing lines in 1 file now uncovered.

5628 of 6964 relevant lines covered (80.82%)

6397.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
72.6
-0.51% packages/shex-cli/lib/ShExDebugRepl.js

Coverage Regressions

Lines Coverage ∆ File
3
72.6
-0.51% packages/shex-cli/lib/ShExDebugRepl.js
Jobs
ID Job ID Ran Files Coverage
1 29377876197.1 15 Jul 2026 12:03AM UTC 69
74.55
GitHub Action Run
Source Files on build 29377876197
  • Tree
  • List 69
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29377876197
  • 88387cd2 on github
  • Prev Build on main (#29377400062)
  • Next Build on main (#29398606181)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc