一次性事件?黑客代码生成与重用的实证研究
One-off Events? An Empirical Study of Hackathon Code Creation and Reuse
摘要:
背景:黑客松已经成为团队合作项目和开发软件原型的热门活动。大多数现有的研究集中在事件期间的活动,对黑客代码的演变关注有限。目的:我们的目标是了解在黑客攻击事件中使用和创建的代码的演变,特别关注代码blob,具体来说,黑客攻击团队重用已有代码的频率,他们开发了多少新代码,如果代码在之后被重用,以及影响重用的因素。方法:我们从DevPost收集了22,183个黑客项目的信息,并从World of Code获得了相关的代码blob、作者、项目特征、原作者、代码创建时间、语言和大小信息。我们通过识别所有包含在黑客马拉松期间创建的blob的提交并识别所有包含这些提交的项目来跟踪代码blob的重用。我们还进行了一系列的调查,以更深入地了解黑客代码的演变,我们发送给黑客参与者的代码被重用,其代码没有被重用,以及重用一些黑客代码的开发人员。测试结果:在hacksons仓库中,9.14%的代码blob和8%的代码行(codelines)是在hacksons中创建的,大约三分之一的hacksons代码在其他项目中被blob和codelines重用。相关技术的数量和黑客松参与者的数量增加了重用概率。结论:我们的研究结果表明,黑客马拉松并不总是像常识所指示的那样是“一次性”的事件,它们可以作为这一领域进一步研究的起点。
英文摘要:
Background: Hackathons have become popular events for teams to collaborate on projects and develop software prototypes. Most existing research focuses on activities during an event with limited attention to the evolution of the hackathon code. Aim: We aim to understand the evolution of code used in and created during hackathon events, with a particular focus on the code blobs, specifically, how frequently hackathon teams reuse pre-existing code, how much new code they develop, if that code gets reused afterward, and what factors affect reuse. Method: We collected information about 22,183 hackathon projects from DevPost and obtained related code blobs, authors, project characteristics, original author, code creation time, language, and size information from World of Code. We tracked the reuse of code blobs by identifying all commits containing blobs created during hackathons and identifying all projects that contain those commits. We also conducted a series of surveys in order to gain a deeper understanding of hackathon code evolution that we sent out to hackathon participants whose code was reused, whose code was not reused, and developers who reused some hackathon code. Result: 9.14% of the code blobs in hackathon repositories and 8% of the lines of code (LOC) are created during hackathons and around a third of the hackathon code gets reused in other projects by both blob count and LOC. The number of associated technologies and the number of participants in hackathons increase the reuse probability. Conclusion: The results of our study demonstrate hackathons are not always "one-off" events as common knowledge dictates and they can serve as a starting point for further studies in this area.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。