gocyclo: github.com/fzipp/gocyclo Files

Command gocyclo

Gocyclo calculates the cyclomatic complexities of functions and methods in Go source code.


gocyclo [<flag> ...] <Go file or directory> ...


-over N   show functions with complexity > N only and
          return exit code 1 if the output is non-empty
-top N    show the top N most complex functions only
-avg      show the average complexity

The output fields for each line are: <complexity> <package> <function> <file:row:column>

Package Files


Package main imports 11 packages (graph). Updated 2019-03-29. Refresh now. Tools for package owners.