CPC G06F 8/4435 (2013.01) [G06F 8/427 (2013.01)] | 20 Claims |
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.
|