OK, thanks! But if I want to know the mechanism how Jacoco generating code 
coverage, are there any useful materials? I have read the official 
doc(https://www.jacoco.org/jacoco/trunk/doc/counters.html), while there are 
little useful information.

On Friday, October 27, 2023 at 1:50:45 PM UTC+8 Marc Hoffmann wrote:

> Hi Yiichan,
>
> it is hard to tell what causes this in your setup. I would start with 
> comparing two reports with different coverage figures. Drill-down both 
> reports and try to find a pattern where coverage changes. It might be 
> caused by non-deterministic tests or problems with the test setup or 
> execution data collection.
>
> Regards,
> -marc
>
> On 25. Oct 2023, at 11:23, Yiichan Sun <[email protected]> wrote:
>
> My team use Jacoco one year ago. We integrated Jacoco with Codecov in 
> Github workflow, and set a periodical action to generate code coverage 
> report every day. However, the coverage changes dramatically. Even We don't 
> change any code, the next day it gives us a changed code coverage. 
> Especially when running integration tests.
>
> So I just want to know:
> 1. what makes the code coverage fluctuating so fast, even no more new 
> commits? Due to the mechanism of running many tests in concurrency?
> 2. Or something wrong in the aggregation of integration tests report?
> 3. what's the mechanism of the generation of integration test code 
> coverage report in Jacoco?
>
> Thanks!
>
> -- 
> 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/94663a4c-8a4d-4a60-a4d9-f5fe5dfb196fn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/94663a4c-8a4d-4a60-a4d9-f5fe5dfb196fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/dec3faa5-aa6d-4954-8acd-833c8ab659cfn%40googlegroups.com.

Reply via email to