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

mattwparas / steel / 17754291719
45%

Build:
DEFAULT BRANCH: master
Ran 16 Sep 2025 04:36AM UTC
Jobs 1
Files 118
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

16 Sep 2025 04:13AM UTC coverage: 43.289% (+0.06%) from 43.227%
17754291719

push

github

web-flow
implement the `(peek-char)` procedure (#516)

* add Peekable wrapper struct around input ports

currently this does not change anything in functionality, but providing
a wrapper struct around input ports, which can then in the future be
extended to hold a buffer. currently this only holds an Option to
provide the already existing byte-peeking behaviour.

it is a little unfortunate, that i still need the port_read_str_fn!
macro, as `Stdin` is not `: BufRead`, but still provides `read_line` and
`read_to_string` and, due to orphan rules, i cannot implement a function
for both `Peekable<R: BufRead>` and `Peekable<Stdin>`.

* add a 4-wide buffer to Peekable in preparation for peek-char

* implement peek-char

* add some port tests for (peek-byte), (peek-char), (read-char) etc

50 of 147 new or added lines in 4 files covered. (34.01%)

37 existing lines in 10 files now uncovered.

12408 of 28663 relevant lines covered (43.29%)

2996121.38 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
1.22
0.0% crates/steel-core/src/steel_vm/ffi.rs
4
21.33
-0.58% crates/steel-core/src/primitives/process.rs
7
66.28
2.39% crates/steel-core/src/primitives/ports.rs
85
36.25
6.5% crates/steel-core/src/values/port.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
55.62
2.47% crates/steel-core/src/primitives/numbers.rs
2
48.75
-0.5% crates/steel-core/src/compiler/compiler.rs
2
35.16
-0.11% crates/steel-core/src/rvals.rs
2
37.65
-0.19% crates/steel-core/src/values/closed.rs
2
60.44
-2.2% crates/steel-core/src/values/functions.rs
2
36.25
6.5% crates/steel-core/src/values/port.rs
3
40.99
-0.27% crates/steel-core/src/rvals/cycles.rs
6
55.25
-1.85% crates/steel-core/src/compiler/program.rs
8
33.21
-3.02% crates/steel-core/src/steel_vm/transducers.rs
9
31.5
0.0% crates/steel-core/src/primitives.rs
Jobs
ID Job ID Ran Files Coverage
1 17754291719.1 16 Sep 2025 04:36AM UTC 118
43.29
GitHub Action Run
Source Files on build 17754291719
  • Tree
  • List 118
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3c10433b on github
  • Prev Build on master (#17744889776)
  • Next Build on master (#17778568279)
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