-
Notifications
You must be signed in to change notification settings - Fork 4
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
lcov-diff produces too much data #4
Comments
I can't say I am an expert in lcov file format, but these are kind of strange files, I mean there are lines with zero coverage. So there is no coverage in both of your inputs. The tool doesn't remove the lines with If you generate HTML reports with Maybe it's a good idea to remove So you probably should just look at |
Is it possible to add support for the diff file to drop no-op changes as that allows us to get text based summaries versus HTML? |
Trying to make this run with an example:
/home/user/.cargo/lcov-diff test2.txt test1.txt -o textDiff.txt
The resulting textDiff.txt contains all the lines from test2 and some more instead of a true diff.
test1.txt
test2.txt
The text was updated successfully, but these errors were encountered: