DocumentCode :
1334392
Title :
Automatic detection of infeasible paths in software testing
Author :
Gong, Datao ; Yao, Xiu
Author_Institution :
Sch. of Inf. & Electr. Eng., China Univ. of Min. & Technol., Xuzhou, China
Volume :
4
Issue :
5
fYear :
2010
fDate :
10/1/2010 12:00:00 AM
Firstpage :
361
Lastpage :
370
Abstract :
A challenging problem in path-oriented test data generation is the presence of infeasible paths. Timely detecting these infeasible paths cannot only save test resources but also improve test efficiency. A popular method of detecting infeasible paths is to determine branch correlations, which is a difficult task and usually cannot be done timely and exactly. In this study, the authors propose a method of automatically determining the branch correlations of different conditional statements, therefore detecting infeasible paths. First, some theorems are given to determine branch correlations based on the probabilities of the conditional distribution corresponding to different branches´ outcome (i.e. true or false); then, the maximum likelihood estimation is employed to obtain the values of these probabilities; finally, infeasible paths are detected according to branch correlations. The authors apply the proposed method in some typical programs, and the results show that the proposed method can accurately detect infeasible paths. The achievement provides an effective and automatic method of detecting infeasible paths, which is significant in improving the efficiency of software testing.
Keywords :
maximum likelihood estimation; program testing; statistical distributions; branch correlations; conditional distribution; infeasible paths automatic detection; maximum likelihood estimation; path oriented test data generation; software testing;
fLanguage :
English
Journal_Title :
Software, IET
Publisher :
iet
ISSN :
1751-8806
Type :
jour
DOI :
10.1049/iet-sen.2009.0092
Filename :
5585610
Link To Document :
بازگشت