Automatic Android Deprecated-API Usage Update by Learning from Single Updated Example

05/27/2020
by   Stefanus Agus Haryono, et al.
0

Due to the deprecation of APIs in the Android operating system,developers have to update usages of the APIs to ensure that their applications work for both the past and current versions of Android.Such updates may be widespread, non-trivial, and time-consuming. Therefore, automation of such updates will be of great benefit to developers. AppEvolve, which is the state-of-the-art tool for automating such updates, relies on having before- and after-update examples to learn from. In this work, we propose an approach named CocciEvolve that performs such updates using only a single after-update example. CocciEvolve learns edits by extracting the relevant update to a block of code from an after-update example. From preliminary experiments, we find that CocciEvolve can successfully perform 96 out of 112 updates, with a success rate of 85

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/10/2020

AndroEvolve: Automated Android API Update with Data Flow Analysis and Variable Denormalization

The Android operating system is frequently updated, with each version br...
research
12/14/2020

AndroEvolve: Automated Update for Android Deprecated-API Usages

Android operating system (OS) is often updated, where each new version m...
research
09/15/2022

AutoUpdate: Automatically Recommend Code Updates for Android Apps

Android developers frequently update source code to improve the performa...
research
12/12/2018

A4: Automatically Assisting Android API Migrations Using Code Examples

The fast-paced evolution of Android APIs has posed a challenging task fo...
research
01/02/2021

Early Work on Efficient Patching for Coordinating Edge Applications

Multiple applications running on Edge computers can be orchestrated to a...
research
11/10/2020

Characterization and Automatic Update of Deprecated Machine-Learning API Usages

Due to the rise of AI applications, machine learning libraries have beco...
research
01/08/2018

The Android Update Problem: An Empirical Study

Many phone vendors use Android as their underlying OS, but often extend ...

Please sign up or login with your details

Forgot password? Click here to reset