Preparing report...

Report for github.com/linkpoolio/bridges

A+    Excellent!    Found 4 issues across 10 files

Tweet

gofmt90%

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!


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!


golint70%

Golint is a linter for Go source code.

    • bridges/bridge.go
    • Line 20: warning: exported const AuthParam should have comment (or a comment on this block) or be unexported (golint)
    • Line 42: warning: comment on exported type JSON should be of the form "JSON ..." (with optional leading article) (golint)
    • Line 57: warning: comment on exported function Parse should be of the form "Parse ..." (golint)
    • Line 87: warning: comment on exported method Result.SetErrored should be of the form "SetErrored ..." (golint)
    • Line 172: warning: comment on exported method Server.Mux should be of the form "Mux ..." (golint)
    • Line 183: warning: comment on exported method Server.Handler should be of the form "Handler ..." (golint)
    • Line 233: warning: exported method Server.Lambda should have comment or be unexported (golint)
    • Line 278: warning: exported function NewHelper should have comment or be unexported (golint)
    • Line 282: warning: comment on exported method Helper.GetParam should be of the form "GetParam ..." (golint)
    • Line 308: warning: exported method Helper.HTTPCallWithContext should have comment or be unexported (golint)
    • Line 318: warning: exported method Helper.HTTPCallWithOptsWithContext should have comment or be unexported (golint)
    • Line 339: warning: exported method Helper.HTTPCallRawWithOptsWithContext should have comment or be unexported (golint)
    • Line 393: warning: comment on exported type Param should be of the form "Param ..." (with optional leading article) (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!