Skip to content

feat: add primitive object code coverage tool#328

Draft
wucke13 wants to merge 4 commits intomainfrom
dev/add-coverage-tools
Draft

feat: add primitive object code coverage tool#328
wucke13 wants to merge 4 commits intomainfrom
dev/add-coverage-tools

Conversation

@wucke13
Copy link
Copy Markdown
Collaborator

@wucke13 wucke13 commented Mar 12, 2026

Pull Request Overview

Adds a simple library to record execution traces via the hook mechanism to measure statement and branch coverage.

TODO or Help Wanted

  • The integration with wasm-tools addr2line is really hacky.
  • We create more records than necessary
  • We need tests, and test programs to trace

Checks

  • Using Nix
    • Ran nix fmt
    • Ran nix flake check '.?submodules=1'
  • Using Rust tooling
    • Ran cargo fmt
    • Ran cargo test
    • Ran cargo check
    • Ran cargo build
    • Ran cargo doc

@wucke13 wucke13 marked this pull request as draft March 12, 2026 17:31
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.11%. Comparing base (d735bd3) to head (315bf66).
⚠️ Report is 13 commits behind head on main.

@@           Coverage Diff           @@
##             main     #328   +/-   ##
=======================================
  Coverage   74.11%   74.11%           
=======================================
  Files          43       43           
  Lines       10271    10271           
  Branches    10271    10271           
=======================================
  Hits         7612     7612           
  Misses       1303     1303           
  Partials     1356     1356           
Components Coverage Δ
interpreter 74.80% <ø> (ø)
checked 64.83% <ø> (ø)
linker 93.47% <ø> (ø)
interop 65.34% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@wucke13 wucke13 force-pushed the dev/add-coverage-tools branch from b2c954b to 4aae9b0 Compare March 13, 2026 16:29
Wanja Zaeske added 3 commits March 20, 2026 20:14
Adds a simple library to record execution traces via the hook mechanism
to measure statement and branch coverage.

Signed-off-by: Wanja Zaeske <wanja.zaeske@dlr.de>
Signed-off-by: Wanja Zaeske <wanja.zaeske@dlr.de>
This is a useful tool to conduct some quick testing.

Signed-off-by: Wanja Zaeske <wanja.zaeske@dlr.de>
@wucke13 wucke13 force-pushed the dev/add-coverage-tools branch from 4aae9b0 to 24488fd Compare March 21, 2026 12:04
wip
Signed-off-by: Wanja Zaeske <wanja.zaeske@dlr.de>
@wucke13 wucke13 force-pushed the dev/add-coverage-tools branch from 24488fd to 315bf66 Compare April 10, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant