2019/06/06 by Hussein Alrubaye, Alrubaye, Hussein, Mohamed Wiem Mkaouer +9 · 2 citations
Computer Science · #Computation and Language (cs.CL) #FOS: Computer and information sciences #Information Retrieval (cs.IR) #Software Engineering Research #Software Engineering Techniques and Practices #Software System Performance and Reliability
paper · pdf · doi:10.48550/arxiv.1906.02882
openalex publication_date 2019/06/06 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
The manual migration between different third-party libraries represents a\nchallenge for software developers. Developers typically need to explore both\nlibraries Application Programming Interfaces, along with reading their\ndocumentation, in order to locate the suitable mappings between replacing and\nreplaced methods. In this paper, we introduce RAPIM, a novel machine learning\napproach that recommends mappings between methods from two different libraries.\nOur model learns from previous migrations, manually performed in mined software\nsystems, and extracts a set of features related to the similarity between\nmethod signatures and method textual documentation. We evaluate our model using\n8 popular migrations, collected from 57,447 open-source Java projects. Results\nshow that RAPIM is able to recommend relevant library API mappings with an\naverage accuracy score of 87%. Finally, we provide the community with an API\nrecommendation web service that could be used to support the migration process.\n