From: Steven C. <ste...@re...> - 2010-12-30 16:09:36
|
I know the percentage is HORRIBLE. This is new feature development I'm working on. Getting it to work was a tough task alone, but testing with cobertura shows I have a lot of testing development to do! I was wondering if it should still produce 0% coverage, even though there are a few lines of code that are hit. If you want, I can take a look at the code base and provide a fix, and submit it. I've been wanting to contribute for a while now :) On 12/30/2010 2:26 AM, John W. Lewis wrote: > 3/2300 gives you 0.13%. I assume it is being rounded/truncated to the nearest percentage point. > > The most horrible thing about it is that there is no more than 1% coverage. :) > > I'm glad you got it working. > > -----Original Message----- > From: Steven Christou [mailto:ste...@re...] > Sent: Wednesday, December 29, 2010 7:25 PM > To: cob...@li... > Subject: [Cobertura-devel] Possible bug in html reporting file > > I believe I might have found a bug in the HTML format report. If you have a file that has about 3 lines of coverage, but contains about 2300 lines of code (I know this is HORRIBLE), it produces a result of 0% coverage. I assume it should be producing a result of 1%, because there still is coverage in the file, it's just not a lot of coverage. > Email Disclaimer: > http://www.redprairie.com/emaildisclaimer/ > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Cobertura-devel mailing list > Cob...@li... > https://lists.sourceforge.net/lists/listinfo/cobertura-devel > Email Disclaimer: http://www.redprairie.com/emaildisclaimer/ |