From: KARR, D. <dk...@at...> - 2012-08-27 20:55:18
|
> -----Original Message----- > From: Daniel Zapata [mailto:dz...@gm...] > Sent: Monday, August 27, 2012 11:23 AM > To: KARR, DAVID > Cc: cob...@li... > Subject: Re: [Cobertura-devel] Where is a doc that explains details of > the cobertura report? > > I have not found such a doc, but I did spend some time studying them. > Anyone else, please correct me if I am wrong. > > Basically, any line with a color is eligible for coverage. That > second column tells you how many times a line was executed. A line is > completely green (all columns, from the line number to the code) if > that line is fully covered. This means all the conditions of that > line have been executed (like an if condition). If the line number is > green but the execution count+code is red, that line has not been > fully executed. > > When I look at the class coverage report, I look for zeroes in the > second column to see where I should focus my coverage. > > Hope that helps, > Danny Yup, that helps. It seemed pretty likely that's what the value indicated, but as I found nothing anywhere that stated this, I wanted to confirm that. I suppose I could dig into the source code, but you would think someone would have written this down somewhere. > On Fri, Aug 24, 2012 at 4:01 PM, KARR, DAVID <dk...@at...> wrote: > > I've seen several pages that show how to generate the cobertura > coverage report, but it seems hard to find something that specifies > exactly what it generates and what all of the values mean. > > > > The vast majority of it is pretty obvious, but there's one thing that > is not completely obvious. When viewing the coverage within each file, > the first column shows line numbers. The second column is either blank > or a number. I'm guessing this number is something like an occurrence > count, but there aren't any labels on the display, and I can't find any > documentation that says exactly what this value represents. > > > > --------------------------------------------------------------------- > --------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > Discussions > > will include endpoint security, mobile security and the latest in > malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > Cobertura-devel mailing list > > Cob...@li... > > https://lists.sourceforge.net/lists/listinfo/cobertura-devel |