RobertK66 / vsts-opencover

vsts extension to run and report coverage using nunit3 and OpenCover
MIT License
8 stars 0 forks source link

Summary caclulation does not match values of generated report #9

Open RobertK66 opened 8 years ago

RobertK66 commented 8 years ago

Comparing numbers from the report artifact with the percentage numbers of the TFS summary page shows differences.

Reason is that the TFS GUI plugin does calculate the numbers directly from result.xml. Interpretation of the result file is done different from the report generator. (e.g. "Lines" are not correctly counted only Sequence points are counted....)

RobertK66 commented 8 years ago

I have to find out in detail how to calculate the "Line" and "Branch" Coverage. Sequence points on the same line do count as one line. (But how is this line calculated if only a part of the sequence points have been visited !? ....