https://github.com/knsh14/gocc
check cyclomatic complexity of go functions
https://github.com/knsh14/gocc
cyclomatic-complexity go static-analysis static-analyzer
Last synced: about 1 year ago
JSON representation
check cyclomatic complexity of go functions
- Host: GitHub
- URL: https://github.com/knsh14/gocc
- Owner: knsh14
- License: mit
- Created: 2019-01-05T13:43:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-23T07:00:42.000Z (about 5 years ago)
- Last Synced: 2025-04-18T15:16:40.776Z (about 1 year ago)
- Topics: cyclomatic-complexity, go, static-analysis, static-analyzer
- Language: Go
- Size: 17.6 KB
- Stars: 20
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gocc
---
gocc is analysis tool to check cyclomatic complexity of go codes.
this package provides Analyzer for [analysis]( https://godoc.org/golang.org/x/tools/go/analysis ).
you can use this analyzer in your analysis tool.
# Install
```
$ go get -u github.com/knsh14/gocc/cmd/gocc
```
# Usage
```
$ gocc [-flag] [package]
```
## example
```
$ gocc -over 10 ./src
```