Files
obsidian-yanxin/documents/academic/paper/api_mappings/nguyen_10_adaptation.md
Yanxin Lu ff146a9362 Archive 12 API mapping research papers (related work for PhD)
Reference papers on API mapping, migration, and evolution collected during
PhD research (2018). Topics include: API usage adaptation (LibSync),
statistical API mapping mining (StaMiner, MAM), API mapping via vector
representations (Word2Vec), text mining for API mappings (TMAP),
library migration graphs, framework evolution (AURA), class library
migration refactoring, and API specification inference (Doc2Spec).
2026-04-06 12:06:56 -07:00

1.0 KiB

category, type, person, date, source
category type person date source
academic academic Yanxin Lu 2010 nguyen_10_adaptation.pdf

A Graph-based Approach to API Usage Adaptation

Hoan Anh Nguyen, Tung Thanh Nguyen, Gary Wilson Jr., Anh Tuan Nguyen, Miryung Kim, Tien N. Nguyen (Iowa State University, UT Austin)

OOPSLA/SPLASH 2010

This paper presents LibSync, which guides developers in adapting API usage code by learning complex API usage adaptation patterns from other clients that already migrated to a new library version (and also from the API usages within the library's test code). LibSync uses several graph-based techniques to (1) identify changes to API declarations by comparing two library versions, (2) extract associated API usage skeletons before and after library migration, and (3) compare the extracted API usage skeletons to recover API usage adaptation patterns. Using the learned adaptation patterns, LibSync recommends the locations and edit operations for adapting API usages. Evaluation on real-world software systems shows precision of 100% and recall of 91%.