Invention Grant
- Patent Title: Method and system for arbitrary-granularity execution clone detection
-
Application No.: US16736592Application Date: 2020-01-07
-
Publication No.: US11061648B2Publication Date: 2021-07-13
- Inventor: Tushar Makkar
- Applicant: DevFactory FZ-LLC
- Applicant Address: AE Dubai Media
- Assignee: DevFactory FZ-LLC
- Current Assignee: DevFactory FZ-LLC
- Current Assignee Address: AE Dubai Media
- Agency: Terrile, Cannatti & Chambers, LLP
- Main IPC: G06F8/33
- IPC: G06F8/33 ; G06F8/36

Abstract:
A method and apparatus are disclosed for enhancing operable functionality of input source code files from a software program by identifying a first code snippet and a first library function which have similar execution flow similarity measures by evaluating a first contiguous sequence of n items extracted from the first code snippet against a second contiguous sequence of n items extracted from the first library function using an Ngram threshold that is calculated for the first library function and one or more literals from the first code snippet so that the developer is presented with a library function recommendation which includes the first code snippet, the first library function, and instructions for replacing the first code snippet with the first library function.
Information query