-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Discrepancy in %coverage shown by report generator vs visual studio 2015 #54
Comments
Please see this thread for an explanation: |
Thanks for the reply! On 7/22/16, Daniel Palme notifications@github.com wrote:
|
Yes the numbers are a bit different. I don't know exactly how VS counts lines here. Without a concrete example I can't tell. If you find a concrete class or line where ReportGenerator shows an invalid coverage, please create an issue with corresponding screenshots or reports attached. |
@danielpalme: Unfortunately, link is not longer available. Can you share the explantation here? |
@adam990i Since blocks and lines are not the same, the results may differ (23,70% <-> 25.29% coverage). ReportGenerator parses all source files to generate the reports. If one file does not exist (any more), the corresponding warning is generated. |
We used report generator to generate html report for coverage generated by VS(Visual Studio 2015 Enterprise).
VS shows different coverage(see snapshot) than report generated by report generator(see snapshot).
The .coverage file is same for both.
VS uses "codecoverage.exe" to generate .xml. So, we use the same to generate .xml (using command line). So, the .xml file is also same for both.
Report Generator Snapshot: (Line Coverage = 60.1%)
VS Snapshot: (Line Coverage = 58.59%)
Please look into the issue.
The text was updated successfully, but these errors were encountered: