TY - JOUR
T1 - Toward a catalog of software quality metrics for infrastructure code
AU - Palma, Stefano Dalla
AU - Nucci, Dario Di
AU - Palomba, Fabio
AU - Tamburri, Damian Andrew
PY - 2020/12
Y1 - 2020/12
N2 - 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.
AB - 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.
KW - Infrastructure as code
KW - Software metrics
KW - Software quality
UR - http://www.scopus.com/inward/record.url?scp=85087671495&partnerID=8YFLogxK
U2 - 10.1016/J.JSS.2020.110726
DO - 10.1016/J.JSS.2020.110726
M3 - Article
SN - 0164-1212
VL - 170
JO - Journal of Systems and Software
JF - Journal of Systems and Software
M1 - 110726
ER -