Leveraging contextual information from function call chains to improve fault localization

Research output: Conference contribution

Abstract

In Spectrum-Based Fault Localization, program elements such as statements or functions are ranked according to a suspiciousness score which can guide the programmer in finding the fault more efficiently. However, such a ranking does not include any additional information about the element under investigation. In this work, we propose to complement function-level spectrum based fault localization with function call chains-i.e., snapshots of the call stack occurring during execution-on which the fault localization is first performed, and then narrowed down to functions. Our experiments using defects from four Defects4J programs show that (i) 84% of the defective functions can be found in call chains with highest scores, (ii) the proposed approach improves Ochiai ranking of 1 to 6 positions on average, with a relative improvement of 45%, and (iii) the improvement is substantial when Ochiai produces bad rankings.

Original languageEnglish
Title of host publicationProceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering
Subtitle of host publicationCompanion, ICSE-Companion 2019
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages296-297
Number of pages2
ISBN (Electronic)9781728117645
DOIs
Publication statusPublished - máj. 2019
Event41st IEEE/ACM International Conference on Software Engineering: Companion, ICSE-Companion 2019 - Montreal, Canada
Duration: máj. 25 2019máj. 31 2019

Publication series

NameProceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion, ICSE-Companion 2019

Conference

Conference41st IEEE/ACM International Conference on Software Engineering: Companion, ICSE-Companion 2019
CountryCanada
CityMontreal
Period5/25/195/31/19

ASJC Scopus subject areas

  • Organizational Behavior and Human Resource Management
  • Software
  • Safety, Risk, Reliability and Quality
  • Education

Fingerprint Dive into the research topics of 'Leveraging contextual information from function call chains to improve fault localization'. Together they form a unique fingerprint.

  • Cite this

    Beszedes, A., Horvath, F., Di Penta, M., & Gyimothy, T. (2019). Leveraging contextual information from function call chains to improve fault localization. In Proceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion, ICSE-Companion 2019 (pp. 296-297). [8802804] (Proceedings - 2019 IEEE/ACM 41st International Conference on Software Engineering: Companion, ICSE-Companion 2019). Institute of Electrical and Electronics Engineers Inc.. https://doi.org/10.1109/ICSE-Companion.2019.00122