In the nice html code coverage that clover generates , I did not see any specific code coverage for method and statement. I just have one number that is overall code coverage. I believe we would like to get the individual percentage for method and statement. I was actually surprised to find not to find one on the code coverage report. Do people use method or statement code coverage , if so how can I get it through clover html coverage report.
Yes, it's possible to have extra coverage metrics in the HTML report. You have to use <clover-report> task and declare the <current>/<columns> element in it.
<clover-report> <current outfile="report/html"> <format type="html"/> <columns> <coveredMethods format="%"/> <coveredStatements format="%"/> <coveredBranches format="%"/> <coveredElements format="bar"/> </columns> </current> </clover-report>
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork? We've compiled a list here, along with...
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!
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