Localizing Bugs in Program Executions with Graphical Models

We devise a graphical model that supports the process of debugging software by guiding developers to code that is likely to contain defects. The model is trained using execution traces of passing test runs; it reflects the distribution over transitional patterns of code positions. Given a failing test case, the model determines the least likely transitional pattern in the execution trace. The model is designed such that Bayesian inference has a closed-form solution. We evaluate the Bernoulli graph model on data of the software projects AspectJ and Rhino.

In  Advances in Neural Information Processing Systems

Details

TypeInproceedings
> Publications > Localizing Bugs in Program Executions with Graphical Models