Preparing report...

Report for github.com/go-email-validator/go-email-validator

A+    Excellent!    Found 5 issues across 73 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


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.


golint98%

Golint is a linter for Go source code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign95%

IneffAssign detects ineffectual assignments in Go code.

    • go-email-validator/pkg/ev/evcache/evcache_test.go
    • Line 9: warning: no required module provides package github.com/go-email-validator/go-email-validator/test/mock/ev/evcache; to add it: (ineffassign)
    • Line 9: warning: could not import github.com/go-email-validator/go-email-validator/test/mock/ev/evcache (invalid package name: "") (ineffassign)
    • go-email-validator/pkg/ev/evsmtp/smtp_test.go
    • Line 16: warning: no required module provides package github.com/go-email-validator/go-email-validator/test/mock/ev/evcache; to add it: (ineffassign)
    • Line 16: warning: could not import github.com/go-email-validator/go-email-validator/test/mock/ev/evcache (invalid package name: "") (ineffassign)
    • Line 494: warning: undeclared name: NewMockRandomRCPT (ineffassign)
    • Line 530: warning: undeclared name: NewMockCheckerWithRandomRCPT (ineffassign)
    • Line 564: warning: undeclared name: NewMockCheckerWithRandomRCPT (ineffassign)
    • Line 640: warning: undeclared name: NewMockCheckerWithRandomRCPT (ineffassign)
    • Line 724: warning: undeclared name: NewMockCheckerWithRandomRCPT (ineffassign)
    • go-email-validator/pkg/ev/evsmtp/send_mail_test.go
    • Line 6: warning: no required module provides package github.com/go-email-validator/go-email-validator/test/mock/ev/evsmtp/smtpclient; to add it: (ineffassign)
    • Line 6: warning: could not import github.com/go-email-validator/go-email-validator/test/mock/ev/evsmtp/smtpclient (invalid package name: "") (ineffassign)

misspell98%

Misspell Finds commonly misspelled English words

    • go-email-validator/pkg/ev/role/rbea_roles.go
    • Line 55: warning: "administrativo" is a misspelling of "administration" (misspell)
    • Line 209: warning: "clientes" is a misspelling of "clients" (misspell)
    • Line 469: warning: "informacion" is a misspelling of "information" (misspell)
    • Line 473: warning: "informativo" is a misspelling of "information" (misspell)
    • Line 694: warning: "produccion" is a misspelling of "production" (misspell)