Preparing report...

Report for github.com/myzhan/boomer

A+    Excellent!    Found 25 issues across 40 files

Tweet

gofmt97%

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!


gocyclo97%

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.


golint100%

Golint is a linter for Go source code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign42%

IneffAssign detects ineffectual assignments in Go code.

    • boomer/utils.go
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: could not import github.com/google/uuid (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/shirou/gopsutil/process (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/google/uuid (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/shirou/gopsutil/process (invalid package name: "") (ineffassign)
    • boomer/examples/gopher-lua/main.go
    • Line 19: warning: cannot find package "." in: (ineffassign)
    • Line 20: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: could not import github.com/yuin/gopher-lua/parse (invalid package name: "") (ineffassign)
    • Line 19: warning: could not import github.com/myzhan/boomer (invalid package name: "") (ineffassign)
    • Line 20: warning: could not import github.com/yuin/gopher-lua (invalid package name: "") (ineffassign)
    • boomer/examples/main.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/myzhan/boomer (invalid package name: "") (ineffassign)
    • boomer/client_gomq.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/zeromq/gomq (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/zeromq/gomq/zmtp (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/zeromq/gomq (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/zeromq/gomq/zmtp (invalid package name: "") (ineffassign)
    • boomer/message.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/ugorji/go/codec (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/ugorji/go/codec (invalid package name: "") (ineffassign)
    • boomer/runner_test.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/stretchr/testify/assert (invalid package name: "") (ineffassign)
    • boomer/client_gomq_test.go
    • Line 45: warning: r.SecurityMechanism undefined (type Router has no field or method SecurityMechanism) (ineffassign)
    • Line 45: warning: r.SocketType undefined (type Router has no field or method SocketType) (ineffassign)
    • Line 45: warning: r.SocketIdentity undefined (type Router has no field or method SocketIdentity) (ineffassign)
    • Line 52: warning: r.AddConnection undefined (type Router has no field or method AddConnection) (ineffassign)
    • Line 53: warning: r.RecvChannel undefined (type Router has no field or method RecvChannel) (ineffassign)
    • Line 111: warning: s.routerSocket.Close undefined (type Router has no field or method Close) (ineffassign)
    • Line 133: warning: s.routerSocket.Send undefined (type Router has no field or method Send) (ineffassign)
    • Line 143: warning: s.routerSocket.Close undefined (type Router has no field or method Close) (ineffassign)
    • Line 146: warning: s.routerSocket.RecvMultipart undefined (type Router has no field or method RecvMultipart) (ineffassign)
    • boomer/boomer.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import github.com/asaskevich/EventBus (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/asaskevich/EventBus (invalid package name: "") (ineffassign)
    • boomer/output.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/olekukonko/tablewriter (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/olekukonko/tablewriter (invalid package name: "") (ineffassign)
    • boomer/examples/fasthttp/client.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/myzhan/boomer (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/valyala/fasthttp (invalid package name: "") (ineffassign)
    • boomer/examples/grpc/main.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/bugVanisher/grequester (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/myzhan/boomer (invalid package name: "") (ineffassign)
    • Line 25: warning: undeclared name: HelloRequest (ineffassign)
    • Line 32: warning: undeclared name: HelloRequest (ineffassign)
    • Line 36: warning: undeclared name: HelloReply (ineffassign)
    • boomer/examples/etcd/clientv3/main.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/myzhan/boomer (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import go.etcd.io/etcd/clientv3 (invalid package name: "") (ineffassign)

misspell97%

Misspell Finds commonly misspelled English words