Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers

Publikation: Bidrag til bog/antologi/rapport/konference proceedingKonferenceartikel i proceedingForskningpeer review

Resumé

As shown by several studies, programmers’ readability of source code is influenced by its structural and the textual features. In order to assess the importance of these features, we conducted an eye-tracking experiment with programming students. To assess the readability and comprehensibility of code snippets, the test subjects were exposed to four different snippets containing or missing structural and/or textual elements. To assure that all subjects were at an equivalent level of expertise, their programming skills were also evaluated. During the eye-tracking experiment, the subjects were also asked to give a readability and comprehensibility score to each snippet. The absence of textual features showed to increase the average fixation duration. This indicates that for the test subjects the textual features were more essential for the comprehension of the code. Gaze pattern analysis revealed less ordered patterns in the absence of structural features compared to the absence of textual features.
OriginalsprogEngelsk
TitelAdvances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018
Antal sider10
ForlagSpringer
Publikationsdato1 jan. 2019
Sider91-100
ISBN (Trykt)9783319948652
DOI
StatusUdgivet - 1 jan. 2019
BegivenhedAHFE International Conference on Neuroergonomics and Cognitive Engineering, 2018 - Orlando, USA
Varighed: 21 jul. 201825 jul. 2018

Konference

KonferenceAHFE International Conference on Neuroergonomics and Cognitive Engineering, 2018
LandUSA
ByOrlando
Periode21/07/201825/07/2018
NavnAdvances in Intelligent Systems and Computing
Vol/bind775
ISSN2194-5357

Fingerprint

Experiments
Students

Citer dette

Wulff-Jensen, A., Ruder, K., Triantafyllou, E., & Bruni, L. E. (2019). Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers. I Advances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018 (s. 91-100). Springer. Advances in Intelligent Systems and Computing, Bind. 775 https://doi.org/10.1007/978-3-319-94866-9_9
Wulff-Jensen, Andreas ; Ruder, Kevin ; Triantafyllou, Evangelia ; Bruni, Luis Emilio. / Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers. Advances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018. Springer, 2019. s. 91-100 (Advances in Intelligent Systems and Computing, Bind 775).
@inproceedings{5fddad44ded649e98e1e1a671452f897,
title = "Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers",
abstract = "As shown by several studies, programmers’ readability of source code is influenced by its structural and the textual features. In order to assess the importance of these features, we conducted an eye-tracking experiment with programming students. To assess the readability and comprehensibility of code snippets, the test subjects were exposed to four different snippets containing or missing structural and/or textual elements. To assure that all subjects were at an equivalent level of expertise, their programming skills were also evaluated. During the eye-tracking experiment, the subjects were also asked to give a readability and comprehensibility score to each snippet. The absence of textual features showed to increase the average fixation duration. This indicates that for the test subjects the textual features were more essential for the comprehension of the code. Gaze pattern analysis revealed less ordered patterns in the absence of structural features compared to the absence of textual features.",
keywords = "Code features, Eye-tracking, Programmer, Programming, Readability",
author = "Andreas Wulff-Jensen and Kevin Ruder and Evangelia Triantafyllou and Bruni, {Luis Emilio}",
year = "2019",
month = "1",
day = "1",
doi = "10.1007/978-3-319-94866-9_9",
language = "English",
isbn = "9783319948652",
pages = "91--100",
booktitle = "Advances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018",
publisher = "Springer",
address = "Germany",

}

Wulff-Jensen, A, Ruder, K, Triantafyllou, E & Bruni, LE 2019, Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers. i Advances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018. Springer, Advances in Intelligent Systems and Computing, bind 775, s. 91-100, Orlando, USA, 21/07/2018. https://doi.org/10.1007/978-3-319-94866-9_9

Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers. / Wulff-Jensen, Andreas; Ruder, Kevin; Triantafyllou, Evangelia; Bruni, Luis Emilio.

Advances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018. Springer, 2019. s. 91-100 (Advances in Intelligent Systems and Computing, Bind 775).

Publikation: Bidrag til bog/antologi/rapport/konference proceedingKonferenceartikel i proceedingForskningpeer review

TY - GEN

T1 - Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers

AU - Wulff-Jensen, Andreas

AU - Ruder, Kevin

AU - Triantafyllou, Evangelia

AU - Bruni, Luis Emilio

PY - 2019/1/1

Y1 - 2019/1/1

N2 - As shown by several studies, programmers’ readability of source code is influenced by its structural and the textual features. In order to assess the importance of these features, we conducted an eye-tracking experiment with programming students. To assess the readability and comprehensibility of code snippets, the test subjects were exposed to four different snippets containing or missing structural and/or textual elements. To assure that all subjects were at an equivalent level of expertise, their programming skills were also evaluated. During the eye-tracking experiment, the subjects were also asked to give a readability and comprehensibility score to each snippet. The absence of textual features showed to increase the average fixation duration. This indicates that for the test subjects the textual features were more essential for the comprehension of the code. Gaze pattern analysis revealed less ordered patterns in the absence of structural features compared to the absence of textual features.

AB - As shown by several studies, programmers’ readability of source code is influenced by its structural and the textual features. In order to assess the importance of these features, we conducted an eye-tracking experiment with programming students. To assess the readability and comprehensibility of code snippets, the test subjects were exposed to four different snippets containing or missing structural and/or textual elements. To assure that all subjects were at an equivalent level of expertise, their programming skills were also evaluated. During the eye-tracking experiment, the subjects were also asked to give a readability and comprehensibility score to each snippet. The absence of textual features showed to increase the average fixation duration. This indicates that for the test subjects the textual features were more essential for the comprehension of the code. Gaze pattern analysis revealed less ordered patterns in the absence of structural features compared to the absence of textual features.

KW - Code features

KW - Eye-tracking

KW - Programmer

KW - Programming

KW - Readability

UR - http://www.scopus.com/inward/record.url?scp=85049689408&partnerID=8YFLogxK

U2 - 10.1007/978-3-319-94866-9_9

DO - 10.1007/978-3-319-94866-9_9

M3 - Article in proceeding

SN - 9783319948652

SP - 91

EP - 100

BT - Advances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018

PB - Springer

ER -

Wulff-Jensen A, Ruder K, Triantafyllou E, Bruni LE. Gaze strategies can reveal the impact of source code features on the cognitive load of novice programmers. I Advances in Neuroergonomics and Cognitive Engineering - Proceedings of the AHFE 2018 International Conference on Neuroergonomics and Cognitive Engineering, 2018. Springer. 2019. s. 91-100. (Advances in Intelligent Systems and Computing, Bind 775). https://doi.org/10.1007/978-3-319-94866-9_9