ISCAS OpenIR
Exposing Behavioral Differences in Cross-Language API Mapping Relations
Zhong, Hao; Thummalapenta, Suresh; Xie, Tao
2013
Conference Name16th International Conference on Fundamental Approaches to Software Engineering (FASE)
Pages130-145
Conference DateMAR 16-24, 2013
Conference PlaceRome, ITALY
Indexed TypeCPCI
Publish PlaceSPRINGER-VERLAG BERLIN
ISSN0302-9743
ISBN978-3-642-37057-1
Department[Zhong, Hao] Chinese Acad Sci, Inst Software, Lab Internet Software Technol, Beijing, Peoples R China.
English AbstractDue 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.
Language英语
Content Type会议论文
URIhttp://ir.iscas.ac.cn/handle/311060/16526
Collection中国科学院软件研究所
Recommended Citation
GB/T 7714
Zhong, Hao,Thummalapenta, Suresh,Xie, Tao. Exposing Behavioral Differences in Cross-Language API Mapping Relations[C]. SPRINGER-VERLAG BERLIN,2013:130-145.
Files in This Item:
There are no files associated with this item.
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[Zhong, Hao]'s Articles
[Thummalapenta, Suresh]'s Articles
[Xie, Tao]'s Articles
Baidu academic
Similar articles in Baidu academic
[Zhong, Hao]'s Articles
[Thummalapenta, Suresh]'s Articles
[Xie, Tao]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[Zhong, Hao]'s Articles
[Thummalapenta, Suresh]'s Articles
[Xie, Tao]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.