Understanding and Detecting Fragmentation-Induced Compatibility Issues for Android Apps

被引:24
|
作者
Wei, Lili [1 ]
Liu, Yepang [2 ]
Cheung, Shing-Chi [1 ]
Huang, Huaxun [1 ]
Lu, Xuan [3 ]
Liu, Xuanzhe [3 ]
机构
[1] Hong Kong Univ Sci & Technol, Dept Comp Sci & Engn, Kowloon, Clear Water Bay, Hong Kong, Peoples R China
[2] Southern Univ Sci & Technol, Shenzhen Key Lab Computat Intelligence, Dept Comp Sci & Engn, Shenzhen 518055, Peoples R China
[3] Peking Univ, Minist Educ, Key Lab High Confidence Software Technol, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
Androids; Humanoid robots; Biological system modeling; Smart phones; Hardware; Testing; Ecosystems; Mobile applications; android applications; android fragmentation; compatibility issues; empirical study; program analysis;
D O I
10.1109/TSE.2018.2876439
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Android ecosystem is heavily fragmented. The numerous combinations of different device models and operating system versions make it impossible for Android app developers to exhaustively test their apps, and thus various compatibility issues arise. Unfortunately, little is known on the characteristics of such fragmentation-induced compatibility issues. No mature tools exist to help developers quickly diagnose and fix these issues. To bridge the gap, we conducted an empirical study on 220 real-world compatibility issues collected from five popular open-source Android apps. We further interviewed Android practitioners and conducted an online survey to gain insights from real practices. Via the studies, we characterized compatibility issues, investigated common practices to handle compatibility issues, and disclosed that these issues exhibit common patterns. With these findings, we propose a technique, FicFinder, to automatically detect compatibility issues in Android apps. FicFinder performs static code analysis based on a model that captures Android APIs as well as their associated context by which compatibility issues can be triggered. FicFinder reports actionable debugging information to developers when it detects potential issues. We evaluated FicFinder with 53 large-scale open-source Android apps. The results show that FicFinder can precisely detect compatibility issues in these apps and uncover previously-unknown issues.
引用
收藏
页码:1176 / 1199
页数:24
相关论文
共 50 条
  • [1] ELEGANT: Towards Effective Location of Fragmentation-Induced Compatibility Issues for Android Apps
    Li, Cong
    Xu, Chang
    Wei, Lili
    Wang, Jue
    Ma, Jun
    Lu, Jian
    [J]. 2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 278 - 287
  • [2] Taming Android Fragmentation: Characterizing and Detecting Compatibility Issues for Android Apps
    Wei, Lili
    Liu, Yepang
    Cheung, Shing-Chi
    [J]. 2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, : 226 - 237
  • [3] Understanding and Detecting Evolution-Induced Compatibility Issues in Android Apps
    He, Dongjie
    Li, Lian
    Wang, Lei
    Zheng, Hengjie
    Li, Guangwei
    Xue, Jingling
    [J]. PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 167 - 177
  • [4] Characterizing and Detecting Configuration Compatibility Issues in Android Apps
    Huang, Huaxun
    Wen, Ming
    Wei, Lili
    Liu, Yepang
    Cheung, Shing-Chi
    [J]. 2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 517 - 528
  • [5] Understanding and Detecting Callback Compatibility Issues for Android Applications
    Huang, Huaxun
    Wei, Lili
    Liu, Yepang
    Cheung, Shing-Chi
    [J]. PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 532 - 542
  • [6] Understanding and Detecting Inefficient Image Displaying Issues in Android Apps
    Li, Wen-Jie
    Ma, Jun
    Jiang, Yan-Yan
    Xu, Chang
    Ma, Xiao-Xing
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2024, 39 (02) : 434 - 459
  • [7] Automatically Detecting API-Induced Compatibility Issues in Android Apps: A Comparative Analysis (Replicability Study)
    Liu, Pei
    Zhao, Yanjie
    Cai, Haipeng
    Fazzini, Mattia
    Grundy, John
    Li, Li
    [J]. PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 617 - 628
  • [8] Detecting Connectivity Issues in Android Apps
    Mazuera-Rozo, Alejandro
    Escobar-Velasquez, Camilo
    Espitia-Acero, Juan
    Linares-Vasquez, Mario
    Bavota, Gabriele
    [J]. 2022 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER 2022), 2022, : 697 - 708
  • [9] ConfFix: Repairing Configuration Compatibility Issues in Android Apps
    Huang, Huaxun
    XU, Chi
    Wen, Ming
    Liu, Yepang
    Cheung, Shing-Chi
    [J]. PROCEEDINGS OF THE 32ND ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2023, 2023, : 514 - 525
  • [10] A Framework for Detecting Compatibility-Issues-Proneness Apps Based on Multimodal Analysis in Android Platform
    Xu, Chen
    Wang, Caimei
    Xiong, Yan
    Huang, Wenchao
    Meng, Zhaoyi
    Miao, Fuyou
    [J]. International Journal of Network Security, 2022, 24 (01) : 147 - 155