Identifying Effective Program Comprehension Strategies through Gaze Transitions over Syntactic Elements
Abstract
Program comprehension is a central research topic in software engineering, focusing on how developers understand a program’s structure, behavior, and intent. Eye-tracking studies have traditionally relied on display-based measurements, where gaze positions are represented as screen coordinates. However, syntax-based analyses have recently emerged. Prior work proposed methods to convert eye movements into transitions between nodes in an abstract syntax tree, but the relationship between task correctness and eye-movement features for specific syntactic elements remains unclear. This study converts eye-tracking data into transitions between syntactic nodes and analyzes fixation proportions and gaze transition patterns. We investigate the relationship between these patterns and task correctness, comparing correct and incorrect groups. Our results reveal distinct differences in gaze transition patterns between the two groups. In particular, successful participants exhibit more systematic transitions across syntactic elements, suggesting the use of structured reading strategies.
- Venue
- ETRA 2026
- Volume
- Proceedings of the 2026 Symposium on Eye Tracking Research and Applications
- DOI
- 10.1145/3797246.3806012
- https://dl.acm.org/doi/pdf/10.1145/3797246.3806012
- Anthology ID
2026.etra-short.83
Cite
@inproceedings{horikawa-etal-2026-identifying,
title = {{Identifying Effective Program Comprehension Strategies through Gaze Transitions over Syntactic Elements}},
author = {Kyogo Horikawa and Hidetake Uwano and Haruhiko Yoshioka},
booktitle = {Proceedings of the 2026 Symposium on Eye Tracking Research and Applications},
isbn = {9798400725197},
year = {2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3797246.3806012},
url = {https://doi.org/10.1145/3797246.3806012},
abstract = {Program comprehension is a central research topic in software engineering, focusing on how developers understand a program’s structure, behavior, and intent. Eye-tracking studies have traditionally relied on display-based measurements, where gaze positions are represented as screen coordinates. However, syntax-based analyses have recently emerged. Prior work proposed methods to convert eye movements into transitions between nodes in an abstract syntax tree, but the relationship between task correctness and eye-movement features for specific syntactic elements remains unclear. This study converts eye-tracking data into transitions between syntactic nodes and analyzes fixation proportions and gaze transition patterns. We investigate the relationship between these patterns and task correctness, comparing correct and incorrect groups. Our results reveal distinct differences in gaze transition patterns between the two groups. In particular, successful participants exhibit more systematic transitions across syntactic elements, suggesting the use of structured reading strategies.}
}