Salvato in:
Dettagli Bibliografici
Autori principali: Smith, Emory, Wallace, Robert, Robison, Matthew, Huang, Yu, McMillan, Collin
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2506.00693
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915667108691968
author Smith, Emory
Wallace, Robert
Robison, Matthew
Huang, Yu
McMillan, Collin
author_facet Smith, Emory
Wallace, Robert
Robison, Matthew
Huang, Yu
McMillan, Collin
contents This paper presents a study of human visual attention during localization of memory bugs in C. Human visual attention refers to the mechanical processes by which we selectively process and prioritize information. Visual attention is important to study because it is central to what information people (who are sighted) use to solve a particular problem. Meanwhile, memory bugs are among the most common types of bugs in C programs that manifest as a variety of program faults. In this paper, we study human visual attention while people attempt to locate memory bugs in code. We recruit 21 programmers to locate between one and eight memory bugs in three C programs for 1.5-2 hours each. In total we collected observations of 31 hours of programmer effort. The bugs in our study cover memory leaks, overflows, and double frees, which are among the most common memory bugs. We analyze the task outcomes in terms of success rate and related factors, patterns of visual attention overall such as what lines and functions are read, and finally we explore differences of visual attention patterns during success versus failure cases.
format Preprint
id arxiv_https___arxiv_org_abs_2506_00693
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Human Attention During Localization of Memory Bugs in C Programs
Smith, Emory
Wallace, Robert
Robison, Matthew
Huang, Yu
McMillan, Collin
Software Engineering
This paper presents a study of human visual attention during localization of memory bugs in C. Human visual attention refers to the mechanical processes by which we selectively process and prioritize information. Visual attention is important to study because it is central to what information people (who are sighted) use to solve a particular problem. Meanwhile, memory bugs are among the most common types of bugs in C programs that manifest as a variety of program faults. In this paper, we study human visual attention while people attempt to locate memory bugs in code. We recruit 21 programmers to locate between one and eight memory bugs in three C programs for 1.5-2 hours each. In total we collected observations of 31 hours of programmer effort. The bugs in our study cover memory leaks, overflows, and double frees, which are among the most common memory bugs. We analyze the task outcomes in terms of success rate and related factors, patterns of visual attention overall such as what lines and functions are read, and finally we explore differences of visual attention patterns during success versus failure cases.
title Human Attention During Localization of Memory Bugs in C Programs
topic Software Engineering
url https://arxiv.org/abs/2506.00693