...
首页> 外文期刊>Information and software technology >Predicting continuous integration build failures using evolutionary search
【24h】

Predicting continuous integration build failures using evolutionary search

机译:预测使用进化搜索的持续集成构建故障

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

摘要

Context: Continuous Integration (CI) is a common practice in modern software development and it is increasingly adopted in the open-source as well as the software industry markets. CI aims at supporting developers in integrating code changes constantly and quickly through an automated build process. However, in such context, the build process is typically time and resource-consuming which requires a high maintenance effort to avoid build failure.Objective: The goal of this study is to introduce an automated approach to cut the expenses of CI build time and provide support tools to developers by predicting the CI build outcome.Method: In this paper, we address problem of CI build failure by introducing a novel search-based approach based on Multi-Objective Genetic Programming (MOGP) to build a CI build failure prediction model. Our approach aims at finding the best combination of CI built features and their appropriate threshold values, based on two conflicting objective functions to deal with both failed and passed builds.Results: We evaluated our approach on a benchmark of 56,019 builds from 10 large-scale and long-lived software projects that use the Travis CI build system. The statistical results reveal that our approach outperforms the state-of-the-art techniques based on machine learning by providing a better balance between both failed and passed builds. Furthermore, we use the generated prediction rules to investigate which factors impact the CI build results, and found that features related to (1) specific statistics about the project such as team size, (2) last build information in the current build and (3) the types of changed files are the most influential to indicate the potential failure of a given build.Conclusion: This paper proposes a multi-objective search-based approach for the problem of CI build failure prediction. The performances of the models developed using our MOGP approach were statistically better than models developed using machine learning techniques. The experimental results show that our approach can effectively reduce both false negative rate and false positive rate of CI build failures in highly imbalanced datasets.
机译:背景信息:持续整合(CI)是现代软件开发中的常见做法,越来越多地采用开源以及软件行业市场。 CI旨在支持开发人员在通过自动构建过程中不断快速地集成代码更改。但是,在这种情况下,构建过程通常是时间和资源消耗,这需要高维护努力来避免构建失败。目的:本研究的目标是引入一种自动化的方法来减少CI建立时间的费用并提供通过预测CI构建结果来支持开发人员的支持。本文通过基于多目标遗传编程(MOGP)来构建CI构建故障预测模型,通过引入基于新的搜索方法来解决CI构建失败问题。 。我们的方法旨在根据两个冲突的目标函数来查找CI建筑功能的最佳组合及其适当的阈值,以处理失败和通过的构建。结果:我们在56,019个建筑物的基准中评估了我们的方法,从10个大规模的建筑物的基准评估和使用Travis CI构建系统的长期软件项目。统计结果表明,我们的方法通过在失败和通过的构建之间提供更好的平衡来实现基于机器学习的最先进的技术。此外,我们使用生成的预测规则来调查CI构建结果影响哪些因素,并发现与(1)关于Team Size等项目等项目的特定统计数据相关的功能,(2)上次构建信息(3 )改变文件的类型是表示给定构建的潜在故障最有影响力的.Conclusion:本文提出了一种基于多目标搜索的方法,用于CI构建失败预测问题。使用我们的MOGP方法开发的模型的表演比使用机器学习技术开发的模型更好。实验结果表明,我们的方法可以有效降低高度不平衡数据集中CI构建故障的假负率和假阳性率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号