Abstract

Spectrum-based automatic fault localization techniques play an important role in facilitating the quick and accurate localization of faults in programs. Unfortunately, since these techniques are based on the binary coverage information, counting only the coverage of statements in each execution and ignoring the statement frequency information, their diagnostic accuracies are inherently limited, especially when faults occur in the iteration statements or loop bodies. To address this problem, we introduce statement frequency conception into spectrum-based fault localization (SFL) and then propose a fault localization method based on statement frequency (FLSF). We also conduct a case study involving seven programs in Siemens suite and two risk evaluation formulas to compare the effectiveness of the proposed method against Tarantula. The experimental results show that our method outperforms Tarantula in most situations with regard to stability and effectiveness.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.