Analyzing exception flow in Java']Java™ programs

被引:0
|
作者
Robillard, MP [1 ]
Murphy, GC [1 ]
机构
[1] Univ British Columbia, Dept Comp Sci, Vancouver, BC V6T 1Z4, Canada
来源
SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS | 1999年 / 1687卷
关键词
exception handling; software analysis; object-oriented programming languages; software engineering tool;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Exception handling mechanisms provided by programming languages are intended to ease the difficulty of developing robust software systems. Using these mechanisms, a software developer can describe the exceptional conditions a module might raise, and the response of the module to exceptional conditions that may occur as it is executing. Creating a robust system from such a localized view requires a developer to reason about the flow of exceptions across modules. The use of unchecked exceptions, and in object-oriented languages, subsumption, makes it difficult for a software developer to perform thus reasoning manually. In this paper, we describe a tool called Jex that analyzes the flow of exceptions in Java code to produce views of the exception structure. We demonstrate how Jex can help a developer identify program points where exceptions are caught accidentally, where there is an opportunity to add finer-grained recovery code, and where error-handling policies are not being followed.
引用
收藏
页码:322 / 337
页数:16
相关论文
共 50 条
  • [41] Modeling and Coverage Analysis of Programs with Exception Handling
    Najumudheen, E. S. F.
    Mall, Rajib
    Samanta, Debasis
    PROCEEDINGS OF THE 12TH INNOVATIONS ON SOFTWARE ENGINEERING CONFERENCE (ISEC), 2019,
  • [42] Analysis of programs with exception-handling constructs
    Sinha, S
    Harrold, MJ
    INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE, PROCEEDINGS, 1998, : 348 - 357
  • [43] An analysis approach for testing exception handling programs
    Jiang, Shujuan
    Jiang, Yuanpeng
    ACM SIGPLAN NOTICES, 2007, 42 (04) : 3 - 8
  • [44] Specification of exception flow in software architectures
    Castor Filho, Fernando
    Brito, Patrick Henrique da S.
    Rubira, Cecilia Mary F.
    JOURNAL OF SYSTEMS AND SOFTWARE, 2006, 79 (10) : 1397 - 1418
  • [45] Slicing Object-Oriented Programs with Exception Handling Structures
    Zhao, Xuefeng
    Jiang, Shujuan
    Zhou, Qi
    MATERIAL SCIENCE AND ENGINEERING TECHNOLOGY, 2012, 462 : 383 - 391
  • [46] Detecting Exception Handling Bugs in C plus plus Programs
    Zhang, Hao
    Luo, Ji
    Hu, Mengze
    Yan, Jun
    Zhang, Jian
    Qiu, Zongyan
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 1084 - 1095
  • [47] MultiJava']Java: Design rationale, compiler implementation, and applications
    Clifton, Curtis
    Millstein, Todd
    Leavens, Gary T.
    Chambers, Craig
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2006, 28 (03): : 517 - 575
  • [48] An Exception Analyzing and Handling Approach of Composite Service Based on ECA Rule
    Zhang, Yichuan
    Liu, Ying
    Wang, Deshuai
    Zhang, Bin
    2009 WRI WORLD CONGRESS ON SOFTWARE ENGINEERING, VOL 3, PROCEEDINGS, 2009, : 387 - 391
  • [49] 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
  • [50] A service-oriented partitioning and encapsulation method for java legacy systems
    Li, Xiang
    Huai, Jin-Peng
    Zeng, Jin
    Gao, Peng
    Jisuanji Xuebao/Chinese Journal of Computers, 2009, 32 (09): : 1804 - 1815