EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Automatic Code Plagiarism Detection using AST and Machine Learning

Karanam Pavani, Mamuduru Sai Kathyayani, Kolime Heena Kousar, Kappaganthula Pavana Lahari, Karanam Pavani, Rohini Bai

International Journal of Scientific Research in Science, Engineering and Technology · 14.06.2026 · 13 (3) · 365-373

DOI: 10.32628/ijsrset2613348 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal of Scientific Research in Science, Engineering and Technology, online erschienen am 14.06.2026. Verfasst von Karanam Pavani und 5 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Academic integrity in computer science education is increasingly challenged by sophisticated source code plagiarism. Traditional detection tools, which rely primarily on text-based token matching, often fail to detect plagiarism when students employ obfuscation techniques such as variable renaming, code block reordering, or control flow alteration. This paper presents a novel approach to automatic code plagiarism detection that leverages Abstract Syntax Tree (AST) analysis combined with Machine Learning (ML) techniques. By converting source code into ASTs, the structural logic of the program is preserved, rendering the detection mechanism robust against superficial textual changes. The proposed system utilizes graph kernels for structural similarity and integrates CodeBERT embeddings to capture semantic context. Experimental results on a dataset of anonymized programming submissions demonstrate that the proposed method achieves superior accuracy and F1-scores compared to traditional token-based systems, particularly in identifying Type-2 and Type-3 code clones.

Zitieren

APA

Pavani, K., Kathyayani, M. S., Kousar, K. H., Lahari, K. P., Pavani, K., & Bai, R. (2026). Automatic Code Plagiarism Detection using AST and Machine Learning. International Journal of Scientific Research in Science, Engineering and Technology, 13(3), 365-373. https://doi.org/10.32628/ijsrset2613348

Vancouver

Pavani K, Kathyayani MS, Kousar KH, Lahari KP, Pavani K, Bai R. Automatic Code Plagiarism Detection using AST and Machine Learning. International Journal of Scientific Research in Science, Engineering and Technology. 2026;13(3):365-373. doi:10.32628/ijsrset2613348

BibTeX
@article{Pavani2026,
  author = {Pavani, Karanam and Kathyayani, Mamuduru Sai and Kousar, Kolime Heena and Lahari, Kappaganthula Pavana and Pavani, Karanam and Bai, Rohini},
  title = {Automatic Code Plagiarism Detection using AST and Machine Learning},
  journal = {International Journal of Scientific Research in Science, Engineering and Technology},
  year = {2026},
  volume = {13},
  number = {3},
  pages = {365--373},
  doi = {10.32628/ijsrset2613348}
}
Kostenlos starten →