Bachelor thesis
Cite …

Advanced Detection of Dead Code through Abstract Interpretation for Source Code Plagiarism Detection

Leon Bruns 1
1 Karlsruhe Institute of Technology (KIT)
Abstract

Code plagiarism in academic contexts, most notably in first-year programming courses, continues to be a problem. Currently, the most widely used plagiarism detectors are vulnerable to plagiarism obfuscation through inserted complex dead code. We propose using Abstract Interpretation to detect and remove dead code before the code is processed by plagiarism detection tools. This approach was evaluated on the PROGpedia dataset and

an AI-generated ground-truth dataset, achieving a mean dead-code detection accuracy of 90% while retaining plagiarism detection performance comparable to standard JPlag and introducing only moderate runtime overhead.