fzipp / gocyclo

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

Include variable functions #19

Closed mikeb333 closed 3 years ago

mikeb333 commented 7 years ago

I noticed that functions declared as variables are not included. It would be nice if they were. We use variable functions a lot for testability and mocking.

trajber commented 4 years ago

I opened a PR for this. It seems to be working. Can you give it a go if you are still looking for this change, please ?

fzipp commented 3 years ago

Fixed by 6ee3d8d3fc8ab4f7ccdc5f023639d4ccba87ea8c