Skip to Main content Skip to Navigation
Conference papers

Test Case Purification for Improving Fault Localization

Jifeng Xuan 1 Martin Monperrus 2, 1 
1 SPIRALS - Self-adaptation for distributed services and large software systems
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : Finding and fixing bugs are time-consuming activities in software development. Spectrum-based fault localization aims to identify the faulty position in source code based on the execution trace of test cases. Failing test cases and their assertions form test oracles for the failing behavior of the system under analysis. In this paper, we propose a novel concept of spectrum driven test case purification for improving fault localization. The goal of test case purification is to separate existing test cases into small fractions (called purified test cases) and to enhance the test oracles to further localize faults. Combining with an original fault localization technique (e.g., Tarantula), test case purification results in better ranking the program statements. Our experiments on 1800 faults in six open-source Java programs show that test case purification can effectively improve existing fault localization techniques.
Document type :
Conference papers
Complete list of metadata

Cited literature [38 references]  Display  Hide  Download
Contributor : Jifeng Xuan Connect in order to contact the contributor
Submitted on : Wednesday, September 10, 2014 - 7:08:40 PM
Last modification on : Thursday, March 24, 2022 - 3:12:58 AM
Long-term archiving on: : Thursday, December 11, 2014 - 11:45:57 AM


Files produced by the author(s)



Jifeng Xuan, Martin Monperrus. Test Case Purification for Improving Fault Localization. FSE - 22nd ACM SIGSOFT International Symposium on the Foundations of Software Engineering, Nov 2014, Hong Kong, China. ⟨10.1145/2635868.2635906⟩. ⟨hal-01061911⟩



Record views


Files downloads