2016 · 48 citations · 27 references
ComputingComputer ScienceVisualizationProgramming LanguagesSoftware EngineeringSystems ProgrammingApplication Programming InterfacesEvent-driven ArchitectureAsynchronous ExecutionAsynchronous ProgrammingAsynchronous SchedulingControlled Experiment DesignEvent HandlingJavascriptProgram ComprehensionScript Execution Behavior
JavaScript has become one of the most popular languages in practice. Developers now use JavaScript not only for the client-side but also for server-side programming, leading to "full-stack" applications written entirely in JavaScript. Understanding such applications is challenging for developers, due to the temporal and implicit relations of asynchronous and event-driven entities spread over the client and server side. We propose a technique for capturing a behavioural model of full-stack JavaScript applications' execution. The model is temporal and context-sensitive to accommodate asynchronous events, as well as the scheduling and execution of lifelines of callbacks. We present a visualization of the model to facilitate program understanding for developers. We implement our approach in a tool, called Sahand, and evaluate it through a controlled experiment. The results show that Sahand improves developers' performance in completing program comprehension tasks by increasing their accuracy by a factor of three.
27
Experimentation in software engineering
Choice Reviews Online · 2013 · 1.5K citations
LifeLines: visualizing personal histories
Catherine Plaisant, Brett Milash, Anne C. Rose et al. · 1996 · 586 citations · Full text
Visualizing time-oriented data—A systematic view
Wolfgang Aigner, Silvia Miksch, Wolfgang Müller et al. · Computers & Graphics · 2007 · 331 citations · Full text
Jalangi: a selective record-replay and dynamic analysis framework for JavaScript
Koushik Sen, Swaroop Kalasapur, Tasneem Brutch et al. · 2013 · 271 citations
Proceedings of the European Conference on Object-oriented Programming (ECOOP'99)
Ulrik Pagh Schultz, Julia Lawall, Charles Consel et al. · Springer US · 1999 · 204 citations