From: Satyanarayana <rag...@ya...> - 2011-03-25 12:36:03
|
Hi Casey, We have used Javc compiler in both the occasions (with old cobertura version and with new cobertura version), and the results are different. Is there any change that is made to new version of cobertura ? Why are the results different when compared to old version ? Satya --- On Fri, 3/18/11, Casey McGinty <cas...@gm...> wrote: From: Casey McGinty <cas...@gm...> Subject: Re: [Cobertura-devel] Issue with latest cobertura code coverage metrics To: "Satyanarayana" <rag...@ya...> Cc: cob...@li... Date: Friday, March 18, 2011, 12:54 AM I noticed a similar problem. It was not related to change in Cobertura though so maybe your issue is different. I determined that using Eclipse vs Javc compiler would give different results. When compiling with eclipse, multiline code would be counted as more than one statement. So you may want to check that. I would make sure you compile with javac and retest your result. - Casey 2011/3/16 Satyanarayana <rag...@ya...> Hi, We are finding that the code coverage metrics reported by previous version and new version of cobertura (1.9.4.1) are inconsistent. When we ran automation regression suite using previous version of cobertura we observed that the total code coverage % was reported as 31%. Later when we took latest version of cobertura ((1.9.4.1) and when we ran the same automation regression suite as above, we are seeing that the total code coverage % metrics are reported as 11% Regards, Satya ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Cobertura-devel mailing list Cob...@li... https://lists.sourceforge.net/lists/listinfo/cobertura-devel |