Optimizing Library Migration: A Multi-Metric Ranking Approach for Improved Recommendations

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.

Authors

Institutions

Publication Details

Journal
International Journal of Intelligent Systems and Data Science
Published
2026-11-30
DOI
https://doi.org/10.67231/ejrr7n23
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Optimizing Library Migration: A Multi-Metric Ranking Approach for Improved Recommendations

Dinesh Vadada
International Journal of Intelligent Systems and Data Science
Software Engineering Research
article

Optimizing Library Migration: A Multi-Metric Ranking Approach for Improved Recommendations

Dinesh Vadada
article en

Abstract

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.

International Journal of Intelligent Systems and Data ScienceVol. 1(7)
The University of Texas at Dallas (US)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon