Title :
An Approach for Fault Localization Based on Program Slicing and Bayesian
Author :
Yingqi Liu ; Wei Li ; Shujuan Jiang ; Yanmei Zhang ; Xiaolin Ju
Author_Institution :
Sch. of Comput. Sci. & Technol., China Univ. of Min. & Technol., Xuzhou, China
Abstract :
The key issue of reducing software cost and improving software reliability is locating defective codes precisely and efficiently. In this paper, we propose a fault localization method which combines program slicing and Bayesian method. First, we perform dynamic program slicing according to the slicing criteria. Then, we calculate the posterior probability according to Bayesian Theory. Finally, we take the posterior probability as the suspicion degree of the statement and rank the statements in the descending order based on suspicion degree. We apply our approach to six open-source programs. The results of the experiments show that the method we propose can improve the precision of fault localization to some extent.
Keywords :
Bayes methods; program slicing; public domain software; software fault tolerance; Bayesian method; defective codes localization; dynamic program slicing; fault localization; open-source programs; posterior probability; slicing criteria; software cost reduction; software reliability; statement suspicion degree; Algorithm design and analysis; Bayes methods; Computer bugs; Debugging; Personnel; Software; Bayesian; fault localization; program slicing;
Conference_Titel :
Quality Software (QSIC), 2013 13th International Conference on
Conference_Location :
Najing
DOI :
10.1109/QSIC.2013.29