Code Quality Defects in Introductory Programming
ACM Transactions on Computing Education · 31.12.2025 · 25 (4) · 1-32
DOI: 10.1145/3749996 ↗Kurz gefasst
Fachartikel in der Zeitschrift ACM Transactions on Computing Education, online erschienen am 22.10.2025. Verfasst von Anna Řechtáčková und 2 weiteren Autor:innen. Die Arbeit wurde bisher 6-mal zitiert (Crossref) und nennt 69 Literaturangaben.
Abstract (Originalsprache)
Code quality is a critical aspect of programming, as high-quality code is easier to maintain, and code maintenance constitutes the majority of software costs. Consequently, code quality should be emphasized in programming education. While previous research has identified numerous code quality defects commonly made by students, the current state lacks a clear organization and prioritization of these defects. In this work, we systematically address code quality defects in introductory programming from multiple perspectives. We present a comprehensive catalog of over 100 specific defects, organized through a structured classification of defect types and their associated programming constructs, along with an importance ranking. We conducted a survey among computer science educators regarding the severity of various defects. Our findings indicate that while individual opinions vary, there is general consensus on many code quality issues. We also review automated methods for detecting code quality defects and introduce a novel tool with extensive defect coverage. Finally, we analyze the prevalence of these defects using multiple datasets and prevalence metrics, demonstrating the importance of contextual interpretation when evaluating defect prevalence.
Zitieren
APA
Řechtáčková, A., Pelánek, R., & Effenberger, T. (2025). Code Quality Defects in Introductory Programming. ACM Transactions on Computing Education, 25(4), 1-32. https://doi.org/10.1145/3749996
Vancouver
Řechtáčková A, Pelánek R, Effenberger T. Code Quality Defects in Introductory Programming. ACM Transactions on Computing Education. 2025;25(4):1-32. doi:10.1145/3749996
BibTeX
@article{echtkov2025,
author = {Řechtáčková, Anna and Pelánek, Radek and Effenberger, Tomáš},
title = {Code Quality Defects in Introductory Programming},
journal = {ACM Transactions on Computing Education},
year = {2025},
volume = {25},
number = {4},
pages = {1--32},
doi = {10.1145/3749996}
}
EUVIMED