paper-with-me

Papers

Learning to Recommend Third-Party Library Migration Opportunities at the API Level

2019-06-07 · Hussein Alrubaye, Mohamed Wiem Mkaouer, Igor Khokhlov, Leon Reznik, Ali Ouni, Jason Mcgoff

The manual migration between different third-party libraries represents a challenge for software developers. Developers typically need to explore both libraries Application Programming Interfaces, along with reading their documentation, in order to locate the suitable mappings between replacing and replaced methods. In this paper, we introduce RAPIM, a novel machine learning approach that recommends mappings between methods from two different libraries. Our model learns from previous migrations, manually performed in mined software systems, and extracts a set of features related to the similarity between method signatures and method textual documentation. We evaluate our model using 8 popular migrations, collected from 57,447 open-source Java projects. Results show that RAPIM is able to recommend relevant library API mappings with an average accuracy score of 87%. Finally, we provide the community with an API recommendation web service that could be used to support the migration process.

📄 PDF Abstract BibTeX arXiv:1906.02882

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

MigrationMiner: An Automated Detection Tool of Third-Party Java Library Migration at the Method Level

2019-07-05 · Hussein Alrubaye, Mohamed Wiem Mkaouer, Ali Ouni

In this paper we introduce, MigrationMiner, an automated tool that detects code migrations performed between Java third-party library. Given a list of open source projects, the tool detects potential library migration co…

LibRec: Benchmarking Retrieval-Augmented LLMs for Library Migration Recommendations

2025-08-13 · Junxiao Han, Yarong Wang, Xiaodong Gu, Cuiyun Gao 외 arxiv

In this paper, we propose LibRec, a novel framework that integrates the capabilities of LLMs with retrieval-augmented generation(RAG) techniques to automate the recommendation of alternative libraries. The framework furt…

How Robust are LLM-Generated Library Imports? An Empirical Study using Stack Overflow

2025-07-14 · Jasmine Latendresse, SayedHassan Khatoonabadi, Emad Shihab arxiv

Software libraries are central to the functionality, security, and maintainability of modern code. As developers increasingly turn to Large Language Models (LLMs) to assist with programming tasks, understanding how these…

Req2Lib: A Semantic Neural Model for Software Library Recommendation

2020-05-24 · Zhensu Sun, Yan Liu, Ziming Cheng, Chen Yang 외

Third-party libraries are crucial to the development of software projects. To get suitable libraries, developers need to search through millions of libraries by filtering, evaluating, and comparing. The vast number of li…

Stdlib or Third-Party? Empirical Performance and Correctness of LLM-Assisted Zero-Dependency Python Libraries

2026-05-20 · Peng Ding, Rick Stevens arxiv

Third-party Python libraries introduce dependency management overhead, supply chain risk, and deployment friction in constrained environments. A natural question is how much of this ecosystem can be replicated using only…