coverlet-coverage / coverlet

Cross platform code coverage for .NET
MIT License
2.93k stars 385 forks source link

[BUG] I am getting 100% branch coverage but 0% line coverage #1563

Closed sa-y-an closed 7 months ago

sa-y-an commented 7 months ago

Describe the bug I am getting 100% branch coverage but 0% line coverage image Can anyone tell me how is this possible ?

Expected behavior Both line and branch coverage should be 0

Configuration (please complete the following information): Please provide more information on your .NET configuration:

Note

In the files I found in branch coverage, all branches showed 0% image

daveMueller commented 7 months ago

I think this has already been answered here: #1268 and #1384. Does this help?

sa-y-an commented 7 months ago

Thanks, I got my answer.