| CPC G06F 8/35 (2013.01) [G06F 8/427 (2013.01)] | 16 Claims |

|
1. A method for generating an application code from an inputted test code, the method comprising:
receiving, by a processor, one or more sets of test code;
analyzing and parsing, by the processor, the one or more sets of test code;
extracting, by the processor, at least one feature from the parsed one or more sets of test code;
determining, by the processor, an execution context of the one or more sets of test code;
determining, by the processor, whether a seed code is included in the execution context;
when the seed code is determined to be included in the execution context, generating the application code onto the seed code;
when the seed code is determined to be absent in the execution context, generating the application code;
applying, by the processor, the application code onto the one or more sets of test code;
determining whether the applying of the application code onto the one or more sets of test code results in an error or not,
wherein a result of the determining is inputted into a machine learning model, and the machine learning model is modified based on the result of the determining for subsequent processing of the inputted test code,
wherein the parsing includes:
generating a syntax tree including a plurality of nodes;
querying of the syntax tree and extracting one or more syntax nodes; and
creating a semantics model for identification of the at least one feature, and
when the seed code is determined to be absent in the execution context, creating a class definition by:
creating another data structure keyed to the syntax tree;
inserting one or more assertion attribute to the other data structure; and
attaching an attribute list to each interface function extracted from the parsed one or more sets of test code.
|