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

使用巴士因子分析指导开源软件项目中的工作量分配

Guiding Effort Allocation in Open-Source Software Projects Using Bus Factor Analysis

Aliza Lisan, Boyana Norris

AI总结:

针对开源项目关键人员流失风险,提出用代码行变更等新指标计算巴士因子,对比CST与RIG算法在五个GitHub项目及子目录上的表现。

摘要:

开源软件项目面临的一个关键问题是关键人员离开项目的风险。在长期开发且开发团队不断壮大的大型项目中,这种风险更加严重。量化这种风险的一种方法是衡量项目知识在开发者中的集中程度。这正式称为项目的巴士因子(BF),定义为“使项目无法继续进行所需丧失的关键开发人员数量”。大多数提出的BF计算算法基于提交次数来衡量开发者对文件的知识掌握程度。在本工作中,我们提出使用代码行变更(LOCC)和代码行余弦差异(change-size-cos)等其他指标来计算BF。我们使用这些指标,通过CST算法和基于git-blame的RIG算法,对五个开源GitHub项目进行BF计算。此外,我们还在近期开发最活跃的项目子目录上计算了BF。最后,我们比较了两种算法在准确性、结果相似度、执行时间和BF值随时间变化趋势方面的结果。

英文摘要:

A critical issue faced by open-source software projects is the risk of key personnel leaving the project. This risk is exacerbated in large projects that have been under development for a long time and experienced growth in their development teams. One way to quantify this risk is to measure the concentration of knowledge about the project among its developers. Formally known as the Bus Factor (BF) of a project and defined as 'the number of key developers who would need to be incapacitated to make a project unable to proceed'. Most of the proposed algorithms for BF calculation measure a developer's knowledge of a file based on the number of commits. In this work, we propose using other metrics like lines of code changes (LOCC) and cosine difference of lines of code (change-size-cos) to calculate the BF. We use these metrics for BF calculation for five open-source GitHub projects using the CST algorithm and the RIG algorithm, which is git-blame-based. Moreover, we calculate the BF on project sub-directories that have seen the most active development recently. Lastly, we compare the results of the two algorithms in accuracy, similarity in results, execution time, and trends in BF values over time.

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

↑