Journal of Jilin University(Information Science Ed ›› 2015, Vol. 33 ›› Issue (1): 99-104.
Previous Articles Next Articles
ZHU Bo, ZHENG Hong, SUN Linlin, YANG Youxing
Received:
Online:
Published:
Abstract:
In order to solve the program code similarity detection measurement which ignores the program semantics and the invalid measurement, we present an AST(Abstract Syntax Tree) based on the program code similarity measure method. Through the pretreatment redundancy removal in AST generation and the lexical grammar analysis, get the corresponding AST; and then according to the adaptive threshold method,using the AST traversal which include the sequence and process attributes to take the similarity calculation;finally,determine whether plagiarism and generate the test report.The experimental results show that this method can effectively detect a variety of plagiarism java code.
Key words: similarity measurement, abstract syntax tree (AST), similarity, adaptive threshold
CLC Number:
ZHU Bo, ZHENG Hong, SUN Linlin, YANG Youxing. Research on Similarity Measure for AST-Based Program Codes[J].Journal of Jilin University(Information Science Ed, 2015, 33(1): 99-104.
0 / / Recommend
Add to citation manager EndNote|Reference Manager|ProCite|BibTeX|RefWorks
URL: http://xuebao.jlu.edu.cn/xxb/EN/
http://xuebao.jlu.edu.cn/xxb/EN/Y2015/V33/I1/99
Cited