CiD: automating the detection of API-related compatibility issues in Android apps
Author(s) -
Li Li,
Tegawendé F. Bissyandé,
Haoyu Wang,
Jacques Klein
Publication year - 2018
Publication title -
open repository and bibliography (university of luxembourg)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/3213846.3213857
Subject(s) - bytecode , android (operating system) , computer science , backward compatibility , application programming interface , operating system , compatibility (geochemistry) , software engineering , world wide web , java , engineering , chemical engineering
The Android Application Programming Interface provides the necessary building blocks for app developers to harness the functionalities of the Android devices, including for interacting with services and accessing hardware. This API thus evolves rapidly to meet new requirements for security, performance and advanced features, creating a race for developers to update apps. Unfortunately, given the extent of the API and the lack of automated alerts on important changes, Android apps are suffered from API-related compatibility issues. These issues can manifest themselves as runtime crashes creating a poor user experience. We propose in this paper an automated approach named CiD for systematically modelling the lifecycle of the Android APIs and analysing app bytecode to flag usages that can lead to potential compatibility issues. We demonstrate the usefulness of CiD by helping developers repair their apps, and we validate that our tool outperforms the state-of-the-art on benchmark apps that take into account several challenges for automatic detection.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom