首页> 外文会议>IEEE International Conference on Software Analysis, Evolution, and Reengineering >Reuse (or Lack Thereof) in Travis CI Specifications: An Empirical Study of CI Phases and Commands
【24h】

Reuse (or Lack Thereof) in Travis CI Specifications: An Empirical Study of CI Phases and Commands

机译:Travis CI规范中的重用(或缺乏):对CI阶段和命令的实证研究

获取原文

摘要

Continuous Integration (CI) is a widely used practice where code changes are automatically built and tested to check for regression as they appear in the Version Control System (VCS). CI services allow users to customize phases, which define the sequential steps of build jobs that are triggered by changes to the project. While past work has made important observations about the adoption and usage of CI, little is known about patterns of reuse in CI specifications. Should reuse be common in CI specifications, we envision that a tool could guide developers through the generation of CI specifications by offering suggestions based on popular sequences of phases and commands. To assess the feasibility of such a tool, we perform an empirical analysis of the use of different phases and commands in a curated sample of 913 CI specifications for Java-based projects that use Travis CI—one of the most popular public CI service providers. First, we observe that five of nine phases are used in 18%-75% of the projects. Second, for the five most popular phases, we apply association rule mining to discover frequent phase, command, and command category usage patterns. Unfortunately, we observe that the association rules lack sufficient support, confidence, or lift values to be considered statistically significantly interesting. Our findings suggest that the usage of phases and commands in Travis CI specifications are broad and diverse. Hence, we cannot provide suggestions for Java-based projects as we had envisioned.
机译:持续集成(CI)是一种广泛使用的实践,在该实践中,将自动构建和测试代码更改,以检查版本控制系统(VCS)中是否出现了回归。 CI服务允许用户自定义阶段,这些阶段定义了由项目更改触发的构建作业的顺序步骤。尽管过去的工作对CI的采用和使用做出了重要的观察,但对CI规范中的重用模式知之甚少。如果重用在CI规范中很常见,我们设想一种工具可以通过提供基于流行的阶段和命令顺序的建议来指导开发人员完成CI规范的生成。为了评估这种工具的可行性,我们对使用Travis CI(最受欢迎的公共CI服务提供商之一)的Java项目的913 CI规范精选样本中的不同阶段和命令的使用进行了实证分析。首先,我们观察到在18 \%-75 \%的项目中使用了9个阶段中的5个阶段。其次,对于五个最流行的阶段,我们应用关联规则挖掘来发现频繁的阶段,命令和命令类别使用模式。不幸的是,我们观察到关联规则缺乏足够的支持,置信度或提升值,因此在统计学上被认为是非常有趣的。我们的发现表明,Travis CI规范中阶段和命令的用法广泛而多样。因此,我们无法像我们预想的那样为基于Java的项目提供建议。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号