Thanks for the quick response :)
Is it possible to recover it without relying on the class files?
E.g. if I only have the source code, theoretically, I know where the 
branches are (statically analyzing and identifying IFs, Switches, 
Exceptions, ...), then I also thereotically should know where the probes 
have been inserted right?

Marc R. Hoffmann schrieb am Sonntag, 10. Juli 2022 um 11:57:42 UTC+2:

> Hi Tom,
>
> as “simple” as it is described here: 
> https://www.jacoco.org/jacoco/trunk/doc/flow.html
>
> In short: You need the underlying class files to interpret the probes. 
> This is exactly what the JaCoCo analyzer does.
>
> Regards,
> -marc
>
> On 10. Jul 2022, at 11:53, Tom G <[email protected]> wrote:
>
> Hi,
> if I have a probe boolean array and the name of the class. Is there some 
> simple manual way to map a hit probe to the corresponding source line?
>
> Regards,
> Tom
>
> -- 
> 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/bf8afb15-7adf-41f5-a854-5c92346c7d43n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/bf8afb15-7adf-41f5-a854-5c92346c7d43n%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/8b9c6f58-51d0-417d-9ba6-6f8ce8dfc0b6n%40googlegroups.com.

Reply via email to