An Empirical Study of Functional Bugs in Android Apps

被引:16
|
作者
Xiong, Yiheng [1 ]
Xu, Mengqian [1 ]
Su, Ting [1 ]
Sun, Jingling [1 ]
Wang, Jue [2 ,3 ]
Wen, He [1 ]
Pu, Geguang [1 ]
He, Jifeng [1 ]
Su, Zhendong [4 ]
机构
[1] East China Normal Univ, Shanghai Key Lab Trustworthy Comp, Shanghai, Peoples R China
[2] Nanjing Univ, State Key Lab Novel Software Tech, Nanjing, Jiangsu, Peoples R China
[3] Nanjing Univ, Dept Comp Sci & Tech, Nanjing, Jiangsu, Peoples R China
[4] Swiss Fed Inst Technol, Zurich, Switzerland
关键词
Empirical study; Testing; Android; Non-crashing functional bugs;
D O I
10.1145/3597926.3598138
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Android apps are ubiquitous and serve many aspects of our daily lives. Ensuring their functional correctness is crucial for their success. To date, we still lack a general and in-depth understanding of functional bugs, which hinders the development of practices and techniques to tackle functional bugs. To fill this gap, we conduct the first systematic study on 399 functional bugs from 8 popular open-source and representative Android apps to investigate the root causes, bug symptoms, test oracles, and the capabilities and limitations of existing testing techniques. This study took us substantial effort. It reveals several new interesting findings and implications which help shed light on future research on tackling functional bugs. Furthermore, findings from our study guided the design of a proof-of-concept differential testing tool, RegDroid, to automatically find functional bugs in Android apps. We applied RegDroid on 5 real-world popular apps, and successfully discovered 14 functional bugs, 10 of which were previously unknown and affected the latest released versions-all these 10 bugs have been confirmed and fixed by the app developers. Specifically, 10 out of these 14 found bugs cannot be found by existing testing techniques. We have made all the artifacts (including the dataset of 399 functional bugs and RegDroid) in our work publicly available at https:// github.com/ Android-Functional-bugs-study/ home.
引用
收藏
页码:1319 / 1331
页数:13
相关论文
共 50 条
  • [1] An Empirical Study of i18n Collateral Changes and Bugs in GUIs of Android apps
    Escobar-Velasquez, Camilo
    Osorio-Riano, Michael
    Dominguez-Osorio, Juan
    Arevalo, Maria
    Linares-Vasquez, Mario
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 581 - 592
  • [2] Investigating the Android Apps' Success: An Empirical Study
    Guerrouj, Latifa
    Baysal, Olga
    2016 IEEE 24TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2016,
  • [3] An Empirical Study of Flaky Tests in Android Apps
    Chandani, Swapna
    Sreshtha, Chandani
    Meng, Na
    PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, : 534 - 538
  • [4] An Empirical Study of Insecure Communication in Android Apps
    Zhang, Yue-heng
    Shu, Jun-liang
    Li, Juan-ru
    Wang, Qing
    Gu, Da-wu
    INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATION AND NETWORK ENGINEERING (WCNE 2016), 2016,
  • [5] An Empirical Study of SSL Usage in Android Apps
    Shin, Dongwan
    Sun, Jiangfeng
    2018 52ND ANNUAL IEEE INTERNATIONAL CARNAHAN CONFERENCE ON SECURITY TECHNOLOGY (ICCST), 2018, : 217 - 221
  • [6] Effectively Manifesting Concurrency Bugs in Android Apps
    Li, Qiwei
    Jiang, Yanyan
    Gu, Tianxiao
    Xu, Chang
    Ma, Jun
    Ma, Xiaoxing
    Lu, Jian
    2016 23RD ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2016), 2016, : 209 - 216
  • [7] OAUTHLINT: An Empirical Study on OAuth Bugs in Android Applications
    Al Rahat, Tamjid
    Feng, Yu
    Tian, Yuan
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 293 - 304
  • [8] An empirical study of configuration changes and adoption in Android apps
    Jha, Ajay Kumar
    Lee, Sunghee
    Lee, Woo Jin
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 156 : 164 - 180
  • [9] Vulnerability Detection in Recent Android Apps: An Empirical Study
    Shezan, Faysal Hossain
    Afroze, Syeda Farzia
    Iqbal, Anindya
    PROCEEDINGS OF 2017 INTERNATIONAL CONFERENCE ON NETWORKING, SYSTEMS AND SECURITY (NSYSS), 2017, : 55 - 63
  • [10] An empirical analysis of android apps bug and automated testing approach for Android apps
    Bie Y.
    Bin S.
    Sun G.
    Zhou X.
    1600, Science and Engineering Research Support Society (11): : 1 - 10