首页> 外国专利> QUERY-BY-EXAMPLE IN LARGE-SCALE CODE REPOSITORIES

QUERY-BY-EXAMPLE IN LARGE-SCALE CODE REPOSITORIES

机译:大型代码存储库中的按示例查询

摘要

Systems and methods for performing query-by-example are described. A query module executing on the system may maintain a source code repository containing a plurality of source code files. Each of the plurality of source code files is associated with a corresponding source syntax structure generated based on said each of the plurality of source code files. The query module may receive a query snippet, and generate a query syntax structure based on the query snippet. The query module may then identify a first source code file from the plurality of source code files for being relevant to the query snippet. The being relevant to the query snippet is determined by a first relevance score which is calculated based on the query syntax structure and the first source code file's corresponding source syntax structure.
机译:描述了用于执行示例查询的系统和方法。在系统上执行的查询模块可以维护包含多个源代码文件的源代码存储库。所述多个源代码文件中的每个与基于所述多个源代码文件中的每个而生成的对应的源语法结构相关联。查询模块可以接收查询片段,并基于查询片段生成查询语法结构。查询模块然后可以从多个源代码文件中识别出与查询片段相关的第一源代码文件。与查询代码段的相关性由第一相关性分数确定,该相关性分数是根据查询语法结构和第一源代码文件的相应源语法结构计算的。

著录项

  • 公开/公告号US2015046492A1

    专利类型

  • 公开/公告日2015-02-12

    原文格式PDF

  • 申请/专利权人 VMWARE INC.;

    申请/专利号US201313962980

  • 发明设计人 VIPIN BALACHANDRAN;

    申请日2013-08-09

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 15:24:38

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号