Evaluation of the Readability of Programs Written by Beginner Students
Abstract
In this paper, we report on a study that was carried out, in the context of an introductory programming course, to investigate how code readability correlates with the students’ achievements. We suggest a simple metric to automatically assess beginners code readability. The study revealed a correlation between code readability and students’ course performance. In parallel, we brought to light other factors which, taken together with the readability metric, can better explain students performance in the course.
References
Buse, R. P. L. e Weimer, W. R.. 2010. “Learning a Metric for Code Readability”. In: IEEE Trans. Softw. Eng. 36, 4 (Julho 2010), 546-558.
Campos, C. P. e Ferreira, C. E.. “BOCA: um sistema de apoio a competições de programação (BOCA: A Support System for Programming Contests)”. In: Workshop de Educação em Computação (Brazilian Workshop on Education in Computing), 2004, Salvador. Anais do Congresso da SBC, 2004.
Cheang B., Kurnia A., Lim A., e Oon W.. 2003. “On automated grading of programming assignments in an academic institution”. In: Comput. Educ. 41, 2 (setembro 2003), 121-131. 30-7
Posnett, D., Hindle, A., e Devanbu, P. “A simpler model of software readability”. In: Anais do 8th Working Conference on Mining Software Repositories (MSR '11). ACM, New York 2011, NY, USA, 73-82.
Style Guide for Python Code. [link]. [Online. Acesso 01-março-2013].
