arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.02162cs.SE
收藏

关于《红楼梦》的探索性研究

An Exploratory Study of Debugging Episodes

Abdulaziz Alaboudi, Thomas D. LaToza

摘要:

长期以来,许多研究都在调查开发人员如何调试,塑造我们对调试的理解,并帮助激励开发更有效的工具。然而,很少有人知道在现实世界中调试的典型进展。在这项研究中,我们专注于从开发人员第一次遇到缺陷的那一刻起,它被解决的调试情节的特点。我们研究了调试事件的典型持续时间和频率以及发生的典型活动。我们通过观看专业开发人员在直播编程会议中的工作来观察开发人员。使用这个数据源,我们策划了15个会议,其中11名专业开发人员工作了30个小时。然后,我们系统地编码了这些视频中发生的调试事件和活动,产生了2137个调试活动和1407个编程活动的数据集。我们发现调试是频繁的,即使在编程工作中,每八分钟发生一次。癫痫发作的时间差异很大,大多数不到几分钟,少数超过100分钟。然而,大多数调试时间都花在了长的调试片段上。我们没有发现单一的活动主导调试时间,长调试事件往往涉及许多不同的活动。最后,我们发现,就开发人员所做的活动而言,编程和调试非常相似,特别是在编辑和浏览代码的频率方面。

英文摘要:

Many studies have long investigated how developers debug, shaping our understanding of debugging and helping motivate the creation of more effective tools. However, less is known about the typical progression of debugging in real world settings. In this study, we focus on characterizing debugging episodes from the moment at which developers first encounter a defect to the moment at which it is resolved. We investigate the typical duration and frequency of debugging episodes and the typical activities which occur. We observed developers by watching professional developers at work in live-streamed programming sessions. Using this data source, we curated 15 sessions in which 11 professional developers worked for 30 hours. We then systematically coded the debugging episodes and activities that occurred within these videos, yielding a dataset of 2137 debugging activities and 1407 programming activities. We found that debugging was frequent, even in programming work, occurring once every eight minutes. Debugging episodes vary greatly in time, with most being less than a few minutes and a few as more than 100 minutes. However, most debugging time is spent in long debugging episodes. We found no single activity that dominated debugging time, and long debugging episodes often involved many diverse activities. Finally, we found that,in terms of the activities developers did, programming and debugging were remarkably similar, particularly in the frequency of editing and browsing code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑