While functionality and correctness of code has traditionally been the main focus of computing educators, quality aspects of code are getting increasingly more attention. High-quality code contributes to the maintainability of software systems, and should therefore be a central aspect of computing education. We have conducted a systematic mapping study to give a broad overview of the research conducted in the field of code quality in an educational context. The study investigates paper characteristics, topics, research methods, and the targeted programming languages. We found 195 publications (1976-2022) on the topic in multiple databases, which we systematically coded to answer the research questions. This paper reports on the results and identifies developments, trends, and new opportunities for research in the field of code quality in computing education.
翻译:尽管代码的功能性和正确性传统上一直是计算机教育者关注的重点,但代码的质量方面正日益受到重视。高质量的代码有助于提升软件系统的可维护性,因此应成为计算机教育的核心组成部分。我们开展了一项系统性映射研究,以全面概述教育背景下代码质量领域的研究现状。该研究调查了论文特征、研究主题、研究方法以及目标编程语言。我们在多个数据库中找到195篇相关文献(1976-2022年),并对其进行系统编码以回答研究问题。本文报告了研究结果,并识别了计算机教育中代码质量领域的发展动态、趋势及新的研究机遇。