Learning to Combine Multiple Ranking Metrics for Fault Localization - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2014

Learning to Combine Multiple Ranking Metrics for Fault Localization


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 open-source 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.
Fichier principal
Vignette du fichier
icsme_14.pdf (401.3 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01018935 , version 1 (18-08-2014)



Jifeng Xuan, Martin Monperrus. Learning to Combine Multiple Ranking Metrics for Fault Localization. ICSME - 30th International Conference on Software Maintenance and Evolution, Sep 2014, Victoria, Canada. ⟨10.1109/ICSME.2014.41⟩. ⟨hal-01018935⟩
355 View
2803 Download



Gmail Facebook Twitter LinkedIn More