基于改进型遗传算法的面向路径测试数据生成

基于改进型遗传算法的面向路径测试数据生成

ID:33941139

大小:1.67 MB

页数:48页

时间:2019-03-02

基于改进型遗传算法的面向路径测试数据生成_第1页
基于改进型遗传算法的面向路径测试数据生成_第2页
基于改进型遗传算法的面向路径测试数据生成_第3页
基于改进型遗传算法的面向路径测试数据生成_第4页
基于改进型遗传算法的面向路径测试数据生成_第5页
资源描述:

《基于改进型遗传算法的面向路径测试数据生成》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、北京化工人学硕:}:学位论文关键词:遗传算法,程序路径,测试数据生成,程序结构信息ABSTRACT一—————————————————————————————————————————————————————————一Path.orientedTestDataGenerationbasedonTⅥodifiedGeneticA190rithm’1℃stdatagenerationisakeypointinsoRwaretestingprocess.Howtogeneratee行.ectivetestdataunderalimitedtimeandresourceisofgreatValue

2、inboththeoreticalandappliedaspects.Manuallygeneratingtestdataconsumestoomuchresourceandthetestdataisalwaysinsu伍cientandredundant.AutomatictestdatagenerationwillmakesoRwaretestmoree伍cient.Instrucnlraltesting,pathcoverageisapopularcoVeragecriterion.Geneticalgorithm(GA)isarandom-basedsearchalgorithm

3、whichsimulatesthenamralevolutionpr.ocess.Byconductingtheselection,cI.ossoVerandmutationoperations,GAist咖ngtogeneratethesolutionduringamountofiterations·Duetoitsadaptabilityand910balsearching2lbility;geneticGAhasbeenwidelyusedinpath—onentedtestdatageneration.HoweVer’GAdoesnotconsiderthestructllral

4、infomationoftheprogramundertestwhengeneratingpath.onentedtestdatathusitsuffers行omhighiterationtimesandlowef!ficiencyInordertoimprovethetestdatageneratione伍ciency;thispaperProposesamodifiedgeneticalgorithm(MGA)whichusesstructuralinfomationofthem北京化T人学硕上.学位论文programundertesttohelpchoosingthecrossoV

5、erandmutationpoint.WithJ111,●●‘·.‘tnenelpotpreclsecrossoVerandmutatlonoperations,theiterationtimesneededwhengeneratingtestdatacanbereduced.Besides,apath.orientedtestdatagenerationprototypesystemwhichusesthemodifiedgeneticalgorithmhasbeendeVeloped.Usingthisprototypesystem,testdataofCprogramscanbeg

6、eneratedautomatically.AlotofexperimentsshowthatMGAhasfasterconVe唱encespeedandhighertestdatagenerationefjEiciencywhenappliedinpath-orientedtestdatageneration.Keywords:geneticalgorithm,programpath,testdatageneration,programstlllctllralinf.onnationIV目录第一章绪论⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯11.1课题研究背景及意义⋯⋯⋯⋯⋯

7、⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯一11.2国内外研究现状⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯..21.3论文主要贡献⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯31.4论文组织结构⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯..4第二章面向程序路径的测试数据生成方法⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯52.1面向路径测试数据生成概述⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯52.1.1程序路径的定义⋯⋯⋯

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。