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

基于语句重要度的变异测试对象选择方法
引用本文:巩敦卫,秦备,田甜. 基于语句重要度的变异测试对象选择方法[J]. 电子学报, 2017, 45(6): 1518. DOI: 10.3969/j.issn.0372-2112.2017.06.034
作者姓名:巩敦卫  秦备  田甜
作者单位:1. 中国矿业大学信息与电气工程学院,江苏徐州 221116;兰州理工大学电气工程与信息工程学院,甘肃兰州 730050;2. 中国矿业大学信息与电气工程学院,江苏徐州,221116;3. 山东建筑大学计算机科学与技术学院,山东济南,250101
基金项目:国家973重点基础研究发展计划,国家自然科学基金
摘    要:本文基于语句重要度,提出一种新的变异测试对象选择方法,以减少变异体的数量.首先,给出反映变异测试对象重要性的3个因素;然后,基于这些因素的重要性,建立评价所选测试对象重要性的指标;最后,基于这些指标的值,选出重要度高的语句作为变异测试对象.将所提方法应用于8个基准和工业程序的变异测试,实验结果表明,所提方法在维持很高变异测试充分度的同时,显著提高了变异测试的效率.

关 键 词:软件测试  变异测试  变异体约简  测试对象选择  重要语句
收稿时间:2015-10-24

Selecting Objects to be Mutated Based on Statement Importance
GONG Dun-wei,QIN Bei,TIAN Tian. Selecting Objects to be Mutated Based on Statement Importance[J]. Acta Electronica Sinica, 2017, 45(6): 1518. DOI: 10.3969/j.issn.0372-2112.2017.06.034
Authors:GONG Dun-wei  QIN Bei  TIAN Tian
Abstract:Based on the importance of the statement,a novel method of selecting mutation object is proposed so as to reduce mutants.In this method,three factors that reflect the importance of an object are given,and then an index system of evaluating the importance of an object is established based on the importance of these factors.Finally,statements with high importance are selected as the objects to be mutated according to the values of these indexes.The proposed method is applied to test eight benchmark or industrial programs,and the experimental results suggest that the proposed method significantly improves the efficiency of mutation testing with high mutation sufficiency.
Keywords:software testing  mutation testing  mutant reduction  test object selection  important statement
本文献已被 万方数据 等数据库收录!
点击此处可从《电子学报》浏览原始摘要信息
点击此处可从《电子学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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