跳到主要导航 跳到搜索 跳到主要内容

Automatically Detecting Incompatible Android APIs

  • Pei Liu
  • , Yanjie Zhao
  • , Mattia Fazzini
  • , Haipeng Cai
  • , John Grundy
  • , Li Li
  • Beihang University
  • Monash University
  • University of Minnesota Twin Cities
  • Washington State University Pullman

科研成果: 期刊稿件文章同行评审

摘要

Fragmentation is a serious problem in the Android ecosystem, which is mainly caused by the fast evolution of the system itself and the various system customizations. Many efforts have attempted to mitigate its impact via approaches to automatically pinpointing compatibility issues in Android apps. We conducted a literature review to identify all the currently available approaches to addressing this issue. Within the nine identified approaches, the four issue detection tools and one incompatible API harvesting tool could be successfully executed. We tried to reproduce them based on their original datasets and then empirically compared those approaches against common datasets. Our experimental results show that existing tool capabilities are quite distinct with only a small overlap in the compatibility issues being identified. Moreover, these detection tools commonly detect compatibility issues via two separate steps including incompatible APIs gathering and compatibility issues (induced by the incorrect invocations of the identified incompatible APIs) determination. To help developers better identify compatibility issues in Android apps, we developed a new approach, AndroMevol, to systematically spot incompatible APIs as they play a crucial role in issue detection. AndroMevol was able to pinpoint 397,678 incompatible APIs against the full history of the official Android framework and 52 customized Android frameworks spanning five popular device manufacturers. Our approach could enhance the ability of the state-of-the-art detection tools by identifying many more incompatible APIs that may cause compatibility issues in Android apps and foster more advanced approaches to pinpointing all types of compatibility issues.

源语言英语
期刊论文编号15
期刊ACM Transactions on Software Engineering and Methodology
33
1
DOI
出版状态已出版 - 23 11月 2023

学术指纹

探究 'Automatically Detecting Incompatible Android APIs' 的科研主题。它们共同构成独一无二的学术指纹。

引用此