email.go: Line 22: warning: cyclomatic complexity 19 of function IsEmail() is high (> 15) (gocyclo)
cinar opened this issue · 0 comments
cinar commented
gocyclo98%
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 '||' Go Report Card warns on functions with cyclomatic complexity > 15.
email.go
Line 22: warning: cyclomatic complexity 19 of function IsEmail() is high (> 15) (gocyclo)