首页> 外文会议>International Conference on Advanced Computer Theory and Engineering >Study on the static analysis and the similarity comparing of SQL code
【24h】

Study on the static analysis and the similarity comparing of SQL code

机译:SQL码静态分析及相似性研究的研究

获取原文

摘要

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.
机译:为了解决在电子学习系统中自动评估SQL代码的问题,本文提供了一种方法来计算使用静态分析技术的SQL码之间的相似性。我们使用正则表达式,NFA和DFA技术来分析代码,然后生成源代码和目标代码的AST。基于之前创建的AST,该方法通过使用树编辑距离计算AST之间的相似性并将其作为SQL代码之间的相似性来进行测量。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号