Preparing report...

Report for github.com/kak-tus/nan

A+    Excellent!    Found 8 issues across 42 files

Tweet

gofmt97%

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


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!


golint92%

Golint is a linter for Go source code.

    • nan/example/structs2.go
    • Line 3: warning: exported type MyStruct2 should have comment or be unexported (golint)
    • Line 10: warning: comment on exported type MyStruct3 should be of the form "MyStruct3 ..." (with optional leading article) (golint)
    • nan/nan.go
    • Line 19: warning: exported method NullInt64.IsValid should have comment or be unexported (golint)
    • Line 23: warning: exported method NullInt64.IsDefined should have comment or be unexported (golint)
    • Line 34: warning: exported method NullInt32.IsValid should have comment or be unexported (golint)
    • Line 38: warning: exported method NullInt32.IsDefined should have comment or be unexported (golint)
    • Line 49: warning: exported method NullInt16.IsValid should have comment or be unexported (golint)
    • Line 53: warning: exported method NullInt16.IsDefined should have comment or be unexported (golint)
    • Line 64: warning: exported method NullInt8.IsValid should have comment or be unexported (golint)
    • Line 68: warning: exported method NullInt8.IsDefined should have comment or be unexported (golint)
    • Line 79: warning: exported method NullInt.IsValid should have comment or be unexported (golint)
    • Line 83: warning: exported method NullInt.IsDefined should have comment or be unexported (golint)
    • Line 94: warning: exported method NullTime.IsValid should have comment or be unexported (golint)
    • Line 98: warning: exported method NullTime.IsDefined should have comment or be unexported (golint)
    • Line 109: warning: exported method NullString.IsValid should have comment or be unexported (golint)
    • Line 113: warning: exported method NullString.IsDefined should have comment or be unexported (golint)
    • Line 124: warning: exported method NullBool.IsValid should have comment or be unexported (golint)
    • Line 128: warning: exported method NullBool.IsDefined should have comment or be unexported (golint)
    • Line 139: warning: exported method NullFloat64.IsValid should have comment or be unexported (golint)
    • Line 143: warning: exported method NullFloat64.IsDefined should have comment or be unexported (golint)
    • Line 154: warning: exported method NullFloat32.IsValid should have comment or be unexported (golint)
    • Line 158: warning: exported method NullFloat32.IsDefined should have comment or be unexported (golint)
    • nan/example/structs.go
    • Line 9: warning: exported type MyStruct should have comment or be unexported (golint)
    • Line 14: warning: exported method MyStruct.Value should have comment or be unexported (golint)
    • Line 20: warning: exported method MyStruct.Scan should have comment or be unexported (golint)
    • Line 28: warning: exported method MyStruct.MarshalCQL should have comment or be unexported (golint)
    • Line 34: warning: exported method MyStruct.UnmarshalCQL should have comment or be unexported (golint)

gocyclo88%

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.


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!