On Sunday, January 17, 2021 at 8:46:49 AM UTC+1 Abhay Hegde wrote:

> Hi,
> I have obtained the jacoco.exec using the jacocoagent by following the 
> discussion - 
> https://groups.google.com/g/jacoco/c/0QkOV5u1w6Y/m/Aept20V_AgAJ
>
> I did 2 things from there on:
> 1. Generated an HTML coverage report using jacococli.jar
> 2. Imported the jacoco.exec file into Eclipse using ECLemma plugin.  
>
> Step 1) gave me a report like below:
> [image: html_step1_report.JPG]
>
> Step2) gave a coverage report within Eclipse as below:
> [image: eclipse_2_coverage.JPG]
>
> 1. Why does the report show different metrices ?
>

Most likely because of different compilers - Eclipse uses its own compiler 
for Java and so produces class files that are different from the ones for 
which execution data was obtained.
 

> 2. Is there a way to obtain an overall(total) code coverage of all the 
> sub-projects?
>
> Regards
> Abhay
>
>

-- 
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/26ea7897-e27d-4ae3-8a5d-fe2d62fdb200n%40googlegroups.com.

Reply via email to