Search papers, labs, and topics across Lattice.
This study analyzes eye-tracking data to uncover gaze transition patterns over syntactic elements in program comprehension tasks, revealing how these patterns correlate with task correctness. By converting eye movements into transitions between nodes in an abstract syntax tree, the research identifies distinct gaze behaviors that differentiate successful from unsuccessful comprehension strategies. The findings indicate that successful participants employ more systematic reading strategies, highlighting the importance of gaze patterns in understanding programming tasks.
Successful programmers exhibit systematic gaze transitions that reveal structured reading strategies, while unsuccessful ones display erratic patterns.
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.