How does zephyr track files that are not included in code coverage at all? #59988
Unanswered
mkschreder
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Been looking at jobs responsible for coverage:
zephyr/.github/workflows/codecov.yaml
Line 95 in 69f7fd9
One question: what about files that are not covered at all?
This is a very real problem that results in false sense of security because the files that are not included into any test at all are also not included into the coverage report. This means that the coverage report can say "90% coverage" but in reality many files are not included so the actual coverage can be much lower. To find these files, one has to compare full list of files in the repository with the list of files in the coverage.info file. I don't see that zephyr is doing that anywhere.
Do we need to add this?
Beta Was this translation helpful? Give feedback.
All reactions