%0 Journal Article %T Research of transformation method from AADL components to C code in platform of RTLinux
AADL构件到RTLinux平台C代码的转换方法研究* %A ZHU Jiang %A ZHANG Mao-lin %A
朱江 %A 张茂林 %J 计算机应用研究 %D 2011 %I %X Because the current research about code plagiarism detection mostly based on program source code similarity, lacking of grammatical analysis to code, ignoring the syntax and semantics of the program, can not effectively detect plagiarism to the slight modification of the structure.This paper presented a code plagiarism detection based on the AST. It pre-formated code, analysis lexical and syntax and obtained the corresponding AST. Then it traversed AST to generate code sequences, calculated the similarity of the code sequence and got the code plagiarism detection report. Experimental results show that the approach can verify the C code plagiarism effectively, and it has some versatility and scalability on the C++,Java and other plagiarism detection program code. %K AADL(architecture analysis and design language) %K component %K transformation rules %K code generation
抽象语法树 %K 抄袭检测 %K 开源语法分析器 %K 相似度 %U http://www.alljournals.cn/get_abstract_url.aspx?pcid=5B3AB970F71A803DEACDC0559115BFCF0A068CD97DD29835&cid=8240383F08CE46C8B05036380D75B607&jid=A9D9BE08CDC44144BE8B5685705D3AED&aid=FB5801A5F05F25BDACEC94FCE3FF7B24&yid=9377ED8094509821&vid=D3E34374A0D77D7F&iid=59906B3B2830C2C5&sid=D32B9E1B9C7E3D6C&eid=4464691482A95011&journal_id=1001-3695&journal_name=计算机应用研究&referenced_num=0&reference_num=21