The Influence of Environmental Odors on Student Programmers During Code Comprehension and Code Writing

Optimizing productivity is a longstanding goal in Software Engineering (SE). From models of development to IDE tools, researchers have investigated the factors that help or hinder programmers. One research avenue has examined nonfunctional factors like interruptions and environmental noise. Odor is a pervasive but unstudied factor in SE, with implications for workplace design, management, and assistive technology. To test odor's influence on programming tasks, we conducted a rigorously controlled study using eye tracking to measure participants’ cognitive processes during code writing and comprehension questions. Thirty student programmers were split into three groups exposed to different odors: Lemon (pleasant), Neutral, and Fish (unpleasant). Unaware of the odor manipulation, participants answered code comprehension, code writing, and prose comprehension questions while their gaze was recorded. We found that Lemon may have helped participants finish code comprehension questions more quickly (25.9% faster than Fish, \(p<0.05\) ; 7% faster than Neutral, \(p=0.1\) ). For code writing, both Fish and Lemon appeared to affect performance, with significantly higher visual effort than Neutral (longer fixation durations, \(p<0.05\) ). Our study offers a unique perspective on environmental factors in SE, suggesting pleasant odor may aid code comprehension, while no odor may be best for code writing.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Software Engineering and Methodology
Published
2026-06-26
DOI
https://doi.org/10.1145/3822406
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

The Influence of Environmental Odors on Student Programmers During Code Comprehension and Code Writing

Zohreh Sharafi, Danielle Page, Yu Huang, Zachary Karas et al.
ACM Transactions on Software Engineering and Methodology
Software Engineering Research
article

The Influence of Environmental Odors on Student Programmers During Code Comprehension and Code Writing

Zohreh Sharafi, Danielle Page, Yu Huang, Zachary Karas, Maya Maciel-Seidman
article en

Abstract

Optimizing productivity is a longstanding goal in Software Engineering (SE). From models of development to IDE tools, researchers have investigated the factors that help or hinder programmers. One research avenue has examined nonfunctional factors like interruptions and environmental noise. Odor is a pervasive but unstudied factor in SE, with implications for workplace design, management, and assistive technology. To test odor's influence on programming tasks, we conducted a rigorously controlled study using eye tracking to measure participants’ cognitive processes during code writing and comprehension questions. Thirty student programmers were split into three groups exposed to different odors: Lemon (pleasant), Neutral, and Fish (unpleasant). Unaware of the odor manipulation, participants answered code comprehension, code writing, and prose comprehension questions while their gaze was recorded. We found that Lemon may have helped participants finish code comprehension questions more quickly (25.9% faster than Fish, \(p<0.05\) ; 7% faster than Neutral, \(p=0.1\) ). For code writing, both Fish and Lemon appeared to affect performance, with significantly higher visual effort than Neutral (longer fixation durations, \(p<0.05\) ). Our study offers a unique perspective on environmental factors in SE, suggesting pleasant odor may aid code comprehension, while no odor may be best for code writing.

ACM Transactions on Software Engineering and Methodology
Vanderbilt University (US), Polytechnique Montréal (CA)
Openalex Percentile: Top 2%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.