Title :
Automatic discovery of function mappings between similar libraries
Author :
Teyton, Cedric ; Falleri, Jean-Remy ; Blanc, Xavier
Author_Institution :
LaBRI, Univ. Bordeaux, Talence, France
Abstract :
Library migration is the process of replacing a third-party library in favor of a competing one during software maintenance. The process of transforming a software source code to become compliant with a new library is cumbersome and error-prone. Indeed, developers have to understand a new Application Programming Interface (API) and search for the right replacements for the functions they use from the old library. As the two libraries are independent, the functions may have totally different structures and names, making the search of mappings very difficult. To assist the developers in this difficult task, we introduce an approach that analyzes source code changes from software projects that already underwent a given library migration to extract mappings between functions. We demonstrate the applicability of our approach on several library migrations performed on the Java open source software projects.
Keywords :
Java; application program interfaces; project management; public domain software; software libraries; software maintenance; API; Java open source software projects; application programming interface; function mapping automatic discovery; library migration; software maintenance; software source code; third-party library; Algorithm design and analysis; Approximation algorithms; Context; Java; Libraries; Software systems;
Conference_Titel :
Reverse Engineering (WCRE), 2013 20th Working Conference on
Conference_Location :
Koblenz
DOI :
10.1109/WCRE.2013.6671294