kirancodes.me
To Proof Maintenance & Beyond!

Compiler-directed Migrating API Callsite of Client Code

Hao Zhong, Na Meng

Abstract

API developers evolve software libraries to fix bugs, add new features, or refactor code, but the evolution can introduce API-breaking changes (e.g., API renaming). To benefit from such evolution, the programmers of client projects have to repetitively upgrade the callsites of libraries, since API-breaking changes introduce many compilation errors. It is tedious and error-prone to resolve such errors, especially when programmers are often unfamiliar with the API usages of newer versions. To migrate client code, the prior approaches either mine API mappings or learn edit scripts, but both the research lines have inherent limitations. For example, mappings alone cannot handle complex cases, and there is no sufficient source (e.g., migration commits) for learning edit scripts.

BibTeX
@inproceedings{Zhong-Meng:ICSE24,
  author    = {Hao Zhong and
               Na Meng},
  title     = {Compiler-directed Migrating {API} Callsite of Client Code},
  booktitle = {ICSE},
  pages     = {226:1--226:12},
  publisher = {{ACM}},
  year      = {2024},
}

Related papers