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

futpib / parser / 24404849458 / 1
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2026 02:37PM UTC
Files 116
Run time 8s
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

14 Apr 2026 02:30PM UTC coverage: 90.765% (+0.4%) from 90.383%
24404849458.1

push

github

futpib
Add bash loops, conditionals, and functions modeled on ShellCheck AST

Adds AST nodes and parser/unparser/arbitrary support for while, until,
for-in, for-arithmetic, if/elif/else, case, and function declarations.
Design follows ShellCheck: separate for-in vs C-style for nodes, flat
elif chain rather than nested if-else, per-branch case terminator
(;; / ;& / ;;&), and function nodes that preserve surface syntax
(hasFunctionKeyword, hasParentheses) so all three forms round-trip.

To let compound-command parsers recognize their structural markers,
the simple-command parser rejects bash reserved words at command-name
position via word-boundary lookahead. The list separator `;` was
narrowed with negative lookahead so `;;`, `;&`, and `;;&` remain
available as case terminators rather than being eaten as plain
statement separators.

Property-based round-trip test extended to all new nodes; 14 focused
parser tests added covering each construct and a pipeline/nesting case.

4051 of 4653 branches covered (87.06%)

Branch coverage included in aggregate %.

19439 of 21227 relevant lines covered (91.58%)

419330.41 hits per line

Source Files on job 24404849458.1
  • Tree
  • List 116
  • Changed 20
  • Source Changed 3
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 24404849458
  • 02b7914a on github
  • Prev Job for on master (#23097771215.1)
  • Next Job for on master (#24997852226.1)
  • 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