Reduce Before You Localize: Delta-Debugging and Spectrum-Based Fault Localization

Arpit Christi, Matthew Lyle Olson, Mohammad Amin Alipour, Alex Groce
{"title":"Reduce Before You Localize: Delta-Debugging and Spectrum-Based Fault Localization","authors":"Arpit Christi, Matthew Lyle Olson, Mohammad Amin Alipour, Alex Groce","doi":"10.1109/ISSREW.2018.00005","DOIUrl":null,"url":null,"abstract":"Spectrum-based fault localization (SBFL) is one of the most popular and studied methods for automated debugging. Many formulas have been proposed to improve the accuracy of SBFL scores. Many of these improvements are either marginal or context-dependent. This paper proposes that, independent of the scoring method used, the effectiveness of spectrum-based localization can usually be dramatically improved by, when possible, delta-debugging failing test cases and basing localization only on the reduced test cases. We show that for programs and faults taken from the standard localization literature, a large case study of Mozilla's JavaScript engine using 10 real faults, and mutants of various open-source projects, localizing only after reduction often produces much better rankings for faults than localization without reduction, independent of the localization formula used, and the improvement is often even greater than that provided by changing from the worst to the best localization formula for a subject.","PeriodicalId":321448,"journal":{"name":"2018 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","volume":"6 4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"22","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISSREW.2018.00005","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 22

Abstract

Spectrum-based fault localization (SBFL) is one of the most popular and studied methods for automated debugging. Many formulas have been proposed to improve the accuracy of SBFL scores. Many of these improvements are either marginal or context-dependent. This paper proposes that, independent of the scoring method used, the effectiveness of spectrum-based localization can usually be dramatically improved by, when possible, delta-debugging failing test cases and basing localization only on the reduced test cases. We show that for programs and faults taken from the standard localization literature, a large case study of Mozilla's JavaScript engine using 10 real faults, and mutants of various open-source projects, localizing only after reduction often produces much better rankings for faults than localization without reduction, independent of the localization formula used, and the improvement is often even greater than that provided by changing from the worst to the best localization formula for a subject.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Reduce Before You Localization: delta调试和基于频谱的故障定位
基于谱的故障定位(SBFL)是目前研究最多的自动调试方法之一。为了提高SBFL评分的准确性,人们提出了许多公式。许多这些改进要么是边缘的,要么是依赖于环境的。本文提出,与使用的评分方法无关,在可能的情况下,对失败的测试用例进行增量调试,并仅基于减少的测试用例进行定位,通常可以显著提高基于频谱的定位的有效性。我们表明,对于取自标准本地化文献的程序和错误,Mozilla JavaScript引擎的大型案例研究使用了10个真正的错误,以及各种开源项目的变种,仅经过简化的本地化通常比不经过简化的本地化产生更好的错误排名,与所使用的本地化公式无关,并且改进通常比将最糟糕的本地化公式更改为最佳本地化公式所提供的改进更大。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Message from the WoSoCer 2018 Workshop Chairs Software Aging and Rejuvenation in the Cloud: A Literature Review Spectrum-Based Fault Localization for Logic-Based Reasoning [Title page iii] Software Reliability Assessment: Modeling and Algorithms
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1