Abstract-Fault localization is an inevitable step in software debugging. Spectrum-based fault localization consists in computing a ranking metric on execution traces to identify faulty source code. Existing empirical studies on fault localization show that there is no optimal ranking metric for all faults in practice. In this paper, we propose MULTRIC, a learning-based approach to combining multiple ranking metrics for effective fault localization. In MULTRIC, a suspiciousness score of a program entity is a combination of existing ranking metrics. MULTRIC consists two major phases: learning and ranking. Based on training faults, MULTRIC builds a ranking model by learning from pairs of faulty and non-faulty source code elements. When a new fault appears, MULTRIC computes the final ranking with the learned model. Experiments are conducted on 5386 seeded faults in ten opensource Java programs. We empirically compare MULTRIC against four widely-studied metrics and three recently-proposed one. Our experimental results show that MULTRIC localizes faults more effectively than state-of-art metrics, such as Tarantula, Ochiai, and Ample.
Xuan et al. REF proposed an approach to combine multiple ranking metrics.
Learning to Combine Multiple Ranking Metrics for Fault Localization
2014 IEEE International Conference on Software Maintenance and Evolution
2014 IEEE International Conference on Software Maintenance and Evolution
Computer Science