English

Same Scrutiny, More Time: Eye Tracking Insights into Reviewing LLM-Labelled Code

Software Engineering 2026-06-25 v1 Human-Computer Interaction

Abstract

Modern software development increasingly involves the use of large language models (LLMs) to generate code. Despite their rapid advancement, LLMs remain prone to errors and hallucinations, emphasizing the importance of careful code inspection. However, in practice, developers' trust in LLM-generated code and their willingness to review it thoroughly may differ from these recommendations. How developers actually behave when reviewing LLM-generated code remains largely unexplored. In this study, we conduct a Wizard-of-Oz experiment to examine how software engineers behave when code is explicitly labeled as LLM-generated during a code review task. We collect both behavioral data and participant feedback through eye-tracking and exit interviews. Combining Bayesian data analysis with qualitative analysis, we found that while the thoroughness of code review did not change for participants, they spent more time fixating on LLM-labelled code, indicating that the label itself influences attention. Practitioners also adapted their review strategy for LLM-labelled code by assessing the code based on specific criteria (e.g., logical correctness), or using the prompt to guide their review. These findings inform LLM-based tool design on labelling while incorporating the prompt as a software artifact. Our study reveals a gap between reviewers' intentions and actual reviewing behaviour, highlighting the need for software companies to revisit their AI policies (particularly regarding LLM-assisted development) to better support developers in reviewing LLM-generated code.

Cite

@article{arxiv.2606.26505,
  title  = {Same Scrutiny, More Time: Eye Tracking Insights into Reviewing LLM-Labelled Code},
  author = {Ranim Khojah and Francisco Gomes de Oliveira Neto and Mazen Mohamad and Julian Frattini and Philipp Leitner},
  journal= {arXiv preprint arXiv:2606.26505},
  year   = {2026}
}

Comments

Accepted at the 41st IEEE/ACM International Conference on Automated Software Engineering (ASE 2026)

R2 v1 2026-07-22T20:09:54.569Z