-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Show branch stats, not just percentages #364
Comments
In general a good idea. The problem is the limited space. Would a tooltip be helpful for you? |
A tooltip would be good. If the number of uncovered branches is on the summary, the number changing would get my attention where a tooltip would not. Perhaps it should only be shown if there are uncovered branches. |
What do I have to do to see the history chart? I guess I'm going to ask for a tooltip as it's better than nothing. I do understand the issue with command line parameters. How about an environment variable :) |
To see the history add the Environment variables are even worse :-) They are not discoverable. I will add a tooltip in the next release. |
Perhaps the uncovered branch count could appear in the area reserved for the history chart if that's not been requested? So if -historydir is not present it could show the number of uncovered branches (if greater than zero)? If -historydir is present, it's only available as a tooltip? |
Release 4.6.3 adds the tooltips. I don't like the idea with Perhaps I'll add two additional columns to the table in the future. Still a space problem. But at least it would be easy to understand. |
Could there be a command line option to change % values to fractions? Instead of seeing 88.5%, it would show 23/26. BTW I've just downloaded v4.6.4 but I can't see any tooltips in the report. Using Firefox v79.0. Do I need to change my configuration? |
Tooltip works fine for me with Firefox: Sample reports: https://github.com/danielpalme/ReportGenerator/blob/master/docs/resources/SampleReports.zip I thinking about a radio button to switch between percentage / ratio. |
OK. I can see them now. Apparently I have to stop moving the mouse before Firefox will show them. Radio button sounds good. Have a great time on holiday. |
I finally added two additional columns in release 4.6.5: |
Thanks very much. Just tried it, it's perfect :) |
The coverage report summary screen shows the branch coverage % for each file. Unfortunately due to async statements in my code I end up with some branches I can't cover. For a particular file I know that 3 branches aren't covered. As I add code to the file it would be really useful if I could see those statistics (covered branches / total branches). This way I would know if they differed by 3 I'd covered all the other branches from the summary page. I realise there isn't much room on the report, so I'd be happy with 29/32 90%.
Earlier today the branch coverage for the file was 25/29 86% and it wasn't obvious I hadn't covered one of the branches but there is a difference of 4, (which can be determined from the statistics when clicking on a file but not on the summary screen).
In fact while writing this I realise that if space is tight, just reporting the number of uncovered branches for each file would give me what I'm after.
I'm using VS2019, AltCover and .NET v4.7.2 if that makes any difference.
The text was updated successfully, but these errors were encountered: