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

'Intervals' are not calculated properly #40

Open
vitaliimelnychuk opened this issue Apr 21, 2021 · 2 comments
Open

'Intervals' are not calculated properly #40

vitaliimelnychuk opened this issue Apr 21, 2021 · 2 comments
Assignees

Comments

@vitaliimelnychuk
Copy link
Member

src/lcov.js responsible to build grouped array of lines that are not covered but it's broken once we have empty lines.

Would be great if we avoit this and have the full interval of uncovered lines without considering empty line as 'covered'

@vitaliimelnychuk vitaliimelnychuk self-assigned this Apr 21, 2021
@vitaliimelnychuk
Copy link
Member Author

It's happening with Node.js applications that are using jest or coverage to generate coverage lcov files.

@vitaliimelnychuk
Copy link
Member Author

Screenshot 2021-10-30 at 11 15 36

As an example, we can use this screenshot. All messages should be grouped into one instead as it doesn't make sense to consider empty space as not covered the line in this case.

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

1 participant