Preparing report...

Report for github.com/codecat/go-libs

A+    Excellent!    Found 4 issues across 13 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


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!


gocyclo92%

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!


ineffassign76%

IneffAssign detects ineffectual assignments in Go code.

    • go-libs/log/log.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/fatih/color (invalid package name: "") (ineffassign)
    • go-libs/pacman/packervalues.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/cheekybits/genny/generic (invalid package name: "") (ineffassign)
    • Line 17: warning: cannot convert v.(uint) (comma, ok expression of type uint) to VPackerType (ineffassign)
    • Line 19: warning: cannot convert v.(uint8) (comma, ok expression of type uint8) to VPackerType (ineffassign)
    • Line 21: warning: cannot convert v.(uint16) (comma, ok expression of type uint16) to VPackerType (ineffassign)
    • Line 23: warning: cannot convert v.(uint32) (comma, ok expression of type uint32) to VPackerType (ineffassign)
    • Line 25: warning: cannot convert v.(uint64) (comma, ok expression of type uint64) to VPackerType (ineffassign)
    • Line 28: warning: cannot convert v.(int) (comma, ok expression of type int) to VPackerType (ineffassign)
    • Line 30: warning: cannot convert v.(int8) (comma, ok expression of type int8) to VPackerType (ineffassign)
    • Line 32: warning: cannot convert v.(int16) (comma, ok expression of type int16) to VPackerType (ineffassign)
    • Line 34: warning: cannot convert v.(int32) (comma, ok expression of type int32) to VPackerType (ineffassign)
    • Line 36: warning: cannot convert v.(int64) (comma, ok expression of type int64) to VPackerType (ineffassign)
    • Line 39: warning: cannot convert v.(float32) (comma, ok expression of type float32) to VPackerType (ineffassign)
    • Line 41: warning: cannot convert v.(float64) (comma, ok expression of type float64) to VPackerType (ineffassign)
    • Line 8: warning: could not import github.com/cheekybits/genny/generic (invalid package name: "") (ineffassign)
    • Line 17: warning: cannot convert v.(uint) (comma, ok expression of type uint) to VPackerType (ineffassign)
    • Line 19: warning: cannot convert v.(uint8) (comma, ok expression of type uint8) to VPackerType (ineffassign)
    • Line 21: warning: cannot convert v.(uint16) (comma, ok expression of type uint16) to VPackerType (ineffassign)
    • Line 23: warning: cannot convert v.(uint32) (comma, ok expression of type uint32) to VPackerType (ineffassign)
    • Line 25: warning: cannot convert v.(uint64) (comma, ok expression of type uint64) to VPackerType (ineffassign)
    • Line 28: warning: cannot convert v.(int) (comma, ok expression of type int) to VPackerType (ineffassign)
    • Line 30: warning: cannot convert v.(int8) (comma, ok expression of type int8) to VPackerType (ineffassign)
    • Line 32: warning: cannot convert v.(int16) (comma, ok expression of type int16) to VPackerType (ineffassign)
    • Line 34: warning: cannot convert v.(int32) (comma, ok expression of type int32) to VPackerType (ineffassign)
    • Line 36: warning: cannot convert v.(int64) (comma, ok expression of type int64) to VPackerType (ineffassign)
    • Line 39: warning: cannot convert v.(float32) (comma, ok expression of type float32) to VPackerType (ineffassign)
    • Line 41: warning: cannot convert v.(float64) (comma, ok expression of type float64) to VPackerType (ineffassign)
    • go-libs/settings/settings.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import gopkg.in/yaml.v2 (invalid package name: "") (ineffassign)
    • Line 17: warning: undeclared name: yaml (ineffassign)
    • Line 27: warning: undeclared name: yaml (ineffassign)
    • Line 7: warning: "gopkg.in/yaml.v2" imported but not used (ineffassign)
    • Line 7: warning: could not import gopkg.in/yaml.v2 (invalid package name: "") (ineffassign)
    • Line 17: warning: undeclared name: yaml (ineffassign)
    • Line 27: warning: undeclared name: yaml (ineffassign)
    • Line 7: warning: "gopkg.in/yaml.v2" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!