A New Interactive Fault Localization Method with Context Aware User Feedback

Ferenc Horvath, Victor Schnepper Lacerda, Arpad Beszedes, Laszlo Vidacs, Tibor Gyimothy

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

State-of-the-art fault localization tools provide a ranked list of suspicious code elements to aid the user in this debugging activity. Statistical (or Spectrum-Based) Fault Localization (SFL/SBFL) uses code coverage information of test cases and their execution outcomes to calculate the ranks. We propose an approach (called iFL) in which the developer interacts with the fault localization algorithm by giving feedback on the elements of the prioritized list. Contextual knowledge of the user about the current item (e. g., a statement) is exploited in the ranked list, and with this feedback larger code entities (e. g., a whole function) can be repositioned in the list. In our initial set of experiments, we evaluated the approach on the SIR benchmark using simulated users. Results showed significant improvements in fault localization accuracy: the ranking position of the buggy element was reduced by 72% on average, and iFL was able to double the number of faults that were positioned between 1-5.

Original languageEnglish
Title of host publicationIBF 2019 - 2019 IEEE 1st International Workshop on Intelligent Bug Fixing
EditorsShing-Chi Cheung, Xiaobing Sun, Tao Zhang
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages23-28
Number of pages6
ISBN (Electronic)9781728118093
DOIs
Publication statusPublished - Mar 11 2019
Event1st IEEE International Workshop on Intelligent Bug Fixing, IBF 2019 - Hangzhou, China
Duration: Feb 24 2019 → …

Publication series

NameIBF 2019 - 2019 IEEE 1st International Workshop on Intelligent Bug Fixing

Conference

Conference1st IEEE International Workshop on Intelligent Bug Fixing, IBF 2019
CountryChina
CityHangzhou
Period2/24/19 → …

Keywords

  • Statistical fault localization
  • interactive debugging
  • spectrum based fault localization
  • testing
  • user feedback

ASJC Scopus subject areas

  • Computer Science Applications
  • Software

Fingerprint Dive into the research topics of 'A New Interactive Fault Localization Method with Context Aware User Feedback'. Together they form a unique fingerprint.

  • Cite this

    Horvath, F., Lacerda, V. S., Beszedes, A., Vidacs, L., & Gyimothy, T. (2019). A New Interactive Fault Localization Method with Context Aware User Feedback. In S-C. Cheung, X. Sun, & T. Zhang (Eds.), IBF 2019 - 2019 IEEE 1st International Workshop on Intelligent Bug Fixing (pp. 23-28). [8665415] (IBF 2019 - 2019 IEEE 1st International Workshop on Intelligent Bug Fixing). Institute of Electrical and Electronics Engineers Inc.. https://doi.org/10.1109/IBF.2019.8665415