Systems and methods for fingerprinting software code
AssigneeEngineer.ai Corp.
InventorsSachin Dev Duggal, Rohan Patel, Ralph Bourdoukan
Life of this patent
Estimating the term…
Abstract
Systems, methods, and a computer readable storage medium are disclosed for detecting plagiarism. The method includes generating a fingerprint for a first source code, comparing the generated fingerprint of the first source code with fingerprints of historical source codes, and determining matching blocks of source code that exceed a predefined minimum length threshold based on the comparison. The method also includes computing a ratio of total matched source code lines to the total lines in the first source code based on the determination and determining a plagiarism likelihood score based on the computation.
Claims20
A computer-implemented method for detecting plagiarism, the method comprising:
- generating a fingerprint for a first source code;
- comparing the generated fingerprint of the first source code with fingerprints of historical source codes;
- determining matching blocks of source code that exceed a predefined minimum length threshold based on the comparison;
- computing a ratio of total matched source code lines to total lines in the first source code based on the determination;
- and
- determining a plagiarism likelihood score based on the computation.
A computer system to generate a fingerprint, the computer system comprising:
- a processor coupled to a memory, the processor configured to execute a software to perform:
- generate a fingerprint for a first source code;
- compare the generated fingerprint of the first source code with fingerprints of historical source codes;
- determine matching blocks of source code that exceed a predefined minimum length threshold based on the comparison;
- compute a ratio of total matched source code lines to the total lines in the first source code based on the determination;
- and
- determine a plagiarism likelihood score based on the computation.
A computer readable storage medium having data stored therein representing software executable by a computer, the software comprising instructions that, when executed, cause the computer readable storage medium to perform:
- generating a fingerprint for a first source code;
- comparing the generated fingerprint of the first source code with fingerprints of historical source codes;
- determining matching blocks of source code that exceed a predefined minimum length threshold based on the comparison;
- computing a ratio of total matched source code lines to the total lines in the first source code based on the determination;
- and
- determining a plagiarism likelihood score based on the computation.
Dependencies are inferred from the claim text.