iac-count by MaibornWolff
iac-count
is a tool for measuring quality of IaC. Currently it supports metrics for the following languages:
- 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
Using tools like CodeCharta you can visualize the metrics. In case of DebOps it looks like the following:
Clone repository and run
go build ./...
go install ./...
Make sure $GOPATH/bin
is in your $PATH
.
Have a bug, a feature request or any question? Please open a new issue. Feedback is always welcome.