Detecting Android API Compatibility Issues With API Differences

计算机科学 Android(操作系统) 相容性(地球化学) 应用程序编程接口 向后兼容性 操作系统 回调函数 一套 Java 接口 假阳性悖论 测试套件 嵌入式系统 软件工程 程序设计语言 测试用例 计算机硬件 人工智能 考古 回归分析 地质学 机器学习 历史 地球化学
作者
Tarek Mahmud,Meiru Che,Guowei Yang
出处
期刊:IEEE Transactions on Software Engineering [Institute of Electrical and Electronics Engineers]
卷期号:49 (7): 3857-3871
标识
DOI:10.1109/tse.2023.3274153
摘要

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.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
猫咪老师应助laplatom采纳,获得30
刚刚
LIKUN发布了新的文献求助10
1秒前
1秒前
1秒前
筱崴崴发布了新的文献求助10
2秒前
野猪亨利28完成签到,获得积分10
3秒前
杜杜发布了新的文献求助30
3秒前
搜集达人应助未知采纳,获得10
3秒前
orixero应助sy采纳,获得10
5秒前
jin发布了新的文献求助10
5秒前
5秒前
平淡思雁发布了新的文献求助10
6秒前
6秒前
7秒前
风笙完成签到,获得积分10
7秒前
在水一方应助ikun采纳,获得10
8秒前
8秒前
啊帅完成签到,获得积分10
8秒前
9秒前
拜拜了您嘞关注了科研通微信公众号
10秒前
11秒前
HonglinGao完成签到,获得积分10
11秒前
11秒前
12秒前
充电宝应助jin采纳,获得10
12秒前
一二三四发布了新的文献求助20
12秒前
NexusExplorer应助恶恶么v采纳,获得10
13秒前
Yueze完成签到,获得积分10
13秒前
枫秋发布了新的文献求助10
14秒前
甾醇发布了新的文献求助10
14秒前
16秒前
16秒前
16秒前
16秒前
16秒前
孙禹薇发布了新的文献求助10
17秒前
17秒前
18秒前
forhad完成签到,获得积分10
19秒前
小马甲应助阿越采纳,获得10
19秒前
高分求助中
Smart but Scattered: The Revolutionary Executive Skills Approach to Helping Kids Reach Their Potential (第二版) 1000
PraxisRatgeber: Mantiden: Faszinierende Lauerjäger 700
The Heath Anthology of American Literature: Early Nineteenth Century 1800 - 1865 Vol. B 500
A new species of Velataspis (Hemiptera Coccoidea Diaspididae) from tea in Assam 500
Machine Learning for Polymer Informatics 500
2024 Medicinal Chemistry Reviews 480
Women in Power in Post-Communist Parliaments 450
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 基因 遗传学 催化作用 物理化学 免疫学 量子力学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 3222736
求助须知:如何正确求助?哪些是违规求助? 2871510
关于积分的说明 8175845
捐赠科研通 2538464
什么是DOI,文献DOI怎么找? 1370613
科研通“疑难数据库(出版商)”最低求助积分说明 645818
邀请新用户注册赠送积分活动 619700