Affiliation:
1. Department of Computing São Paulo State University Bauru Brazil
2. Department of Computer Science, Institute of Mathematics and Statistics University of São Paulo São Paulo Brazil
3. School of Arts, Sciences, and Humanities University of São Paulo São Paulo Brazil
Abstract
SummaryDevelopers spend significant time locating and fixing bugs, which is often performed manually. Although spectrum‐based fault localization (SFL) techniques aim at helping developers to locate faults, they are not yet used in practice. Recent studies have investigated how developers use SFL, presenting different conclusions about their effectiveness and usefulness. We carried out a user study to further enhance the understanding of SFL. We assessed whether SFL improves the developers' performance and to what extent SFL leads developers to inspect faulty code excerpts. We also investigated the intention of the developers to use SFL and how they interact with SFL. Twenty‐six participants performed debugging tasks using real programs, with and without using the Jaguar SFL tool. Using SFL, more developers located and fixed the bugs. SFL also led more developers to inspect the faulty code and locate the faulty method. However, they did not spend less time locating the faults. SFL was well‐accepted by the participants, who showed intention to use it in their daily activities. Our results indicate that SFL is useful even when the fault is not ranked among the first positions, leading developers to reach faulty code regions and find the bugs.
Funder
Fundação de Amparo à Pesquisa do Estado de São Paulo
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. SURE: A Visualized Failure Indexing Approach using Program Memory Spectrum;ACM Transactions on Software Engineering and Methodology;2024-07-08
2. Context Switch Sensitive Fault Localization;Proceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering;2024-06-18
3. Systematic Analysis of Learning-Based Software Fault Localization;2024 10th International Symposium on System Security, Safety, and Reliability (ISSSR);2024-03-16