Invention Grant
- Patent Title: Method and system for arbitrary-granularity execution clone detection
-
Application No.: US15613830Application Date: 2017-06-05
-
Publication No.: US10564939B2Publication Date: 2020-02-18
- 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.
Public/Granted literature
- US20180349105A1 Method and System for Arbitrary-Granularity Execution Clone Detection Public/Granted day:2018-12-06
Information query