资源描述:
《基于软件仓库的源代码演化研究》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、SOURCECODEEVOLUTIONANALYSISUSINGSOFTWAREREPOSITORYABSTRACTSourcecodeevolutionanalysisisanimportanttaskofsoftwaredevelopmentandversionupgradeinsoftwaremaintenance.Withtheguidingsignificancetothecodelevelchangecontrol,ithasbecomeahottestsubjectinempiricalsoftwareengi
2、neering.Inthispaper,westudythesourcecodeevolutionusingsoftwarerepositoryminingtechniques.Usingthecorrelationbetweentwosourcefilesandthecorrelationbetweensourcefileanddevelopertogether,weanalyzetheimpacttorange/time/authorofthecurrentrevision,findouttherules,establi
3、shtheanalysismodelanddotheprediction.Theresearchresultscouldbeusedtoplansoftwareevolutionproject,andalsocouldhelptoimprovethesoftwaredevelopmentprocess・Atfirst,accordingtothecharacteristicsofsourcecodeevolutionanalysis,thispaperputsforwardthesourcecodeevolutionanal
4、ysismethodbasedonsoftwarerepository.Itiscomposedofsixsteps:data-sourceselectionandsampledataextraction;preliminaryanalysisanddeterminationofanalysisindicators;dataextraction;datapreprocessing;coreanalysisstepsanddatavisualization・Then,thesourcecodeevolutionanalysis
5、modelsarestudiedanddesignedfromthefollowthreedimensions:1)Rangeimpactanalysis.Usingthestaticsourcecodeanalysisandco-changeanalysistogether,thispaperputsforwardthesourcecorrelationnetwork,andusesthePagcRankalgorithmtosupportthevaluecalculationofeachnodeinthisnetwork
6、.2)Timeimpactanalysis.Usingthesourcecorrelationnetwork,revisioncurveandrevisionbarcodetogether,weanalyzethedistributionofcommittimeduringthecycleofsoftwaredevelopment.3)Authorimpactanalysis.Weadddevelopernodesintothesourcecorrelationnetworktoestablishanewnetwork.In
7、thisnetwork,wefocusontheownershipofthesourcefile,andusethisrelationtocompletetheauthorprediction.Basedontheabove,thispaperdesignsandimplementsasourcecodeevolutionanalysistool(SEAT),doesthecasestudyon8opensourcesoftwareprojectsfromGitHub.Theresultrevealsthatsourcefi
8、lechangewillbepropagatedinthecorrelationnetworkfromthenodewithhighPageRankvaluetothenodewithlowPageRankvalue.Thecommitswithhugechangescalewillaff