Preparing report...

Report for github.com/sharath/lambo

A    Great!    Found 9 issues across 20 files

Tweet

gofmt80%

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!


golint85%

Golint is a linter for Go source code.

    • lambo/response/Tokens.go
    • Line 8: warning: exported type Tokens should have comment or be unexported (golint)
    • Line 10: warning: exported function NewTokens should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign70%

IneffAssign detects ineffectual assignments in Go code.

    • lambo/poller/MongoUpdater.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/sharath/lambo/CMC (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/sharath/lambo/database (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/globalsign/mgo (invalid package name: "") (ineffassign)
    • lambo/authentication/User.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/globalsign/mgo (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/globalsign/mgo/bson (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/globalsign/mgo (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/globalsign/mgo/bson (invalid package name: "") (ineffassign)
    • lambo/authentication/Hash.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import golang.org/x/crypto/bcrypt (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import golang.org/x/crypto/bcrypt (invalid package name: "") (ineffassign)
    • lambo/authentication/User_test.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import gopkg.in/mgo.v2 (invalid package name: "") (ineffassign)
    • Line 10: warning: undeclared name: mgo (ineffassign)
    • Line 28: warning: undeclared name: mgo (ineffassign)
    • Line 53: warning: undeclared name: mgo (ineffassign)
    • Line 5: warning: "gopkg.in/mgo.v2" imported but not used (ineffassign)
    • lambo/response/Hist.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/sharath/lambo/database (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/globalsign/mgo (invalid package name: "") (ineffassign)
    • lambo/cmd/lambo/main.go
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: could not import github.com/gin-gonic/gin (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/sharath/lambo/authentication (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/sharath/lambo/poller (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/sharath/lambo/response (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/globalsign/mgo (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!