Write a Blog >>
ICPC 2020
Mon 13 - Wed 15 July 2020
co-located with ICSE 2020
Tue 14 Jul 2020 15:12 - 15:24 at ICPC - Session 7: About Developers Chair(s): Wahab Hamou-Lhadj

Background: The way how programmers comprehend source code depends on several factors, including the source code itself and the programmer. Recent studies showed that novice programmers tend to read source code more like natural language text, whereas experts tend to follow the program execution flow. But, it is unknown how the linearity of source code and the comprehension strategy influence programmers’ linearity of reading order.

Objective: We replicate two previous studies with the aim of additionally providing empirical evidence on the influencing effects of linearity of source code and programmers’ comprehension strategy on linearity of reading order.

Methods: To understand the effects of linearity of source code on reading order, we conducted a non-exact replication of studies by Busjahn et al. and Peachock et al., which compared the reading order of novice and expert programmers. Like the original studies, we used an eye-tracker to record the eye movements of participants (12 novice and 19 intermediate programmers).

Results: In line with Busjahn et al. (but different from Peachock et al.), we found that experience modulates the reading behavior of participants. However, the linearity of source code has an even stronger effect on reading order than experience, whereas the comprehension strategy has a minor effect.

Implications: Our results demonstrate that studies on the reading behavior of programmers must carefully select source code snippets to control the influence of confounding factors. Furthermore, we identify a need for further studies on how programmers should structure source code to align it with their natural reading behavior to ease program comprehension.

Tue 14 Jul
Times are displayed in time zone: (UTC) Coordinated Universal Time change

15:00 - 16:00: Research - Session 7: About Developers at ICPC
Chair(s): Wahab Hamou-LhadjConcordia University, Montreal, Canada
icpc-2020-research15:00 - 15:12
Gina BaiNorth Carolina State University, Joshua Kayani , Kathryn StoleeNorth Carolina State University
Pre-print Media Attached
icpc-2020-research15:12 - 15:24
Norman PeitekLeibniz Institute for Neurobiology, Janet SiegmundTU Chemnitz, Sven ApelSaarland University
Pre-print Media Attached
icpc-2020-research15:24 - 15:36
Martín DiasUniversity of Chile, Diego OrellanaUniversity of Chile, Santiago VidalISISTAN-CONICET, Leonel MerinoUniversity of Stuttgart, Alexandre BergelUniversity of Chile
Pre-print Media Attached
icpc-2020-programming-education15:36 - 15:48
Regina HebigUniversity of Gothenburg, Truong Ho-Quang, Rodi JolakChalmers | University of Gothenburg, Jan SchroederChalmers | University of Gothenburg, Linero HumbertoChalmers University of Technology, Ågren MagnusChalmers University of Technology, Salome MaroChalmers | University of Gothenburg
Media Attached
icpc-2020-industry15:48 - 16:00
Ralf LämmelFacebook London, Alvin KerberFacebook, Liane Praza
Pre-print Media Attached