fzipp / gocyclo

Calculate cyclomatic complexities of functions in Go source code.
BSD 3-Clause "New" or "Revised" License
1.35k stars 80 forks source link

Refactor into package for integration as unit test #21

Closed gregoryv closed 6 years ago

gregoryv commented 6 years ago

Moved command gocycle into cmd/gocycle and exposing analyze as Analyze func in the package. Also added unittest covering most of the package.

Note! The README file refers to this repository for now and should be changed if the pull request is accepted.

gregoryv commented 6 years ago

It seems this project is no longer being actively maintained. I'll close this PR and maintain my fork instead.