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 条
  • [31] An Empirical Investigation into the Reproduction of Bug Reports for Android Apps
    Johnson, Jack
    Mahmud, Junayed
    Wendland, Tyler
    Moran, Kevin
    Rubin, Julia
    Fazzini, Mattia
    2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 321 - 332
  • [32] Too Quiet in the Library: An Empirical Study of Security Updates in Android Apps' Native Code
    Almanee, Sumaya
    Unal, Arda
    Payer, Mathias
    Garcia, Joshua
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 170 - 170
  • [33] Testing of Mobile Applications in the Wild: A Large-Scale Empirical Study on Android Apps
    Pecorelli, Fabiano
    Catolino, Gemma
    Ferrucci, Filomena
    De Lucia, Andrea
    Palomba, Fabio
    2020 IEEE/ACM 28TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC, 2020, : 296 - 307
  • [34] Keep Me Updated: An Empirical Study on Embedded Java']JavaScript Engines in Android Apps
    Wen, Elliott
    Zhou, Jiaxiang
    Luo, Xiapu
    Russello, Giovanni
    Dietrich, Jens
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 361 - 372
  • [35] Too Quiet in the Library: An Empirical Study of Security Updates in Android Apps' Native Code
    Almanee, Sumaya
    Unal, Arda
    Payer, Mathias
    Garcia, Joshua
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 1347 - 1359
  • [36] Automatically Granted Permissions in Android apps An Empirical Study on their Prevalence and on the Potential Threats for Privacy
    Calciati, Paolo
    Kuznetsov, Konstantin
    Gorla, Alessandra
    Zeller, Andreas
    2020 IEEE/ACM 17TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2020, : 114 - 124
  • [37] An Empirical Evaluation of GDPR Compliance Violations in Android mHealth Apps
    Fan, Ming
    Yu, Le
    Chen, Sen
    Zhou, Hao
    Luo, Xiapu
    Li, Shuyue
    Liu, Yang
    Liu, Jun
    Liu, Ting
    2020 IEEE 31ST INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2020), 2020, : 253 - 264
  • [38] An empirical catalog of code smells for the presentation layer of Android apps
    Suelen Goularte Carvalho
    Maurício Aniche
    Júlio Veríssimo
    Rafael S. Durelli
    Marco Aurélio Gerosa
    Empirical Software Engineering, 2019, 24 : 3546 - 3586
  • [39] An Empirical Assessment of Security Risks of Global Android Banking Apps
    Chen, Sen
    Fan, Lingling
    Meng, Guozhu
    Su, Ting
    Xue, Minhui
    Xue, Yinxing
    Liu, Yang
    Xu, Lihua
    2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 1310 - 1322
  • [40] An empirical catalog of code smells for the presentation layer of Android apps
    Carvalho, Suelen Goularte
    Aniche, Mauricio
    Verissimo, Julio
    Durelli, Rafael S.
    Gerosa, Marco Aurelio
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (06) : 3546 - 3586