honeynet/droidbot

how to gather coverage while running droidbot?

shiyuanxiang opened this issue · 1 comments

I want to gather the coverage of the running apk, thanks!

A simple way is to compute the "activity coverage". You can obtain a list of all activities through the app.activities field, and obtain the visited activities by checking the json file of reached states.

Getting method coverage or line coverage is harder. I used to have another project (see this) for method coverage, but it hasn't been maintained for a long time.