Locating causes of program failures

H. Cleve, A. Zeller
Proceedings. 27th International Conference on Software Engineering, 2005. ICSE 2005.  
Which is the defect that causes a software failure? By comparing the program states of a failing and a passing run, we can identify the state differences that cause the failure. However, these state differences can occur all over the program run. Therefore, we focus in space on those variables and values that are relevant for the failure, and in time on those moments where cause transitions occur-moments where new relevant variables begin being failure causes: "Initially, variable argc was 3;
more » ... erefore, at shell sort(), variable a[2] was 0, and therefore, the program failed." In our evaluation, cause transitions locate the failureinducing defect twice as well as the best methods known so far.
doi:10.1109/icse.2005.1553577 fatcat:s4uhjybglvhebmcp7ptcsirgai