Skip to content

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

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

Open
sirthias opened this issue Feb 1, 2015 · 3 comments
Open

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

sirthias opened this issue Feb 1, 2015 · 3 comments

Comments

@sirthias
Copy link

sirthias commented Feb 1, 2015

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
Copy link
Member

Yes it should be. I'll add that.

@marcopennekamp
Copy link

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
Copy link

devstuff commented Jan 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants