/iac-count

Measures the quality of IaC through metrics

BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

iac-count

iac-count by MaibornWolff

What is iac-count

iac-count is a tool for measuring quality of IaC. Currently it supports metrics for the following languages:

  • ansible

Usage

Ansible

Given an ansible project (e.g. the ansible directory of DebOps)

You can run iac-count from the root of the ansible project as follows

iac-count ansible .

resulting in an csv output like

iac-count Example Output

Using tools like CodeCharta you can visualize the metrics. In case of DebOps it looks like the following:

CodeCharta Example

Install / Build

Clone repository and run

go build ./...
go install ./...

Make sure $GOPATH/bin is in your $PATH.

Feature request / Bug / Feedback

Have a bug, a feature request or any question? Please open a new issue. Feedback is always welcome.

Tool Information