引用本文:孙昌爱,卫新洁,刘镇贤,宫云战.DFSampling: 一种数据流分析指导的变异体精简策略.软件学报,2022,33(9):3407-3421
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 1185次   下载 3073 本文二维码信息
码上扫一扫!
分享到: 微信 更多
DFSampling: 一种数据流分析指导的变异体精简策略
孙昌爱1,2, 卫新洁1, 刘镇贤1, 宫云战3
1.北京科技大学 计算机与通信工程学院, 北京 100083;2.计算机科学国家重点实验室(中国科学院 软件研究所), 北京 100190;3.北京邮电大学 网络技术研究院, 北京 100876
摘要:
软件测试是一种广泛使用的软件质量保证手段. 变异测试是一种基于故障的软件测试方法, 广泛用于评估测试用例集的充分性与软件测试技术的有效性. 数量庞大的变异体导致变异测试的成本非常高. 提出一种数据流分析指导的变异体精简方法(DFSampling), 设计了启发式规则, 基于这些规则对随机选择技术与基于路径感知的变异体精简技术(PAMR)进行了改进. 采用经验研究的方式评估了DFSampling的有效性, 比较了DFSampling与随机选择技术、PAMR技术的有效性, 实验结果表明DFSampling是一种有效的变异体精简策略, 提高了变异测试的效率.
关键词:  软件测试  变异测试  数据流分析  变异体精简  随机选择策略
DOI:10.13328/j.cnki.jos.006291
分类号:TP311
基金项目:国家自然科学基金(61872039); 中国科学院软件研究所计算机科学国家重点实验室开放课题(SYSKF1803); 中央高校基本科研业务费专项(FRF-GF-19-019B).
DFSampling: Mutant Reduction Technique Guided by Data Flow Analysis
SUN Chang-Ai1,2, WEI Xin-Jie1, LIU Zhen-Xian1, GONG Yun-Zhan3
1.School of Computer & Communication Engineering, University of Science and Technology Beijing, Beijing 100083, China;2.State Key Laboratory of Computer Science (Institute of Software, Chinese Academy of Sciences), Beijing 100190, China;3.Institute of Network Technology, Beijing University of Posts and Telecommunications, Beijing 100876, China
Abstract:
Software testing is a commonly used software quality assurance technique. Mutation testing is a fault-based software testing technique that is widely applied to evaluate the sufficiency of test suites and the effectiveness of software testing techniques. However, the cost of mutation testing is extremely high due to the large number of mutants. This study proposes a mutant reduction technique, DFSampling, guided by data flow analysis and designs three heuristic rules. The random selection technique and the path-aware mutant reduction technique (PAMR) are improved in line with these rules. An empirical study is conducted to evaluate the effectiveness of DFSampling and compare DFSampling with the random selection technique and the PAMR technique in terms of effectiveness. The experimental results show that DFSampling is an effective mutant reduction strategy, which can increase the efficiency of mutation testing.
Key words:  software testing  mutation testing  data-flow analysis  mutant reduction  random selection strategy

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: