A Method of Software Static Testing in the Presence of Runtime Exception

被引:0
|
作者
Jin, Dahai [1 ]
Gong, Yunzhan [1 ]
Yang, Zhaohong [2 ]
Xiao, Qing [2 ]
Liu, Chuanchang [1 ]
机构
[1] Beijing Univ Posts & Telecommun, State Key Lab Networking & Switching Technol, Beijing 100088, Peoples R China
[2] Acad Armored Force Engn, Dept Informat Engn, Beijing, Peoples R China
关键词
software testing; static analysis; runtime exception; !text type='JAVA']JAVA[!/text; PROGRAMS;
D O I
10.4028/www.scientific.net/AMM.63-64.789
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Control flow graph plays an important role in software static testing based on defect patterns, while the impact of runtime exception on control flow graph is not negligible. After the runtime exception control flow graph and exception pattern Finite State Machine were defined, an algorithm for fault detection in the presence of runtime exception was proposed. Basing on FSM for exception pattern, the feasible states and its condition are iterated along the node of control flow graph, while the abnormal status, which can throw a runtime exception, will be added into control flow graph as an edge automatically. Thus the static testing method can detect more defects by the control flow graph constructed dynamically. The experiment results show that, the static testing method in the presence of runtime exception can decrease defect false negative significantly.
引用
收藏
页码:789 / +
页数:2
相关论文
共 50 条
  • [1] Software Runtime Accumulative Testing
    Huang, Baiqiao
    Zhang, Pengyi
    [J]. 12TH INTERNATIONAL CONFERENCE ON RELIABILITY, MAINTAINABILITY, AND SAFETY (ICRMS 2018), 2018, : 218 - 222
  • [2] Testing Meets Static and Runtime Verification
    Chimento, Jesus Mauricio
    Ahrendt, Wolfgang
    Schneider, Gerardo
    [J]. 2018 ACM/IEEE CONFERENCE ON FORMAL METHODS IN SOFTWARE ENGINEERING (FORMALISE 2018), 2018, : 30 - 39
  • [3] Xept: A software instrumentation method for exception handling
    Vo, KP
    Wang, YM
    Chung, PE
    Huang, YN
    [J]. EIGHTH INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING, PROCEEDINGS, 1997, : 60 - 69
  • [4] Runtime Monitoring of Software Execution Trace: Method and Tools
    Kong, Shiyi
    Lu, Minyan
    Li, Luyi
    Gao, Lihua
    [J]. IEEE ACCESS, 2020, 8 : 114020 - 114036
  • [5] Testing real-time embedded software using runtime enforcement
    Givel, Louis-Marie
    Bechennec, Jean-Luc
    Brun, Matthias
    Faucou, Sebastien
    Roux, Olivier H.
    [J]. 2016 11TH IEEE INTERNATIONAL SYMPOSIUM ON INDUSTRIAL EMBEDDED SYSTEMS (SIES), 2016,
  • [6] Combining Model-Based Testing and Runtime Monitoring for Program Testing in the Presence of Nondeterminism
    Arcaini, Paolo
    Gargantini, Angelo
    Riccobene, Elvinia
    [J]. IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2013), 2013, : 178 - 187
  • [7] Runtime-environment Testing Method for Android Applications
    Huang, Song
    Yang, Sen
    Hui, Zhanwei
    Yao, Yongming
    Chen, Lele
    Liu, Jialuo
    Chen, Qiang
    [J]. 2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 534 - 535
  • [8] Construction method of software runtime behavior model for reliability prediction
    Li, Qiuying
    Lu, Minyan
    Gu, Tingyang
    [J]. Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2022, 48 (05): : 786 - 794
  • [9] Supporting incremental and experimental software evolution by runtime method transformations
    Zdun, U
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2004, 52 (1-3) : 131 - 163
  • [10] A Runtime-Monitoring-Based Dependable Software Construction Method
    Zhu, Jun
    Guo, Changguo
    Yin, Quan
    Bo, Jianlu
    Wu, Quanyuan
    [J]. PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE FOR YOUNG COMPUTER SCIENTISTS, VOLS 1-5, 2008, : 1093 - 1100