基本信息
文件名称:基于机器学习的软件故障定位技术研究.pdf
文件大小:1.72 MB
总页数:58 页
更新时间:2025-06-22
总字数:约7.77万字
文档摘要

基于机器学习的软故障定位技术研究

Abstract

Withthescaleofsoftwaresystemshasbeenexpandingandthestructurehasbecome

complexincreasingly,inthiscase,inordertoimprovethedebuggingefficiencyofsoftware

programs,howtoaccuratelydetectprogramfaultsremainsachallengingtask.Toaddressthe

issueofincompletecoverageoftestcasebranchesinexistingdatasets,inthispaper,improved

zebraoptimizationalgorithmisproposesedfortestcasegeneration.Inaddition,inviewofthe

lowefficiencyofexistingmethodsinsoftwarefaultlocationandtheinabilitytoeffectively

connectthecontext,convolutionalneuralnetworksisappliedtothefieldofsoftwarefault

location,takingtheprogramsourcecodeastheresearchobjecttocarryoutresearchon

softwarefaultlocationtechnology.Thespecificresearchcontentisconductedasfollows:

AtestcasegenerationmodelZOA-GAisestablished.Tosolvetheproblemthattest

casescannotfullycoverbranchpaths,atestcasegenerationmodelZOA-GAisproposed

whichintegratesGeneticAlgorithm(GA)andZebraOptimizationAlgorithm(ZOA).Firstly,

thismodelcombinesstaticanalysisandprograminstrumentationtoobtainpathinformation.

Secondly,thefitnessfunctionisconstructedthemethodoflayerproximityandthetechnique

ofoverlappingpaths.Finally,tosolvetheproblemthatZOAiseasilyfallingintolocaloptima,

GAisintroducedintoZOA.TheexperimentalresultsshowthatcomparedtostandardZOA,

GA,andparticleswarmoptimizationalgorithms,theZOA-GAmodelrequiresfewerrounds

togeneratetestcaseswhenthepopulationsizeisdifferentcomparedtootheralgorithms.

AsoftwarefaultlocalizationmodelFL-ResNetisEstablished.Insoftwarefaultlocation

technology,mostcurrentcannotbelinkedtothecontex