AnsibleMetrics - A Python library for measuring Infrastructure-as-Code blueprints in Ansible.

Research output: Contribution to journalArticleAcademicpeer-review


Infrastructure-as-Code (IaC) has recently received increasing attention in the research community, mainly due to the paradigm shift it brings in software design, development, and operations management. However, while IaC represents an ever-increasing and widely adopted practice, concerns arise about the need for instruments that help DevOps engineers efficiently maintain, speedily evolve, and continuously improve Infrastructure-as-Code. In this paper, we present AnsibleMetrics, a Python-based static source code measurement tool to characterize Infrastructure-as-Code. Although we focus on Ansible, the most used language for IaC, our tool could be easily extended to support additional formats. AnsibleMetrics represents a step forward towards software quality support for DevOps engineers developing and maintaining infrastructure code.

Original languageEnglish
Article number100633
Number of pages6
Publication statusPublished - 1 Jul 2020

Bibliographical note

DBLP's bibliographic metadata records provided through are distributed under a Creative Commons CC0 1.0 Universal Public Domain Dedication. Although the bibliographic metadata records are provided consistent with CC0 1.0 Dedication, the content described by the metadata records is not. Content may be subject to copyright, rights of privacy, rights of publicity and other restrictions.


  • Infrastructure as Code
  • Software metrics
  • Software quality

Fingerprint Dive into the research topics of 'AnsibleMetrics - A Python library for measuring Infrastructure-as-Code blueprints in Ansible.'. Together they form a unique fingerprint.

Cite this