Poster: Defect Prediction Metrics for Infrastructure as Code Scripts in DevOps

被引:2
|
作者
Rahman, Akond [1 ]
Stallings, Jonathan [1 ]
Williams, Laurie [1 ]
机构
[1] North Carolina State Univ, Raleigh, NC 27695 USA
关键词
Continuous Deployment; DevOps; Infrastructure as Code; Metrics;
D O I
10.1145/3183440.3195034
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Use of infrastructure as code (IaC) scripts helps software teams manage their configuration and infrastructure automatically. Information technology (IT) organizations use IaC scripts to create and manage automated deployment pipelines to deliver services rapidly. IaC scripts can be defective, resulting in dire consequences, such as creating wide-scale service outages for end-users. Prediction of defective IaC scripts can help teams to mitigate defects in these scripts by prioritizing their inspection efforts. The goal of this paper is to help software practitioners in prioritizing their inspection efforts for infrastructure as code (IaC) scripts by proposing defect prediction model-related metrics. IaC scripts use domain specific languages (DSL) that are fundamentally different from object-oriented programming (OOP) languages. Hence, the OOP-based metrics that researchers used in defect prediction might not be applicable for IaC scripts. We apply Constructivist Grounded Theory (CGT) on defect-related commits mined from version control systems to identify metrics suitable for IaC scripts. By applying CGT, we identify 18 metrics. Of these metrics, 13 are related to IaC, for example, count of string occurrences in a script. Four of the identified metrics are related to churn, and one metric is lines of code.
引用
收藏
页码:414 / 415
页数:2
相关论文
共 50 条
  • [1] Characteristics of Defective Infrastructure as Code Scripts in DevOps
    Rahman, Akond
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 476 - 479
  • [2] Gang of Eight: A Defect Taxonomy for Infrastructure as Code Scripts
    Rahman, Akond
    Farhana, Effat
    Parnin, Chris
    Williams, Laurie
    [J]. 2020 ACM/IEEE 42ND INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2020), 2020, : 752 - 764
  • [3] Within-Project Defect Prediction of Infrastructure-as-Code Using Product and Process Metrics
    Dalla Palma, Stefano
    Di Nucci, Dario
    Palomba, Fabio
    Tamburri, Damian A.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (06) : 2086 - 2104
  • [4] DevOps: Introducing Infrastructure-as-Code
    Artac, Matej
    Borovsak, Tadej
    Di Nitto, Elisabetta
    Guerriero, Michele
    Tamburri, Damian Andrew
    [J]. PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 497 - 498
  • [5] Empirical Investigation of Code and Process Metrics for Defect Prediction
    Han, Wenjing
    Lung, Chung-Horng
    Ajila, Samuel A.
    [J]. 2016 IEEE SECOND INTERNATIONAL CONFERENCE ON MULTIMEDIA BIG DATA (BIGMM), 2016, : 436 - 439
  • [6] Source code properties of defective infrastructure as code scripts
    Rahman, Akond
    Williams, Laurie
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2019, 112 : 148 - 163
  • [7] Software Defect Prediction Using Static Code Metrics Underestimates Defect-Proneness
    Gray, David
    Bowes, David
    Davey, Neil
    Sun, Yi
    Christianson, Bruce
    [J]. 2010 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS IJCNN 2010, 2010,
  • [8] An Investigation of the Accuracy of Code and Process Metrics for Defect Prediction of Mobile Applications
    Kaur, Arvinder
    Kaur, Kamaldeep
    Kaur, Harguneet
    [J]. 2015 4TH INTERNATIONAL CONFERENCE ON RELIABILITY, INFOCOM TECHNOLOGIES AND OPTIMIZATION (ICRITO) (TRENDS AND FUTURE DIRECTIONS), 2015,
  • [9] Software Defect Prediction Based on Source Code Metrics Time Series
    Pulawski, Lukasz
    [J]. TRANSACTIONS ON ROUGH SETS XIII, 2011, 6499 : 104 - 120
  • [10] The Seven Sins: Security Smells in Infrastructure as Code Scripts
    Rahman, Akond
    Parnin, Chris
    Williams, Laurie
    [J]. 2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 164 - 175