posted on 2024-11-01, 05:58authored byFang Xiangzhong, Ray Watson, Yan WangYan Wang, P Yip
Debugging software often involves a removal process: the process of detection and removal of faults from a program. This paper gives an efficient procedure to detect all faults in a software item with high probability. The procedure is such that at any step the probability of leaving just one fault is equal to some specified value, a: the probability of leaving more than one fault is much smaller. It is found that, after eliminating the risk of early stopping, the probability of incomplete detection is then only slightly greater than a. The performance of the proposed procedure is demonstrated by simulation and by application to a real example.