Bayesian network based program dependence graph for fault localization
Version 2 2024-06-06, 09:45Version 2 2024-06-06, 09:45
Version 1 2017-03-28, 16:09Version 1 2017-03-28, 16:09
conference contribution
posted on 2024-06-06, 09:45authored byX Yu, J Liu, ZJ Yang, Xiao LiuXiao Liu, X Yin, S Yi
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. Experiment results show that our BNPDG-based fault localization approach outperforms its rivals.