A Dynamic Failure Model for Predicting the Impact That a Program Location has on the Program
暂无分享,去创建一个
This paper presents a dynamic technique for predicting the effect that a "location" of a program will have on the program''s computational behavior. The technique is based on the three necessary and sufficient conditions for software failure to occur: (1) a fault must be executed, (2) the fault must adversely affect the data state, and (3) the adverse effect in a data state must affect program output. In order to predict the effect that a location of a program will have on the program''s computational behavior, the following characteristics of each program location are estimated: (1) the probability that a location of the program is executed, (2) the probability that a location of the program noticeably affects the program state created by the location, and (3) the probability that the data states created by a location affect the program''s output. With estimates of these charactistics for each location in a program, we can predict those locations where a fault can more easily remain undetected during testing, as well as predict the degree of testing necessary to be convinced that a fault is not remaining undetected in a particular location.
[1] Jeffrey M. Voas,et al. Predicting where faults can hide from testing , 1991, IEEE Software.
[2] Richard J. Lipton,et al. Hints on Test Data Selection: Help for the Practicing Programmer , 1978, Computer.
[3] Averill M. Law,et al. Simulation Modeling and Analysis , 1982 .
[4] Larry Joe Morell. A theory of error-based testing , 1983 .
[5] Richard G. Hamlet,et al. Probable Correctness Theory , 1987, Inf. Process. Lett..