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

面向语句的MBFL变异体约减策略
引用本文:王林鑫,王微微,赵瑞莲,李征.面向语句的MBFL变异体约减策略[J].计算机科学,2017,44(11):175-180.
作者姓名:王林鑫  王微微  赵瑞莲  李征
作者单位:北京化工大学信息科学与技术学院 北京100029,北京化工大学信息科学与技术学院 北京100029,北京化工大学信息科学与技术学院 北京100029,北京化工大学信息科学与技术学院 北京100029
基金项目:本文受国家自然科学基金(61672085,5),教育部新世纪优秀人才计划项目(NCET-12-0757)资助
摘    要:在软件调试过程中如何高效、精确地定位程序中的错误代码是软件开发人员普遍关注的问题。MBFL是一种基于变异分析的错误定位技术,它在获得较高错误定位精度的同时会生成大量变异体,并在变异体上执行测试用例集,开销庞大。为了减少MBFL的变异执行开销,提出面向语句的变异体约减策略,通过分析测试用例的执行信息, 按一定比例 对每条由失败测试用例覆盖的语句生成的变异体集合进行约减。实验结果表明,在7个程序包的112个错误版本上,应用面向语句的变异体约减策略的MBFL,在保持较高错误定位精度的同时,能够有效减少73.51%~79.98%的变异执行开销。

关 键 词:错误定位  变异分析  变异体约减策略
收稿时间:2016/10/10 0:00:00
修稿时间:2016/12/15 0:00:00

MBFL with Statement-oriented Mutant Reduction Strategy
WANG Lin-xin,WANG Wei-wei,ZHAO Rui-lian and LI Zheng.MBFL with Statement-oriented Mutant Reduction Strategy[J].Computer Science,2017,44(11):175-180.
Authors:WANG Lin-xin  WANG Wei-wei  ZHAO Rui-lian and LI Zheng
Affiliation:College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China,College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China,College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China and College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China
Abstract:How to efficiently and accurately locate faults in programs during the process of software debugging is taken up as a matter of common concern for software developers.MBFL is a fault localization technique based on mutation analysis,which precisely identifies the root cause of fault but incurs a high execution cost,since it needs to execute the test suite on a large amount of mutants.For decreasing the execution cost of MBFL,this paper presented a statement-oriented mutant reduction strategy,which selects a certain proportion set of mutants generated by statements covered by failed tests,according to the previous execution information of test suite.Empirical studies were conducted on 112 faulty versions from 7 program packages.The results indicate that this strategy can reduce 73.51%~79.98% mutation execution cost under the case of keeping high fault location precision.
Keywords:Fault localization  Mutation analysis  Mutant reduction strategy
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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