SimilarAPI: mining analogical APIs for library migration

Research output: Chapter in Book/Report/Conference proceedingConference PaperOther

1 Citation (Scopus)

Abstract

Establishing API mappings between libraries is a prerequisite stepfor library migration tasks. Manually establishing API mappings istedious due to the large number of APIs to be examined, and existingmethods based on supervised learning requires unavailable alreadyported or functionality similar applications. Therefore, we proposean unsupervised deep learning based approach to embed both APIusage semantics and API description (name and document) semantics into vector space for inferring likely analogical API mappingsbetween libraries. We implement a proof-of-concept website SimilarAPI (https://similarapi.appspot.com) which can recommend analogical APIs for 583,501 APIs of 111 pairs of analogical Java librarieswith diverse functionalities. Video: https://youtu.be/EAwD6l24vLQ.

Original languageEnglish
Title of host publicationProceedings - 2020 ACM/IEEE 42nd International Conference on Software Engineering
Subtitle of host publicationCompanion Proceedings, ICSE-Companion 2020
EditorsHyunsook Do, Tien N. Nguyen
Place of PublicationNew York NY USA
PublisherAssociation for Computing Machinery (ACM)
Pages37-40
Number of pages4
ISBN (Electronic)9781450371223
DOIs
Publication statusPublished - 2020
EventInternational Conference on Software Engineering 2020 - Virtual, Online, Korea, Republic of (South)
Duration: 27 Jun 202019 Jul 2020
Conference number: 42nd
https://dl.acm.org/doi/proceedings/10.1145/3377811 (Proceedings)
https://conf.researchr.org/home/icse-2020 (Website)

Conference

ConferenceInternational Conference on Software Engineering 2020
Abbreviated titleICSE 2020
CountryKorea, Republic of (South)
CityVirtual, Online
Period27/06/2019/07/20
Internet address

Keywords

  • Analogical API
  • Skip thoughts
  • Word embedding

Cite this