Android Compatibility Issue Detection Using API Differences

被引:18
|
作者
Mahmud, Tarek [1 ]
Che, Meiru [2 ]
Yang, Guowei [1 ]
机构
[1] Texas State Univ, Dept Comp Sci, San Marcos, TX 78666 USA
[2] Concordia Univ Texas, Dept Comp Sci, Austin, TX USA
基金
美国国家科学基金会;
关键词
Android; Compatibility Issues; API evolution; API differences; Program analysis;
D O I
10.1109/SANER50967.2021.00051
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Android apps are developed using a Software Development Kit (SDK), where the Android application programming interface (API) enables app developers to harness the functionalities of Android devices by interacting with services and hardware. However, API frequently evolves together with its associated SDK. The mismatch between the API level supported by the device where apps are installed and the API level targeted by app developers can induce compatibility issues. These issues can manifest themselves as unexpected behaviors, including runtime crashes, creating a poor user experience. In this paper, we propose ACID, a novel approach to detecting compatibility issues caused by API evolution. We leverage API differences and static analysis of the source code of Android apps to detect both API invocation compatibility issues and API callback compatibility issues. Experiments on 20 benchmark apps from previous studies show that ACID is more accurate and faster in detecting compatibility issues than state-of-the-art. We also analyzed 35 more real-world apps to show the practical applicability of our approach.
引用
收藏
页码:480 / 490
页数:11
相关论文
共 50 条
  • [1] API Compatibility Issue Detection, Testing and Analysis for Android Apps
    Mahmud, Tarek
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 1061 - 1063
  • [2] Detecting Android API Compatibility Issues With API Differences
    Mahmud, Tarek
    Che, Meiru
    Yang, Guowei
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2023, 49 (07) : 3857 - 3871
  • [3] ACID: An API Compatibility Issue Detector for Android Apps
    Mahmud, Tarek
    Che, Meiru
    Yang, Guowei
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2022), 2022, : 1 - 5
  • [4] PIVOT: Learning API-Device Correlations to Facilitate Android Compatibility Issue Detection
    Wei, Lili
    Liu, Yepang
    Cheung, Shing-Chi
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 878 - 888
  • [5] CiD: Automating the Detection of API-Related Compatibility Issues in Android Apps
    Li, Li
    Bissyande, Tegawende F.
    Wang, Haoyu
    Klein, Jacques
    ISSTA'18: PROCEEDINGS OF THE 27TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2018, : 153 - 163
  • [6] API compatibility issues in Android: Causes and effectiveness of data-driven detection techniques
    Simone Scalabrino
    Gabriele Bavota
    Mario Linares-Vásquez
    Valentina Piantadosi
    Michele Lanza
    Rocco Oliveto
    Empirical Software Engineering, 2020, 25 : 5006 - 5046
  • [7] API compatibility issues in Android: Causes and effectiveness of data-driven detection techniques
    Scalabrino, Simone
    Bavota, Gabriele
    Linares-Vasquez, Mario
    Piantadosi, Valentina
    Lanza, Michele
    Oliveto, Rocco
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (06) : 5006 - 5046
  • [8] Detection of Android API Call Using Logging Mechanism within Android Framework
    Nishimoto, Yuuki
    Kajiwara, Naoya
    Matsumoto, Shinichi
    Hori, Yoshiaki
    Sakurai, Kouichi
    SECURITY AND PRIVACY IN COMMUNICATION NETWORKS, SECURECOMM 2013, 2013, 127 : 393 - 404
  • [9] STATIC DETECTION OF ANDROID MALWARE BY USING PERMISSIONS AND API CALLS
    Chan, Patrick P. K.
    Song, Wen-Kai
    PROCEEDINGS OF 2014 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS (ICMLC), VOL 1, 2014, : 82 - 87
  • [10] Android API Field Evolution and Its Induced Compatibility Issues
    Mahmud, Tarek
    Che, Meiru
    Yang, Guowei
    PROCEEDINGS OF THE16TH ACM/IEEE INTERNATIONAL SYMPOSIUM ON EMPIRICAL SOFTWARE ENGINEERING AND MEASUREMENT, ESEM 2022, 2022, : 34 - 44