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

antchfx / xpath / 21992530923
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: fix-group-predicate-last
DEFAULT BRANCH: master
Ran 13 Feb 2026 03:31PM UTC
Jobs 1
Files 8
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 Feb 2026 03:26PM UTC coverage: 78.078% (+0.07%) from 78.01%
21992530923

Pull #120

github

mislav
Fix last() predicate on grouped expressions

When evaluating expressions like (//author)[last()], the last() function
was counting sibling nodes per-parent instead of counting the total nodes
in the grouped result set. This caused incorrect matches when group
members came from different parent nodes.

The fix ensures that b.firstInput is always set to the groupQuery in the
nodeGroup case, and adds handling for *groupQuery in the lastFuncQuery
conversion, using a cloned query to avoid consuming the shared input.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #120: Fix last() predicate on grouped expressions

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

2315 of 2965 relevant lines covered (78.08%)

240.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21992530923.1 13 Feb 2026 03:31PM UTC 8
78.08
GitHub Action Run
Source Files on build 21992530923
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #120
  • PR Base - master (#19222140769)
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