Preparing report...

Report for github.com/turbinelabs/nonstdlib

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


golint96%

Golint is a linter for Go source code.

    • nonstdlib/arrays/equal.go
    • Line 19: warning: exported function EqualInt should have comment or be unexported (golint)
    • Line 23: warning: comment on exported function CompareIntSlices should be of the form "CompareIntSlices ..." (golint)
    • Line 47: warning: exported function EqualInt64 should have comment or be unexported (golint)
    • Line 51: warning: comment on exported function CompareInt64Slices should be of the form "CompareInt64Slices ..." (golint)
    • Line 75: warning: exported function EqualFloat64 should have comment or be unexported (golint)
    • Line 79: warning: comment on exported function CompareFloat64Slices should be of the form "CompareFloat64Slices ..." (golint)
    • Line 103: warning: exported function EqualString should have comment or be unexported (golint)
    • Line 107: warning: comment on exported function CompareStringSlices should be of the form "CompareStringSlices ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.

    • nonstdlib/time/controlled_source_test.go
    • Line 163: warning: ineffectual assignment to ok (ineffassign)
    • Line 166: warning: ineffectual assignment to ok (ineffassign)
    • Line 169: warning: ineffectual assignment to ok (ineffassign)
    • Line 202: warning: ineffectual assignment to ok (ineffassign)
    • Line 210: warning: ineffectual assignment to ok (ineffassign)
    • Line 218: warning: ineffectual assignment to ok (ineffassign)
    • Line 245: warning: ineffectual assignment to ok (ineffassign)
    • Line 247: warning: ineffectual assignment to ok (ineffassign)
    • Line 249: warning: ineffectual assignment to ok (ineffassign)

misspell0%

Misspell Finds commonly misspelled English words

An error occurred while running this test (exit status 3)