Visually Analyzing Students' Gaze on C++ Code Snippets - Laboratoire Interdisciplinaire des Sciences du Numérique Access content directly
Conference Papers Year : 2019

Visually Analyzing Students' Gaze on C++ Code Snippets

Cole S Peterson
  • Function : Author
  • PersonId : 1044876
Jonathan A Saddler
  • Function : Author
  • PersonId : 1044877
Tanja Blascheck
Bonita Sharif
  • Function : Author
  • PersonId : 1044868


The paper presents an eye tracking study with 17 students (12 novices, 5 non-novices) reading C++ methods. The novices were students who participated in the study during the last week of their semester learning C++. The non-novices were senior students who had been exposed to programming before. We report on the reading behavior of three C++ methods that use different language constructs. We analyze fixations at the line level of the code using visualizations to derive insights into code reading. Results show that most transitions were made to code lines that are close to the current line read. We observe that a large percentage of the total fixation duration is made on a small number of lines and that related lines are often viewed together in a series of short fixations.
Fichier principal
Vignette du fichier
Peterson_2019_Visually Analyzing Students Gaze on C++ Code Snippets.pdf (2.9 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-02084148 , version 1 (29-03-2019)


  • HAL Id : hal-02084148 , version 1


Cole S Peterson, Jonathan A Saddler, Tanja Blascheck, Bonita Sharif. Visually Analyzing Students' Gaze on C++ Code Snippets. EMIP 2019 - 6th International Workshop on Eye Movements in Programming, May 2019, Montreal, Canada. ⟨hal-02084148⟩
102 View
347 Download


Gmail Mastodon Facebook X LinkedIn More