The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Anders Persson
November 16, 2011

Solved via Atlassian support.

TAGS
AUG Leaders

Atlassian Community Events