Hi,

I'm using Jacoco as a Java agent to instrument classes to obtain coverage 
information. Currently, I can get the probe hit count of a given class. I 
followed the example from 
https://www.eclemma.org/jacoco/trunk/doc/examples/java/ExecDump.java to 
retrieve the number of probes hit for each class as recorded in a specified 
.exec file.

However, how can I get a finer granularity coverage report, specifically one 
that includes method information? Is it possible to associate the probe array 
with a set of methods?

I am able to get this information if I don't use Jacoco as a Java agent and 
make calls directly to the Jacoco.core.analysis package. However, if I need to 
use Jacoco as a Java agent, how could I get this same information?

Thank you!

-- 
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/722a180a-0a3b-4417-be6e-8b9fa7c1ec17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to