EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

A Multi-Indicator AST-Based Approach for Code Similarity Detection in Programming Education

Rizky Pamuji, R Ati Sukmawati, Novan Alkaf Bahraini Saputra, Rita Zubaidah, Muhammad Nur Fadhillah

Jurnal Teknologi Informasi dan Pendidikan · 26.06.2026 · 19 (2) · 1648-1663

DOI: 10.24036/jtip.v19i2.1140 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Jurnal Teknologi Informasi dan Pendidikan, online erschienen am 26.06.2026. Verfasst von Rizky Pamuji und 4 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Evaluation of programming assignments in higher education often faces challenges in ensuring code originality, particularly when students apply cosmetic modifications such as renaming identifiers or altering formatting and comments. This study proposes a multi-indicator code similarity detection system based on Abstract Syntax Tree (AST) analysis to support more objective assessment of programming tasks. The proposed approach analyzes structural, logical, and stylistic aspects of Python programs, combining AST-based analysis with string similarity techniques for comment evaluation. A configurable weighting mechanism is introduced to allow flexible adjustment of similarity assessment according to different evaluation objectives. Experimental results on student programming assignments demonstrate that the system effectively distinguishes varying levels of code similarity and provides consistent similarity measurements. In addition, block-level analysis enables more fine-grained identification of similar code segments. The findings indicate that the proposed method is robust against cosmetic code modifications and can support more systematic and transparent programming assessment in educational contexts.

Zitieren

APA

Pamuji, R., Sukmawati, R. A., Saputra, N. A. B., Zubaidah, R., & Fadhillah, M. N. (2026). A Multi-Indicator AST-Based Approach for Code Similarity Detection in Programming Education. Jurnal Teknologi Informasi dan Pendidikan, 19(2), 1648-1663. https://doi.org/10.24036/jtip.v19i2.1140

Vancouver

Pamuji R, Sukmawati RA, Saputra NAB, Zubaidah R, Fadhillah MN. A Multi-Indicator AST-Based Approach for Code Similarity Detection in Programming Education. Jurnal Teknologi Informasi dan Pendidikan. 2026;19(2):1648-1663. doi:10.24036/jtip.v19i2.1140

BibTeX
@article{Pamuji2026,
  author = {Pamuji, Rizky and Sukmawati, R Ati and Saputra, Novan Alkaf Bahraini and Zubaidah, Rita and Fadhillah, Muhammad Nur},
  title = {A Multi-Indicator AST-Based Approach for Code Similarity Detection in Programming Education},
  journal = {Jurnal Teknologi Informasi dan Pendidikan},
  year = {2026},
  volume = {19},
  number = {2},
  pages = {1648--1663},
  doi = {10.24036/jtip.v19i2.1140}
}
Kostenlos starten →