The Bayesian Network based program dependence graph and its application to fault localization
journal contribution
posted on 2017-12-01, 00:00authored byX Yu, J Liu, Z Yang, Xiao LiuXiao Liu
Fault localization is an important and expensive task in software debugging. Some probabilistic graphical models such as probabilistic program dependence graph (PPDG) have been used in fault localization. However, PPDG is insufficient to reason across nonadjacent nodes and only support making inference about local anomaly. In this paper, we propose a novel probabilistic graphical model called Bayesian Network based Program Dependence Graph (BNPDG) that has the excellent inference capability for reasoning across nonadjacent nodes. We focus on applying the BNPDG to fault localization. Compared with the PPDG, our BNPDG-based fault localization approach overcomes the reasoning limitation across nonadjacent nodes and provides more precise fault localization by taking its output nodes as the common conditions to calculate the conditional probability of each non-output node. The experimental results show that our BNPDG-based fault localization approach can significantly improve the effectiveness of fault localization.
History
Journal
Journal of systems and software
Volume
134
Pagination
44-53
Location
New York, N.Y.
ISSN
0164-1212
eISSN
1873-1228
Language
eng
Publication classification
C Journal article, C1 Refereed article in a scholarly journal