14 Gocyclo - measure the complexity of go functions

github.com godoc.org goreportcard.com posted by kenny 2608 days ago  

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules:

1 is the base complexity of a function
+1 for each if, for, case, && or ||

Register to comment or vote on this story