Testing Program Segments to Detect Runtime Exceptions in Java']Java

被引:0
|
作者
Rao, Lei [1 ]
Liu, Shaoying [1 ]
Liu, Ai [1 ]
机构
[1] Hiroshima Univ, Grad Sch Adv Sci & Engn, Hiroshima 7398511, Japan
关键词
Fault Detection; Program Slicing; Software Testing; Runtime Exceptions;
D O I
10.1007/978-3-031-29476-1_8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Runtime exceptions are difficult to be detected by static analysis tools and their occurrences in runtime often cause software systems to crash or unexcepted termination. Therefore, it is necessary to detect the existence of runtime exceptions in the program before it is executed. In this paper, we describe a novel program segment testing technique for detecting potential occurrences of runtime exceptions during the program construction process. Our testing technique is characterized by three steps. The first step is to determine the target program segment in which potential runtime exceptions may occur during the program execution. The second step is to form an appropriate environment to test the program segment by determining the values of the variables. The final step is to carry out the testing and determine whether the runtime exceptions will occur and will be handled properly during the system execution. This paper also presents a case study to demonstrate that the technique is effective.
引用
收藏
页码:93 / 105
页数:13
相关论文
共 50 条
  • [31] Efficient Runtime Tracking of Allocation Sites in Java']Java
    Odaira, Rei
    Ogata, Kazunori
    Kawachiya, Kiyokuni
    Onodera, Tamiya
    Nakatani, Toshio
    ACM SIGPLAN NOTICES, 2010, 45 (07) : 109 - 120
  • [32] Goldilocks: A Race-Aware Java']Java Runtime
    Elmas, Tayfun
    Qadeer, Shaz
    Tasiran, Serdar
    COMMUNICATIONS OF THE ACM, 2010, 53 (11) : 85 - 92
  • [33] Efficient runtime aspect weaving for Java']Java applications
    Rodriguez-Prieto, Oscar
    Ortin, Francisco
    O'Shea, Donna
    INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 100 : 73 - 86
  • [34] jPredictor: A Predictive Runtime Analysis Tool for Java']Java
    Chen, Feng
    Serbanuta, Traian Florin
    Rosu, Grigore
    ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 221 - 230
  • [35] Complexity of points-to analysis of Java']Java in the presence of exceptions
    Chatterjee, R
    Ryder, BG
    Landi, WA
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2001, 27 (06) : 481 - 512
  • [36] Towards Unanticipated Runtime Adaptation of Java']Java Applications
    Pukall, Mario
    Kaestner, Christian
    Saake, Gunter
    APSEC 2008:15TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2008, : 85 - 92
  • [37] Specification and Runtime Verification of Java']Java Card Programs
    da Costa, Umberto Souza
    Moreira, Anamaria Martins
    Musicante, Martin A.
    Souza Neto, Placido A.
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2009, 240 : 61 - 78
  • [38] Vate: Runtime Adaptable Probabilistic Programming for Java']Java
    Goodman, Daniel
    Pocock, Adam
    Peck, Jason
    Steele, Guy
    PROCEEDINGS OF THE 1ST WORKSHOP ON MACHINE LEARNING AND SYSTEMS (EUROMLSYS'21), 2021, : 62 - 69
  • [39] Four Trends Leading to Java']Java Runtime Bloat
    Mitchell, Nick
    Schonberg, Edith
    Sevitsky, Gary
    IEEE SOFTWARE, 2010, 27 (01) : 56 - 63
  • [40] A Java']Java development and runtime environment for reconfigurable computing
    Davis, D
    Barr, M
    Bennett, T
    Edwards, S
    Harris, J
    Miller, I
    Schanck, C
    PARALLEL AND DISTRIBUTED PROCESSING, 1998, 1388 : 43 - 48