Generating key points…
Answers are grounded in this paper and cite their sources.
Third-party library migration is a critical activity in software modernization, enabling systems to adopt updated dependencies, address security vulnerabilities, and align with evolving architectural requirements. Existing approaches to library migration recommendation typically mine dependency changes from software repositories and apply frequency-based filtering, but suffer from low precision or low recall due to the limitations of global thresholds. We reformulate library migration recommendation as a ranking problem and introduce a multi-metric framework that combines four evidence sources: Rule Support (frequency), Message Support (developer intent from commit messages), Distance Support (temporal proximity of changes), and API Support (code-level replacement evidence). Rather than filtering candidates using fixed thresholds, we rank them by multiplicative aggregation of these metrics. We evaluate our approach on 21,358 Java projects with 1,384 manually verified migration rules, achieving a Mean Reciprocal Rank (MRR) of 0.8566, Precision@1 of 0.7947, and Recall@20 of 0.8939, substantially outperforming existing frequency-based methods. We also confirm 661 previously undocumented migration rules across 480 popular libraries. Our work demonstrates that ranking-based aggregation of multiple evidence sources provides robust, data-driven decision support for library migration in software modernization projects. The framework is positioned as a software-analytics recommendation method.
No takes yet. Share an insight, caveat, or question.
Dinesh Vadada (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: