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
关键词
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
相关论文
共 50 条
  • [1] Infeasible basis paths detection of program with exception-handling constructs
    Zhang, Yanmei
    Jiang, Shujuan
    Wang, Qingtan
    Zhao, Xuefeng
    International Journal of Advancements in Computing Technology, 2012, 4 (01) : 492 - 503
  • [2] MOONSTONE: Support for Understanding and Writing Exception Handling Code
    Kistner, Florian
    Kery, Mary Beth
    Puskas, Michael
    Moore, Steven
    Myers, Brad A.
    2017 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2017, : 63 - +
  • [3] Analysis and testing of programs with exception handling constructs
    Sinha, S
    Harrold, MJ
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (09) : 849 - 871
  • [4] Analysis of programs with exception-handling constructs
    Sinha, S
    Harrold, MJ
    INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, : 348 - 357
  • [5] An approach to analyzing recursive programs with exception handling constructs
    Jiang, Shujuan
    Xu, Baowen
    Shi, Liang
    ACM SIGPLAN NOTICES, 2006, 41 (04) : 30 - 35
  • [6] Exception handling in process support system
    Yao, Yong
    Fan, Wen-Hui
    Xiong, Guang-Leng
    Jisuanji Jicheng Zhizao Xitong/Computer Integrated Manufacturing Systems, CIMS, 2006, 12 (09): : 1495 - 1500
  • [7] Effcient Exception Handling Support for GPUs
    Tanasic, Ivan
    Gelado, Isaac
    Jorda, Marc
    Ayguade, Eduard
    Navarro, Nacho
    50TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO), 2017, : 109 - 122
  • [8] Improvement of Transitions and Flow Visualization TFVIS for Exception Handling
    Sato, Takuya
    Katayama, Tetsuro
    Kita, Yoshihiro
    Yamaba, Hisaaki
    Okazaki, Naonobu
    ICAROB 2017: PROCEEDINGS OF THE 2017 INTERNATIONAL CONFERENCE ON ARTIFICIAL LIFE AND ROBOTICS, 2017, : P283 - P287
  • [9] Understanding Exception Handling: Viewpoints of Novices and Experts
    Shah, Hina B.
    Goerg, Carsten
    Harrold, Mary Jean
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (02) : 150 - 161
  • [10] Improving program correctness with atomic exception handling
    Fetzer, Christof
    Felber, Pascal
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2007, 13 (08) : 1047 - 1072