ISSTA 2019
Mon 15 - Fri 19 July 2019 Beijing, China
Wed 17 Jul 2019 14:45 - 15:07 at Grand Ballroom - Mobile App Testing Chair(s): Xiaoyin Wang

Android apps are prone to crash. This often arises from the misuse of Android framework APIs, making it harder to debug since official Android framework documentation does not discuss thoroughly potential exceptions, especially those that are thrown deep in related code. Recently, the program repair community has also started to investigate the possibility to fix crashes automatically. Current results, however, apply to limited example cases. In both scenarios of repair, the main issue is the need for more example data to drive the fix processes due to the high cost in time and effort needed to collect and identify fix examples. We propose in this work a scalable approach, CraftDroid, to mine crash fixes by leveraging a set of 28 thousand carefully reconstructed app lineages from app markets. We developed a replicative testing approach that locates fixes among app versions which output different runtime logs with the exact same test inputs. Overall, we have mined 104 relevant crash fixes, and further abstracted 17 fine-grained fix templates. We have demonstrated in a patch recommendation experiment that these templates are effective for repairing crashed apks. Finally, we release ReCBench, a benchmark consisting of 200 crashed apks and the crash replication scripts, which the community can explore for evaluating generated crash-inducing bug patches.

Wed 17 Jul

issta-2019-Technical-Papers
14:00 - 15:30: Technical Papers - Mobile App Testing at Grand Ballroom
Chair(s): Xiaoyin WangUniversity of Texas at San Antonio, USA
issta-2019-Technical-Papers14:00 - 14:22
Talk
Jiexin ZhangUniversity of Cambridge, Alastair R. BeresfordUniversity of Cambridge, UK, Stephan A. KollmannUniversity of Cambridge
DOI Pre-print
issta-2019-Technical-Papers14:22 - 14:45
Talk
Aman SharmaIIT Madras, Rupesh NasreIIT Madras, India
issta-2019-Technical-Papers14:45 - 15:07
Talk
Pingfan KongInterdisciplinary Centre for Security, Reliability and Trust, University of Luxembourg, Li LiMonash University, Australia, Jun GaoUniversity of Luxembourg, SnT, Tegawendé F. BissyandéSnT, University of Luxembourg, Jacques KleinUniversity of Luxembourg, SnT
issta-2019-Technical-Papers15:07 - 15:30
Talk
Jiaqi GuoXi'an Jiaotong University, Shuyue LiXi'an Jiaotong University, Jian-Guang LouMicrosoft Research, Zijiang YangWestern Michigan University, Ting LiuMOEKLINNS Lab, Department of Computer Science and Technology, Xi'an Jiaotong University, 710049, China