Visualization of Exception Handling Constructs to Support Program Understanding

被引:0
作者
Shah, Hina [1 ]
Goerg, Carsten [1 ]
Harrold, Mary Jean [1 ]
机构
[1] Georgia Inst Technol, Coll Comp, Atlanta, GA 30332 USA
来源
SOFTVIS 2008: PROCEEDINGS OF THE 4TH ACM SYMPOSIUM ON SOFTWARE VISUALIZATION | 2008年
关键词
Exception handling; interactive visualization; multiple views; program understanding; Eclipse plugin;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:19 / 28
页数:10
相关论文
共 21 条
  • [1] Visualization of exception propagation for Java']Java using static analysis
    Chang, BM
    Jo, JW
    Her, SH
    [J]. SCAM 2002: SECOND IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS MANIPULATION, PROCEEDINGS, 2002, : 173 - 182
  • [2] SEESOFT - A TOOL FOR VISUALIZING LINE ORIENTED SOFTWARE STATISTICS
    EICK, SG
    STEFFEN, JL
    SUMNER, EE
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1992, 18 (11) : 957 - 968
  • [3] FU C, 2005, EXCEPTION HANDLING O, P15
  • [4] Fu C, 2007, PROC INT CONF SOFTW, P230
  • [5] Fu Chen, 2005, P 2005 OOPSLA WORKSH, P40
  • [6] Gosling J., 2005, Java Language Specification, Vthird
  • [7] Lintem R., 2003, SoftVis'03: Proceedings of the 2003 ACM symposium on Software visualization, DOI 10.1145/774833.774840
  • [8] REIMER D, 2003, WORKSH EXC HANDL OBJ, P10
  • [9] Static analysis to support the evolution of exception structure in object-oriented systems
    Robillard, MP
    Murphy, GC
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2003, 12 (02) : 191 - 221
  • [10] Robillard MP, 1999, LECT NOTES COMPUT SC, V1687, P322, DOI 10.1145/318774.319251