Coverage calculation for C++ and Rust
@dcalavrezo-qorix is already working on this.
Since Jul 23, 2026.
Assessment
This issue has not been assessed yet.
Description
Currently issues with coverage calculation are observed across different Modules. We need a common solution that can be applied and used in reference_integration.
Problem definition
Mutual
- we need solution that is common and can be reused by everyone
- we need justifications when coverage != 100%, we need mechanisms to justify etc.
- tooling should support platform variants, allows justifications only for specific one, etc.
- tooling should allow easy use to developers and clear information where improvements are needed
- tooling will require certification but there is no other known alternative that will fulfill all our requirements
- tool requirements initially defined in https://github.com/eclipse-score/communication/pull/549
C++
- different frameworks have different statements definition - we need that aligned in SCORE
bazel coverageis not 100% reliable- PR with suggested changes as reference https://github.com/eclipse-score/communication/pull/549
- No other alternatives exist for our knowledge right now
Rust
- currently only line coverage is calculated
- ferrocene toolchain supports only Linux (QNX UTs don't work)
- there was a new PR in toolchains to support coverage in QNX @PiotrKorkus to check if that works
https://github.com/eclipse-score/bazel_cpp_toolchains/pull/62 - other coverages where quoted to ferrocene. Branch coverage would be possible to get with other open-source solutions
It should be possible to use a common tool for generating coverage for both languages.
Next steps
- Get QNX coverage working for C++
- Look into Rust coverage
- Rust and C++ report should have a combined report
- Dominant language
- Python
- Stars
- 5
- Forks
- 38
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 22
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-score/reference_integration
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
eclipse-score/reference_integration#264 · 1 comment ·
-
v0.8
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
v0.8
Difficulty 4/5 3-5 days Newbie friendliness 38/100
eclipse-score/reference_integration#244 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
FIT baselibs Openv0.8
Difficulty 3/5 1-2 days Newbie friendliness 42/100
All issues in eclipse-score/reference_integration
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100