Preparing report...

Report for github.com/amlun/linda

A    Great!    Found 9 issues across 18 files

Tweet

gofmt66%

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!


golint61%

Golint is a linter for Go source code.

    • linda/redis_broker.go
    • Line 11: warning: comment on exported const QueueName should be of the form "QueueName ..." (golint)
    • Line 14: warning: comment on exported const ReservedQueueName should be of the form "ReservedQueueName ..." (golint)
    • Line 17: warning: comment on exported const DelayedQueueName should be of the form "DelayedQueueName ..." (golint)
    • linda/redis_saver.go
    • Line 12: warning: comment on exported const JobInfoPrefix should be of the form "JobInfoPrefix ..." (golint)
    • Line 16: warning: exported type RedisSaver should have comment or be unexported (golint)
    • linda/saver.go
    • Line 12: warning: error var UnknownSaver should have name of the form ErrFoo (golint)
    • Line 12: warning: exported var UnknownSaver should have comment or be unexported (golint)
    • linda/broker.go
    • Line 11: warning: error var UnknownBroker should have name of the form ErrFoo (golint)
    • Line 11: warning: exported var UnknownBroker should have comment or be unexported (golint)
    • linda/linda.go
    • Line 17: warning: exported var ErrNotInitialized should have comment or be unexported (golint)
    • Line 20: warning: comment on exported function Init should be of the form "Init ..." (golint)
    • Line 51: warning: exported function Quit 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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!