scoverage / scalac-scoverage-plugin

Scoverage Scala Code Coverage Core Libs
https://github.com/scoverage
Apache License 2.0
425 stars 126 forks source link

Pattern matches not counted as "Branches" in coverage report #96

Open sirthias opened 9 years ago

sirthias commented 9 years ago

In the HTML table listing lines, methods, statements and Branches along with their coverage percentage for every class pattern matches are not counted as branches. This can result in misleading coverage data.

I'd expect each case-branch of a pattern match be counted as a branch.

sksamuel commented 9 years ago

Yes it should be. I'll add that.

marcopennekamp commented 6 years ago

Is this still being considered? I'm using scoverage in a very match-heavy project and would love to get more accurate branching coverage.

devstuff commented 2 years ago

My current project has been hit by this behavior. Anyone working on this?