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.
翻译:目前,在家工作(WFH)由于对公司和雇员都具有许多潜在好处(例如,工作满意度和雇员留用率提高),已成为一种流行的工作安排,许多先前的研究调查了在家工作对雇员生产率的影响,然而,大多数这些研究通常使用质量分析方法,如调查和面试,而且研究的参与者长期不在家工作。由于2019年科罗纳病毒病(COVID-19)的爆发,许多公司要求其员工在家里工作,这为我们提供了一个机会,以调查从家工作是否影响其生产率。在这项研究中,为了调查从家工作到现场工作之间开发开发者生产率的差异,我们根据中国最大的信息技术公司之一Baidu Inc的开发者日常活动的数据集进行定量分析。我们总共收集了大约4 000份139个开发者138个工作日的活动记录。在这些记录中,当开发者从家工作到COVID-19大流行,我们发现了1 103份记录。我们发现,WFHH公司既对从家工作到从家工作上发展成本/负面影响,也发现对公司内部生产模型的不同特点产生了一些影响。