| CPC G06F 8/427 (2013.01) [G06F 8/436 (2013.01)] | 17 Claims |

|
1. A non-transitory computer-readable medium including instructions that, when executed by at least one processor, cause the at least one processor to perform operations for automatically reconfiguring code based on function and subfunction analysis, the operations comprising:
determining, by parsing a code structure representing a plurality of functions, that at least one first function has a threshold degree of complexity based on the code structure;
identifying, in response to the determination, a plurality of subfunctions based on the at least one first function, the plurality of subfunctions having a commonality with the at least one first function, wherein:
identifying the subfunctions includes determining division indicators between portions of the at least one first function and generating at least one subfunction; and
generating the at least one subfunction comprises:
determining a subset of code of the at least one first function as the at least one subfunction; and
generating a code structure to hold the subset of code as a distinct subfunction;
forming a second function by reconfiguring the at least one first function to call at least one of the identified plurality of subfunctions; and
updating a code file to include the second function.
|