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

jackfirth / resyntax / #578
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 22 Jul 2026 01:44AM UTC
Jobs 1
Files 164
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

22 Jul 2026 12:32AM UTC coverage: 96.59%. First build
#578

Pull #841

cover

jackfirth
Stop traversing whole subtrees to decide if syntax is one line or many

`oneline-syntax?` and `multiline-syntax?` were implemented by counting every
distinct source line among all the atoms in a syntax object, using a
`syntax-search` stream fed through a rebellion transducer pipeline. Neither
caller needs an exact count, and both build a lazy stream over the entire
subtree even when the second line is found immediately.

Counting directly with a recursive traversal that stops at two distinct lines
cuts analysis time for `xrepl-lib/xrepl/xrepl.rkt` (1877 lines) from ~78 seconds
to ~65 seconds.

The traversal deliberately mirrors `syntax-search`'s shape, including its
handling of improper lists and its treatment of non-list, non-atom syntax (such
as vectors) as having no lines at all. Both implementations were run against
every subform of several large source files, plus hand-built edge cases, with
identical results on all 28,585 syntax objects.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #841: Stop traversing whole subtrees to decide if syntax is one line or many

25 of 26 new or added lines in 1 file covered. (96.15%)

17504 of 18122 relevant lines covered (96.59%)

0.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.06
default-recommendations/private/syntax-lines.rkt
Jobs
ID Job ID Ran Files Coverage
1 #578.1 22 Jul 2026 01:44AM UTC 164
96.59
Source Files on build #578
  • Tree
  • List 164
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #841
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