NFS: An Algorithm for Avoiding Restarts to Improve the Efficiency of Crawling Android Applications

Chien‐Hung Liu, Woei-Kae Chen, Shu-Hang Ho · 2018

Crawlers have been used in different aspects for testing Android apps automatically, such as crash testing and test inputs generation. However, the efficiency of crawlers can be a concern as it often takes hours or even days to fully explore a non-trivial app. This paper presents a crawling algorithm called NFS (Nearest unvisited event First Search) that can reduce the number of app restarts in order to improve crawling efficiency. Moreover, NFS can also achieve satisfactory code coverage and generate a GUI state graph for the app under exploration automatically. The experimental results show that in average NFS can be more efficient and can also obtain better code coverage than traditional crawling algorithms.

Read the paper · More papers on PaperTik