资源描述:
《基于错误传播上下文分析的软件错误定位方法分析》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、AbstractAlongwiththeincreasingscaleofsoftwaresystem,itbecomesmoreandmoredifficulttoensurethequalityofthesoftware.Theprobabilityofthesoftwarefailurealsoincreases.Thesoftwarefailuremeansthatthesoftwareexpectedoutcomeisdifferentfromtheactualoutcome.Afte
2、rthesoftwarefailureoccurred,howtolocatethefaultystatementswhichcontainbugsiswhatfaultlocalizationneedstosolve.Nowtherearemanyexcellentsoftwarefaultlocalizationtechniques.However,theyallignorethecoincidentalcorrectnesswhichmeansexecutionresultsoftestc
3、asesthatexecutefaultystatementsindicatenofailureinformation.Thecoincidentalcorrectnessisalwayscausedbythefaultpropagation.Basedontheaboveconsiderations,thispaperdividesthefaultlocalizationintotwosteps,includingfault-relatedstatementslocalizationandfa
4、ultcomprehension.Theresearchcontentsofthispaperinclude:Firstly,inordertogettheexecutionpathinformationoftheprogramastheinputofsubsequentmodules,programinstrumentationisneeded.However,existingprograminstrumentationmethodsaretoocomplex.Inthispaper,weus
5、elexicalanalysisandsyntaxanalysistorealizeasimpleandconvenientprograminstrumentationmethod.Secondly,inordertodothefault-relatedstatementslocalization,combineddependencenetworkmustbecreated.Soitisnecessarytodoprogramdependenceanalysisandcreateprogramd
6、ependencegraphandtransferit.Inthispaper,werealizethetraditionalmethodoftheprogramdependenceanalysis.Basedonthis,wecreateprogramdependencegraph,transfersomespecificnodesanddothestatespecification.Thirdly,existingfaultlocalizationmethodsnotonlycannotac
7、curatelylocatethefaultinmostcasesbutalsocannotlocatethefault-relatedstatements.Soweproposeconditionalprobability,pathprobabilityandcombineddependenceprobabilitytoenhancetheaccuracyoffault-relatedstatementslocalization.Intheend,coincidentalcorrectness
8、sharplyaffecttheresultoffaultlocalization.Existingfaultlocalizationmethodsdicinggraspitsessence.Soweproposethefaultcomprehensionbasedonfaultpropagationcontextanalysistoeliminateitseffect・Themethodgeneratesarankedlistofsuspiciousnessscoreofallstatemen