首页 | 本学科首页   官方微博 | 高级检索  
     

基于程序变异的程序谱错误定位方法
引用本文:王曙燕.基于程序变异的程序谱错误定位方法[J].计算机应用研究,2021,38(5):1487-1490,1497.
作者姓名:王曙燕
作者单位:西安邮电大学计算机学院,西安710121
基金项目:陕西省重点研发计划资助项目(2020GY-010);西安市科技计划资助项目(2019218114GXRC017CG018-GXYD17.10)。
摘    要:针对基于程序谱错误定位方法完全依赖于测试用例的语句覆盖信息导致错误定位效率低下的问题,提出了一种基于变异测试技术的程序谱错误定位方法。在原有语句怀疑度计算方法的基础上,增加了程序变异后执行结果与原程序执行结果不同的测试用例变化情况的分析。此外,为解决程序变异后产生的变异体数量巨大而导致执行代价过大的问题,提出了根据变异位置约简变异体的策略。实验结果表明,与几种基于程序谱的程序错误定位方法相比,该方法的错误定位代价最低,能有效提高错误定位的效率。

关 键 词:错误定位  变异测试  测试用例  怀疑度计算公式  变异体约简
收稿时间:2020/5/25 0:00:00
修稿时间:2021/4/13 0:00:00

Program spectrum fault location based on program mutation
wangshuyan.Program spectrum fault location based on program mutation[J].Application Research of Computers,2021,38(5):1487-1490,1497.
Authors:wangshuyan
Affiliation:(School of Computer Science&Technology,Xi’an University of Posts&Telecommunications,Xi’an 710121,China)
Abstract:In view of the problem that the fault location method based on program spectrum completely depends on the statement coverage information of test case,which leads to low efficiency of fault location,this paper developed a program spectrum fault location technology based on mutation test technology.On the basis of the original calculation method of statement doubt degree,added the change analysis of test cases with different execution results after program mutation.In addition,in order to solve the problem that the number of mutations generated after program mutation is huge and the execution cost is too high,this paper developed a strategy of reducing mutants according to mutation location.Experimental results show that,compared with several fault location techniques based on program spectrum,this method has the lowest cost of fault location and can effectively improve the efficiency of fault location.
Keywords:fault location  mutation testing  test case  doubt degree calculation formula  mutation reduction
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号