Preparing report...

Report for github.com/mantyr/prefixtree

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


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!


ineffassign71%

IneffAssign detects ineffectual assignments in Go code.

    • prefixtree/node_test.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/smartystreets/goconvey/convey (invalid package name: "") (ineffassign)
    • Line 20: warning: undeclared name: Convey (ineffassign)
    • Line 21: warning: undeclared name: So (ineffassign)
    • Line 21: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 22: warning: undeclared name: So (ineffassign)
    • Line 22: warning: undeclared name: ShouldEqual (ineffassign)
    • Line 25: warning: undeclared name: Convey (ineffassign)
    • Line 26: warning: undeclared name: So (ineffassign)
    • Line 26: warning: undeclared name: ShouldBeNil (ineffassign)
    • Line 41: warning: undeclared name: Convey (ineffassign)
    • Line 42: warning: undeclared name: So (ineffassign)
    • Line 42: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 43: warning: undeclared name: So (ineffassign)
    • Line 43: warning: undeclared name: ShouldEqual (ineffassign)
    • Line 46: warning: undeclared name: Convey (ineffassign)
    • Line 47: warning: undeclared name: So (ineffassign)
    • Line 47: warning: undeclared name: ShouldBeNil (ineffassign)
    • Line 48: warning: undeclared name: So (ineffassign)
    • Line 48: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 49: warning: undeclared name: So (ineffassign)
    • Line 49: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 50: warning: undeclared name: So (ineffassign)
    • Line 52: warning: undeclared name: ShouldResemble (ineffassign)
    • Line 55: warning: undeclared name: So (ineffassign)
    • Line 55: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 56: warning: undeclared name: So (ineffassign)
    • Line 58: warning: undeclared name: ShouldResemble (ineffassign)
    • Line 66: warning: undeclared name: Convey (ineffassign)
    • Line 68: warning: undeclared name: So (ineffassign)
    • Line 68: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 69: warning: undeclared name: So (ineffassign)
    • Line 69: warning: undeclared name: ShouldEqual (ineffassign)
    • Line 80: warning: undeclared name: Convey (ineffassign)
    • Line 81: warning: undeclared name: So (ineffassign)
    • Line 83: warning: undeclared name: ShouldResemble (ineffassign)
    • Line 95: warning: undeclared name: Convey (ineffassign)
    • Line 96: warning: undeclared name: Convey (ineffassign)
    • Line 102: warning: undeclared name: Convey (ineffassign)
    • Line 8: warning: "github.com/smartystreets/goconvey/convey" imported but not used (ineffassign)
    • prefixtree/token_test.go
    • Line 11: warning: undeclared name: Convey (ineffassign)
    • Line 63: warning: undeclared name: Printf (ineffassign)
    • Line 65: warning: undeclared name: Printf (ineffassign)
    • Line 68: warning: undeclared name: So (ineffassign)
    • Line 68: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 72: warning: undeclared name: So (ineffassign)
    • Line 72: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 73: warning: undeclared name: So (ineffassign)
    • Line 75: warning: undeclared name: ShouldEqual (ineffassign)
    • Line 79: warning: undeclared name: So (ineffassign)
    • Line 79: warning: undeclared name: ShouldBeNil (ineffassign)
    • Line 80: warning: undeclared name: So (ineffassign)
    • Line 80: warning: undeclared name: ShouldNotBeNil (ineffassign)
    • Line 81: warning: undeclared name: So (ineffassign)
    • Line 83: warning: undeclared name: ShouldResemble (ineffassign)
    • Line 7: warning: "github.com/smartystreets/goconvey/convey" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!