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
关键词
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 条
  • [1] Exception analysis for multithreaded Java']Java programs
    Ryu, SY
    Yi, KK
    SECOND ASIA-PACIFIC CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2001, : 23 - 30
  • [2] An exploratory study on exception handling bugs in Java']Java programs
    Ebert, Felipe
    Castor, Fernando
    Serebrenik, Alexander
    JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 106 : 82 - 101
  • [3] Analyzing Stack Flows to Compare Java']Java Programs
    Lim, Hyun-il
    Han, Taisook
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2012, E95D (02): : 565 - 576
  • [4] A Reflection on "An Exploratory Study on Exception Handling Bugs in Java']Java Programs"
    Ebert, Felipe
    Castor, Fernando
    Serebrenikt, Alexander
    PROCEEDINGS OF THE 2020 IEEE 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER '20), 2020, : 552 - 556
  • [5] Eliminating exception constraints of Java']Java programs for IA-64
    Ishizaki, K
    Inagaki, T
    Komatsu, H
    Nakatani, T
    2002 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 2002, : 259 - 268
  • [6] Runtime Exception Detection in Java']Java Programs Using Symbolic Execution
    Kadar, Istvan
    Hegedus, Peter
    Ferene, Rudolf
    ACTA CYBERNETICA, 2014, 21 (03): : 331 - 352
  • [7] Analyzing syntactic constructs of Java']Java programs with machine learning
    Ortin, Francisco
    Facundo, Guillermo
    Garcia, Miguel
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 215
  • [8] Constructing control flow graph for Java']Java by decoupling exception flow from normal flow
    Jo, JW
    Chang, BM
    COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2004, PT 1, 2004, 3043 : 106 - 113
  • [9] An uncaught exception analysis for Java']Java
    Jo, JW
    Chang, BM
    Yi, KK
    Choe, KM
    JOURNAL OF SYSTEMS AND SOFTWARE, 2004, 72 (01) : 59 - 69
  • [10] An exception monitoring system for Java']Java
    Ohe, H
    Chang, BM
    RAPID INTEGRATION OF SOFTWARE ENGINEERING TECHNIQUES, 2005, 3475 : 71 - 81