Please use this identifier to cite or link to this item: doi:10.22028/D291-48095
Title: Fixation-related potentials reveal that confusing program code elicits a late frontal positivity
Author(s): Bergum, Annabelle
Maurer, Anna-Maria
Peitek, Norman
Bader, Regine
Mecklinger, Axel
Demberg, Vera
Siegmund, Janet
Apel, Sven
Language: English
Title: Scientific Reports
Volume: 16
Issue: 1
Publisher/Platform: Springer Nature
Year of Publication: 2026
Free key words: Program comprehension
Natural language comprehension
Atoms of confusion
EEG
Fixation related potentials
Late frontal positivity
DDC notations: 004 Computer science, internet
150 Psychology
Publikation type: Journal Article
Abstract: As software pervades more and more areas of our professional and personal lives, there is an ever increasing need to maintain software and for programmers to efficiently write and understand program code. In the first study of its kind, we analyze fixation-related potentials (FRPs) to explore the online processing of program code patterns that are confusing to programmers, but not to the computer (so-called atoms of confusion), and their underlying neurocognitive mechanisms in an ecologically valid setting. Relative to clean counterparts in program code without an atom of confusion, confusing code elicits a late frontal positivity of about 400 to 700 ms after first looking at the atom of confusion. This frontal positivity resembles an event-related potential (ERP) component found during natural language processing that is elicited by unexpected but plausible words in sentence context. Thus, we suggest that the brain engages similar neurocognitive mechanisms in response to unexpected and informative inputs in program code and in natural language. In both domains, these inputs update a comprehender’s situation model, which is essential for information extraction from a quickly unfolding input. Our results have far-reaching implications for programming and pave the way for interdisciplinary collaborations between software engineering and psycholinguistics.
DOI of the first publication: 10.1038/s41598-026-50946-9
URL of the first publication: https://doi.org/10.1038/s41598-026-50946-9
Link to this record: urn:nbn:de:bsz:291--ds-480952
hdl:20.500.11880/42065
http://dx.doi.org/10.22028/D291-48095
ISSN: 2045-2322
Date of registration: 23-Jun-2026
Description of the related object: Supplementary Information
Related object: https://static-content.springer.com/esm/art%3A10.1038%2Fs41598-026-50946-9/MediaObjects/41598_2026_50946_MOESM1_ESM.pdf
Faculty: HW - Fakultät für Empirische Humanwissenschaften und Wirtschaftswissenschaft
MI - Fakultät für Mathematik und Informatik
Department: HW - Psychologie
MI - Informatik
Professorship: HW - Prof. Dr. Axel Mecklinger
MI - Prof. Dr. Sven Apel
MI - Prof. Dr. Vera Demberg
Collections:SciDok - Der Wissenschaftsserver der Universität des Saarlandes

Files for this record:
File Description SizeFormat 
s41598-026-50946-9.pdf2,71 MBAdobe PDFView/Open


This item is licensed under a Creative Commons License Creative Commons