mining api mapping for language migration
文献类型:会议论文
作者 | Zhong Hao ; Thummalapenta Suresh ; Xie Tao ; Zhang Lu ; Wang Qing |
出版日期 | 2010 |
会议名称 | 32nd ACM/IEEE International Conference on Software Engineering, ICSE 2010 |
会议日期 | May 1, 201 |
会议地点 | Cape Town, South africa |
关键词 | Application programming interfaces (API) Computer software Defects Errors Linguistics Mapping Query languages |
页码 | 195-204 |
英文摘要 | To address business requirements and to survive in competing markets, companies or open source organizations often have to release different versions of their projects in different languages. Manually migrating projects from one language to another (such as from Java to C#) is a tedious and error-prone task. To reduce manual effort or human errors, tools can be developed for automatic migration of projects from one language to another. However, these tools require the knowledge of how Application Programming Interfaces (APIs) of one language are mapped to APIs of the other language, referred to as API mapping relations. In this paper, we propose a novel approach, called MAM (Mining API Mapping), that mines API mapping relations from one language to another using API client code. MAM accepts a set of projects each with two versions in two languages and mines API mapping relations between those two languages based on how APIs are used by the two versions. These mined API mapping relations assist in migration of projects from one language to another. We implemented a tool and conducted two evaluations to show the effectiveness of MAM. The results show that our tool mines 25,805 unique mapping relations of APIs between Java and C# with more than 80% accuracy. The results also show that mined API mapping relations help reduce 54.4% compilation errors and 43.0% defects during migration of projects with an existing migration tool, called Java2CSharp. The reduction in compilation errors and defects is due to our new mined mapping relations that are not available with the existing migration tool. © 2010 ACM. |
会议主办者 | Association for Computing Machinery (ACM); IEEE Computer Society; Technical Council on Software Engineering (tcse); SIGSOFT; Computer Society - South Africa |
会议录 | Proceedings - International Conference on Software Engineering
![]() |
会议录出版地 | United States |
ISSN号 | 2705257 |
ISBN号 | 9781610000000 |
源URL | [http://124.16.136.157/handle/311060/8826] ![]() |
专题 | 软件研究所_互联网软件技术实验室 _会议论文 |
推荐引用方式 GB/T 7714 | Zhong Hao,Thummalapenta Suresh,Xie Tao,et al. mining api mapping for language migration[C]. 见:32nd ACM/IEEE International Conference on Software Engineering, ICSE 2010. Cape Town, South africa. May 1, 201. |
入库方式: OAI收割
来源:软件研究所
浏览0
下载0
收藏0
其他版本
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。