首页    期刊浏览 2024年09月18日 星期三
登录注册

文章基本信息

  • 标题:Hybrid DOM-Sensitive Change Impact Analysis for JavaScript
  • 本地全文:下载
  • 作者:Saba Alimadadi ; Ali Mesbah ; Karthik Pattabiraman
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2015
  • 卷号:37
  • 页码:321-345
  • DOI:10.4230/LIPIcs.ECOOP.2015.321
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:JavaScript has grown to be among the most popular programming languages. However, performing change impact analysis on JavaScript applications is challenging due to features such as the seamless interplay with the DOM, event-driven and dynamic function calls, and asynchronous client/server communication. We first perform an empirical study of change propagation, the results of which show that the DOM-related and dynamic features of JavaScript need to be taken into consideration in the analysis since they affect change impact propagation. We propose a DOM-sensitive hybrid change impact analysis technique for Javascript through a combination of static and dynamic analysis. The proposed approach incorporates a novel ranking algorithm for indicating the importance of each entity in the impact set. Our approach is implemented in a tool called Tochal. The results of our evaluation reveal that Tochal provides a more complete analysis compared to static or dynamic methods. Moreover, through an industrial controlled experiment, we find that Tochal helps developers by improving their task completion duration by 78% and accuracy by 223%.
  • 关键词:Change impact analysis; JavaScript; hybrid analysis
国家哲学社会科学文献中心版权所有