Standard

Do code smells hamper novice programming : A controlled experiment on Scratch Programs. / Hermans, Felienne; Aivaloglou, Efthimia.

Proceedings of the 24th International Conference on Program Comprehension, ICPC 2016. Danvers, MA : IEEE, 2016. p. 1-10.

Research output: Scientific - peer-reviewConference contribution

Harvard

Hermans, F & Aivaloglou, E 2016, Do code smells hamper novice programming: A controlled experiment on Scratch Programs. in Proceedings of the 24th International Conference on Program Comprehension, ICPC 2016. IEEE, Danvers, MA, pp. 1-10, 24th International Conference on Program Comprehension, Austin, TX, United States, 16-17 May. DOI: 10.1109/ICPC.2016.7503706

APA

Hermans, F., & Aivaloglou, E. (2016). Do code smells hamper novice programming: A controlled experiment on Scratch Programs. In Proceedings of the 24th International Conference on Program Comprehension, ICPC 2016. (pp. 1-10). Danvers, MA: IEEE. DOI: 10.1109/ICPC.2016.7503706

Vancouver

Hermans F, Aivaloglou E. Do code smells hamper novice programming: A controlled experiment on Scratch Programs. In Proceedings of the 24th International Conference on Program Comprehension, ICPC 2016. Danvers, MA: IEEE. 2016. p. 1-10. Available from, DOI: 10.1109/ICPC.2016.7503706

Author

Hermans, Felienne; Aivaloglou, Efthimia / Do code smells hamper novice programming : A controlled experiment on Scratch Programs.

Proceedings of the 24th International Conference on Program Comprehension, ICPC 2016. Danvers, MA : IEEE, 2016. p. 1-10.

Research output: Scientific - peer-reviewConference contribution

BibTeX

@inbook{c706b348cdc44e3289a8b532d6470a37,
title = "Do code smells hamper novice programming: A controlled experiment on Scratch Programs",
keywords = "Programming profession, Sprites (computer), Games, Computer languages, Education",
author = "Felienne Hermans and Efthimia Aivaloglou",
year = "2016",
month = "5",
doi = "10.1109/ICPC.2016.7503706",
pages = "1--10",
booktitle = "Proceedings of the 24th International Conference on Program Comprehension, ICPC 2016",
publisher = "IEEE",
address = "United States",

}

RIS

TY - CHAP

T1 - Do code smells hamper novice programming

T2 - A controlled experiment on Scratch Programs

AU - Hermans,Felienne

AU - Aivaloglou,Efthimia

PY - 2016/5

Y1 - 2016/5

N2 - Recently, block-based programming languages like Alice, Scratch and Blockly have become popular tools for programming education. There is substantial research showing that block-based languages are suitable for early programming education. But can block-based programs be smelly too? And does that matter to learners? In this paper we explore the code smells metaphor in the context of block-based programming language Scratch. We conduct a controlled experiment with 61 novice Scratch programmers, in which we divided the novices into three groups. One third receive a non-smelly program, while the other groups receive a program suffering from the Duplication or the Long Method smell respectively. All subjects then perform the same comprehension tasks on their program, after which we measure their time and correctness. The results of the experiment show that code smell indeed influence performance: subjects working on the program exhibiting code smells perform significantly worse, but the smells did not affect the time subjects needed. Investigating different types of tasks in more detail, we find that Long Method mainly decreases system understanding, while Duplication decreases the ease with which subjects modify Scratch programs.

AB - Recently, block-based programming languages like Alice, Scratch and Blockly have become popular tools for programming education. There is substantial research showing that block-based languages are suitable for early programming education. But can block-based programs be smelly too? And does that matter to learners? In this paper we explore the code smells metaphor in the context of block-based programming language Scratch. We conduct a controlled experiment with 61 novice Scratch programmers, in which we divided the novices into three groups. One third receive a non-smelly program, while the other groups receive a program suffering from the Duplication or the Long Method smell respectively. All subjects then perform the same comprehension tasks on their program, after which we measure their time and correctness. The results of the experiment show that code smell indeed influence performance: subjects working on the program exhibiting code smells perform significantly worse, but the smells did not affect the time subjects needed. Investigating different types of tasks in more detail, we find that Long Method mainly decreases system understanding, while Duplication decreases the ease with which subjects modify Scratch programs.

KW - Programming profession

KW - Sprites (computer)

KW - Games

KW - Computer languages

KW - Education

U2 - 10.1109/ICPC.2016.7503706

DO - 10.1109/ICPC.2016.7503706

M3 - Conference contribution

SP - 1

EP - 10

BT - Proceedings of the 24th International Conference on Program Comprehension, ICPC 2016

PB - IEEE

ER -

ID: 13971590