On Wednesday, February 15, 2017 at 3:25:00 AM UTC+1, [email protected] wrote: > > Thank you so much! I have one more question please suggest if I should > post this in another thread. > Yes, it is better to have separate threads for completely separate questions.
> I have used JaCoCo report (jacoco.exec) in SonarQube and Eclipse through > EclEmma and noticed that Eclipse shows roughly half coverage of what > SonarQube displays. Is there any setting required in Eclipse? As eclipse > has .java and .class files both so can that make this difference. Bear in mind that Generation of report requires exact same class files that were used to construct exec file - see http://www.jacoco.org/jacoco/trunk/doc/classids.html Eclipse uses own compiler (ECJ) to create class files and they are different from classes produced by javac. EclEmma allows to execute tests with coverage, so actually you don't need to import existing exec file. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/a5f4837b-2ce0-4739-8356-f4ab45075391%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
