Skip to content

ericuni/complexity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

complexity

Golang Build Status Coverage Status GoReport

calculate the complexity diff based on the output of gocyclo and gocognit

go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
go install github.com/ericuni/complexity@latest

git checkout master
gocyclo . >base

git checkout target
gocyclo . >current

complexity
Usage of ./complexity:
  -base string
    base path (default "./base")
  -current string
    current path (default "./current")
  -max_complexity int
    when there is a function whose complexity > max_complexity, exit with status 1 (default 20)
  -min_complexity int
    do not display those functions with complexity < min_complexity (default 5)

About

parse complexities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages