Source Code Plagiarism Detection Using Biological String Similarity Algorithms
Authors:
- 1 September 2014
- journal article
- Published by World Scientific Pub Co Pte Ltd in Journal of Information & Knowledge Management
- Vol. 13 (03)
Abstract
Source code plagiarism is easy to commit but difficult to catch. Many approaches have been proposed in the literature to automate its detection; however there is little consensus on what works best. In this paper, we propose two new measures for determining the accuracy of a given technique and describe an approach to convert code files into strings which can then be compared for similarity in order to detect plagiarism. We then compare several string comparison techniques, heavily utilised in the area of biological sequence alignment, and compare their performance on a large collection of student source code containing various types of plagiarism. Experimental results show that the compared techniques succeed in matching a plagiarised file to its original files upwards of 90% of the time. Finally, we propose a modification for these algorithms that drastically improves their runtimes with little or no effect on accuracy. Even though the ideas presented herein are applicable to most programming languages, we focus on a case study pertaining to an introductory-level Visual Basic programming course offered at our institution.Keywords
This publication has 12 references indexed in Scilit:
- Shared Information and Program Plagiarism DetectionIEEE Transactions on Information Theory, 2004
- Plagiarism in programming assignmentsIEEE Transactions on Education, 1999
- SimACM SIGCSE Bulletin, 1999
- Identification of Program Similarity in Large PopulationsThe Computer Journal, 1990
- Efficient randomized pattern-matching algorithmsIBM Journal of Research and Development, 1987
- An empirical approach for detecting program similarity and plagiarism within a university programming environmentComputers & Education, 1987
- Identification of common molecular subsequencesJournal of Molecular Biology, 1981
- A tool that detects plagiarism in Pascal programsACM SIGCSE Bulletin, 1981
- A technique for isolating differences between filesCommunications of the ACM, 1978
- A general method applicable to the search for similarities in the amino acid sequence of two proteinsJournal of Molecular Biology, 1970