Have you tried both of IntelliJ's coverage providers: emma and Intellij Is there a difference between the two in terms of results?
-Stephen On 2 April 2010 19:03, Tomas Pollak <[email protected]> wrote: > And keep in mind that "branch coverage" and "line coverage" are two > different metrics. > For more information: > http://en.wikipedia.org/wiki/Code_coverage > (they are referred to in Wikipedia as "statement" and "decision" coverage > resp.) > > Regards, > Tomas > > ------------------------------ > *From:* mraible <[email protected]> > *To:* [email protected] > *Sent:* Thu, April 1, 2010 5:57:49 PM > *Subject:* Re: [mojo-user] Cobertura Maven Plugin reports lower branch > coverage than IDEA Coverage > > > > > Wayne Fay wrote: > > > >> However, when I run the same test in IntelliJ (9.0.1 Ultimate), it says > I > >> have 100% methods covered and 98% of lines covered. Any ideas why > >> Cobertura > >> is giving inaccurate information? > > > > Does IntelliJ use Cobertura beneath the hood, or a different code > > analyzer? > > > > If theirs is different, there may be perfectly good reasons for the > > analysis results to differ due to variances in the analysis process > > itself, right? > > > > Wayne > > > > I believe IntelliJ uses a different analyzer. Below is the only thing I've > found related to Cobertura and IntelliJ. > > http://old.nabble.com/Using-Cobertura-in-IntelliJ-IDEA-td15287365.html > > I tried using Clover to see if Cobertura was reporting inaccurate > information and it seems to work much better. > > -- > View this message in context: > http://old.nabble.com/Cobertura-Maven-Plugin-reports-lower-branch-coverage-than-IDEA-Coverage-tp28102246p28113539.html > Sent from the mojo - user mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > >
