Skip to content
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

Couldn't find the difference between line and statement coverage? #407

Closed
2creativeSolutions opened this issue Jul 17, 2015 · 1 comment
Closed

Comments

@2creativeSolutions
Copy link

coveragereport

The result for both line and statement coverage comes always same. I didn't find any appropriate answer for this question.

If both are same, then is there any option to get only one ether line or coverage to avoid the confusion?

@gotwarlost
Copy link
Owner

It can only be different of you have more than one statement on one line. Statement coverage is a more accurate indicator of coverage - line coverage is to support existing coverage tools that rely on line level info

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

2 participants