arrow
返回

An empirical study on compatibility issues in Android API field evolution

delete2024-11-01
delete0
PRE
AI
T
Tarek Mahmud
M
Meiru Che
G
Guowei Yang *
DOI:10.1016/j.infsof.2024.107530delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Context: The continuous evolution of the Android operating system requires regular API updates, which may affect the functionality of Android apps. This is becoming increasingly common due to the frequent evolution of the Android platform, which introduces new APIs and deprecates existing ones. Recent studies investigated API evolution to ensure the reliability of Android apps; however, they focused on API methods alone. Objectives: This study aims to understand how API fields evolve and how this affects API compatibility in real-world Android apps and their development. Method: We perform an empirical study on compatibility issues in Android API field evolution by analyzing the nature and resolution of these issues across 681 open-source Android apps. Results: Our experimental results yield interesting findings: (1) On average two API field compatibility issues exist per app in each tag; (2) Although API method evolution and API field evolution are related, current API method-level analysis techniques may fail to detect numerous API field compatibility issues; (3) Different types of checks are preferred when addressing different types of compatibility issues; (4) It takes on average three and a half months for an API field compatibility issue to get fixed since when it is introduced; (5) Developers pay proper attention to API field compatibility issues and address them soon after becoming aware of them in the apps. Conclusion: These findings highlight the significance of including API fields in future research on API evolution and can assist developers and researchers in understanding, detecting, and handling compatibility issues in API field evolution.
Keyword:
Android
Compatibility issues
API evolution
API fields

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

T
texas state university san marcos
学者数:
2.1K
论文数: 1.8K
被引数: 10
C
central queensland university
学者数:
2.7K
论文数: 3.2K
被引数: 6
Texas State University System 封面图
Texas State University System
学者数:
5.5K
论文数: 4.9K
被引数: 13
学者 查看更多机构
引用论文

引用论文

Analyzing the impact of API changes on Android apps?
err2023-06-01
err7
errOAAI
errMahmud, Tarek; Che, Meiru; Yang, Guowei
err分享
err收藏
A Systematic Review of API Evolution Literature原料药进化文献的系统综述
err2021-10-04
err32
PREAI
errLamothe, Maxime; Gueheneuc, Yann-Gael; Shang, Weiyi
err分享
err收藏
Effects of transformation processes on plant species richness and diversity in homegardens of the Nuba Mountains, Sudan
err2014-06-03
err0
PREAI
errMartin Wiehle; Sven Goenster; Jens Gebauer; Seifeldin Ali Mohamed; Andreas Buerkert; Katja Kehlenbeck
err分享
err收藏
Effect of Human Chorionic Gonadotropin Before Spermatic Vessel Ligation in the Prepubertal Rat Testis
err1995-08-01
err0
PREAI
errDavid A. Levy; Fadi W. Abdul-Karim; Floro Miraldi; Jack S. Elder
err分享
err收藏
API compatibility issues in Android: Causes and effectiveness of data-driven detection techniquesAndroid中的API兼容性问题: 数据驱动检测技术的原因和有效性
err2020-10-07
err17
PREAI
errScalabrino, Simone; Bavota, Gabriele; Linares-Vasquez, Mario; Piantadosi, Valentina; Lanza, Michele; Oliveto, Rocco
err分享
err收藏
学者 查看更多内容