Preparing report...

Report for github.com/influx6/octo

A+    Excellent!    Found 23 issues across 45 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!


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.

    • octo/streams/server/tcp/tcp.go
    • Line 300: warning: cyclomatic complexity 16 of function (*Client).Send() is high (> 15) (gocyclo)
    • Line 492: warning: cyclomatic complexity 16 of function (*Client).acceptRequests() is high (> 15) (gocyclo)

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!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


misspell48%

Misspell Finds commonly misspelled English words

    • octo/streams/client/udpclient/client_test.go
    • Line 90: warning: "sucessfully" is a misspelling of "successfully" (misspell)
    • Line 92: warning: "sucessfully" is a misspelling of "successfully" (misspell)
    • Line 95: warning: "sucessfully" is a misspelling of "successfully" (misspell)
    • Line 97: warning: "sucessfully" is a misspelling of "successfully" (misspell)
    • Line 153: warning: "conenction" is a misspelling of "connection" (misspell)
    • Line 210: warning: "conenction" is a misspelling of "connection" (misspell)
    • Line 267: warning: "conenction" is a misspelling of "connection" (misspell)
    • octo/octo.go
    • Line 72: warning: "recieved" is a misspelling of "received" (misspell)
    • Line 80: warning: "recieved" is a misspelling of "received" (misspell)
    • Line 98: warning: "transfroms" is a misspelling of "transforms" (misspell)
    • Line 118: warning: "credentails" is a misspelling of "credentials" (misspell)
    • Line 201: warning: "occured" is a misspelling of "occurred" (misspell)
    • octo/streams/server/tcp/tcp.go
    • Line 57: warning: "conneciton" is a misspelling of "connection" (misspell)
    • Line 181: warning: "recieved" is a misspelling of "received" (misspell)
    • Line 185: warning: "recieved" is a misspelling of "received" (misspell)
    • Line 189: warning: "recieved" is a misspelling of "received" (misspell)
    • Line 416: warning: "continous" is a misspelling of "continuous" (misspell)
    • Line 690: warning: "negotation" is a misspelling of "negotiation" (misspell)
    • Line 782: warning: "retreive" is a misspelling of "retrieve" (misspell)