Patent Document ID: 9389849
Application ID: 14089206

Base Claim:
1. A method, comprising: transforming received source code according to a predefined rule set to create an encoded text string representation of each function of the received source code, where each encoded text string representation of each function of the received source code comprises a text string that identifies each parameter type of the respective function of the received source code, wherein the received source code comprises a plurality of functions; comparing, in real time, each encoded text string representation of each function of the received source code with encoded text string representations of stored source code fragments in a repository, where each stored source code fragment in the repository is transformed according to the same predefined rule set into the respective encoded text string representations that each comprise a text string that identifies each parameter type of a respective function of the respective stored source code fragment in the repository; and outputting an indication, in response to the real-time comparison, of each portion of the received source code determined to already exist as a stored source code fragment in the repository, wherein comparing, in real time, each encoded text string representation of each function of the received source code with the encoded text string representations of the stored source code fragments in the repository includes: forming a set of application programming interface (API) sequences that each represent one of a plurality of encoded text string representations transformed from the plurality of functions of the received source code; and performing independent searches against the stored source code fragments in the repository using the set of API sequences.

---

Claim 3:
3. The method of claim 1 , further comprising: determining that at least one of the encoded text string representations of the received source code exists as the stored source code fragment in the repository based upon identification of a matching pattern of an encoded text string representation of a stored source code fragment in the repository; and where outputting the indication, in response to the real-time comparison, of each portion of the received source code determined to already exist as the stored source code fragment in the repository includes: highlighting, within a software developer kit (SDK) as a potential area of code re-use, each portion of the received source code indicated to already exist as the stored source code fragment in the repository based upon the indication of the matching pattern.