Mathematical modeling of software reliability testing with imperfect debugging

被引:11
作者
Cai, Kai-Yuan [1 ]
Cao, Ping [2 ]
Dong, Zhao [3 ]
Liu, Ke [2 ]
机构
[1] Beijing Univ Aeronaut & Astronaut, Dept Automat Control, Beijing 100191, Peoples R China
[2] Chinese Acad Sci, AMSS, Inst Appl Math, MADIS, Beijing 100190, Peoples R China
[3] Chinese Acad Sci, AMSS, Inst Appl Math, Lab Random Complex Struct & Data Sci, Beijing 100190, Peoples R China
关键词
Software testing; Software reliability; Imperfect debugging; The principle of uncertainty; Markovian property;
D O I
10.1016/j.camwa.2010.03.011
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Software reliability testing is concerned with the quantitative relationship between software testing and software reliability. Our previous work develops a mathematically rigorous modeling framework for software reliability testing. However the modeling framework is confined to the case of perfect debugging, where detected defects are removed without introducing new defects. In this paper the modeling framework is extended to the case of imperfect debugging and two models are proposed. In the first model it is assumed that debugging is imperfect and may make the number of remaining defects reduce by one, remain intact, or increase by one. In the second model it is assumed that when the number of remaining defects reaches the upper bound, the probability that the number of remaining defects is increased by one by debugging is zero. The expected behaviors of the cumulative number of observed failures and the number of remaining defects in the first model show that the software testing process may induce a linear or nonlinear dynamic system, depending on the relationship between the probability of debugging introducing a new defect and that of debugging removing a detected defect. The second-order behaviors of the first model also show that in the case of imperfect debugging, although there may be unbiased estimator for the initial number of defects remaining in the software under test, the cumulative number of observed failures and the current number of remaining defects are not sufficient for precisely estimating the initial number of remaining defects. This is because the variance of the unbiased estimator approaches a non-zero constant as the software testing process proceeds. This may be treated as an intrinsic principle of uncertainty for software testing. The expected behaviors of the cumulative number of observed failures and the number of remaining defects in the second model show that the software testing process may induce a nonlinear dynamic system. However theoretical analysis and simulation results show that, if defects are more often removed from than introduced into the software under test, the expected behaviors of the two models tend to coincide with each other as the upper bound of the number of remaining defects approaches infinity. (C) 2010 Elsevier Ltd. All rights reserved.
引用
收藏
页码:3245 / 3285
页数:41
相关论文
共 22 条
[1]   THE EFFECT OF IMPERFECT ERROR-DETECTION ON RELIABILITY ASSESSMENT VIA LIFE TESTING [J].
AMMANN, PE ;
BRILLIANT, SS ;
KNIGHT, JC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (02) :142-148
[2]  
[Anonymous], 2002, NONLINEAR SYSTEMS
[3]  
[Anonymous], 1996, HDB SOFTWARE RELIABI
[4]  
[Anonymous], 1990, Software Testing Techniques
[5]  
Binder R., 2000, AW OBJ TECHNOL S
[6]   Does software reliability growth behavior follow a non-homogeneous Poisson process [J].
Cai, Kai-Yuan ;
Hu, De-Bin ;
Bai, Cheng-Gang ;
Hu, Hai ;
Jing, Tao .
INFORMATION AND SOFTWARE TECHNOLOGY, 2008, 50 (12) :1232-1247
[7]   Software testing processes as a linear dynamic system [J].
Cai, Kai-Yuan ;
Dong, Zhao ;
Liu, Ke .
INFORMATION SCIENCES, 2008, 178 (06) :1558-1597
[8]   A mathematical modeling framework for software reliability testing [J].
Cai, Kai-Yuan ;
Dong, Zhao ;
Liu, Ke ;
Bai, Cheng-Gang .
INTERNATIONAL JOURNAL OF GENERAL SYSTEMS, 2007, 36 (04) :399-463
[9]  
Cai Kai-Yuan., 1998, KLUW INT SER SOFTW E
[10]   Optimal and adaptive testing for software reliability assessment [J].
Cai, KY ;
Li, YC ;
Liu, K .
INFORMATION AND SOFTWARE TECHNOLOGY, 2004, 46 (15) :989-1000