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 条
  • [41] Effectively Finding ICC-related Bugs in Android Apps via Reinforcement Learning
    Guo, Hui
    Su, Ting
    Liu, Xiaoqiang
    Gu, Siyi
    Sun, Jingling
    2023 IEEE 34TH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, ISSRE, 2023, : 403 - 414
  • [42] Why are Android Apps Removed From Google Play? A Large-scale Empirical Study
    Wang, Haoyu
    Li, Hao
    Li, Li
    Guo, Yao
    Xu, Guoai
    2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 231 - 242
  • [43] A Fait Accompli? An Empirical Study into the Absence of Consent to Third-Party Tracking in Android Apps
    Kollnig, Konrad
    Binns, Reuben
    Dewitte, Pierre
    Van Kleek, Max
    Wang, Ge
    Omeiza, Daniel
    Webb, Helena
    Shadbolt, Nigel
    PROCEEDINGS OF THE SEVENTEENTH SYMPOSIUM ON USABLE PRIVACY AND SECURITY (SOUPS 2021), 2021, : 181 - 195
  • [44] Test Automation in Open-Source Android Apps: A Large-Scale Empirical Study
    Lin, Jun-Wei
    Salehnamadi, Navid
    Malek, Sam
    2020 35TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2020), 2020, : 1078 - 1089
  • [45] An Empirical Study on Bugs in PHP
    Wang, Ziyuan
    Bu, Dexin
    Xuan, Xingpeng
    Gu, Jia
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2022, 32 (06) : 845 - 870
  • [46] An Empirical Analysis of Security and Privacy Risks in Android Cryptocurrency Wallet Apps
    Sentana, I. Wayan Budi
    Ikram, Muhammad
    Kaafar, Mohamed Ali
    APPLIED CRYPTOGRAPHY AND NETWORK SECURITY, PT II, ACNS 2023, 2023, 13906 : 699 - 725
  • [47] A Comparison of Bugs across the iOS and Android Platforms of Two Open Source Cross Platform Browser Apps
    Aljedaani, Wajdi
    Nagappan, Meiyappan
    Adams, Bram
    Godfrey, Michael
    2019 IEEE/ACM 6TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2019), 2019, : 76 - 86
  • [48] An Empirical Study on Critical Blocking Bugs
    Ren, Hao
    Li, Yanhui
    Chen, Lin
    2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 72 - 82
  • [49] An Empirical Study on TensorFlow Program Bugs
    Zhang, Yuhao
    Chen, Yifan
    Cheung, Shing-Chi
    Xiong, Yingfei
    Zhang, Lu
    ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, : 129 - 140
  • [50] An Empirical Study of Bugs in Test Code
    Vahabzadeh, Arash
    Fard, Amin Milani
    Mesbah, Ali
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 101 - 110