Why do builds fail?-A conceptual replication study

被引:9
|
作者
Barrak, Amine [1 ]
Eghan, Ellis E. [2 ]
Adams, Bram [4 ]
Khomh, Foutse [3 ]
机构
[1] Polytech Montreal, Software Engn, Montreal, PQ, Canada
[2] Polytech Montreal, MCIS Lab, Montreal, PQ, Canada
[3] Polytech Montreal, Montreal, PQ, Canada
[4] Queens Univ, Sch Comp, Kingston, ON, Canada
关键词
Continuous integration; Build failure; Test smells; Code smells; Quantitative analysis; Cross-project prediction; CODE; SMELLS; CLASSIFICATION; TESTS; CI;
D O I
10.1016/j.jss.2021.110939
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Previous studies have investigated a wide range of factors potentially explaining software build breakages, focusing primarily on build-triggering code changes or previous CI outcomes. However, code quality factors such as the presence of code/test smells have not been yet evaluated in the context of CI, even though such factors have been linked to problems of comprehension and technical debt, and hence might introduce bugs and build breakages. This paper performs a conceptual replication study on 27,675 Travis CI builds of 15 GitHub projects, considering the features reported by Rausch et al. and Zolfagharinia et al., as well as those related to code/test smells. Using a multivariate model constructed from nine dimensions of features, results indicate a precision (recall) ranging between 58.3% and 79.0% (52.4% and 69.6%) in balanced project datasets, and between 2.5% and 37.5% (2.5% and 12.4%) in imbalanced project datasets. Models trained on our balanced project datasets were later used to perform cross-project prediction on the imbalanced projects, achieving an average improvement of 9.3% (16.2%) in precision (recall). Statistically, the results confirm that features from the build history, author, code complexity, and code/test smell dimensions are the most important predictors of build failures. (C) 2021 Elsevier Inc. All rights reserved.
引用
收藏
页数:15
相关论文
共 50 条
  • [31] Why Do Mitral Valve Repairs Fail?
    Anyanwu, Anelechi C.
    Adams, David H.
    JOURNAL OF THE AMERICAN SOCIETY OF ECHOCARDIOGRAPHY, 2009, 22 (11) : 1265 - 1268
  • [32] Why do Indigenous public policies fail?
    Figueroa Huencho, Veronica
    POLICY STUDIES, 2022, 43 (02) : 125 - 143
  • [33] WHY DO SKIN-GRAFTS FAIL
    TEH, BT
    PLASTIC AND RECONSTRUCTIVE SURGERY, 1979, 63 (03) : 323 - 332
  • [34] WHY EXECUTIVE TEAMS FAIL AND WHAT TO DO
    LUMSDON, K
    HOSPITALS & HEALTH NETWORKS, 1995, 69 (15): : 24 - &
  • [35] Why Do Some Fischer Indolizations Fail?
    Celebi-Oelcuem, Nihan
    Boal, Ben W.
    Huters, Alexander D.
    Garg, Neil K.
    Houk, K. N.
    JOURNAL OF THE AMERICAN CHEMICAL SOCIETY, 2011, 133 (15) : 5752 - 5755
  • [36] Why do revision knee arthroplasties fail?
    Suarez, Juan
    Griffin, William
    Springer, Bryan
    Fehring, Thomas
    Mason, J. Bohannon
    Odum, Susan
    JOURNAL OF ARTHROPLASTY, 2008, 23 (06): : 99 - 103
  • [37] Why do antegrade cecostomy enemas fail?
    Wongteerasut, Anundorn
    El-Chammas, Khalil
    Santucci, Neha
    Graham, Kahleb
    Fei, Lin
    Sahay, Rashmi
    Rymeski, Beth
    Frischer, Jason
    Kaul, Ajay
    NEUROGASTROENTEROLOGY AND MOTILITY, 2020, 32
  • [38] Why do the very elderly fail weaning?
    Anwar, J
    Kupfer, Y
    Groopman, J
    Tessler, S
    JOURNAL OF THE AMERICAN GERIATRICS SOCIETY, 1999, 47 (09) : S93 - S93
  • [39] Why do the very elderly fail weaning?
    Suresh, R
    Kupfer, Y
    Groopman, J
    Tessler, S
    AMERICAN JOURNAL OF RESPIRATORY AND CRITICAL CARE MEDICINE, 1999, 159 (03) : A371 - A371
  • [40] Why do patients fail HIV therapy?
    Waters, L.
    Nelson, M.
    INTERNATIONAL JOURNAL OF CLINICAL PRACTICE, 2007, 61 (06) : 983 - 990