Software fault localization via mining execution graphs

  • Authors:
  • Saeed Parsa;Somaye Arabi Naree;Neda Ebrahimi Koopaei

  • Affiliations:
  • -;-;-

  • Venue:
  • ICCSA'11 Proceedings of the 2011 international conference on Computational science and its applications - Volume Part II
  • Year:
  • 2011

Quantified Score

Hi-index 0.01

Visualization

Abstract

Software fault localization has attracted a lot of attention recently. Most existing methods focus on finding a single suspicious statement of code which is likelihood of containing bugs. Despite the accuracy of such methods, developers have trouble understanding the context of the bug, given each bug location in isolation. There is a high possibility of locating bug contexts through finding discriminative execution sub-paths between failing and passing executions. Representing each execution of a program as a graph, discriminative sub-paths could be identified by applying a graph mining algorithm. These sub-paths may help the debugger to easily identify the major causes of faults and its infection flow through the program. In this paper, a novel approach to mine discriminative sub-graphs as indicators of program faults is proposed. We formulate an efficient function to find most discriminative patterns between weighted failing and passing graphs. Experimental results indicate that significant improvement in precision of bug localization is achieved using the proposed discriminative sub-graph mining approach.