×

QUERY-BY-EXAMPLE IN LARGE-SCALE CODE REPOSITORIES

  • US 20150046492A1
  • Filed: 08/09/2013
  • Published: 02/12/2015
  • Est. Priority Date: 08/09/2013
  • Status: Active Grant
First Claim
Patent Images

1. A system configured to perform query-by-example, the system comprising a processor and a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions for:

  • maintaining, by a query module executing on the system, a source code repository containing a plurality of source code files, wherein 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;

    receiving, by the query module, a query snippet;

    generating, by the query module, a query syntax structure based on the query snippet; and

    identifying, by the query module, a first source code file from the plurality of source code files for being relevant to the query snippet, wherein 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.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×