克隆代碼分析方法研究
[Abstract]:In view of the fact that the existing clone code detection tools only output the detection results in the form of clone group, but it is difficult to analyze the influence of cloned code on software quality, this paper proposes a method to identify the key clone code that endangers the software quality. In this paper, the unified representation of cloning code is defined so that it can analyze the detection results of various cloning detection tools, then analyze the source program and clone detection results, identify the potential defects of flag naming inconsistency, and define the clone association graph. On this basis, it detects the cloned code that spans many different functions and endangers the maintainability of the software. Finally, the visual statistical analysis of the detection results is carried out. Cloning code analysis tools are used to analyze open source code httpd, to detect a set of cloning codes with inconsistent identifiers and 44 sets of critical clone classes that compromise the maintainability of software. The experimental results show that this method can effectively assist software development and maintenance personnel to analyze and maintain cloned code.
【作者單位】: 哈爾濱學(xué)院軟件學(xué)院;哈爾濱工業(yè)大學(xué)計算機科學(xué)與技術(shù)學(xué)院;哈爾濱工業(yè)大學(xué)軟件學(xué)院;
【基金】:哈爾濱科技創(chuàng)新人才研究專項資金資助項目(2016RAQXJ013,2014RFQXJ062) 國家自然科學(xué)基金資助項目(61202092,61173021) 高等學(xué)校博士學(xué)科點專項科研基金資助項目(20112302120052) 黑龍江省普通高校青年學(xué)術(shù)骨干資助項目(1254G037) 黑龍江省自然科學(xué)基金資助項目(F201127)
【分類號】:TP311.53
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 曾濤;;淺談惡意代碼分析技術(shù)發(fā)展趨勢[J];科技資訊;2013年16期
2 彭四偉;辛麗娟;;基于G++前端的C++源代碼分析系統(tǒng)的初步研究[J];計算機系統(tǒng)應(yīng)用;2010年05期
3 趙國亮;蔣勇;孔令兵;;用代碼分析技術(shù)檢測軟件缺陷[J];計算機工程與設(shè)計;2011年08期
4 劉艷萍;;惡意代碼分析與檢測研究現(xiàn)狀[J];微電腦世界;2009年07期
5 陳共龍;;惡意代碼分析技術(shù)綜述[J];無線互聯(lián)科技;2014年03期
6 李群祖;于劉海;;智能手機惡意代碼分析與對策[J];計算機安全;2011年06期
7 Paul Bonner ,杜國梁;利用代碼分析加速應(yīng)用程序的執(zhí)行[J];電子與電腦;1997年06期
8 魏宏東;郭洪;;主動網(wǎng)絡(luò)的數(shù)據(jù)采集與主動代碼分析[J];機電技術(shù);2008年03期
9 許佳卿;彭鑫;趙文耘;;一種基于模糊概念格和代碼分析的軟件演化分析方法[J];計算機學(xué)報;2009年09期
10 陳娟英;范明鈺;王光衛(wèi);;一種基于親緣性的惡意代碼分析方法[J];信息安全與技術(shù);2014年01期
相關(guān)會議論文 前1條
1 趙博;張淼;牛少彰;;基于靜態(tài)代碼分析的JSP安全漏洞檢測系統(tǒng)的研究與設(shè)計[A];2011年通信與信息技術(shù)新進展——第八屆中國通信學(xué)會學(xué)術(shù)年會論文集[C];2011年
相關(guān)重要報紙文章 前4條
1 本報記者 霍娜;源代碼分析護航敏捷開發(fā)[N];中國計算機報;2009年
2 本報記者 田夢;源代碼分析讓開發(fā)更敏捷[N];計算機世界;2009年
3 本報記者 小白;以技術(shù)手段對抗“私服”[N];計算機世界;2005年
4 本報記者 李壽媛 本報通訊員 饒文娟;南京辦堵住計算機收費系統(tǒng)漏洞[N];中國審計報;2006年
相關(guān)博士學(xué)位論文 前1條
1 鐘金鑫;惡意代碼二進制程序行為分析關(guān)鍵技術(shù)研究[D];北京郵電大學(xué);2012年
相關(guān)碩士學(xué)位論文 前10條
1 王U,
本文編號:2322235
本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2322235.html