Skip to content
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

Coverage not shown if lcov.info has many entries for the same file #103

Open
arkq opened this issue Sep 5, 2023 · 0 comments
Open

Coverage not shown if lcov.info has many entries for the same file #103

arkq opened this issue Sep 5, 2023 · 0 comments

Comments

@arkq
Copy link

arkq commented Sep 5, 2023

It seems that coverage is not displayed if lcov.info has many entries for the same file and the DA lines have different values - the entry that follows overwrites previous line count value (IMHO counts should be added from all entries), e.g.:

TN:
SF:/tmp/file.c
DA:1,13
end_of_record
TN:
SF:/tmp/file.c
DA:1,4
end_of_record
TN:
SF:/tmp/file.c
DA:1,0
end_of_record

In such case the line 1 will be reported as not covered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant