https://github.com/codacy/codacy-metrics-cloc
Cloc docker wrapper for Codacy integration
https://github.com/codacy/codacy-metrics-cloc
cloc codacy metrics static-analysis
Last synced: 3 months ago
JSON representation
Cloc docker wrapper for Codacy integration
- Host: GitHub
- URL: https://github.com/codacy/codacy-metrics-cloc
- Owner: codacy
- Created: 2018-05-25T22:34:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-11T09:47:22.000Z (over 2 years ago)
- Last Synced: 2025-04-13T08:12:53.437Z (3 months ago)
- Topics: cloc, codacy, metrics, static-analysis
- Language: Scala
- Homepage:
- Size: 73.2 KB
- Stars: 1
- Watchers: 14
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Codacy Metrics cloc
[](https://www.codacy.com/gh/codacy/codacy-metrics-cloc?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-metrics-cloc&utm_campaign=Badge_Grade)
[](https://www.codacy.com/gh/codacy/codacy-metrics-cloc?utm_source=github.com&utm_medium=referral&utm_content=codacy/codacy-metrics-cloc&utm_campaign=Badge_Coverage)
[](https://circleci.com/gh/codacy/codacy-metrics-cloc)
[](https://microbadger.com/images/codacy/codacy-metrics-cloc "Get your own version badge on microbadger.com")This is the docker engine we use at Codacy to have [cloc](hhttps://github.com/AlDanial/cloc/) support.
## Usage
You can create the docker by doing:
```bash
sbt stage
docker build -t codacy-metrics-cloc .
```The docker is ran with the following command:
```bash
docker run -it -v $srcDir:/src :
docker run -it -v $PWD/src/test/resources:/src codacy/codacy-metrics-cloc:latest
```## What is Codacy
[Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.
### Among Codacy’s features
- Identify new Static Analysis issues
- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)
- Auto-comments on Commits and Pull Requests
- Integrations with Slack, HipChat, Jira, YouTrack
- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categoriesCodacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.
Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.
### Free for Open Source
Codacy is free for Open Source projects.