I recently worked on applying jacoco on android app coverage. There is an 
interesting phenomenon. 

When I package the bytecodes both of the APK and my self-designed hook 
tool, which will hook getPackageInfo API of Android and return pre-set 
value in runtime, in a combined jar, and then instrumented by jacoco, 
jacoco will not respect that the coverage data came from that combined jar 
so that just get total method num but with no coverage.

Because it is high-cost for me to verify this, so I want to know does the 
hook affect jacoco's coverage analysis mechanism in principle?

-- 
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/a99abb82-a7f1-4507-92a9-09f6ef5dbbd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to