Repository navigation
Bump score_coverage to 0.2.0 - #589
Merged
Merged
Conversation
0.2.0 carries the fixes found on this repository's first reports (eclipse-score/coverage_tool#5): - headers of the forwarded OpenSSL library no longer count as baselibs code (72 external/openssl+ rows gone); - every row of the HTML report opens; files are named by their source path, the flatbuffers headers as external/flatbuffers+/include/...; - headers the futurecpp tests compile through futurecpp_internal are attributed to the library's declared headers (109 headers recovered); - library archives with a placeholder object no longer lose the 0 % baseline of their other files (15 files recovered); - in-scope files without any coverage data are listed in unmapped_files.txt and the job summary, categorised. Lockfile refreshed with bazel mod deps --lockfile_mode=update. Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com>
dcalavrezo-qorix
requested review from
4og,
arkjedrz,
fbaeuerle and
pawelrutkaq
as code owners
September 16, 2026 12:35
Contributor
|
Documentation preview for this pull request is available at: |
4og
approved these changes
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps
score_coverage0.1.0 -> 0.2.0 (registry release ofhttps://github.com/eclipse-score/coverage_tool) and refreshes
MODULE.bazel.lock.No other change; the scope, reporter wrapper and justification file from #584
stay as they are.
Why
The first reports produced by #584 with 0.1.0 showed four problems in the tool
(reported in #558 comments and eclipse-score/coverage_tool#5). 0.2.0 fixes them:
third_party/opensslwrapper forwards the library's CcInfo)bazel-out/.../_virtual_includes/...,external/...)futurecpp_internalnot attributed to the library.cppnext to real sources lost their 0 % baseline (llvm-cov rejects the whole archive)File names are now source paths: the vendored flatbuffers headers appear as
external/flatbuffers+/include/flatbuffers/*.hinstead of the generated_virtual_includes/path.New in 0.2.0:
unmapped_files.txtin the coverage artifact and a section inthe job summary list the in-scope files for which no coverage data exists
anywhere, categorised (
no-datafindings;declaration-onlyheaders;placeholder sources
compiled-without-code). On the whole tree baselibs has134
no-datafiles, 65 of them futurecpp templates no test instantiates,buffer_ref.hamong them. Release notes:https://eclipse-score.github.io/coverage_tool/main/release/release_notes.html
Verification
Whole tree with the 0.2.0 code,
bazel coverage --config=llvm_cov --build_tests_only -- //score/...with the CI exclusions, 300 tests: 640 files in the report, every index link
opens, 0
external/openssl+rows, 0 machine or configuration paths, raw linecoverage 87.76 %.
Against the registry release exactly as pinned here (no local override,
--lockfile_mode=error) on//score/hash/... //score/flatbuffers/... //score/language/futurecpp/...,88 tests: 554 index links, all open; 15 flatbuffers and 109 futurecpp headers
with data;
unmapped_files.txtpresent with the three categories.