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

Files with NaN% show up as incomplete #8

Closed
polortiz4 opened this issue Feb 8, 2021 · 1 comment
Closed

Files with NaN% show up as incomplete #8

polortiz4 opened this issue Feb 8, 2021 · 1 comment

Comments

@polortiz4
Copy link

I have some files that have no code to be covered. In my case, java interface files: they have no code that needs coverage as some just implement interfaces.
This will lead to NaN% in amount of coverage. Koverage then highlights this as incomplete coverage when, really, there is nothing we're missing in it.

Is there a way to make it so these files aren't labelled as incomplete?

@polortiz4 polortiz4 changed the title Files with NaN% show up as red Files with NaN% show up as incomplete Feb 8, 2021
@tenninebt
Copy link
Owner

It is a bit surprising that a file without statements (actually executable line of codes) is on the results of the report (Should not be listed). In any case, I have added a fix, don't know yet when I will build the next version. I will try to publish the extension once I have a fix for #7. You should be able to get the extension directly from the market place.

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