Toward a catalog of software quality metrics for infrastructure code

被引:36
|
作者
Dalla Palma, Stefano [1 ]
Di Nucci, Dario [1 ]
Palomba, Fabio [2 ]
Tamburri, Damian Andrew [3 ]
机构
[1] Tilburg Univ, Jheronimus Acad Data Sci, sHertogenbosch, Netherlands
[2] Univ Salerno, Software Engn Lab, Pisciano, Italy
[3] Eindhoven Univ Technol, Jheronimus Acad Data Sci, sHertogenbosch, Netherlands
基金
瑞士国家科学基金会;
关键词
Infrastructure as code; Software metrics; Software quality;
D O I
10.1016/j.jss.2020.110726
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Infrastructure-as-code (IaC) is a practice to implement continuous deployment by allowing management and provisioning of infrastructure through the definition of machine-readable files and automation around them, rather than physical hardware configuration or interactive configuration tools. On the one hand, although IaC represents an ever-increasing widely adopted practice nowadays, still little is known concerning how to best maintain, speedily evolve, and continuously improve the code behind the IaC practice in a measurable fashion. On the other hand, source code measurements are often computed and analyzed to evaluate the different quality aspects of the software developed. However, unlike general-purpose programming languages (GPLs), IaC scripts use domain-specific languages, and metrics used for GPLs may not be applicable for IaC scripts. This article proposes a catalog consisting of 46 metrics to identify IaC properties focusing on Ansible, one of the most popular IaC language to date, and shows how they can be used to analyze IaC scripts. (C) 2020 The Authors. Published by Elsevier Inc.
引用
收藏
页数:8
相关论文
共 50 条
  • [1] Source Code Quality Classification Based On Software Metrics
    Vytovtov, Petr
    Markov, Evgeny
    [J]. PROCEEDINGS OF THE 20TH CONFERENCE OF OPEN INNOVATIONS ASSOCIATION (FRUCT 2017), 2017, : 505 - 511
  • [2] System quality improvement including software and infrastructure based on software metrics approach
    Hanakawa, Noriko
    Obana, Masaki
    [J]. 2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 1, 2013, : 9 - 16
  • [3] CODE QUALITY METRICS EVALUATION PLATFORM IN SOFTWARE ENGINEERING EDUCATION
    Boja, Catalin
    Zurini, Madalina
    Popa, Marius
    Toma, Cristian
    [J]. PROCEEDINGS OF THE 16TH INTERNATIONAL CONFERENCE ON INFORMATICS IN ECONOMY (IE 2017): EDUCATION, RESEARCH & BUSINESS TECHNOLOGIES, 2017, : 283 - 290
  • [4] A Catalog of Source Code Metrics - A Tertiary Study
    Iftikhar, Umar
    Bin Ali, Nauman
    Borstler, Jurgen
    Usman, Muhammad
    [J]. SOFTWARE QUALITY: HIGHER SOFTWARE QUALITY THROUGH ZERO WASTE DEVELOPMENT, SWQD 2023, 2023, 472 : 87 - 106
  • [5] A Software quality evaluation method using the change of source code metrics
    Nakamura, Mitsuhiro
    Hamagami, Tomoki
    [J]. 23RD IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSRE 2012), 2012, : 65 - 69
  • [6] TerraMetrics: An Open Source Tool for Infrastructure-as-Code (IaC) Quality Metrics in Terraform
    Begoug, Mahi
    Chouchen, Moataz
    Ouni, Ali
    [J]. PROCEEDINGS 2024 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, ICPC 2024, 2024, : 450 - 454
  • [7] Using Software Engineering Metrics to Evaluate the Quality of Static Code Analysis Tools
    Alikhashashneh, Enas A.
    Raje, Rajeev R.
    Hill, James H.
    [J]. 2018 1ST INTERNATIONAL CONFERENCE ON DATA INTELLIGENCE AND SECURITY (ICDIS 2018), 2018, : 65 - 72
  • [8] CODE-QUALITY METRICS
    不详
    [J]. IEEE SPECTRUM, 1984, 21 (08) : 22 - 22
  • [9] Software maintainability prediction by data mining of software code metrics
    Kaur, Arvinder
    Kaur, Kamaldeep
    Pathak, Kaushal
    [J]. 2014 INTERNATIONAL CONFERENCE ON DATA MINING AND INTELLIGENT COMPUTING (ICDMIC), 2014,
  • [10] An Approach for Source Code Classification Using Software Metrics and Fuzzy Logic to Improve Code Quality with Refactoring Techniques
    Lerthathairat, Pornchai
    Prompoon, Nakornthip
    [J]. SOFTWARE ENGINEERING AND COMPUTER SYSTEMS, PT 3, 2011, 181 : 478 - 492