NCover calculation is not correct?

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:

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

This widget could not be displayed.

Solved via Atlassian support.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

213 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you