APIMigrator: An API-usage migration tool for Android apps

Mattia Fazzini, Qi Xin, Alessandro Orso

Research output: Chapter in Book/Report/Conference proceedingConference contribution

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 languageEnglish (US)
Title of host publicationProceedings - 2020 IEEE/ACM 7th International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020
PublisherAssociation for Computing Machinery, Inc
Pages77-80
Number of pages4
ISBN (Electronic)9781450379595
DOIs
StatePublished - Jul 13 2020
Externally publishedYes
Event7th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020 - Virtual, Online, Korea, Republic of
Duration: Jul 13 2020 → …

Publication series

NameProceedings - 2020 IEEE/ACM 7th International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020

Conference

Conference7th IEEE/ACM International Conference on Mobile Software Engineering and Systems, MOBILESoft 2020
CountryKorea, Republic of
CityVirtual, Online
Period7/13/20 → …

Bibliographical note

Funding Information:
This work was partially supported by NSF, under grants CCF-1161821 and CCF-1563991, DARPA, under contracts FA8650-15-C-7556 and FA8650-16-C-7620, ONR, under contract N00014-17-1-2895, and gifts from Facebook, Google, IBM Research, and Microsoft Research.

Publisher Copyright:
© 2020 ACM.

Copyright:
Copyright 2021 Elsevier B.V., All rights reserved.

Keywords

  • API analysis
  • API-usage migration
  • mobile apps

Fingerprint Dive into the research topics of 'APIMigrator: An API-usage migration tool for Android apps'. Together they form a unique fingerprint.

Cite this