首页 | 本学科首页   官方微博 | 高级检索  
     


Empirical study of the dynamic behavior of JavaScript objects
Authors:Shiyi Wei  Franceska Xhakaj  Barbara G. Ryder
Affiliation:1. Department of Computer Science, Virginia Tech, Blacksburg, VA, USA;2. Department of Computer Science, Lafayette College, Easton, PA, USA
Abstract:Despite the popularity of JavaScript for client‐side web applications, there is a lack of effective software tools supporting JavaScript development and testing. The dynamic characteristics of JavaScript pose software engineering challenges such as program understanding and security. One important feature of JavaScript is that its objects support flexible mechanisms such as property changes at runtime and prototype‐based inheritance, making it difficult to reason about object behavior. We have performed an empirical study on real JavaScript applications to understand the dynamic behavior of JavaScript objects. We present metrics to measure behavior of JavaScript objects during execution (e.g., operations associated with an object, object size, and property type changes). We also investigated the behavioral patterns of observed objects to understand the coding or user interaction practices in JavaScript software. Copyright © 2015 John Wiley & Sons, Ltd.
Keywords:JavaScript  study of websites  object behavioral metrics and patterns
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号