
As you can see there is a argument (org.ballerinalang.jvm.scheduling.Strand) that is passed to the main method in the given program. So I need to filter that out from the jacoco.exec file which means I don't need to include that argument's effect to the program's coverage report. So What I've tried is introducing a filter to the jacoco core/internal/analysis/filter. But I don't know how to filter them out. Could you please help me on this? I really appreciate your contribution as I'm stucked with this.
java compiled file is attached here for more information.
Regards,
Shehan.
Hi Shehan,
sure, I remember. Funny ballerina bytecode helped us to fix two corner cases ;)
JaCoCo only reports byte code instructions. Method definitions like parameters are not executable as such and not reported. I guess you want to filter certain operations which happens on the Strand instance. What the filters do they look for certain bytecode patterns and filter sequences of byte codes when the pattern matches. Some hints:
Cheers,
-marc
--
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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/5ce07a65-b138-4345-8b61-889821af74de%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jac...@googlegroups.com.