首页> 外文会议>IEEE/ACM International Conference on Automated Software Engineering >BUILDFAST: History-Aware Build Outcome Prediction for Fast Feedback and Reduced Cost in Continuous Integration
【24h】

BUILDFAST: History-Aware Build Outcome Prediction for Fast Feedback and Reduced Cost in Continuous Integration

机译:Buildfast:历史意识到建立结果预测快速反馈和持续集成中的成本降低

获取原文

摘要

Long build times in continuous integration (CI) can greatly increase the cost in human and computing resources, and thus become a common barrier faced by software organizations adopting CI. Build outcome prediction has been proposed as one of the remedies to reduce such cost. However, the state-of-the-art approaches have a poor prediction performance for failed builds, and are not designed for practical usage scenarios. To address the problems, we first conduct an empirical study on 2,590,917 builds to characterize build times in realworld projects, and a survey with 75 developers to understand their perceptions about build outcome prediction. Then, motivated by our study and survey results, we propose a new history-aware approach, named BUILDFAST, to predict CI build outcomes cost-efficiently and practically. We develop multiple failure-specific features from closely related historical builds via analyzing build logs and changed files, and propose an adaptive prediction model to switch between two models based on the build outcome of the previous build. We investigate a practical online usage scenario of BUILDFAST, where builds are predicted in chronological order, and measure the benefit from correct predictions and the cost from incorrect predictions. Our experiments on 20 projects have shown that BUILDFAST improved the state-of-the-art by 47.5% in F1-score for failed builds.
机译:连续整合的长期建设时间(CI)可以大大提高人类和计算资源的成本,从而成为采用CI的软件组织面临的共同障碍。建立结果预测已被提出为降低此类成本的补救措施之一。然而,最先进的方法对构建失败的预测性能差,而不是用于实际使用场景。为解决问题,我们首先对2,590,917个建立进行实证研究,以表征Realworld项目中的建设时间,以及75名开发人员的调查,以了解他们对构建结果预测的看法。然后,通过我们的研究和调查结果的动机,我们提出了一种新的历史意识的方法,命名为BasualFast,以预测CI成本效益和实际上的成本。我们通过分析构建日志和更改的文件,开发与密切相关的历史构建的多种故障特定功能,并提出了一个自适应预测模型,以根据先前构建的构建结果在两个模型之间切换。我们调查Buildfast的实用在线使用情况,在规范中预测构建,并测量从正确预测的益处和从错误预测中的成本。我们对20个项目的实验表明,在F1分数的F1分数中,FATHS快速提高了47.5%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号