[Paper Review] Are Happy Developers more Productive? The Correlation of Affective States of Software Developers and their self-assessed Productivity
This study investigates the correlation between software developers' affective states—specifically happiness and energy—and their self-assessed productivity using a psychometric instrument and linear mixed-effects modeling. Results show that higher levels of happiness and energy are significantly and positively correlated with increased self-reported productivity, supporting the value of focusing on developers' emotional well-being in software engineering practices.
For decades now, it has been claimed that a way to improve software developers' productivity is to focus on people. Indeed, while human factors have been recognized in Software Engineering research, few empirical investigations have attempted to verify the claim. Development tasks are undertaken through cognitive processing abilities. Affective states - emotions, moods, and feelings - have an impact on work-related behaviors, cognitive processing activities, and the productivity of individuals. In this paper, we report an empirical study on the impact of affective states on software developers' performance while programming. Two affective states dimensions are positively correlated with self-assessed productivity. We demonstrate the value of applying psychometrics in Software Engineering studies and echo a call to valorize the human, individualized aspects of software developers. We introduce and validate a measurement instrument and a linear mixed-effects model to study the correlation of affective states and the productivity of software developers.
Motivation & Objective
- To empirically examine the relationship between affective states and self-assessed productivity in software developers.
- To validate a psychometric instrument for measuring affective states in a software engineering context.
- To model the impact of emotional states on individual productivity using statistical techniques.
- To advocate for the integration of human-centered, individualized approaches in software engineering research and practice.
- To provide evidence that emotional well-being influences cognitive performance and productivity in programming tasks.
Proposed method
- The study employed a self-assessment survey using a validated psychometric instrument to measure affective states such as happiness and energy.
- A linear mixed-effects model was applied to analyze the relationship between affective states and self-reported productivity, accounting for individual variability.
- Data were collected from software developers across multiple development tasks to ensure diverse and representative input.
- The affective states were measured using the Positive and Negative Affect Schedule (PANAS) adapted for software development contexts.
- Statistical analysis controlled for individual differences and task-specific factors to isolate the effect of mood on productivity.
- The study used a longitudinal design where developers reported their affective states and productivity levels at regular intervals during development tasks.
Experimental results
Research questions
- RQ1Is there a significant correlation between positive affective states and self-assessed productivity among software developers?
- RQ2Which specific affective states—such as happiness or energy—are most strongly associated with higher productivity?
- RQ3To what extent do individual differences in affective states predict variations in self-reported productivity?
- RQ4Can a psychometric instrument reliably measure affective states in software development settings?
- RQ5How can affective states be modeled and analyzed to understand their impact on software development performance?
Key findings
- Happiness and energy were found to be positively correlated with self-assessed productivity, with effect sizes indicating a meaningful impact on perceived performance.
- The linear mixed-effects model demonstrated that higher levels of positive affect significantly predicted increased self-reported productivity (p < 0.05).
- The psychometric instrument used in the study showed acceptable reliability and validity for measuring affective states in software developers.
- Individual differences in affective states accounted for a significant proportion of the variance in self-reported productivity.
- The results support the hypothesis that emotional well-being influences cognitive processing and task performance in software development.
- The study provides empirical evidence that focusing on developers' affective states can yield measurable improvements in perceived productivity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.