GazePrinter: Visualizing Expert Gaze to Guide Novices in a New Codebase

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kuang, Peng, Söderberg, Emma, Wang, April Yi, Höst, Martin
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915877506514944
author Kuang, Peng
Söderberg, Emma
Wang, April Yi
Höst, Martin
author_facet Kuang, Peng
Söderberg, Emma
Wang, April Yi
Höst, Martin
contents Program comprehension is an essential activity in software engineering. Not only does it often challenge professionals, but it can also hinder novices from advancing their programming skills. Gaze, an emerging modality in developer tools, has so far primarily been utilized to improve our understanding of programmers' visual attention and as a means to reason about programmers' cognitive processes. There has been limited exploration of integrating gaze-based assistance into development environments to support programmers, despite the tight links between attention and gaze. We also know that joint attention is important in collaboration, further suggesting that there is value in exploring collective gaze. In this paper, we investigate the effect of visualizing gaze patterns gathered from experts to novice programmers to assist them with program comprehension in a new codebase. To this end, we present GazePrinter, designed to provide gaze-orienting visual cues informed by experts to aid novices with program comprehension. We present the results of a mixed-methods study conducted with 40 novices to study the effects of using GazePrinter for program comprehension tasks. The study included a survey, a controlled experiment, and interviews. We found that visualization of expert gaze can have a significant effect on novice programmers' behavior in terms of which path they take through the code base; with GazePrinter, novices took a path closer to the path taken by experts. We also found indications of reduced time and cognitive load among novices using GazePrinter.
format Preprint
id arxiv_https___arxiv_org_abs_2603_19855
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle GazePrinter: Visualizing Expert Gaze to Guide Novices in a New Codebase
Kuang, Peng
Söderberg, Emma
Wang, April Yi
Höst, Martin
Software Engineering
Emerging Technologies
Human-Computer Interaction
D.2.3; D.2.6; D.2.8; H.5.2; K.3.2
Program comprehension is an essential activity in software engineering. Not only does it often challenge professionals, but it can also hinder novices from advancing their programming skills. Gaze, an emerging modality in developer tools, has so far primarily been utilized to improve our understanding of programmers' visual attention and as a means to reason about programmers' cognitive processes. There has been limited exploration of integrating gaze-based assistance into development environments to support programmers, despite the tight links between attention and gaze. We also know that joint attention is important in collaboration, further suggesting that there is value in exploring collective gaze. In this paper, we investigate the effect of visualizing gaze patterns gathered from experts to novice programmers to assist them with program comprehension in a new codebase. To this end, we present GazePrinter, designed to provide gaze-orienting visual cues informed by experts to aid novices with program comprehension. We present the results of a mixed-methods study conducted with 40 novices to study the effects of using GazePrinter for program comprehension tasks. The study included a survey, a controlled experiment, and interviews. We found that visualization of expert gaze can have a significant effect on novice programmers' behavior in terms of which path they take through the code base; with GazePrinter, novices took a path closer to the path taken by experts. We also found indications of reduced time and cognitive load among novices using GazePrinter.
title GazePrinter: Visualizing Expert Gaze to Guide Novices in a New Codebase
topic Software Engineering
Emerging Technologies
Human-Computer Interaction
D.2.3; D.2.6; D.2.8; H.5.2; K.3.2
url https://arxiv.org/abs/2603.19855