The JaCoCo agent offers remote APIs (TCP socket, JMX) as well as a runtime API:

https://www.jacoco.org/jacoco/trunk/doc/api/org/jacoco/agent/rt/package-summary.html

So yes, you could collect multiple dumps during execution and perform analysis on it. E.g. with our Eclipse integration EclEmma this is possible. You can dump execution data at any point in time while a program is running:

https://www.eclemma.org/userdoc/coverageview.html

Regards,
-marc

On 2018-05-12 00:10, [email protected] wrote:
I'm wondering if it's possible to instrument the classes by using
Jacoco as a java agent but also collect the coverage information many
times during run time by using an Analyzer instance?

--
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/1ca655147b6e59d87e578866dc1bbc57%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to