检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华中科技大学计算机科学与技术学院,湖北武汉430074
出 处:《华中科技大学学报(自然科学版)》2009年第3期79-82,共4页Journal of Huazhong University of Science and Technology(Natural Science Edition)
基 金:"十一五"国防预研基金资助项目
摘 要:研究了循环体内标志变量赋值对进化测试带来的影响.分析了传统方法的不足及标志变量(flag)存在的各种情况,如针对标志变量的多分支赋值、跳转语句(break)的使用以及存在嵌套循环等问题,提出了一种改进的循环体内部的flag移除算法.通过对源程序的插桩和转换,重新构造了利于搜索进展的适应度函数.实验结果表明该方法可提高进化测试效率,并以较小的代价成功生成测试用例.Evolutionary tests with loop-assigned flags were studied. Various circumstances of the flags were considered, such as loop-assigned flags of multiple-branch, presence of arbitrary jump statement (break) and nested loop, After the insufficiencies of the traditional approaches were discussed, an im- proved algorithm for removing the flag from the loops was proposed. Through instrument and transformation of the source code, a fitness function was re-constructed to guide the evolutionary search effectively. The results of experimental study showed that the new fitness calculation greatly improved the efficiency of evolutionary testing and find the required test data at low cost.
关 键 词:软件测试 结构性测试 进化测试 进化搜索 标志变量 适应度
分 类 号:TP301[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.140.242.43