DocumentCode
560632
Title
JavaScript Errors in the Wild: An Empirical Study
Author
Ocariza, Frolin S., Jr. ; Pattabiraman, Karthik ; Zorn, Benjamin
Author_Institution
Univ. of British Columbia, Vancouver, BC, Canada
fYear
2011
fDate
Nov. 29 2011-Dec. 2 2011
Firstpage
100
Lastpage
109
Abstract
Client-side JavaScript is being widely used in popular web applications to improve functionality, increase responsiveness, and decrease load times. However, it is challenging to build reliable applications using JavaScript. This paper presents an empirical characterization of the error messages printed by JavaScript code in web applications, and attempts to understand their root causes. We find that JavaScript errors occur in production web applications, and that the errors fall into a small number of categories. We further find that both non-deterministic and deterministic errors occur in the applications, and that the speed of testing plays an important role in exposing errors. Finally, we study the correlations among the static and dynamic properties of the application and the frequency of errors in it in order to understand the root causes of the errors.
Keywords
Internet; Java; authoring languages; Web applications; application dynamic property; application static property; client-side JavaScript errors; error message empirical characterization; nondeterministic errors; testing speed; Browsers; Correlation; Fires; Reliability; Runtime; Syntactics; Testing; Alexa top 100; Benchmarking; Error Messages; JavaScript; Reliability;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability Engineering (ISSRE), 2011 IEEE 22nd International Symposium on
Conference_Location
Hiroshima
ISSN
1071-9458
Print_ISBN
978-1-4577-2060-4
Type
conf
DOI
10.1109/ISSRE.2011.28
Filename
6132958
Link To Document