[Paper Review] How does Working from Home Affect Developer Productivity? -- A Case Study of Baidu During COVID-19 Pandemic
This study quantitatively analyzes the impact of working from home (WFH) on software developer productivity using daily activity logs from 139 Baidu developers across 138 workdays during the COVID-19 pandemic. It finds that WFH has mixed effects—positive for some metrics like code reviews, negative for others like commits and builds—depending on project characteristics and individual developer behavior.
Nowadays, working from home (WFH) has become a popular work arrangement due to its many potential benefits for both companies and employees (e.g., increasing job satisfaction and retention of employees). Many previous studies have investigated the impact of working from home on the productivity of employees. However, most of these studies usually use a qualitative analysis method such as survey and interview, and the studied participants do not work from home for a long continuing time. Due to the outbreak of coronavirus disease 2019 (COVID-19), a large number of companies asked their employees to work from home, which provides us an opportunity to investigate whether working from home affects their productivity. In this study, to investigate the difference of developer productivity between working from home and working onsite, we conduct a quantitative analysis based on a dataset of developers' daily activities from Baidu Inc, one of the largest IT companies in China. In total, we collected approximately four thousand records of 139 developers' activities of 138 working days. Out of these records, 1,103 records are submitted when developers work from home due to COVID-19 pandemic. We find that WFH has both positive and negative impacts on developer productivity in terms of different metrics, e.g., the number of builds/commits/code reviews. We also notice that working from home has different impacts on projects with different characteristics including programming language, project type/age/size. For example, working from home has a negative impact on developer productivity for large projects. Additionally, we find that productivity varies for different developers. Based on these findings, we get some feedbacks from developers of Baidu and understand some reasons why WFH has different impacts on developer productivity.
Motivation & Objective
- To investigate the long-term impact of working from home on software developer productivity using real-world activity data.
- To identify how project-specific factors such as size, age, type, and programming language moderate the effect of WFH on productivity.
- To understand individual variations in productivity under remote work conditions.
- To provide data-driven implications for companies and developers on managing remote software development.
Proposed method
- Collected and analyzed daily software development activity logs (e.g., commits, builds, code reviews) from 139 Baidu developers over 138 workdays.
- Compared productivity metrics between remote work (WFH) and on-site work conditions during the pandemic.
- Used statistical analysis to compare aggregated metrics (mean, median) of productivity across different work modes.
- Examined the influence of project-level characteristics such as programming language, project type, size, and age on productivity outcomes.
- Conducted qualitative feedback sessions with Baidu developers to interpret quantitative findings and identify underlying behavioral factors.
- Employed a mixed-methods approach combining quantitative metrics with developer feedback to explain divergent productivity trends.
Experimental results
Research questions
- RQ1How does working from home affect developer productivity across different software development metrics such as commits, builds, and code reviews?
- RQ2How do project-level characteristics (e.g., size, age, type, programming language) moderate the impact of remote work on developer productivity?
- RQ3To what extent do individual differences among developers influence their productivity when working from home?
- RQ4What are the perceived reasons behind the observed variations in productivity under remote work conditions?
Key findings
- Working from home had a positive impact on the number of code reviews performed per day, suggesting improved collaboration or review efficiency in remote settings.
- WFH led to a measurable decrease in the number of commits and builds, indicating reduced output or task completion in some development workflows.
- Large projects showed a significant negative impact on developer productivity when working from home, likely due to coordination overhead.
- Productivity varied substantially across individual developers, with some showing increased output remotely while others experienced declines.
- The impact of WFH was more pronounced in projects using certain programming languages, though specific language effects were not quantified in the results.
- Developer feedback indicated that communication challenges and reduced informal interactions contributed to productivity loss in remote settings.
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.