Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
97 tokens/sec
GPT-4o
53 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
5 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

AndroEvolve: Automated Update for Android Deprecated-API Usages (2012.07259v2)

Published 14 Dec 2020 in cs.SE

Abstract: Android operating system (OS) is often updated, where each new version may involve API deprecation. Usages of deprecated APIs in Android apps need to be updated to ensure the apps' compatibility with the old and new versions of Android OS. In this work, we propose AndroEvolve, an automated tool to update usages of deprecated Android APIs, that addresses the limitations of the state-of-the-art tool, CocciEvolve. AndroEvolve utilizes data flow analysis to solve the problem of out-of-method-boundary variables, and variable denormalization to remove the temporary variables introduced by CocciEvolve. We evaluated the accuracy of AndroEvolve using a dataset of 360 target files and 20 deprecated Android APIs, where AndroEvolve is able to produce 319 correct updates, compared to CocciEvolve which only produces 249 correct updates. We also evaluated the readability of AndroEvolve's update results using a manual and an automatic evaluation. Both evaluations demonstrated that the code produced by AndroEvolve has higher readability than CocciEvolve's. A video demonstration of AndroEvolve is available at https://youtu.be/siU0tuMITXI.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Stefanus Agus Haryono (5 papers)
  2. Ferdian Thung (25 papers)
  3. David Lo (229 papers)
  4. Lingxiao Jiang (36 papers)
  5. Julia Lawall (14 papers)
  6. Hong Jin Kang (31 papers)
  7. Lucas Serrano (3 papers)
  8. Gilles Muller (6 papers)
Citations (12)

Summary

We haven't generated a summary for this paper yet.