Preparing report...

Report for github.com/m1kc/go-cswizard

A    Great!    Found 3 issues across 3 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!


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!


golint33%

Golint is a linter for Go source code.

    • go-cswizard/cswizard.go
    • Line 90: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 100: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 107: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)
    • Line 115: warning: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign33%

IneffAssign detects ineffectual assignments in Go code.

    • go-cswizard/cswizard_test.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/m1kc/go-cswizard (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/smartystreets/goconvey/convey (invalid package name: "") (ineffassign)
    • Line 15: warning: undeclared name: Convey (ineffassign)
    • Line 16: warning: undeclared name: Convey (ineffassign)
    • Line 22: warning: undeclared name: cswizard (ineffassign)
    • Line 32: warning: undeclared name: So (ineffassign)
    • Line 32: warning: undeclared name: ShouldBeNil (ineffassign)
    • Line 37: warning: undeclared name: So (ineffassign)
    • Line 37: warning: undeclared name: ShouldBeNil (ineffassign)
    • Line 41: warning: undeclared name: So (ineffassign)
    • Line 41: warning: undeclared name: ShouldEqual (ineffassign)
    • Line 44: warning: undeclared name: Convey (ineffassign)
    • Line 45: warning: undeclared name: Convey (ineffassign)
    • Line 48: warning: undeclared name: cswizard (ineffassign)
    • Line 52: warning: undeclared name: So (ineffassign)
    • Line 54: warning: undeclared name: ShouldPanic (ineffassign)
    • Line 58: warning: undeclared name: Convey (ineffassign)
    • Line 61: warning: undeclared name: cswizard (ineffassign)
    • Line 66: warning: undeclared name: So (ineffassign)
    • Line 68: warning: undeclared name: ShouldPanic (ineffassign)
    • Line 69: warning: undeclared name: So (ineffassign)
    • Line 71: warning: undeclared name: ShouldPanic (ineffassign)
    • Line 4: warning: "github.com/m1kc/go-cswizard" imported but not used (ineffassign)
    • Line 10: warning: "github.com/smartystreets/goconvey/convey" imported but not used (ineffassign)
    • go-cswizard/example/example.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/m1kc/go-cswizard (invalid package name: "") (ineffassign)
    • Line 26: warning: undeclared name: cswizard (ineffassign)
    • Line 8: warning: "github.com/m1kc/go-cswizard" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!