Constrained Mutation in C programs

W. Wong, J. Maldonado, M. Delamaro, A. Mathur
{"title":"Constrained Mutation in C programs","authors":"W. Wong, J. Maldonado, M. Delamaro, A. Mathur","doi":"10.5753/sbes.1994.24483","DOIUrl":null,"url":null,"abstract":"Software development is always under the pressure of time and budget constraints before release. A good testing strategy should not only be effective and economical but also incremental. Although mutation testing has been empirically found to be effective in detecting faults, it remains unused for reasons of economics. A major obstacle to the use of mutation testing is its high computational cost. In this paper we report results from experiments designed to investigate six different constrained mutation mechanisms. Our data indicate that these alternatives not only reduce the cost of mutation significantly in terms of the number of test cases required and the number of mutants to be examined, but also maintain very good fault detection effectiveness. Effects of incremental mutation testing examining different sets of mutants are also discussed. Furthermore, our experiments are unique in that constrained mutation was performed directly on C programs. This eliminates the possible bias experienced by earlier mutation studies because of the programming language translation between the Fortran, Pascal, and C.","PeriodicalId":307252,"journal":{"name":"Anais do VIII Simpósio Brasileiro de Engenharia de Software (SBES 1994)","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1994-10-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"46","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Anais do VIII Simpósio Brasileiro de Engenharia de Software (SBES 1994)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5753/sbes.1994.24483","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 46

Abstract

Software development is always under the pressure of time and budget constraints before release. A good testing strategy should not only be effective and economical but also incremental. Although mutation testing has been empirically found to be effective in detecting faults, it remains unused for reasons of economics. A major obstacle to the use of mutation testing is its high computational cost. In this paper we report results from experiments designed to investigate six different constrained mutation mechanisms. Our data indicate that these alternatives not only reduce the cost of mutation significantly in terms of the number of test cases required and the number of mutants to be examined, but also maintain very good fault detection effectiveness. Effects of incremental mutation testing examining different sets of mutants are also discussed. Furthermore, our experiments are unique in that constrained mutation was performed directly on C programs. This eliminates the possible bias experienced by earlier mutation studies because of the programming language translation between the Fortran, Pascal, and C.
C程序中的约束突变
软件开发在发布之前总是处于时间和预算限制的压力之下。一个好的测试策略不仅应该是有效的和经济的,而且应该是增量的。虽然突变检测在检测故障方面已被经验证明是有效的,但由于经济原因,它仍未被使用。使用突变测试的一个主要障碍是它的高计算成本。在本文中,我们报告了旨在研究六种不同约束突变机制的实验结果。我们的数据表明,这些替代方案不仅在所需的测试用例数量和需要检查的突变数量方面显着降低了突变的成本,而且还保持了非常好的故障检测效率。增量突变检测检测不同组突变的效果也进行了讨论。此外,我们的实验的独特之处在于约束突变是直接在C程序上进行的。这消除了由于Fortran、Pascal和C之间的编程语言转换而导致的早期突变研究可能出现的偏差。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信