Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ukinimod/iac-count
Measures the quality of IaC through metrics
https://github.com/ukinimod/iac-count
ansible golang iac metrics static-code-analysis
Last synced: about 2 months ago
JSON representation
Measures the quality of IaC through metrics
- Host: GitHub
- URL: https://github.com/ukinimod/iac-count
- Owner: ukinimod
- License: bsd-3-clause
- Created: 2020-02-25T15:57:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-27T09:01:40.000Z (almost 5 years ago)
- Last Synced: 2024-12-16T19:59:56.878Z (about 2 months ago)
- Topics: ansible, golang, iac, metrics, static-code-analysis
- Homepage:
- Size: 759 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# iac-count
> iac-count by [MaibornWolff](https://www.maibornwolff.de)
## 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](https://github.com/debops/debops/))
You can run `iac-count` from the root of the ansible project as follows
```bash
iac-count ansible .
```resulting in an csv output like
![iac-count Example Output](docs/images/ansible_example_csv.png "iac-count Example Output")
Using tools like [CodeCharta](https://github.com/MaibornWolff/codecharta) you can visualize the metrics. In case of [DebOps](https://github.com/debops/debops/) it looks like the following:
![CodeCharta Example](docs/images/ansible_example_codecharta.png "CodeCharta Example")
## Install / Build
Clone repository and run
```bash
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](https://github.com/MaibornWolff/iac-count/issues/new). Feedback is always welcome.
## Tool Information
- [Releases](https://github.com/MaibornWolff/iac-count/releases)
- [Contributing](CONTRIBUTING.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [License](LICENSE.md)