Exposing Behavioral Differences in Cross-Language API Mapping Relations
文献类型:会议论文
作者 | Zhong, Hao ; Thummalapenta, Suresh ; Xie, Tao |
出版日期 | 2013 |
会议名称 | 16th International Conference on Fundamental Approaches to Software Engineering (FASE) |
会议日期 | MAR 16-24, 2013 |
会议地点 | Rome, ITALY |
页码 | 130-145 |
中文摘要 | Due to various considerations, software vendors often translate their applications from one programming language to another, either manually or with the support of translation tools. Both these scenarios require translation of many call sites of API elements (i.e., classes, methods, and fields of API libraries). API mapping relations, either acquired by experienced programmers or already incorporated in translation tools, are much valuable in the translation process, since they describe mapping relations between source API elements and their equivalent target API elements. However, in an API mapping relation, a source API element and its target API elements may have behavioral differences, and such differences could lead to defects in the translated code. So far, to the best of our knowledge, there exists no previous study for exposing or understanding such differences. In this paper, we make the first attempt to expose and analyze behavioral differences in cross-language API mapping relations. From our result, we summarize eight findings and their implications that can improve effectiveness of translation tools, and also assist programmers in understanding the differences between mapped API elements of different languages during the translation process. Some exposed behavioral differences can indicate defects in translation tools, and four such new defects were confirmed by the developers of those tools. |
英文摘要 | Due to various considerations, software vendors often translate their applications from one programming language to another, either manually or with the support of translation tools. Both these scenarios require translation of many call sites of API elements (i.e., classes, methods, and fields of API libraries). API mapping relations, either acquired by experienced programmers or already incorporated in translation tools, are much valuable in the translation process, since they describe mapping relations between source API elements and their equivalent target API elements. However, in an API mapping relation, a source API element and its target API elements may have behavioral differences, and such differences could lead to defects in the translated code. So far, to the best of our knowledge, there exists no previous study for exposing or understanding such differences. In this paper, we make the first attempt to expose and analyze behavioral differences in cross-language API mapping relations. From our result, we summarize eight findings and their implications that can improve effectiveness of translation tools, and also assist programmers in understanding the differences between mapped API elements of different languages during the translation process. Some exposed behavioral differences can indicate defects in translation tools, and four such new defects were confirmed by the developers of those tools. |
收录类别 | CPCI |
会议录出版地 | SPRINGER-VERLAG BERLIN |
语种 | 英语 |
ISSN号 | 0302-9743 |
ISBN号 | 978-3-642-37057-1 |
源URL | [http://ir.iscas.ac.cn/handle/311060/16526] ![]() |
专题 | 软件研究所_软件所图书馆_会议论文 |
推荐引用方式 GB/T 7714 | Zhong, Hao,Thummalapenta, Suresh,Xie, Tao. Exposing Behavioral Differences in Cross-Language API Mapping Relations[C]. 见:16th International Conference on Fundamental Approaches to Software Engineering (FASE). Rome, ITALY. MAR 16-24, 2013. |
入库方式: OAI收割
来源:软件研究所
浏览0
下载0
收藏0
其他版本
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。