Visualization of exception handling constructs to support program understanding
Author(s) -
Hina Shah,
Carsten Görg,
Mary Jean Harrold
Publication year - 2008
Publication title -
smartech repository (georgia institute of technology)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/1409720.1409724
Subject(s) - visualization , computer science , java , set (abstract data type) , class (philosophy) , construct (python library) , data visualization , human–computer interaction , software , software engineering , data science , programming language , data mining , artificial intelligence
This paper presents a new visualization technique for supporting the understanding of exception-handling constructs in Java programs. To understand the requirements for such a visualization, we surveyed a group of software developers, and used the results of that survey to guide the creation of the visualizations. The technique presents the exception-handling information using three views: the quantitative view, the flow view, and the contextual view. The quantitative view provides a high-level view that shows the throw-catch interactions in the program, along with relative numbers of these interactions, at the package level, the class level, and the method level. The flow view shows the type-throw-catch interactions, illustrating information such as which exception types reach particular throw statements, which catch statements handle particular throw statements, and which throw statements are not caught in the program. The contextual view shows, for particular type-throw-catch interactions, the packages, classes, and methods that contribute to that exception-handling construct. The paper also presents a case study in which we evaluated a prototype of the visualization system on a small set of developers.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom