▲ 14 ▼ Gocyclo - measure the complexity of go functions
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
Here is an article about PHP frameworks analysing their complexity - http://tinyurl.com/zk4ahcm
Some other interesting links on this:
http://www.drdobbs.com/architecture-and-design/measuring-complexity-correctly/240007928
https://nofluffjuststuff.com/blog/andrew_glover/2007/01/aggregate_cyclomatic_complexity_is_meaningless