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

DrRataplan / xq-lsp / 26340748780
93%

Build:
DEFAULT BRANCH: main
Ran 23 May 2026 06:51PM UTC
Jobs 1
Files 16
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

23 May 2026 06:50PM UTC coverage: 93.108% (+0.02%) from 93.088%
26340748780

push

github

DrRataplan
fix: eliminate XQST0081 false positives from QT4 environment namespaces

The QT4 test runner was ignoring <environment ref="..."/> elements on test
cases. Those environments define namespace bindings (e.g. bin:, file:, err:)
that the XQuery processor would pre-declare but the query text doesn't contain.
Our findUndeclaredPrefixUsages diagnostic correctly flagged them, producing
728 spurious XQST0081 false positives in the snapshot suite.

Fix the runner to parse <environment name="..."> definitions from each
test-set file and the catalog, then inject their <namespace> bindings into
the analysis before running diagnostics. Also add the xml: prefix (always
predefined in XML/XQuery) to BUILTIN_PREFIXES.

Result: XQST0081 false positives 728 → 2 (the 2 remaining are xsi:nil in
schema-aware XQuery Update tests, a deliberate out-of-scope edge case).

https://claude.ai/code/session_01HN56Uoa5i1wisXsaaJxtLq

652 of 790 branches covered (82.53%)

Branch coverage included in aggregate %.

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

2347 of 2431 relevant lines covered (96.54%)

452933.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26340748780.1 23 May 2026 06:51PM UTC 16
93.11
GitHub Action Run
Source Files on build 26340748780
  • Tree
  • List 16
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26340748780
  • 8e96f921 on github
  • Prev Build on main (#26336981983)
  • Next Build on main (#26341894530)
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