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

add -pkgAvg to summarize average by package #13

Open mohit opened 7 years ago

mohit commented 7 years ago

Add -pkgAvg flag to compute averages by package name. This is useful for large codebases.

Attempts to follow the coding and formatting of the existing codebase.