Department

Industrial and ystems Engineering

Additional Department

InformationTechnology; Information Systems and Security

Document Type

Article

Publication Date

Fall 11-25-2025

Embargo Period

7-16-2026

Abstract

Emotions play a crucial role in shaping cognitive performance, yet their influence on programing remains understudied. This pilot study investigates the relationship between emotional states and coding task quality. Ten participants completed a programing task while their brain activity was recorded using electroencephalography (EEG), with frontal alpha asymmetry (FAI) applied as a neural marker of emotional valence. Emotional self-reports were collected using the Scale of Positive and Negative Experience (SPANE), and coding quality was evaluated through a structured rubric. Preliminary findings indicate a potential association between FAI and coding performance, whereas self-reported affect showed weaker or inconsistent patterns. Given the small sample size (n = 10), these results should be interpreted as exploratory. Nevertheless, the study demonstrates the feasibility of integrating EEG-based emotional measures into software engineering research and lays the groundwork for larger-scale investigations into how emotions influence coding task quality.

Journal Title

Frontiers in Human Neuroscience

Journal ISSN

1662-5161

Volume

19-2025

Digital Object Identifier (DOI)

https://doi.org/10.3389/fnhum.2025.1646242

Comments

This article received funding through Kennesaw State University's Faculty Open Access Publishing Fund, supported by the KSU Libraries and KSU Office of Research.

Share

COinS