Identifying failure causes in Java programs: An application of change impact analysis

Download: DOI.

“Identifying failure causes in Java programs: An application of change impact analysis” by Xiaoxia Ren, Ophelia C. Chesley, and Barbara G. Ryder. IEEE Transactions on Software Engineering, vol. 32, no. 9, Sep. 2006, pp. 718-732.

Abstract

During program maintenance, a programmer may make changes that enhance program functionality or fix bugs in code. Then, the programmer usually will run unit/regression tests to prevent invalidation of previously tested functionality. If a test fails unexpectedly, the programmer needs to explore the edit to find the failure-inducing changes for that test. Crisp uses results from Chianti, a tool that performs semantic change impact analysis [1], to allow the programmer to examine those parts of the edit that affect the failing test. Crisp then builds a compilable intermediate version of the program by adding a programmer-selected partial edit to the original code, augmenting the selection as necessary to ensure compilation. The programmer can reexecute the test on the intermediate version in order to locate the exact reasons for the failure by concentrating on the specific changes that were applied. In nine initial case studies on pairs of versions from two real Java programs, Daikon [2] and Eclipse jdt compiler [3], we were able to use Crisp to identify the failure-inducing changes for all but 1 of 68 failing tests. On average, 33 changes were found to affect each failing test (of the 67), but only 1-4 of these changes were found to be actually failure-inducing.

Download: DOI.

BibTeX entry:

@article{RenCR2006,
   author = {Xiaoxia Ren and Ophelia C. Chesley and Barbara G. Ryder},
   title = {Identifying failure causes in {Java} programs: An application
	of change impact analysis},
   journal = {IEEE Transactions on Software Engineering},
   volume = {32},
   number = {9},
   pages = {718--732},
   month = sep,
   year = {2006}
}

Back to Publications that use Daikon as a test subject.