Mining Library Migration Graphs

Cédric Teyton, Jean‐Rémy Falleri, Xavier Blanc

2012 · 77 citations · 15 references

DOIFull text

Open access

Concepts

TL;DR

Software systems heavily rely on external libraries, whose relevance shifts over time, forcing developers to periodically reassess dependencies and identify suitable replacements—a tedious, time‑consuming process. We propose an approach that identifies sets of similar libraries and generates library migration graphs illustrating how projects have transitioned among them. The graphs are constructed by observing a large number of software projects and mapping their library migration paths. These graphs facilitate the discovery and selection of appropriate library replacements.

Abstract

Software systems intensively depend on external libraries, chosen at conception time. However, relevance of any library irremediably changes during projects and/or library life cycle. As a consequence, projects developers must periodically reconsider the libraries they depend on, and must think about library migration. When they want to migrate their libraries, they then have to identify candidate libraries that offer similar facilities and thus can substitute to each other. They also have to compare candidates to choose the one that best fits their needs. Finding a relevant library replacement is a well known tedious and time-consuming task. In this paper, we propose an approach that identifies sets of similar libraries and that produces what we call library migration graphs that show how existing projects have performed migrations among them. These graphs, constructed from the observation of a large number of software projects, ease the discovery and selection of library replacements.

References

15