Toward a Smell-aware Prediction Model for CI Build Failures

Islem Saidani, Ali Ouni
{"title":"Toward a Smell-aware Prediction Model for CI Build Failures","authors":"Islem Saidani, Ali Ouni","doi":"10.1109/ASEW52652.2021.00017","DOIUrl":null,"url":null,"abstract":"During the last years, researchers have explored the potential factors behind Continuous integration (CI) build failures focusing mainly on metrics related to code changes, statistics about the project etc. However, code quality indicators such as the presence of bad smells have been rarely discussed in the context of CI. In this paper, we aim at investigating the extent to which CI build failures prediction can be improved by the detection of bad smells. Specifically, we evaluate the contribution of 28 well-known bad smells when added to BF-DETECTOR, an existing tool for CI build failures prediction. We conduct a case study on a dataset of 15,041 Travis CI builds extracted from five GitHub projects. The obtained results demonstrate the efficiency of the smell-aware prediction to improve the F1-score of BF-DETECTOR by 4% on average. In particular, we found that Excessive Parameter List (EPL), Sensitive Equality (SE) and Lazy Test (LT) are the most contributing to the prediction.","PeriodicalId":349977,"journal":{"name":"2021 36th IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW)","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 36th IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ASEW52652.2021.00017","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

During the last years, researchers have explored the potential factors behind Continuous integration (CI) build failures focusing mainly on metrics related to code changes, statistics about the project etc. However, code quality indicators such as the presence of bad smells have been rarely discussed in the context of CI. In this paper, we aim at investigating the extent to which CI build failures prediction can be improved by the detection of bad smells. Specifically, we evaluate the contribution of 28 well-known bad smells when added to BF-DETECTOR, an existing tool for CI build failures prediction. We conduct a case study on a dataset of 15,041 Travis CI builds extracted from five GitHub projects. The obtained results demonstrate the efficiency of the smell-aware prediction to improve the F1-score of BF-DETECTOR by 4% on average. In particular, we found that Excessive Parameter List (EPL), Sensitive Equality (SE) and Lazy Test (LT) are the most contributing to the prediction.
面向CI构建失败的气味感知预测模型
在过去的几年中,研究人员探索了持续集成(CI)构建失败背后的潜在因素,主要关注与代码更改相关的度量,项目统计等。然而,代码质量指标,比如存在不良气味,在CI的上下文中很少被讨论。在本文中,我们的目标是研究通过检测不良气味来改进CI构建失败预测的程度。具体来说,我们评估了添加到BF-DETECTOR(用于CI构建故障预测的现有工具)中的28种众所周知的不良气味的贡献。我们对从五个GitHub项目中提取的15041个Travis CI构建数据集进行了案例研究。得到的结果表明,气味感知预测的有效性,使BF-DETECTOR的f1分数平均提高了4%。特别地,我们发现过度参数列表(EPL)、敏感等式(SE)和懒惰检验(LT)对预测的贡献最大。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信