Code Coverage

Category: visual studio diagnostics


Priyanksoniy2k on Tue, 02 Sep 2014 21:38:02


We are merging code coverage from different machines and merging them. We want to know  : Is the merged result the average of the individual coverage or there is some other logic used for computation?

so let's say there are 'n' coverage files having different coverage result.

so is the merged result = (sum of coverage of each result)/ n   ??




Jack Zhai-MSFT on Fri, 05 Sep 2014 10:50:16

Hi Priyank,

As far as I know, it doesn't support with VS IDE, we just could export a code coverage file in VS IDE like the following screen shot.

Maybe you could write a custom app for merging code coverage files.

Programmatic Code Coverage Data Merging in Visual Studio 2010

Best Regards,