Preparing report...

Report for github.com/getblank/blank-queue

A    Great!    Found 8 issues across 8 files

Tweet

gofmt75%

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!


golint75%

Golint is a linter for Go source code.

    • blank-queue/lists/lists.go
    • Line 41: warning: should omit values from range; this loop is equivalent to `for range ...` (golint)
    • Line 79: warning: exported function Drop should have comment or be unexported (golint)
    • Line 391: warning: exported function Next should have comment or be unexported (golint)
    • Line 422: warning: exported function Prev should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

    • blank-queue/common/common.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/Sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/boltdb/bolt (invalid package name: "") (ineffassign)
    • blank-queue/main.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/Sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import gopkg.in/gemnasium/logrus-graylog-hook.v2 (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/getblank/blank-queue/intranet (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/getblank/blank-queue/lists (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/getblank/blank-queue/queue (invalid package name: "") (ineffassign)
    • Line 37: warning: undeclared name: graylog (ineffassign)
    • Line 9: warning: "gopkg.in/gemnasium/logrus-graylog-hook.v2" imported but not used (ineffassign)
    • blank-queue/queue/queue.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/Sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/boltdb/bolt (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/getblank/blank-queue/common (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/Sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/boltdb/bolt (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/getblank/blank-queue/common (invalid package name: "") (ineffassign)
    • blank-queue/queue/queue_test.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/franela/goblin (invalid package name: "") (ineffassign)
    • Line 23: warning: undeclared name: Goblin (ineffassign)
    • Line 7: warning: "github.com/franela/goblin" imported but not used (ineffassign)
    • blank-queue/lists/lists.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/Sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/boltdb/bolt (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/getblank/blank-queue/common (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/Sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/boltdb/bolt (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/getblank/blank-queue/common (invalid package name: "") (ineffassign)
    • blank-queue/lists/lists_test.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/franela/goblin (invalid package name: "") (ineffassign)
    • Line 14: warning: undeclared name: Goblin (ineffassign)
    • Line 7: warning: "github.com/franela/goblin" imported but not used (ineffassign)
    • blank-queue/intranet/client.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/Sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/getblank/wango (invalid package name: "") (ineffassign)
    • blank-queue/intranet/server.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import golang.org/x/net/websocket (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/getblank/blank-queue/lists (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/getblank/blank-queue/queue (invalid package name: "") (ineffassign)

misspell50%

Misspell Finds commonly misspelled English words