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 条
  • [41] A New Mutation Analysis Method for Testing Java']Java Exception Handling
    Ji, Changbin
    Chen, Zhenyu
    Xu, Baowen
    Wang, Ziyuan
    [J]. 2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2, 2009, : 1229 - +
  • [42] Runtime software architecture based software Online evolution
    Wang, QX
    Huang, G
    Shen, JR
    Mei, H
    Yang, FQ
    [J]. 27TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2003, : 230 - 235
  • [43] THERMAL METHOD OF LOADING IN INTERMITTENT STATIC TESTING
    FILATOV, VM
    [J]. INDUSTRIAL LABORATORY, 1966, 32 (11): : 1696 - &
  • [44] A method of software maintainability evaluation based on static analysis
    Zhang, Wei
    Ma, Zhenyu
    Lu, Qingling
    Wang, Xiaozhen
    Liu, Dawei
    [J]. MATERIAL SCIENCE, CIVIL ENGINEERING AND ARCHITECTURE SCIENCE, MECHANICAL ENGINEERING AND MANUFACTURING TECHNOLOGY II, 2014, 651-653 : 1757 - +
  • [45] Similarity Level Method Based Static Software Birthmarks
    Mahmood, Yasir
    Pervez, Zeeshan
    Sarwar, Sohail
    Ahmed, Hafiz Farooq
    [J]. 2008 INTERNATIONAL SYMPOSIUM ON HIGH CAPACITY OPTICAL NETWORKS AND ENABLING TECHNOLOGIES, 2008, : 191 - 196
  • [46] A software instruction prefetching method in architectures with static scheduling
    A. B. Galazin
    E. V. Stupachenko
    S. L. Shlykov
    [J]. Programming and Computer Software, 2008, 34
  • [47] A software instruction prefetching method in architectures with static scheduling
    Galazin, A. B.
    Stupachenko, E. V.
    Shlykov, S. L.
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 2008, 34 (01) : 49 - 53
  • [48] Method Based Static Software Birthmarks: A New Approach to Derogate Software Piracy
    Mahmood, Yasir
    Sarwar, Sohail
    Pervez, Zeeshan
    Ahmed, Hafiz Farooq
    [J]. 2009 2ND INTERNATIONAL CONFERENCE ON COMPUTER, CONTROL AND COMMUNICATION, 2009, : 131 - 136
  • [49] Runtime verification for autonomous spacecraft software
    Goldberg, Allen
    Havelund, Klaus
    McGann, Conor
    [J]. 2005 IEEE Aerospace Conference, Vols 1-4, 2005, : 507 - 516
  • [50] Architectural Styles for Runtime Software Adaptation
    Taylor, Richard N.
    Medvidovic, Nenad
    Oreizy, Peyman
    [J]. 2009 JOINT WORKING IEEE/IFIP CONFERENCE ON SOFTWARE ARCHITECTURE AND EUROPEAN CONFERENCE ON SOFTWARE ARCHITECTURE, 2009, : 171 - +