arrow
返回

Detecting Android API Compatibility Issues With API Differences

delete2023-07-01
delete1
PRE
AI
T
Tarek Mahmud
M
Meiru Che
G
Guowei Yang *
DOI:10.1109/TSE.2023.3274153delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Android application programming interface (API) enables app developers to harness the functionalities of Android devices by interfacing with services and hardware using a Software Development Kit (SDK). However, API frequently evolves together with its associated SDK, and compatibility issues may arise when the API level supported by the underlying device differs from the API level targeted by app developers. These issues can lead to unexpected behaviors, resulting in a bad user experience. This article presents ACID, a novel approach to detecting Android API compatibility issues induced by API evolution. It detects both API invocation compatibility issues and API callback compatibility issues using API differences and static analysis of the app code. Experiments with 20 benchmark apps show that ACID is more accurate and faster than the state-of-the-art techniques in detecting API compatibility issues. The application of ACID on 2965 real-world apps further demonstrates its practical applicability. To eliminate the false positives reported by ACID, this article also presents a simple yet effective method to quickly verify the compatibility issues by selecting and executing the relevant tests from app's test suite, and experimental results demonstrate the verification method can eliminate most false positives when app's test suite has good coverage of the API usages.
Keyword:
API differences
API evolution
android
compatibility issues
program analysis
test selection

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.8K
被引数:
1.1W

机构

T
texas state university san marcos
学者数:
2.1K
论文数: 1.8K
被引数: 10
T
torrens university australia
学者数:
495
论文数: 605
被引数: 7
Texas State University System 封面图
Texas State University System
学者数:
5.5K
论文数: 4.8K
被引数: 13
学者 查看更多机构
引用论文

引用论文

A Hybrid ACO+CP for Balancing Bicycle Sharing Systems
err2013-01-01
err0
PREAI
errLuca Di Gaspero; Andrea Rendl; Tommaso Urli
err分享
err收藏
Titania Nanobelts as a Scattering Layer with Cu2ZnSnS4 as a Counter Electrode for DSSC with Improved Efficiency
err2018-01-01
err0
PREAI
errSiva Sankar Nemala; Krishnaiah Mokurala; Parag Bhargava; Sudhanshu Mallick
err分享
err收藏
Hybridization of synthetic oligodeoxyribonucleotides to ΦX174 DNA: the effect of single base pair mismatch
err1979-01-01
err0
errOAAI
errR. Bruce Wallace; J. Shaffer; R.F. Murphy; J. Bonner; T. Hirose; K. Itakura
err分享
err收藏
Symptom Clusters in Ovarian Cancer Patients With Chemotherapy After Surgery
err2016-03-01
err0
PREAI
errJuan Huang; Liyan Gu; Lingjuan Zhang; Xiaoying Lu; Wei Zhuang; Yan Yang
err分享
err收藏
Analyzing the impact of API changes on Android apps?
err2023-06-01
err7
errOAAI
errMahmud, Tarek; Che, Meiru; Yang, Guowei
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Sympathetic Orchiopathia-An Experimental and Clinical Study
err1982-12-01
err0
PREAI
errD. M. A. WALLACE; P. A. GUNTER; G. V. LANDON; R. C. B. PUGH; W. F. HENDRY
err分享
err收藏
学者 查看更多内容