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

论监控持续集成实践的必要性——一项实证研究

On the Need to Monitor Continuous Integration Practices -- An Empirical Study

Jadson Santos, Daniel Alencar da Costa, Shane McIntosh, Uirá Kulesza

AI总结:

本文通过文档分析与对121个开源项目开发者的调查,发现CI实践监控普遍不足且主流CI服务原生支持有限,主张CI服务内置监控能力。

摘要:

持续集成(Continuous Integration,CI)包含一系列被广泛采用、用于增强软件开发的实践。然而,有迹象表明开发者可能并未充分监控CI实践。因此,本文探讨开发者对监控CI实践的看法。为实现这一目标,我们首先进行文档分析,以评估开发者在开发过程中生成的拉取请求评论中所表达的实践监控需求。随后,我们对来自121个开源项目的开发者开展调查,了解他们如何看待在其项目中监控七项CI实践的重要性。最后,我们通过进行第二次文档分析,对调查中涌现的主题进行三角验证,以理解现有CI服务所支持的监控功能的覆盖程度。我们的关键发现表明:1)开发过程中最常被提及的CI实践是“测试覆盖率”(>80%),而“构建健康度”和“修复失败构建所需时间”为CI实践监控提供了显著机会;2)开发者并未充分监控所有CI实践,并表示有兴趣监控更多实践;3)当前最流行的CI服务对CI实践监控提供的原生支持有限,需要使用第三方工具。研究结果使我们得出结论:CI实践监控常常同时被CI服务和开发者忽视。将第三方工具与CI服务结合使用具有挑战性,它们会监控一些冗余实践,且仍不足以完全支持CI实践监控。因此,CI服务应当实现CI实践监控,这将促进并鼓励开发者对其进行监控。

英文摘要:

Continuous Integration (CI) encompasses a set of widely adopted practices that enhance software development. However, there are indications that developers may not adequately monitor CI practices. Hence, this paper explores developers' perceptions regarding the monitoring CI practices. To achieve this, we first perform a Document Analysis to assess developers' expressed need for practice monitoring in pull requests comments generated by developers during the development process. After that, we conduct a survey among developers from 121 open-source projects to understand perception of the significance of monitoring seven CI practices in their projects. Finally, we triangulate the emergent themes from our survey by performing a second Document Analysis to understand the extent of monitoring features supported by existing CI services. Our key findings indicate that: 1) the most frequently mentioned CI practice during the development process is ``Test Coverage'' (> 80\%), while ``Build Health'' and ``Time to Fix a Broken Build'' present notable opportunities for monitoring CI practices; 2) developers do not adequately monitor all CI practices and express interest in monitoring additional practices; and 3) the most popular CI services currently offer limited native support for monitoring CI practices, requiring the use of third-party tools. Our results lead us to conclude that monitoring CI practices is often overlooked by both CI services and developers. Using third-party tools in conjunction with CI services is challenging, they monitor some redundant practices and still falls short of fully supporting CI practices monitoring. Therefore, CI services should implement CI practices monitoring, which would facilitate and encourage developers to monitor them.

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

↑