Analyzing and Interpreting Eye Movements in C++: Using Holistic Models of Image Perception

Florian Hauser, Lisa Grabinger, Timur Ezer, Jürgen Horst Mottok and Hans Gruber

Abstract

This study uses holistic models of image perception originating from radiology and psychology to analyze and interpret eye movements during code reviews in the C++ programming language. The study design is based on former experiments, but is supplemented by approaches from expertise research. The study utilizes a sample of 34 subjects whose eye movements are recorded by a Tobii Pro Spectrum 600 Hz. The results show that the holistic models of image perception are suitable for application to source code. In addition, it can be observed that the code reviews are conducted in phases, which are characterized by certain strategies (e.g. scan, error detection,...). Furthermore, experience-related differences can be detected between experts and novices, which emphasize that experts use elaborate strategies and have a comparatively better ability to collect and process information from source code.

Venue
ETRA 2024
Volume
Proceedings of the 2024 Symposium on Eye Tracking Research and Applications
DOI
10.1145/3649902.3655093
PDF
https://dl.acm.org/doi/pdf/10.1145/3649902.3655093
Anthology ID
2024.etra-short.40

Cite

@inproceedings{hauser-etal-2024-analyzing,
    title = {{Analyzing and Interpreting Eye Movements in C++: Using Holistic Models of Image Perception}},
    author = {Florian Hauser and Lisa Grabinger and Timur Ezer and Jürgen Horst Mottok and Hans Gruber},
    booktitle = {Proceedings of the 2024 Symposium on Eye Tracking Research and Applications},
    isbn = {9798400706073},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3649902.3655093},
    url = {https://doi.org/10.1145/3649902.3655093},
    abstract = {This study uses holistic models of image perception originating from radiology and psychology to analyze and interpret eye movements during code reviews in the C++ programming language. The study design is based on former experiments, but is supplemented by approaches from expertise research. The study utilizes a sample of 34 subjects whose eye movements are recorded by a Tobii Pro Spectrum 600 Hz. The results show that the holistic models of image perception are suitable for application to source code. In addition, it can be observed that the code reviews are conducted in phases, which are characterized by certain strategies (e.g. scan, error detection,...). Furthermore, experience-related differences can be detected between experts and novices, which emphasize that experts use elaborate strategies and have a comparatively better ability to collect and process information from source code.}
}