--Hoffmann
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/73b89dc2-eaec-47ec-bc91-a6682fad641d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Yashwanth,
regarding your questions
1) Yes, this is a known limitation. As a work around for such scenarios we offer offline istrumentation (http://www.eclemma.org/jacoco/trunk/doc/offline.html).
2) This most likely happens because you use different compilers (ECJ vs. javac). JaCoCo relys on the debug information created by the compiler. Both compilers assign different lines to the compiled code: For example javac assigns the complete code of a multi-line expression to the first line of that expression, while ECJ assigns the different parts of the expression to the corresponding lines (so more lines in ECJ).
Regards,
-marc
On 06.10.16 08:56, yashwanth koundinya wrote:
Hi Team,--
Firstly thanks for the aggregate report feature which really helped me to generate report for the multi-module project.
Here I am facing 2 issues as below.
1. The coverage is 0% for all the tests which use PowerMock. I got your answer for the same from another post saying Jacoco doesn't work with framwork like PowerMock.
2. When I run the coverage using EclEmma in Eclipse I see the total lines count different (per each module and also the total sum) when compared to the total lines count found in the html report generated after the build. Why can this happen?
Please let me know for additional information.
ThanksYashwanth
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 jacoco+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/73b89dc2-eaec-47ec-bc91-a6682fad641d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hoffmann
Hi Marc,
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/50b2837a-f577-4bf8-bae4-c7814ab11ab2%40googlegroups.com.
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/9efcf86a-915c-4836-9429-7b53bc419057%40googlegroups.com.
<build><plugins><plugin><groupId>org.jacoco</groupId><artifactId>jacoco-maven-plugin</artifactId><executions><execution><id>default-instrument</id><goals><goal>instrument</goal></goals></execution><execution><id>default-restore-instrumented-classes</id><goals><goal>restore-instrumented-classes</goal></goals></execution><execution><id>prepare-agent</id><goals><goal>prepare-agent</goal></goals></execution></executions></plugin></plugins></build>
Hi Team,
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/d514662e-1dc9-4931-8a93-252938eeed5e%40googlegroups.com.