睡眠需求:睡眠延迟对新手开发者性能的影响
Need for Sleep: the Impact of a Night of Sleep Deprivation on Novice Developers' Performance
摘要:
我们提出了一个准实验,以调查是否,以及在何种程度上,睡眠不足的影响,新手软件开发人员使用敏捷实践的测试优先开发(TFD)的性能。我们招募了45名本科生,让他们完成一项编程任务。在参与者中,23人同意在执行任务前一晚保持清醒,而22人通常睡觉。我们分析了质量(即,功能正确性),他们在编写源代码中的参与(即,在处理编程任务时在IDE中执行的活动量)和应用TFD的能力(即,参与者可以使用此实践的程度)。通过比较两组参与者,我们发现,一个晚上的睡眠剥夺会导致执行质量降低50%。有重要的证据表明,开发人员的参与度和他们应用TFD的能力受到了负面影响。我们的研究结果还表明,睡眠不足的开发人员对源代码中的语法错误进行了更多的修复。我们的结论是,睡眠剥夺可能对软件开发活动产生破坏性影响。这些结果为通过将睡眠研究与软件工程研究社区最近感兴趣的其他心理生理因素相结合来提高开发人员的绩效提供了机会。
英文摘要:
We present a quasi-experiment to investigate whether, and to what extent, sleep deprivation impacts the performance of novice software developers using the agile practice of test-first development (TFD). We recruited 45 undergraduates and asked them to tackle a programming task. Among the participants, 23 agreed to stay awake the night before carrying out the task, while 22 slept usually. We analyzed the quality (i.e., the functional correctness) of the implementations delivered by the participants in both groups, their engagement in writing source code (i.e., the amount of activities performed in the IDE while tackling the programming task) and ability to apply TFD (i.e., the extent to which a participant can use this practice). By comparing the two groups of participants, we found that a single night of sleep deprivation leads to a reduction of 50% in the quality of the implementations. There is important evidence that the developers' engagement and their prowess to apply TFD are negatively impacted. Our results also show that sleep-deprived developers make more fixes to syntactic mistakes in the source code. We conclude that sleep deprivation has possibly disruptive effects on software development activities. The results open opportunities for improving developers' performance by integrating the study of sleep with other psycho-physiological factors in which the software engineering research community has recently taken an interest in.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。