Preparing report...

Report for github.com/theodesp/bisect

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


golint75%

Golint is a linter for Go source code.

    • bisect/bisect.go
    • Line 17: warning: comment on exported function BisectRight should be of the form "BisectRight ..." (golint)
    • Line 34: warning: comment on exported function BisectLeft should be of the form "BisectLeft ..." (golint)
    • Line 56: warning: exported method IntSlice.Len should have comment or be unexported (golint)
    • Line 57: warning: exported method IntSlice.Less should have comment or be unexported (golint)
    • Line 58: warning: exported method IntSlice.Insert should have comment or be unexported (golint)
    • Line 66: warning: comment on exported method IntSlice.InsortRight should be of the form "InsortRight ..." (golint)
    • Line 68: warning: exported method IntSlice.InsortLeft should have comment or be unexported (golint)
    • Line 69: warning: exported method IntSlice.BisectRight should have comment or be unexported (golint)
    • Line 70: warning: exported method IntSlice.BisectLeft should have comment or be unexported (golint)
    • Line 75: warning: exported method StringSlice.Len should have comment or be unexported (golint)
    • Line 76: warning: exported method StringSlice.Less should have comment or be unexported (golint)
    • Line 77: warning: exported method StringSlice.Insert should have comment or be unexported (golint)
    • Line 83: warning: comment on exported method StringSlice.InsortRight should be of the form "InsortRight ..." (golint)
    • Line 85: warning: exported method StringSlice.InsortLeft should have comment or be unexported (golint)
    • Line 86: warning: exported method StringSlice.BisectRight should have comment or be unexported (golint)
    • Line 87: warning: exported method StringSlice.BisectLeft should have comment or be unexported (golint)
    • Line 94: warning: exported method Float64Slice.Len should have comment or be unexported (golint)
    • Line 95: warning: exported method Float64Slice.Less should have comment or be unexported (golint)
    • Line 98: warning: exported method Float64Slice.Insert should have comment or be unexported (golint)
    • Line 111: warning: exported method Float64Slice.InsortLeft should have comment or be unexported (golint)
    • Line 112: warning: exported method Float64Slice.BisectRight should have comment or be unexported (golint)
    • Line 113: warning: exported method Float64Slice.BisectLeft should have comment or be unexported (golint)

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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!