A MARKOV-CHAIN MODEL FOR STATISTICAL SOFTWARE TESTING

被引:223
作者
WHITTAKER, JA [1 ]
THOMASON, MG [1 ]
机构
[1] UNIV TENNESSEE, DEPT COMP SCI, KNOXVILLE, TN 37920 USA
关键词
MARKOV CHAIN; STATISTICAL SOFTWARE TESTING; STOCHASTIC PROCESS; TEST CASE GENERATION;
D O I
10.1109/32.328991
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Statistical testing of software establishes a basis for statistical inference about a software system's expected field quality. This paper describes a method for statistical testing based on a Markov chain model of software usage. The significance of the Markov chain is twofold. First, it allows test input sequences to be generated from multiple probability distributions, making it more general than many existing techniques. Analytical results associated with Markov chains facilitate informative analysis of the sequences before they are generated, indicating how the test is likely to unfold. Second, the test input sequences generated from the chain and applied to the software are themselves a stochastic model and are used to create a second Markov chain to encapsulate the history of the test, including any observed failure information. The influence of the failures is assessed through analytical computations on this chain. We also derive a stopping criterion for the testing process based on a comparison of the sequence generating properties of the two chains.
引用
收藏
页码:812 / 824
页数:13
相关论文
共 29 条
[1]  
AGRAWAL K, 1993, P PAC NW SOFT QUAL C, P154
[2]  
ASH R, 1963, INFORMATION THEORY
[3]   A USER-ORIENTED SOFTWARE-RELIABILITY MODEL [J].
CHEUNG, RC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1980, 6 (02) :118-125
[4]  
Cramer H, 1955, ELEMENTS PROBABILITY
[5]   CERTIFYING THE RELIABILITY OF SOFTWARE [J].
CURRIT, PA ;
DYER, M ;
MILLS, HD .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1986, 12 (01) :3-11
[6]  
Doob J. L., 1953, STOCHASTIC PROCESSES
[7]   AN EVALUATION OF RANDOM TESTING [J].
DURAN, JW ;
NTAFOS, SC .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (04) :438-444
[8]   QUANTIFYING SOFTWARE VALIDITY BY SAMPLING [J].
DURAN, JW ;
WIORKOWSKI, JJ .
IEEE TRANSACTIONS ON RELIABILITY, 1980, 29 (02) :141-144
[9]  
Feller W., 1950, INTRO PROBABILITY TH, V1
[10]  
Ghomason M. G., 1990, International Journal of Pattern Recognition and Artificial Intelligence, V4, P553, DOI 10.1142/S0218001490000320