-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feat: provide function/method in coverage overview #23
Comments
Had a look are the lcov, my understand is that when I comes to functions/methods, you don't have line details. You only have hits (How many tests passed by) and start line. Maybe I got it wrong. |
I see the same and that would be much better than "nothing". Anything more would need knowledge of "where does the function/method end" and then a look in "how much lines have coverage data passed/missed", then calculate a coverage in %. That would be even much more useful, but not sure how hard that would be to implement vs. the lcov way (... or add both with a setting/toggle what to show). |
Well, it seems that the end line is never there (We could cross match with the lines if we had start and end). Finding the end line is out of scope for this project if not specified in the coverage data. |
The "minimal" implementation for showing this for lcov generated data would be:
|
(which possibly is not always in the coverage data, but if it is that would be nice)
The text was updated successfully, but these errors were encountered: