持续集成和交付中的决策:探索性研究
Decisions in Continuous Integration and Delivery: An Exploratory Study
摘要:
近年来,持续集成(CI)和持续交付(CD)作为有效交付软件产品的实践和管道,在软件开发的部分或全部生存周期中得到了广泛的应用。有许多工具,如Travis CI,提供了各种功能来支持CI/CD管道,但人们对CI/CD中经常做出的决策缺乏了解。在这项工作中,我们探索了GitHub上一个流行的开源项目Budibase,从从业者的角度提供了关于CI/CD中决策类型的见解。我们首先探索了GitHub趋势页面,进行了试点存储库提取,并将Budibase存储库确定为我们研究的案例。然后,我们从存储库中抓取了所有已关闭的问题,得到了1,168个已关闭的问题。根据一定的标准过滤掉不相关的问题,并获得370个包含决策的候选问题用于数据提取。我们使用一种混合方法结合预定义类型和常数比较方法来分析问题,以获得决策的类别。结果表明,Budibase封闭问题中的主要决策类型是功能需求决策(67.6%),其次是架构决策(11.1%)。我们的研究结果鼓励开发人员将更多的精力放在与CI/CD相关的问题和决策上,并为研究人员提供CI/CD决策分类的参考。
英文摘要:
In recent years, Continuous Integration (CI) and Continuous Delivery (CD) has been heatedly discussed and widely used in part or all of the software development life cycle as the practices and pipeline to deliver software products in an efficient way. There are many tools, such as Travis CI, that offer various features to support the CI/CD pipeline, but there is a lack of understanding about what decisions are frequently made in CI/CD. In this work, we explored one popular open-source project on GitHub, Budibase, to provide insights on the types of decisions made in CI/CD from a practitioners' perspective. We first explored the GitHub Trending page, conducted a pilot repository extraction, and identified the Budibase repository as the case for our study. We then crawled all the closed issues from the repository and got 1,168 closed issues. Irrelevant issues were filtered out based on certain criteria, and 370 candidate issues that contain decisions were obtained for data extraction. We analyzed the issues using a hybrid approach combining pre-defined types and the Constant Comparison method to get the categories of decisions. The results show that the major type of decisions in the Budibase closed issues is Functional Requirement Decision (67.6%), followed by Architecture Decision (11.1%). Our findings encourage developers to put more effort on the issues and making decisions related to CI/CD, and provide researchers with a reference of decision classification made in CI/CD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。