ICPC 2019
Sat 25 - Sun 26 May 2019 Montreal, QC, Canada
co-located with ICSE 2019

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.

Sun 26 May

Displayed time zone: Eastern Time (US & Canada) change

16:00 - 18:00
Session IX: Information Retrieval, API, the Crowd, and Biosensors : The Magnificent FourICPC 2019 Replications / ICPC 2019 Technical Research at Laurier
Chair(s): Venera Arnaoudova Washington State University
16:00
20m
Full-paper
A Replication Study on Code Comprehension and Expertise using Lightweight Biometric Sensors
ICPC 2019 Replications
Davide Fucci University of Hamburg, Daniela Girardi , Nicole Novielli University of Bari, Luigi Quaranta , Filippo Lanubile University of Bari
16:20
20m
Full-paper
Measuring Interprocess Communications in Distributed Systems
ICPC 2019 Technical Research
Xiaoqin Fu Washington State University, Haipeng Cai Washington State University, USA
Link to publication
16:40
20m
Full-paper
Meditor: Inference and Application of API Migration Edits
ICPC 2019 Technical Research
Shengzhe Xu , Ziqi Dong , Na Meng Virginia Tech
17:00
20m
Full-paper
On the Use of Information Retrieval to Automate the Detection of Third-Party Java Library Migration At The Function Level
ICPC 2019 Technical Research
Hussein Alrubaye Rochester Institute of Technology, USA, Mohamed Wiem Mkaouer Rochester Institute of Technology, Ali Ouni
Pre-print
17:20
20m
Full-paper
Recommending Comprehensive Solutions for Programming Tasks by Mining Crowd Knowledge
ICPC 2019 Technical Research
Rodrigo Fernandes Gomes da Silva , Chanchal K. Roy University of Saskatchewan, Masud Rahman University of Saskatchewan , Kevin Schneider University of Saskatchewan, Klérisson Paixão Federal University of Uberlândia, Marcelo De Almeida Maia Federal University of Uberlandia
Pre-print
17:40
20m
Full-paper
Using Frugal User Feedback with Closeness Analysis on Code to Improve IR-Based Traceability Recovery
ICPC 2019 Technical Research
Hongyu Kuang , Hui Gao Nanjing University, China, Hao Hu , Xiaoxing Ma , Jian Lu Nanjing University, Patrick Mäder Technische Universität Ilmenau, Alexander Egyed