Bus factor (BF) is a metric that tracks knowledge distribution in a project. It is the minimal number of engineers that have to leave for a project to stall. Despite the fact that there are several algorithms for calculating the bus factor, only a few tools allow easy calculation of bus factor and convenient analysis of results for projects hosted on Git-based providers. We introduce Bus Factor Explorer, a web application that provides an interface and an API to compute, export, and explore the Bus Factor metric via treemap visualization, simulation mode, and chart editor. It supports repositories hosted on GitHub and enables functionality to search repositories in the interface and process many repositories at the same time. Our tool allows users to identify the files and subsystems at risk of stalling in the event of developer turnover by analyzing the VCS history. The application and its source code are publicly available on GitHub at https://github.com/JetBrains-Research/bus-factor-explorer. The demonstration video can be found on YouTube: https://youtu.be/uIoV79N14z8
翻译:巴士因子是一种衡量项目中知识分布情况的指标,它指的是导致项目停滞所需离开的最少工程师人数。尽管已有多种算法可用于计算巴士因子,但仅有少数工具能够便捷地计算该指标,并对基于Git提供商托管项目的分析结果进行便利呈现。我们推出巴士因子探索器——一款提供界面和API的Web应用程序,通过树图可视化、模拟模式及图表编辑器实现巴士因子指标的计算、导出与探索。该工具支持GitHub托管仓库,可在界面中搜索仓库并同时处理多个仓库。通过分析版本控制系统历史记录,用户可识别因开发者离职而存在停滞风险的文件和子系统。该应用程序及其源代码已在GitHub上公开获取(https://github.com/JetBrains-Research/bus-factor-explorer),演示视频可在YouTube上观看(https://youtu.be/uIoV79N14z8)。