Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3183440.3195034acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
poster

Defect prediction metrics for infrastructure as code scripts in DevOps

Published: 27 May 2018 Publication History

Abstract

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.

References

[1]
N. F. Alanna Brown, Jez Humble, Nigel Kersten, and Gene Kim. 2017. 2016 State of DevOps Report. https://puppet.com/resources/whitepaper/2016-state-of-devops-report. (2017). {Online; accessed 15-August-2017}.
[2]
Jürgen Cito, Philipp Leitner, Thomas Fritz, and Harald C. Gall. 2015. The Making of Cloud Applications: An Empirical Study on Software Development for the Cloud. In Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering (ESEC/FSE 2015). ACM, New York, NY, USA, 393--403.
[3]
James Fryman. 2014. DNS Outage Post Mortem-Github. https://github.com/blog/1759-dns-outage-post-mortem. (2014). {Online; accessed 24-August-2017}.
[4]
Baljinder Ghotra, Shane McIntosh, and Ahmed E. Hassan. 2015. Revisiting the Impact of Classification Techniques on the Performance of Defect Prediction Models. In Proceedings of the 37th International Conference on Software Engineering - Volume 1 (ICSE '15). IEEE Press, Piscataway, NJ, USA, 789--800. http://dl.acm.org/citation.cfm?id=2818754.2818850
[5]
Viral Gupta, P.K. Kapur, and Deepak Kumar. 2017. Modeling and measuring attributes influencing DevOps implementation in an enterprise using structural equation modeling. Information and Software Technology (2017).
[6]
Oliver Hanappi, Waldemar Hummer, and Schahram Dustdar. 2016. Asserting Reliable Convergence for Configuration Management Scripts. SIGPLAN Not. 51, 10 (Oct. 2016), 328--343.
[7]
Jez Humble and David Farley. 2010. Continuous Delivery: Reliable Software Releases Through Build, Test, and Deployment Automation (1st ed.). Addison-Wesley Professional.
[8]
IEEE. 2010. IEEE Standard Classification for Software Anomalies. IEEE Std 1044-2009 (Revision of IEEE Std 1044-1993) (Jan 2010), 1--23.
[9]
Yujuan Jiang and Bram Adams. 2015. Co-evolution of Infrastructure and Source Code: An Empirical Study. In Proceedings of the 12th Working Conference on Mining Software Repositories (MSR '15). IEEE Press, Piscataway, NJ, USA, 45--55. http://dl.acm.org/citation.cfm?id=2820518.2820527
[10]
C. Parnin, E. Helms, C. Atlee, H. Boughton, M. Ghattas, A. Glover, J. Holman, J. Micco, B. Murphy, T. Savor, M. Stumm, S. Whitaker, and L. Williams. 2017. The Top 10 Adages in Continuous Deployment. IEEE Software 34, 3 (May 2017), 86--95.
[11]
D. Spinellis. 2012. Don't Install Software by Hand. IEEE Software 29, 4 (July 2012), 86--87.
[12]
C. Tantithamthavorn, S. McIntosh, A. E. Hassan, A. Ihara, and K. Matsumoto. 2015. The Impact of Mislabelling on the Performance and Interpretation of Defect Prediction Models. In 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Vol. 1. 812--823.

Cited By

View all
  • (2023)Research on the optimization model for building an efficient IT infrastructure using the AWS platformInterConf10.51582/interconf.19-20.10.2023.027(300-315)Online publication date: 19-Oct-2023
  • (2022)Identification of propagated defects to reduce software testing cost via mutation testingMathematical Biosciences and Engineering10.3934/mbe.202228619:6(6124-6140)Online publication date: 2022
  • (2020)Towards an evidence-based theoretical framework on factors influencing the software development productivityEmpirical Software Engineering10.1007/s10664-020-09844-525:5(3501-3543)Online publication date: 1-Sep-2020

Index Terms

  1. Defect prediction metrics for infrastructure as code scripts in DevOps

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    ICSE '18: Proceedings of the 40th International Conference on Software Engineering: Companion Proceeedings
    May 2018
    231 pages
    ISBN:9781450356633
    DOI:10.1145/3183440
    • Conference Chair:
    • Michel Chaudron,
    • General Chair:
    • Ivica Crnkovic,
    • Program Chairs:
    • Marsha Chechik,
    • Mark Harman
    Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 27 May 2018

    Check for updates

    Author Tags

    1. DevOps
    2. continuous deployment
    3. infrastructure as code
    4. metrics

    Qualifiers

    • Poster

    Conference

    ICSE '18
    Sponsor:

    Acceptance Rates

    Overall Acceptance Rate 276 of 1,856 submissions, 15%

    Upcoming Conference

    ICSE 2025

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)21
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 24 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)Research on the optimization model for building an efficient IT infrastructure using the AWS platformInterConf10.51582/interconf.19-20.10.2023.027(300-315)Online publication date: 19-Oct-2023
    • (2022)Identification of propagated defects to reduce software testing cost via mutation testingMathematical Biosciences and Engineering10.3934/mbe.202228619:6(6124-6140)Online publication date: 2022
    • (2020)Towards an evidence-based theoretical framework on factors influencing the software development productivityEmpirical Software Engineering10.1007/s10664-020-09844-525:5(3501-3543)Online publication date: 1-Sep-2020

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media