...
首页> 外文期刊>IEEE Transactions on Software Engineering >Use and Misuse of Continuous Integration Features: An Empirical Study of Projects That (Mis)Use Travis CI
【24h】

Use and Misuse of Continuous Integration Features: An Empirical Study of Projects That (Mis)Use Travis CI

机译:持续集成功能的使用和滥用:对(错误地)使用Travis CI的项目的实证研究

获取原文
获取原文并翻译 | 示例
           

摘要

Continuous Integration (CI) is a popular practice where software systems are automatically compiled and tested as changes appear in the version control system of a project. Like other software artifacts, CI specifications require maintenance effort. Although there are several service providers like Travis CI offering various CI features, it is unclear which features are being (mis)used. In this paper, we present a study of feature use and misuse in 9,312 open source systems that use Travis CI. Analysis of the features that are adopted by projects reveals that explicit deployment code is rare-48.16 percent of the studied Travis CI specification code is instead associated with configuring job processing nodes. To analyze feature misuse, we propose Hansel-an anti-pattern detection tool for Travis CI specifications. We define four anti-patterns and Hansel detects anti-patterns in the Travis CI specifications of 894 projects in the corpus (9.60 percent), and achieves a recall of 82.76 percent in a sample of 100 projects. Furthermore, we propose Gretel-an anti-pattern removal tool for Travis CI specifications, which can remove 69.60 percent of the most frequently occurring anti-pattern automatically. Using Gretel, we have produced 36 accepted pull requests that remove Travis CI anti-patterns automatically.
机译:持续集成(CI)是一种流行的做法,其中当更改出现在项目的版本控制系统中时,会自动编译和测试软件系统。像其他软件工件一样,CI规范也需要维护工作。尽管有许多服务提供商(例如Travis CI)提供了各种CI功能,但尚不清楚哪些功能被(错误)使用。在本文中,我们对使用Travis CI的9,312个开源系统中的功能使用和滥用进行了研究。对项目采用的功能的分析表明,显式部署代码很少使用,所研究的Travis CI规范代码的48.16%与配置作业处理节点相关联。为了分析功能滥用,我们建议使用Hansel(一种针对Travis CI规范的反模式检测工具)。我们定义了四个反模式,Hansel在语料库中的894个项目(9.60%)的Travis CI规范中检测了反模式,在100个项目的样本中,召回率达到82.76%。此外,我们建议使用Travis CI规格的Gretel-an反模式删除工具,该工具可以自动删除69.60%的最频繁出现的反模式。使用Gretel,我们已经产生了36个被接受的拉取请求,这些请求将自动删除Travis CI反模式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号