Preparing report...

Report for github.com/AfterShip/email-verifier

(v1.3.0)

A+    Excellent!    Found 7 issues across 29 files

Tweet

gofmt86%

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


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!


gocyclo96%

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.

    • error.go
    • Line 45: warning: cyclomatic complexity 17 of function ParseSMTPError() is high (> 15) (gocyclo)

golint89%

Golint is a linter for Go source code.

    • util.go
    • Line 62: warning: error should be the last type when returning multiple items (golint)
    • error.go
    • Line 10: warning: comment on exported const ErrTimeout should be of the form "ErrTimeout ..." (golint)
    • Line 12: warning: exported const ErrNoSuchHost should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: comment on exported const ErrTryAgainLater should be of the form "ErrTryAgainLater ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell96%

Misspell Finds commonly misspelled English words

    • metadata_role.go
    • Line 30: warning: "administrativo" is a misspelling of "administration" (misspell)
    • Line 176: warning: "clientes" is a misspelling of "clients" (misspell)
    • Line 426: warning: "informacion" is a misspelling of "information" (misspell)
    • Line 430: warning: "informativo" is a misspelling of "information" (misspell)
    • Line 633: warning: "produccion" is a misspelling of "production" (misspell)