Preparing report...

Report for github.com/yezihack/e

A+    Excellent!    Found 5 issues across 15 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!


gocyclo100%

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.

No problems detected. Good job!


golint66%

Golint is a linter for Go source code.

    • e/with.go
    • Line 5: warning: comment on exported function New should be of the form "New ..." (golint)
    • Line 14: warning: comment on exported function ErrorF should be of the form "ErrorF ..." (golint)
    • Line 22: warning: comment on exported function WithStack should be of the form "WithStack ..." (golint)
    • Line 31: warning: comment on exported function WithMessage should be of the form "WithMessage ..." (golint)
    • Line 41: warning: comment on exported function WithMessageF should be of the form "WithMessageF ..." (golint)
    • e/with_code.go
    • Line 5: warning: comment on exported function NewCode should be of the form "NewCode ..." (golint)
    • Line 14: warning: comment on exported function ErrorCodeF should be of the form "ErrorCodeF ..." (golint)
    • Line 22: warning: comment on exported function WithCodeStack should be of the form "WithCodeStack ..." (golint)
    • Line 31: warning: comment on exported function WithCodeMessage should be of the form "WithCodeMessage ..." (golint)
    • Line 41: warning: comment on exported function WithCodeMessageF should be of the form "WithCodeMessageF ..." (golint)
    • e/error.go
    • Line 5: warning: comment on exported type StackError should be of the form "StackError ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported method StackError.Code should be of the form "Code ..." (golint)
    • Line 22: warning: comment on exported method StackError.Msg should be of the form "Msg ..." (golint)
    • Line 27: warning: comment on exported method StackError.Err should be of the form "Err ..." (golint)
    • Line 32: warning: comment on exported method StackError.Errs should be of the form "Errs ..." (golint)
    • Line 37: warning: comment on exported method StackError.ExistExtra should be of the form "ExistExtra ..." (golint)
    • Line 45: warning: comment on exported method StackError.ToStrByExtra should be of the form "ToStrByExtra ..." (golint)
    • Line 55: warning: comment on exported method StackError.ToStr should be of the form "ToStr ..." (golint)
    • Line 60: warning: comment on exported method StackError.ToArr should be of the form "ToArr ..." (golint)
    • e/error_stack.go
    • Line 5: warning: comment on exported type StackSourceEntity should be of the form "StackSourceEntity ..." (with optional leading article) (golint)
    • e/util.go
    • Line 7: warning: comment on exported function Convert should be of the form "Convert ..." (golint)
    • Line 17: warning: comment on exported function Assert should be of the form "Assert ..." (golint)
    • Line 27: warning: comment on exported function ToStr should be of the form "ToStr ..." (golint)
    • Line 40: warning: comment on exported function ToArr should be of the form "ToArr ..." (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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!