Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

NCover calculation is not correct?

Anders Persson November 7, 2011

The calculation of NCover results are not correct. Iget the following figures

Line Rate 29.231%

Lines of code 2393

Lines executed 1399

lines not executed 994

I am not able to understand how one get 29.231% coverage from these values.

Furthermore I do not get ande Line rate in NCover. I get something they call Symbol Coverage and the same data, as gave the above values, will in NCovers tools be presented as 57% Symbol Coverage. (I open the same file as the one used by Bamboo)

If I look at this page:

http://docs.ncover.com/kb/ncover-trend-and-report-file-definition/

I find something called visited lines and unvisited lines. But I think you should use, if you not already do, the values according to how they present the calculation of the values. Symbol Coverage = vsp/(usp+vsp)

1 answer

1 accepted

0 votes
Answer accepted
Anders Persson November 16, 2011

Solved via Atlassian support.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events