I discovered, that "Line Rate", "Lines of Code", "Lines Executed", "Lines Not Executed" in NCover Code Coverage results don't present right values, their values actually correspond to sequence points coverage, not line coverage. I think, I found the problem code, class: NCoverReportParser, method: parse https://bitbucket.org/atlassian/bamboo-dotnet-plugin/src/default/src/main/java/com/atlassian/bamboo/plugin/dotnet/ncover/NCoverReportParser.java
linesOfCode = getLongValueFromNode(document, "count(//seqpnt)");
linesExecuted = getLongValueFromNode(document, "count(//seqpnt[not(@vc=0 or @visitcount=0)])");
lineRate = linesExecuted.doubleValue() / linesOfCode.doubleValue();
"Lines of code" is just a number of sequence points from this code, but this is wrong. Is there any hope that it can be fixed? Thanks in advance.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events