Ex pede Herculem: Augmenting Activity Transition Graph for Apps via Graph Convolution Network

被引:2
作者
Liu, Zhe [1 ,2 ,3 ]
Chen, Chunyang [4 ]
Wang, Junjie [1 ,2 ,3 ]
Su, Yuhui [1 ,2 ,3 ]
Huang, Yuekai [1 ,2 ,3 ]
Hu, Jun [1 ,2 ,3 ]
Wang, Qing [1 ,2 ,3 ]
机构
[1] State Key Lab Intelligent Game, Beijing, Peoples R China
[2] Chinese Acad Sci, Inst Software, Sci & Technol Integrated Informat Syst Lab, Beijing, Peoples R China
[3] Univ Chinese Acad Sci, Beijing, Peoples R China
[4] Monash Univ, Melbourne, Vic, Australia
来源
2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE | 2023年
基金
中国国家自然科学基金;
关键词
GUI testing; deep learning; program analysis; empirical study; LINK-PREDICTION;
D O I
10.1109/ICSE48619.2023.00168
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mobile apps are indispensable for people's daily life. With the increase of GUI functions, apps have become more complex and diverse. As the Android app is event-driven, Activity Transition Graph (ATG) becomes an important way of app abstract and graphical user interface (GUI) modeling. Although existing works provide static and dynamic analysis to build ATG for applications, the completeness of ATG obtained is poor due to the low coverage of these techniques. To tackle this challenge, we propose a novel approach, ArchiDroid, to automatically augment the ATG via graph convolution network. It models both the semantics of activities and the graph structure of activity transitions to predict the transition between activities based on the seed ATG extracted by static analysis. The evaluation demonstrates that ArchiDroid can achieve 86% precision and 94% recall in predicting the transition between activities for augmenting ATG. We further apply the augmented ATG in two downstream tasks, i.e., guidance in automated GUI testing and assistance in app function design. Results show that the automated GUI testing tool integrated with ArchiDroid achieves 43% more activity coverage and detects 208% more bugs. Besides, ArchiDroid can predict the missing transition with 85% accuracy in real-world apps for assisting the app function design, and an interview case study further demonstrates its usefulness.
引用
收藏
页码:1983 / 1995
页数:13
相关论文
共 106 条
  • [1] Al Hasan M., 2006, P WORKSH LINK AN COU, V30, P798, DOI DOI 10.1016/J.ISCI.2020.101626
  • [2] Anandan S, 2012, MATER SCI FORUM, V712, P1, DOI 10.4028/www.scientific.net/MSF.712.1
  • [3] [Anonymous], 2022, EXP HERC
  • [4] [Anonymous], 2022, ANDR DEV
  • [5] [Anonymous], 2022, MOB INT US PASS DESK
  • [6] [Anonymous], 2022, NOIS
  • [7] [Anonymous], 2022, NOIS US ISS
  • [8] [Anonymous], 2022, APKT
  • [9] [Anonymous], 2022, MON APP
  • [10] [Anonymous], 2022, Statista