CORC  > 北京大学  > 信息科学技术学院
Locating Need-to-Externalize Constant Strings for Software Internationalization with Generalized String-Taint Analysis
Wang, Xiaoyin ; Zhang, Lu ; Xie, Tao ; Mei, Hong ; Sun, Jiasu
刊名ieee transactions on software engineering
2013
关键词Software internationalization need-to-externalize constant strings string-taint analysis PRECISE ANALYSIS ALGORITHMS INJECTION PROGRAMS
DOI10.1109/TSE.2012.40
英文摘要Nowadays, a software product usually faces a global market. To meet the requirements of different local users, the software product must be internationalized. In an internationalized software product, user-visible hard-coded constant strings are externalized to resource files so that local versions can be generated by translating the resource files. In many cases, a software product is not internationalized at the beginning of the software development process. To internationalize an existing product, the developers must locate the user-visible constant strings that should be externalized. This locating process is tedious and error-prone due to 1) the large number of both user-visible and non-user-visible constant strings and 2) the complex data flows from constant strings to the Graphical User Interface (GUI). In this paper, we propose an automatic approach to locating need-to-externalize constant strings in the source code of a software product. Given a list of precollected API methods that output values of their string argument variables to the GUI and the source code of the software product under analysis, our approach traces from the invocation sites (within the source code) of these methods back to the need-to-externalize constant strings using generalized string-taint analysis. In our empirical evaluation, we used our approach to locate need-to-externalize constant strings in the uninternationalized versions of seven real-world open source software products. The results of our evaluation demonstrate that our approach is able to effectively locate need-to-externalize constant strings in uninternationalized software products. Furthermore, to help developers understand why a constant string requires translation and properly translate the need-to-externalize strings, we provide visual representation of the string dependencies related to the need-to-externalize strings.; http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=LinksAMR&KeyUT=WOS:000316618800005&DestLinkType=FullRecord&DestApp=ALL_WOS&UsrCustomerID=8e1609b174ce4e31116a60747a720701 ; Computer Science, Software Engineering; Engineering, Electrical & Electronic; SCI(E); 0; ARTICLE; 4; 516-536; 39
语种英语
内容类型期刊论文
源URL[http://ir.pku.edu.cn/handle/20.500.11897/152329]  
专题信息科学技术学院
推荐引用方式
GB/T 7714
Wang, Xiaoyin,Zhang, Lu,Xie, Tao,et al. Locating Need-to-Externalize Constant Strings for Software Internationalization with Generalized String-Taint Analysis[J]. ieee transactions on software engineering,2013.
APA Wang, Xiaoyin,Zhang, Lu,Xie, Tao,Mei, Hong,&Sun, Jiasu.(2013).Locating Need-to-Externalize Constant Strings for Software Internationalization with Generalized String-Taint Analysis.ieee transactions on software engineering.
MLA Wang, Xiaoyin,et al."Locating Need-to-Externalize Constant Strings for Software Internationalization with Generalized String-Taint Analysis".ieee transactions on software engineering (2013).
个性服务
查看访问统计
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。


©版权所有 ©2017 CSpace - Powered by CSpace