跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:1906.02591 (cs)
[提交于 2019年6月7日]

标题:On the Use of Information Retrieval to Automate the Detection of Third-Party Java Library Migration at the Method Level

作者:Hussein Alrubaye, Mohamed Wiem Mkaouer, Ali Ouni
查看论文《On the Use of Information Retrieval to Automate the Detection of Third-Party Java Library Migration at the Method Level》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The migration process between different third-party libraries is hard, complex and error-prone. Typically, during a library migration, developers need to find methods in the new library that are most adequate in replacing the old methods of the retired library. This process is subjective and time-consuming as developers need to fully understand the documentation of both libraries Application Programming Interfaces, and find the right matching between their methods if it exists. In this context, several studies rely on mining existing library migrations to provide developers with by-example approaches for similar scenarios. In this paper, we introduce a novel mining approach that extracts existing instances of library method replacements that are manually performed by developers for a given library migration to automatically generate migration patterns in the method level. Thereafter, our approach combines the mined method-change patterns with method-related lexical similarity to accurately detect mappings between replacing/replaced methods. We conduct a large scale empirical study to evaluate our approach on a benchmark of 57,447 open-source Java projects leading to 9 popular library migrations. Our qualitative results indicate that our approach significantly increases the accuracy of mining method-level mappings by an average accuracy of 12%, as well as increasing the number of discovered method mappings, in comparison with existing state-of-the-art studies. Finally, we provide the community with an open source mining tool along with a dataset of all mined migrations at the method level.
评论: accepted at 27th IEEE/ACM International Conference on Program Comprehension 2019
主题: 软件工程 (cs.SE)
引用方式: arXiv:1906.02591 [cs.SE]
  (或者 arXiv:1906.02591v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1906.02591
期刊参考: 27th IEEE/ACM International Conference on Program Comprehension 2019

提交历史

来自:Hussein Alrubaye
[v1] 2019年6月7日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-06
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站