The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Apr. 06, 2021

Filed:

Apr. 08, 2020
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Hervé Le Bars, Villemoisson sur orge, FR;

Jerome Jochem, Montgeron, FR;

Thomas Baudel, Paris, FR;

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/00 (2006.01); G06F 8/75 (2018.01);
U.S. Cl.
CPC ...
G06F 8/751 (2013.01);
Abstract

Techniques for duplicate code section detection for source code are described herein. An aspect includes receiving a plurality of input files corresponding to a software project comprising source code written in a computer programming language. Another aspect includes segmenting each of the plurality of input files into a plurality of statements based on instruction boundaries corresponding to the computer programming language, wherein a respective statement start index is determined for each of the plurality of statements. Another aspect includes populating an enhanced generalized suffix array (eGSA) based on the determined statement start indices, wherein each statement start index corresponds to a respective suffix in a row in the eGSA, and wherein each row comprises a longest common prefix (LCP) field and a preceding statement value corresponding to the row's respective suffix. Another aspect includes identifying duplicate code sections in the plurality of input files based on the eGSA.


Find Patent Forward Citations

Loading…