会议专题

Study on the Static Analysis and the Similarity Comparing of SQL Code

To address the problem of assessing the SQL code automatically in an E-learning system, this paper offers a way to calculate the similarity between SQL codes using the static analysis technology. We use the regular expressions, NFA and DFA technology to analyze the code and then generate the AST of the source code and target code. Based on the ASTs created before, the method proceeds the measuring by calculating the similarity between ASTs using tree edit distance and taking this as the similarity between SQL codes.

Similarity analysis lexical analysis syntactic analysis abstract syntactic tree

Yang He-Biao Chen Li Yang Li-Fan

School of CS & CEJiangsu UniversityZhenjiang, China School of CS & CE Jiangsu University Zhenjiang, China

国际会议

2010 3rd International Conference on Advanced Computer Theory and Engineering(2010年第三届先进计算机理论与工程国际会议 ICACTE 2010)

成都

英文

1-4

2010-08-20(万方平台首次上网日期,不代表论文的发表时间)