JavaScript程序的动态行为分析外文翻译
来源:56doc.com 资料编号:5D24180 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D24180
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 密 保 惠 帮助
资料介绍
JavaScript程序的动态行为分析外文翻译(中文8000字,英文4400字)
摘要
JavaScript编程语言是广泛用于web编程的语言,也越来越多地用于特定目 的的计算。因此,如何提高正确性、安全性和JavaScript应用程序的性能就成为 了推动类型系统分析,静态分析和编译技术研究等领域发展的动力之一。许多g 些技术都旨在研究在一些最具有动态特性的语言,然而很少人会清楚的知道程序 员是如何利用语言的这些特性。在本文中,我们将研究一些广泛使用JavaScript 程序的动态行为,并分析如何以及为什么使用这些动态特性。我们将根据这些 JavaScript程序得出具体的动态程度,并与目前参考文献中使用的假定数据和通 用工业标准中的数据进行比较。
关键词:动态行为;执行跟踪;动态指标;程序分析;JavaScript
An Analysis of the Dynamic Behavior of JavaScript Programs
Abstract:
The JavaScript programming language is widely used for web programming and, increasingly, for general purpose computing.As such, improving the correctness, security and performance of JavaScript applications has been the driving force for research in type systems, static analysis and compiler techniques for this language. Many of these techniques aim to reign in some of the most dynamic features of the language, yet little seems to be known about how programmers actually utilize the language or these features. In this paper we perform an empirical study of the dynamic behavior of a corpus of widely-used JavaScript programs, and analyze how and why the dynamic features are used. We report on the degree of dynamism that is exhibited by these JavaScript programs and compare that with assumptions commonly made in the literature and accepted industry benchmark suites.
Keywords: Dynamic Behavior, Execution Tracing, Dynamic Metrics, Program Analysis, JavaScript |