Analysis of procedural structured query language (sql) codes
AssigneeInfosys Limited
InventorsRajesh Balakrishnan, Krishnamurty Sai Deepak, Sweta Gupta Bansal, Amrita Chatterjee, Vinay K.
Life of this patent
Estimating the term…
Loading patent…
AssigneeInfosys Limited
InventorsRajesh Balakrishnan, Krishnamurty Sai Deepak, Sweta Gupta Bansal, Amrita Chatterjee, Vinay K.
Estimating the term…
Analysis of procedural structured query language (SQL) codes is provided. A procedural SQL code block, comprising various code elements, is parsed, and a parse tree is generated. The parse tree includes nodes for each code element. A node may represent a code token. In the parse tree, directed edges are generated that define a dependency between the code elements such that each directed edge couples two nodes associated with two different code elements. Contexts are then generated for some code elements, a context indicating a purpose of a code element in the code block. The code block is split into chunks based on the parse tree with the directed edges. Each chunk includes a subset of the code block and contexts of code elements present in the corresponding subset of the code block. The chunks are then processed to generate an output associated with the code block.
A system, comprising:
A method, comprising:
Dependencies are inferred from the claim text.