Using HTML5 visualizations in software fault localization

Carlos Gouveia, Jose Campos, Rui Abreu
2013 2013 First IEEE Working Conference on Software Visualization (VISSOFT)  
Testing and debugging is the most expensive, errorprone phase in the software development life cycle. Automated software fault localization can drastically improve the efficiency of this phase, thus improving the overall quality of the software. Amongst the most well-known techniques, due to its efficiency and effectiveness, is spectrum-based fault localization. In this paper, we propose three dynamic graphical forms using HTML5 to display the diagnostic reports yielded by spectrum-based fault
more » ... ocalization. The visualizations proposed, namely Sunburst, Vertical Partition, and Bubble Hierarchy, have been implemented within the GZOLTAR toolset, replacing previous and less-intuitive OpenGL-based visualizations. The GZOLTAR toolset is a plugand-play plugin for the Eclipse IDE to ease world-wide adoption. Finally, we performed an user study with GZOLTAR and confirmed that the visualizations help to drastically reduce the time needed in debugging (e.g., all participants using the visualizations were able to pinpoint the fault, whereas of those using traditional methods only 35% found the fault). The group that used the visualizations took on average 9 minutes and 17 seconds less than the group that did not use them.
doi:10.1109/vissoft.2013.6650539 dblp:conf/vissoft/GouveiaCA13 fatcat:ww5mxq6dzzgwjfyqe2j2ww3vae