天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 教育論文 > 教育體制論文 >

在線評測系統(tǒng)中代碼剽竊檢測技術(shù)的研究與實(shí)現(xiàn)

發(fā)布時間:2018-05-23 08:39

  本文選題:屬性計數(shù)法 + 結(jié)構(gòu)度量技術(shù) ; 參考:《西北農(nóng)林科技大學(xué)》2017年碩士論文


【摘要】:為了高效檢測程序設(shè)計課程中代碼剽竊問題,減少或杜絕代碼剽竊現(xiàn)象。針對目前已有的代碼剽竊檢測系統(tǒng)檢測結(jié)果準(zhǔn)確性較差、時間復(fù)雜度高等問題,本文提出一套完整的解決方案,并依據(jù)該方案構(gòu)建出剽竊檢測系統(tǒng),用于程序設(shè)計課程的代碼剽竊檢測。主要研究內(nèi)容如下:(1)針對已有檢測系統(tǒng)運(yùn)行時間復(fù)雜度高的問題,提出了一種基于屬性計數(shù)法和結(jié)構(gòu)度量技術(shù)相結(jié)合的程序相似度計算方法,通過提取代碼屬性特征和結(jié)構(gòu)特征方法,降低了檢測系統(tǒng)的時間復(fù)雜度。實(shí)驗(yàn)表明,檢測系統(tǒng)的運(yùn)行時間復(fù)雜度與最長公共子序列算法相比降低了15.1%。(2)針對已有檢測系統(tǒng)準(zhǔn)確性低的問題,通過分析代碼剽竊的特點(diǎn),優(yōu)化了檢測流程:優(yōu)先使用GST(Greedy String Tilling)算法檢測低級的代碼剽竊問題,再依據(jù)決策函數(shù)判斷是否采用屬性計數(shù)法和結(jié)構(gòu)度量技術(shù)相結(jié)合的方法進(jìn)一步計算相似度,采用兩次檢測結(jié)果的綜合評價得出最終檢測結(jié)論,實(shí)驗(yàn)結(jié)果表明,對于構(gòu)造樣本、學(xué)生日常作業(yè)和上機(jī)考試提交的程序代碼樣本中的低級的剽竊手段,檢測結(jié)果的準(zhǔn)確率達(dá)95%;而對于較為高級的檢測手段,比如增加冗余、等價結(jié)構(gòu)替換等,本文設(shè)計的檢測系統(tǒng)比JPlag系統(tǒng)的精度提高了5.6%。(3)實(shí)現(xiàn)了程序代碼自動化檢測系統(tǒng)一套,包括代碼預(yù)處理、有效選擇源程序的特征、高效提取特征元素及相似度檢測算法的實(shí)現(xiàn)。為了驗(yàn)證本研究方法及構(gòu)建出一套剽竊檢測系統(tǒng)的有效性,選取三組典型樣本在JPlag系統(tǒng)和本研究搭建的剽竊檢測系統(tǒng)同時進(jìn)行檢測,最后比較檢測結(jié)果。綜合分析三組樣本中常見的五類剽竊手段的檢測結(jié)果比JPlag系統(tǒng)的精度提高了7.3%。軟件測試表明,該系統(tǒng)能夠穩(wěn)定可靠地工作,較好的實(shí)現(xiàn)了設(shè)計的目標(biāo)。
[Abstract]:To detect code plagiarism in programming courses efficiently, reduce or eliminate code plagiarism. Aiming at the problems of poor accuracy and high time complexity of the existing code plagiarism detection system, this paper proposes a complete solution, and constructs a plagiarism detection system based on this scheme. Code plagiarism detection for programming courses. The main research contents are as follows: (1) aiming at the problem of high time complexity of the existing detection system, a program similarity calculation method based on the combination of attribute counting and structure measurement is proposed. The time complexity of the detection system is reduced by extracting code attribute features and structural features. The experimental results show that the complexity of the detection system is 15.1than that of the longest common subsequence algorithm. (2) aiming at the problem of low accuracy of the existing detection system, the characteristics of code plagiarism are analyzed. This paper optimizes the detection flow: first using GST(Greedy String tracing algorithm to detect the low-level code plagiarism problem, and then judging whether to use attribute counting method and structure measurement technology to calculate the similarity according to the decision function. The final test results are obtained by comprehensive evaluation of the results of two tests. The experimental results show that, for the low-level plagiarism means of constructing samples, students' daily homework and program code samples submitted by computer examination, The accuracy of the detection results is 95%. For the more advanced detection methods, such as increasing redundancy and replacing equivalent structures, the precision of the detection system designed in this paper has been improved by 5.6% compared with that of the JPlag system.) the automatic detection system of program code has been realized. It includes code preprocessing, effective selection of source program features, efficient extraction of feature elements and implementation of similarity detection algorithm. In order to verify the effectiveness of this research method and construct a plagiarism detection system, three groups of typical samples were selected to simultaneously detect plagiarism in JPlag system and the plagiarism detection system built in this study. Finally, the detection results were compared. The accuracy of five kinds of plagiarism methods in three groups of samples is improved by 7.3% compared with that of JPlag system. The software test shows that the system can work stably and reliably, and achieve the design goal well.
【學(xué)位授予單位】:西北農(nóng)林科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2017
【分類號】:TP311.1-4;G434

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 鄭凱;歐陽林艷;林強(qiáng);劉芳冰;;LCS算法與編輯距離算法的研究[J];信息通信;2015年05期

2 石野;黃龍和;車天陽;高斯;王健;;基于語法樹的程序相似度判定方法[J];吉林大學(xué)學(xué)報(信息科學(xué)版);2014年01期

3 全上克;楊新鋒;;程序代碼相似度檢測方法的設(shè)計與實(shí)現(xiàn)[J];微型電腦應(yīng)用;2013年10期

4 于世英;袁雪梅;盧海濤;任家東;李碩;;基于序列聚類的相似代碼檢測算法[J];智能系統(tǒng)學(xué)報;2013年01期

5 高燦;侯秀萍;孫士明;;基于抽象語法樹的修改影響分析方法[J];長春工業(yè)大學(xué)學(xué)報(自然科學(xué)版);2012年04期

6 古平;張鋒;周海濤;;一種程序源代碼相似度度量方法[J];計算機(jī)工程;2012年06期

7 張麗萍;劉東升;李彥臣;鐘美;;一種基于AST的代碼抄襲檢測方法[J];計算機(jī)應(yīng)用研究;2011年12期

8 于海英;;字符串相似度度量中LCS和GST算法比較[J];電子科技;2011年03期

9 鐘美;張麗萍;劉東升;;基于XML的C代碼抄襲檢測算法[J];計算機(jī)工程與應(yīng)用;2011年08期

10 陳波;王延章;;基于關(guān)聯(lián)token自適應(yīng)字段匹配算法設(shè)計[J];計算機(jī)工程與設(shè)計;2010年19期

相關(guān)碩士學(xué)位論文 前3條

1 胡正軍;程序代碼相似度檢測方法研究及應(yīng)用[D];中南大學(xué);2012年

2 趙彥博;基于抽象語法樹的程序代碼抄襲檢測技術(shù)研究[D];內(nèi)蒙古師范大學(xué);2010年

3 王春暉;程序代碼抄襲檢測中串匹配算法的研究與實(shí)現(xiàn)[D];內(nèi)蒙古師范大學(xué);2008年



本文編號:1924034

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/jiaoyulunwen/jiaoyutizhilunwen/1924034.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶fb379***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com