Query-by-example in large-scale code repositories
AssigneeVMware, Inc.
InventorVipin Balachandran
Life of this patent
Estimating the term…
Loading patent…
AssigneeVMware, Inc.
InventorVipin Balachandran
Estimating the term…
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.
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:
A method for performing query-by-example, the method being performed in a system comprising a processor and a memory coupled with the processor, the method comprising:
A non-transitory computer-readable storage medium that includes a set of instructions which, in response to execution by a processor, cause the processor to perform a method for performing query-by-example, the method being performed in a system comprising a processor and a memory coupled with the processor, the method comprising:
The non-transitory computer-readable storage medium 17, wherein the source characteristic vector is a 1-level characteristic vector, and generating the source characteristic vector comprises:
Dependencies are inferred from the claim text.