skip to main content
10.1145/2591062.2591144acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Statistical learning of API mappings for language migration

Published: 31 May 2014 Publication History

Abstract

The process of migrating software between languages is called language migration or code migration. To reduce manual effort in defining the rules of API mappings for code migration, we propose StaMiner, a data-driven model that statistically learns the mappings between API usages from the corpus of the corresponding methods in the client code of the APIs in two languages.

References

[1]
Java2CSharp. http://j2cstranslator.wiki.sourceforge.net/.
[2]
K. Chow and D. Notkin. Semi-automatic update of applications in response to library changes. In ICSM’96. IEEE CS, 1996.
[3]
B. Dagenais and M. P. Robillard. Recommending adaptive changes for framework evolution. In ICSE’08, pages 481–490. ACM, 2008.
[4]
J. Henkel and A. Diwan. CatchUp!: capturing and replaying refactorings to support API evolution. In ICSE’05, pages 274-283. ACM, 2005.
[5]
P. Koehn. Statistical Machine Translation. The Cambridge Press, 2010.
[6]
S. Meng, X. Wang, L. Zhang, and H. Mei. A history-based matching approach to identification of framework evolution. In ICSE’12. IEEE CS, 2012.
[7]
T. T. Nguyen, H. A. Nguyen, N. H. Pham, J. M. Al-Kofahi, and T. N. Nguyen. Graph-based mining of multiple object usage patterns. In ESEC/FSE ’09, pages 383–392. ACM, 2009.
[8]
M. Nita and D. Notkin. Using twinning to adapt programs to alternative APIs. In ICSE ’10, pages 205–214. ACM, 2010.
[9]
W. Wu, Y.-G. Guéhéneuc, G. Antoniol, and M. Kim. AURA: a hybrid approach to identify framework evolution. In ICSE ’10, pages 325–334. ACM, 2010.
[10]
H. Zhong, S. Thummalapenta, T. Xie, L. Zhang, and Q. Wang. Mining API mapping for language migration. In ICSE ’10, pages 195–204. ACM, 2010.

Cited By

View all
  • (2020)Analogy-making as a Core primitive in the software engineering toolboxProceedings of the 2020 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software10.1145/3426428.3426918(101-121)Online publication date: 18-Nov-2020
  • (2019)SAR: learning cross-language API mappings with little knowledgeProceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering10.1145/3338906.3338924(796-806)Online publication date: 12-Aug-2019
  • (2019)Bilateral Dependency Neural Networks for Cross-Language Algorithm Classification2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER.2019.8667995(422-433)Online publication date: Feb-2019
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ICSE Companion 2014: Companion Proceedings of the 36th International Conference on Software Engineering
May 2014
741 pages
ISBN:9781450327688
DOI:10.1145/2591062
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

In-Cooperation

  • TCSE: IEEE Computer Society's Tech. Council on Software Engin.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 31 May 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Language Migration
  2. Statistical Machine Translation

Qualifiers

  • Article

Conference

ICSE '14
Sponsor:

Acceptance Rates

Overall Acceptance Rate 276 of 1,856 submissions, 15%

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)1
  • Downloads (Last 6 weeks)1
Reflects downloads up to 20 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2020)Analogy-making as a Core primitive in the software engineering toolboxProceedings of the 2020 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software10.1145/3426428.3426918(101-121)Online publication date: 18-Nov-2020
  • (2019)SAR: learning cross-language API mappings with little knowledgeProceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering10.1145/3338906.3338924(796-806)Online publication date: 12-Aug-2019
  • (2019)Bilateral Dependency Neural Networks for Cross-Language Algorithm Classification2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER)10.1109/SANER.2019.8667995(422-433)Online publication date: Feb-2019
  • (2019)Towards zero knowledge learning for cross language API mappingsProceedings of the 41st International Conference on Software Engineering: Companion Proceedings10.1109/ICSE-Companion.2019.00054(123-125)Online publication date: 25-May-2019
  • (2018)Hierarchical learning of cross-language mappings through distributed vector representations for codeProceedings of the 40th International Conference on Software Engineering: New Ideas and Emerging Results10.1145/3183399.3183427(33-36)Online publication date: 27-May-2018
  • (2017)Learning to Infer API Mappings from API DocumentsKnowledge Science, Engineering and Management10.1007/978-3-319-63558-3_20(237-248)Online publication date: 19-Jul-2017
  • (2016)On the "naturalness" of buggy codeProceedings of the 38th International Conference on Software Engineering10.1145/2884781.2884848(428-439)Online publication date: 14-May-2016
  • (2014)Statistical learning approach for mining API usage mappings for code migrationProceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering10.1145/2642937.2643010(457-468)Online publication date: 15-Sep-2014

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media