eclipse-iceoryx / eclipse-iceoryx/iceoryx2

Adjust `internal/scripts/generate-coverage.sh` to use source-coverage

Open
#372 2 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Rust
Stars
2.5k
Forks
185
Avg merge
1d 23h
Merged PRs (30d)
47

Description

## Brief feature description

The current code coverage script is not yet perfectly configured to generate a branch coverage report.
Follow the documentation from:
* https://doc.rust-lang.org/rustc/instrument-coverage.html
* https://rustc-dev-guide.rust-lang.org/llvm-coverage-instrumentation.html

To adjust the script so that it generates a coverage report
* for the whole iceoryx2 workspace
* for every component individually, via CLI arguments
* for the C and C++ language bindings.

Contributor guide

Open the contributing guide

Research direction

Start with internal/scripts/generate-coverage.sh and the Rust coverage documentation linked in the issue. Check how the script currently selects targets, then verify that it can produce workspace-wide coverage, component-specific reports through CLI arguments, and reports for the C and C++ bindings; the script’s generated reports are the completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp, rust, shell
Domain
build-system, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.