Abstract
To provide their functionality, mobile apps interact extensively with the application programming interface (API) of the underlying operating system. Given that this API evolves frequently, app developers are periodically required to migrate API usages in their apps to ensure that the apps behave as expected when running on the new API. To help developers with this tedious, error-prone, and time-consuming task, we defined a technique for automated API migration and implemented it in a tool called APIMigrator that supports Android apps. APIMigrator (1) automatically migrates API usages within an app by leveraging how developers of other apps migrated corresponding API usages and (2) validates the migrations through differential testing. We evaluated APIMigrator on a benchmark of 15 real-world apps and obtained promising results. Overall, our tool was able to migrate 85% of the API usages considered and validate 68% of these migrations. We provide a demo video of the tool at https://youtu.be/v0VfpKi_IDc.
Original language | English (US) |
---|---|
Title of host publication | Proceedings - 2020 IEEE/ACM 7th International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020 |
Publisher | Association for Computing Machinery, Inc |
Pages | 77-80 |
Number of pages | 4 |
ISBN (Electronic) | 9781450379595 |
DOIs | |
State | Published - Jul 13 2020 |
Event | 7th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020 - Virtual, Online, Korea, Republic of Duration: Jul 13 2020 → … |
Publication series
Name | Proceedings - 2020 IEEE/ACM 7th International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020 |
---|
Conference
Conference | 7th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020 |
---|---|
Country/Territory | Korea, Republic of |
City | Virtual, Online |
Period | 7/13/20 → … |
Bibliographical note
Publisher Copyright:© 2020 ACM.
Keywords
- API analysis
- API-usage migration
- mobile apps