首页> 外文期刊>Empirical Software Engineering >CDA: Characterising Deprecated Android APIs
【24h】

CDA: Characterising Deprecated Android APIs

机译:CDA:表征已弃用的Android API

获取原文
获取原文并翻译 | 示例
           

摘要

Because of functionality evolution, or security and performance-related changes, some APIs eventually become unnecessary in a software system and thus need to be cleaned to ensure proper maintainability. Those APIs are typically marked first as deprecated APIs and, as recommended, follow through a deprecated-replace-remove cycle, giving an opportunity to client application developers to smoothly adapt their code in next updates. Such a mechanism is adopted in the Android framework development where thousands of reusable APIs are made available to Android app developers. In this work, we present a research-based prototype tool called CDA and apply it to different revisions (i.e., releases or tags) of the Android framework code for characterising deprecated APIs. Based on the data mined by CDA, we then perform an empirical study on API deprecation in the Android ecosystem and the associated challenges for maintaining quality apps. In particular, we investigate the prevalence of deprecated APIs, their annotations and documentation, their removal and consequences, their replacement messages, developer reactions to API deprecation, as well as the evolution of the usage of deprecated APIs. Experimental results reveal several findings that further provide promising insights related to deprecated Android APIs. Notably, by mining the source code of the Android framework base, we have identified three bugs related to deprecated APIs. These bugs have been quickly assigned and positively appreciated by the framework maintainers, who claim that these issues will be updated in future releases.
机译:由于功能演变,或与安全性和性能相关的更改,某些API最终在软件系统中变得不必要,因此需要清洁以确保适当的可维护性。这些API通常首先标记为已弃用的API,如推荐,通过折旧替换 - 删除周期后,为客户端应用程序开发人员提供机会,以便在下一个更新中平滑调整其代码。在Android框架开发中采用了这种机制,其中成千上万的可重复使用的API可用于Android应用程序开发人员。在这项工作中,我们介绍了一个名为CDA的基于研究的原型工具,并将其应用于Android框架代码的不同修订(即,版本或标签),以表征已弃用的API。基于CDA所开采的数据,我们对Android生态系统的API弃用以及维护质量应用程序的相关挑战进行了实证研究。特别是,我们调查贬值的API,他们的注释和文件,他们的删除和后果,替代消息,对API弃用的发展方案以及弃用API的使用的演变的普遍存在和后果。实验结果揭示了几种结果,进一步提供了与弃用的Android API相关的有希望的见解。值得注意的是,通过挖掘Android框架基础的源代码,我们已确定与已弃用API相关的三个错误。这些错误已被框架维护者迅速分配和积极地赞赏,他声称将在将来的版本中更新这些问题。

著录项

  • 来源
    《Empirical Software Engineering》 |2020年第3期|2058-2098|共41页
  • 作者单位

    Faculty of Information Technology Monash University Clayton Australia;

    Interdisciplinary Centre for Security Reliability and Trust University of Luxembourg Esch-sur-Alzette Luxembourg;

    Interdisciplinary Centre for Security Reliability and Trust University of Luxembourg Esch-sur-Alzette Luxembourg;

    Faculty of Information Science and Electrical Engineering Kyushu University Fukuoka Japan;

    Faculty of Information Technology Monash University Clayton Australia;

    Interdisciplinary Centre for Security Reliability and Trust University of Luxembourg Esch-sur-Alzette Luxembourg;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Android; Deprecated APIs; CDA;

    机译:安卓;弃用API;CDA.;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号