Skip to content

Lower coverage reported than Visual Studio #1029

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

Closed
subramaniamb opened this issue Dec 30, 2020 · 6 comments
Closed

Lower coverage reported than Visual Studio #1029

subramaniamb opened this issue Dec 30, 2020 · 6 comments
Labels
stale waiting for customer Waiting for customer action

Comments

@subramaniamb
Copy link

I have a query on the coverage reported by coverlet. In my Xamarin project, the coverage reported by Visual Studio with the runsettings is 80% where as the coverage reported by coverlet with the same runsettings is 44%. I am unable to figure out the root cause. @MarcoRossignoli : Could you please help?

@MarcoRossignoli MarcoRossignoli added the waiting for customer Waiting for customer action label Dec 30, 2020
@MarcoRossignoli
Copy link
Collaborator

MarcoRossignoli commented Dec 30, 2020

Can you try to compare the report generated by visual studio and for instance https://github.com/danielpalme/ReportGenerator (for coverlet report)

I mean to understand which pieces of code are different.

@subramaniamb
Copy link
Author

subramaniamb commented Dec 31, 2020

@MarcoRossignoli : Really appreciate your quick response.

On comparing the report with VS, I could see that the folders/files excluded in runsettings is not being considered. Also, noticed that the coverage is same with/without runsettings. Any thoughts?

@mmuecke
Copy link

mmuecke commented Jan 14, 2021

I have the same issue.
You can find an example here: mmuecke/RxMQTTnet#18
In VS 100% and 84.21% with coverlet collector (https://codecov.io/gh/mmuecke/RxMQTTnet/compare/dc6b99f4e2024a2a37feb83651c3b4022626e236...cc663c761b2117d3445d4b3ba0aa7d384a6e5bfe/changes)

@MarcoRossignoli
Copy link
Collaborator

@mmuecke I think you issue is different, you're using version 3.0.0 and there is a bug we found and fixed, well release 3.0.1 soon #1037

@github-actions
Copy link

This issue is stale because it has been open for 3 months with no activity.

@github-actions github-actions bot added the stale label Sep 24, 2023
Copy link

This issue was closed because it has been inactive for 9 months since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale waiting for customer Waiting for customer action
Projects
None yet
Development

No branches or pull requests

3 participants