The improved dynamic slicing for spectrum-based fault localization.

PeerJ Computer Science Pub Date : 2022-09-07 eCollection Date: 2022-01-01 DOI:10.7717/peerj-cs.1071
Heling Cao, Fei Wang, Miaolei Deng, Lei Li
{"title":"The improved dynamic slicing for spectrum-based fault localization.","authors":"Heling Cao,&nbsp;Fei Wang,&nbsp;Miaolei Deng,&nbsp;Lei Li","doi":"10.7717/peerj-cs.1071","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Spectrum-based Fault localization have proven to be useful in the process of software testing and debugging. However, how to improve the effectiveness of software fault localization has always been a research hot spot in the field of software engineering. Dynamic slicing can extract program dependencies under certain conditions. Thus, this technology is expected to benefit for locating fault.</p><p><strong>Methods: </strong>We propose an improved dynamic slicing for spectrum-based fault localization under a general framework. We first obtain the dynamic slice of program execution. Secondly, we construct a mixed slice spectrum matrix from the dynamic slice of each test case and the corresponding test results. Finally, we compute the suspiciousness value of each statement in the mixed-slice spectram matrix.</p><p><strong>Results: </strong>To verify the performance of our method, we conduct an empirical study on 15 widely used open-source programs. Experimental results show that our approach achieves significant improvement than the compared techniques.</p><p><strong>Conclusions: </strong>Our approach can reduce approximately 1% to 17.79% of the average cost of code examined significantly.</p>","PeriodicalId":503620,"journal":{"name":"PeerJ Computer Science","volume":" ","pages":"e1071"},"PeriodicalIF":0.0000,"publicationDate":"2022-09-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9575932/pdf/","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"PeerJ Computer Science","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.7717/peerj-cs.1071","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2022/1/1 0:00:00","PubModel":"eCollection","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Background: Spectrum-based Fault localization have proven to be useful in the process of software testing and debugging. However, how to improve the effectiveness of software fault localization has always been a research hot spot in the field of software engineering. Dynamic slicing can extract program dependencies under certain conditions. Thus, this technology is expected to benefit for locating fault.

Methods: We propose an improved dynamic slicing for spectrum-based fault localization under a general framework. We first obtain the dynamic slice of program execution. Secondly, we construct a mixed slice spectrum matrix from the dynamic slice of each test case and the corresponding test results. Finally, we compute the suspiciousness value of each statement in the mixed-slice spectram matrix.

Results: To verify the performance of our method, we conduct an empirical study on 15 widely used open-source programs. Experimental results show that our approach achieves significant improvement than the compared techniques.

Conclusions: Our approach can reduce approximately 1% to 17.79% of the average cost of code examined significantly.

Abstract Image

Abstract Image

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于频谱的改进动态切片故障定位。
背景:基于谱的故障定位在软件测试和调试过程中已被证明是有用的。然而,如何提高软件故障定位的有效性一直是软件工程领域的研究热点。动态切片可以在一定条件下提取程序依赖关系。因此,该技术有望用于故障定位。方法:提出了一种改进的基于频谱的故障定位动态切片方法。我们首先得到程序执行的动态切片。其次,利用每个测试用例的动态切片和相应的测试结果构建混合切片频谱矩阵;最后,我们计算了混合切片光谱矩阵中每个语句的怀疑度值。结果:为了验证我们的方法的性能,我们对15个广泛使用的开源程序进行了实证研究。实验结果表明,我们的方法比比较的方法有了显著的改进。结论:我们的方法可以显著降低代码平均成本的1%到17.79%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A model for new media data mining and analysis in online English teaching using long short-term memory (LSTM) network FV-EffResNet: an efficient lightweight convolutional neural network for finger vein recognition A model for new media data mining and analysis in online English teaching using long short-term memory (LSTM) network FV-EffResNet: an efficient lightweight convolutional neural network for finger vein recognition Named entity recognition and emotional viewpoint monitoring in online news using artificial intelligence
wanfang
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1