首页> 外文会议>International Conference on Software Engineering: Companion Proceedings >AndroEvolve: Automated Update for Android Deprecated-API Usages
【24h】

AndroEvolve: Automated Update for Android Deprecated-API Usages

机译:Androevolve:Android Descated-API使用的自动更新

获取原文

摘要

The 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 the 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.
机译:Android操作系统(OS)通常更新,每个新版本可能涉及API弃用。需要更新Android应用程序中已弃用API的用途,以确保应用程序与Android操作系统的旧版本和新版本的应用程序兼容。在这项工作中,我们提出了一个自动化工具的Androevolve,用于更新弃用Android API的用法,这些工具解决了最先进的工具的限制,Coccirevolve。 Androevolve利用数据流分析来解决方法外边界变量的问题,以及可变的非正规化以删除Coccievolve引入的临时变量。我们使用360个目标文件的数据集进行了评估了Androevolve的准确性,并且20弃用的Android API,其中Androevolve能够生成319个正确的更新,与仅生成249个正确更新的Coccirevolve相比。我们还使用手动和自动评估评估了Androevolve更新结果的可读性。这两个评估都表明,Androevolve产生的代码比Coccievolve的可读性更高。在https://youtu.be/siu0tumitxi提供了Androevolve的视频演示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号