论文标题

迈向用于基础架构代码的软件质量指标的目录

Towards a Catalogue of Software Quality Metrics for Infrastructure Code

论文作者

Palma, Stefano Dalla, Di Nucci, Dario, Palomba, Fabio, Tamburri, Damian A.

论文摘要

基础架构AS-AS-CODE(IAC)是一种实践,可以通过允许通过机器可读文件的定义和周围的自动化来管理和配置基础架构,而不是物理硬件配置或交互式配置工具来实现连续部署。一方面,尽管IAC代表了当今越来越多的采用实践,但对于如何最好地维护,迅速发展并不断以可衡量的方式改善了IAC实践背后的代码。另一方面,经常对源代码测量进行计算和分析,以评估开发的软件的不同质量方面。但是,与通用编程语言(GPLS)不同,IAC脚本使用特定于域的语言,以及用于GPLS的指标可能不适用于IAC脚本。本文提出了一个由46个指标组成的目录,旨在识别迄今为止最受欢迎的IAC语言之一的IAC属性,并显示了如何用于分析IAC脚本。

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 catalogue 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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源