Mapping API Elements for Code Migration with Vector Representations
Title | Mapping API Elements for Code Migration with Vector Representations |
Publication Type | Conference Paper |
Year of Publication | 2016 |
Authors | Nguyen, Trong Duc, Nguyen, Anh Tuan, Nguyen, Tien N. |
Conference Name | Proceedings of the 38th International Conference on Software Engineering Companion |
Date Published | May 2016 |
Publisher | ACM |
Conference Location | New York, NY, USA |
ISBN Number | 978-1-4503-4205-6 |
Keywords | API, API mappings, APIs, applications programming interfaces, code migration, compositionality, language migration, pubcrawl, Resiliency, Word2Vec |
Abstract | Problem. Code migration between languages is challenging partly because different languages require developers to use different software libraries and frameworks. For example, in Java, Java Development Kit library (JDK) is a popular toolkit while .NET is the main framework used in C\# software development. Code migration requires not only the mappings between the language constructs (e.g., statements, expressions) but also the mappings among the APIs of the libraries/frameworks used in two languages. For example, in Java, to write to a file, one can use FileWriter.write of FileWriter, and in C\#, one can achieve the same function with StreamWriter.Write of StreamWriter. Such mapping is called API mapping. |
URL | https://dl.acm.org/doi/10.1145/2889160.2892661 |
DOI | 10.1145/2889160.2892661 |
Citation Key | nguyen_mapping_2016 |