-
Notifications
You must be signed in to change notification settings - Fork 39
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
how to infer stmts,miss coulms? #76
Comments
It's hard for me to tell without a working test case. But I am confused about what you are confused about. ;) First you say:
Just to be clear, the row that shows +60% increment is But from what I see in the report it looks like So overall in And the TOTAL I believe it's also relative to the changes, so when you have +454.58% of improved coverage, this really means that the coverage of your app increased by about 4.5x than what it used to be in the previous version. Does that make sense? |
yeah @aconrad
few more queries:
|
For 1, I'm not sure why the "stmts" col is empty, it might be a bug. Wanna look into it? For 2, maybe we should show the total percentage increase for the file instead of the relative increase (which, yes, is harder to reason about). Want to look into that too? ;) If you do, please submit 2 separate pull requests! |
all right, i'm digging and will come up with PR |
A recent change has been merged that might be related to what you were observing, see #132 I don't know if that bug was a root issue to the other symptoms you were seeing. |
man @aconrad love you for this awesome work. it saved a lot of my time.
though I'm finding it strange at numbers to understand (1st 3 columns)
Am I missing something or is it a bug ?
Context
Observe, the "Missing" column gives perfect line numbers but the "stmts" & "miss" are hard to make information. Ex. 2nd row, it looks like total 7 lines are added, and 1 line is got covered but if you see "Misses" column, 2 lines are not covered yet
See down almost rows have this behavior.
It gives perfectly if the complete file is uncovered or not touched between builds.
here is one sample I have created to understand it better, but this is also confusing ex. 2nd row shows +60% increment which is wrong because have added 2 functions (printll & printll2) without test covered so should be showing decreased
The text was updated successfully, but these errors were encountered: