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

formalsec / smtml / 518
48%

Build:
DEFAULT BRANCH: main
Ran 05 Apr 2026 10:24AM UTC
Jobs 1
Files 12
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

05 Apr 2026 10:17AM UTC coverage: 44.784% (+0.06%) from 44.728%
518

push

github

filipeom
fix: lazier evaluation of naryop and proper symbolic string concat

Previously, to evaluate a naryop we started by checking if the list of
expressions contained only values. If so, we would perform another
traversal over the list to extract the actual values.
In the happy path this would cause two traversals over the list of
expressions.
To fix this we can iterate through the list and extract the values until
either one of two things occurs:

1. We reach the end of the list -> dispatch concrete evaluation
2. We get something other than a value -> stop

Doing this allows us to preserve the short-circuit evaluation of
naryops with symbolic arguments and also reduce a traversal during the
evaluation of concrete naryops.

This commit also addresses the previous incorrect simplification of the
operation `str.++` (string concatenation). Previously, we only joined
daisy-chained concatenation operators if the lists contained only two
arguments. This is wrong because the operator can take a list.
This resulted in expressions not being simplified when the operator was
used with 3 or more arguments.

5 of 15 new or added lines in 1 file covered. (33.33%)

966 of 2157 relevant lines covered (44.78%)

9.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
35.9
0.1% src/smtml/expr.ml
Jobs
ID Job ID Ran Files Coverage
1 518.1 05 Apr 2026 10:24AM UTC 12
44.78
GitHub Action Run
Source Files on build 518
  • Tree
  • List 12
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a7946592 on github
  • Prev Build on main (#517)
  • Next Build on main (#519)
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