Preparing report...

Report for github.com/jkawamoto/roadie

A+    Excellent!    Found 259 issues across 768 files

Tweet

gofmt99%

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!


gocyclo88%

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.

    • roadie/cloud/azure/storage_test.go
    • Line 46: warning: cyclomatic complexity 39 of function TestStorageService() is high (> 15) (gocyclo)
    • Line 291: warning: cyclomatic complexity 30 of function (*mockStorageAccountServer).ServeHTTP() is high (> 15) (gocyclo)
    • roadie/command/queue_test.go
    • Line 384: warning: cyclomatic complexity 19 of function TestCmdTaskLog() is high (> 15) (gocyclo)
    • Line 279: warning: cyclomatic complexity 19 of function TestCmdQueueLog() is high (> 15) (gocyclo)
    • Line 61: warning: cyclomatic complexity 18 of function TestCmdQueueAdd() is high (> 15) (gocyclo)
    • roadie/cloud/mock/queue_test.go
    • Line 201: warning: cyclomatic complexity 23 of function TestQueues() is high (> 15) (gocyclo)
    • Line 684: warning: cyclomatic complexity 18 of function TestDeleteTask() is high (> 15) (gocyclo)
    • Line 375: warning: cyclomatic complexity 18 of function TestRestart() is high (> 15) (gocyclo)
    • Line 305: warning: cyclomatic complexity 17 of function TestStop() is high (> 15) (gocyclo)

golint75%

Golint is a linter for Go source code.


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!


misspell99%

Misspell Finds commonly misspelled English words