License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.ECOOP.2015.321
URN: urn:nbn:de:0030-drops-52280
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2015/5228/
Alimadadi, Saba ;
Mesbah, Ali ;
Pattabiraman, Karthik
Hybrid DOM-Sensitive Change Impact Analysis for JavaScript
Abstract
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%.
BibTeX - Entry
@InProceedings{alimadadi_et_al:LIPIcs:2015:5228,
author = {Saba Alimadadi and Ali Mesbah and Karthik Pattabiraman},
title = {{Hybrid DOM-Sensitive Change Impact Analysis for JavaScript}},
booktitle = {29th European Conference on Object-Oriented Programming (ECOOP 2015)},
pages = {321--345},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-939897-86-6},
ISSN = {1868-8969},
year = {2015},
volume = {37},
editor = {John Tang Boyland},
publisher = {Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
address = {Dagstuhl, Germany},
URL = {http://drops.dagstuhl.de/opus/volltexte/2015/5228},
URN = {urn:nbn:de:0030-drops-52280},
doi = {10.4230/LIPIcs.ECOOP.2015.321},
annote = {Keywords: Change impact analysis, JavaScript, hybrid analysis}
}
Keywords: |
|
Change impact analysis, JavaScript, hybrid analysis |
Collection: |
|
29th European Conference on Object-Oriented Programming (ECOOP 2015) |
Issue Date: |
|
2015 |
Date of publication: |
|
29.06.2015 |