US 11,886,849 B2
System and method to compare modules for the common code, remove the redundancy and run the unique workflows
Veenu Gupta, Milpitas, CA (US); and Abhilash Mukesh, Santa Clara, CA (US)
Assigned to DELL PRODUCTS L.P., Round Rock, TX (US)
Filed by Dell Products L.P., Round Rock, TX (US)
Filed on Jan. 20, 2022, as Appl. No. 17/648,516.
Prior Publication US 2023/0229408 A1, Jul. 20, 2023
Int. Cl. G06F 8/41 (2018.01)
CPC G06F 8/4435 (2013.01) [G06F 8/427 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
receiving a code request;
parsing code associated with the code request;
performing preprocessing on the parsed code, wherein the pre-processing removes comments from the parsed code;
normalizing a portion of the parsed code;
storing, in a staging database, the portion;
traversing a codebase to identify any code in the codebase that matches the portion; and
when code is found in the codebase that matches the portion, incrementing a green count and pushing the portion to a redundant code bin, and when no code is found in the codebase that matches the portion, incrementing a red counter and updating the codebase to include the portion.