Preparing report...

Report for github.com/FireEater64/gamq

A+    Excellent!    Found 10 issues across 22 files

Tweet

gofmt95%

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!


golint59%

Golint is a linter for Go source code.

    • gamq/messagequeue_test.go
    • Line 124: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 172: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gamq/metricsmanager.go
    • Line 15: warning: exported type MetricsManager should have comment or be unexported (golint)
    • Line 22: warning: exported function NewMetricsManager should have comment or be unexported (golint)
    • gamq/connectionmanager.go
    • Line 31: warning: exported type ConnectionManager should have comment or be unexported (golint)
    • Line 41: warning: exported function NewConnectionManager should have comment or be unexported (golint)
    • Line 75: warning: exported method ConnectionManager.Start should have comment or be unexported (golint)
    • gamq/client.go
    • Line 7: warning: exported type Client should have comment or be unexported (golint)
    • Line 15: warning: exported function NewClient should have comment or be unexported (golint)
    • gamq/config.go
    • Line 3: warning: exported type Config should have comment or be unexported (golint)
    • Line 9: warning: exported var Configuration should have comment or be unexported (golint)
    • Line 11: warning: exported function SetConfig should have comment or be unexported (golint)
    • gamq/message/message.go
    • Line 7: warning: exported type Message should have comment or be unexported (golint)
    • Line 13: warning: exported function NewMessage should have comment or be unexported (golint)
    • Line 17: warning: exported function NewHeaderlessMessage should have comment or be unexported (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!


misspell81%

Misspell Finds commonly misspelled English words