arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.13474cs.SE
收藏

面向基础设施代码的软件质量保证目录

Towards a Catalogue of Software Quality Metrics for Infrastructure Code

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

摘要:

架构即代码(IaC)是一种实现持续部署的实践,它允许通过定义机器可读文件及其自动化来管理和配置基础设施,而不是物理硬件配置或交互式配置工具。一方面,尽管IaC代表了当今日益广泛采用的实践,但关于如何以可衡量的方式最好地维护、快速发展和持续改进IaC实践背后的代码,仍然知之甚少。另一方面,源代码度量通常被计算和分析,以评估所开发软件的不同质量方面。然而,与通用程序设计语言(GPL)不同,IaC脚本使用域特定语言,并且用于GPL的度量可能不适用于IaC脚本。本文提出了一个由46个指标组成的目录,以识别IaC属性,重点是Ansible,迄今为止最流行的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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑