-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support region coverage on codecov #20
Comments
So it seems that codecov doesn’t support full branch coverage? (“region coverage“ is just branch coverage without ignoring that there can be multiple branch arms in one line, right?) Is there any tool other than |
Sorry, I can't understand the question. (See this LLVM patch for what branch coverage means in the LLVM source-based code coverage and for example report it generates.) |
Never mind the definitions: What I mean is that Oher tools will show e.g. the following as “covered” or “partially covered” because they work line-based: |
Ah, thanks for the clarification. I also don't know of other tools that actually show areas that are not covered. |
@taiki-e I am interested in potentially taking a stab at this. Do you already have a Rust deserialized version of |
Line 9 in ad889ca
|
IIRC, it will be empty list ( EDIT: cargo-llvm-cov/tests/fixtures/coverage-reports/real1/workspace_root_member2_manifest_path.full.json Line 6 in 7f9c9ee
|
So we would want to check a separate arg like cargo-llvm-cov/tests/auxiliary/mod.rs Lines 86 to 102 in 4c7c496
|
readme says:
However, we can probably support region coverage on codecov by converting llvm-cov's json coverage format to codecov's json coverage format.
related:
The text was updated successfully, but these errors were encountered: