Preparing report...

Report for github.com/Villenny/jsonparserHelper-go

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


gocyclo50%

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.


golint0%

Golint is a linter for Go source code.

    • jsonparserHelper-go/jsonparserHelper.go
    • Line 1: warning: don't use MixedCaps in package name; jsonparserHelper should be jsonparserhelper (golint)
    • Line 21: warning: exported function BytesAsString should have comment or be unexported (golint)
    • Line 31: warning: exported function StringAsBytes should have comment or be unexported (golint)
    • Line 44: warning: exported type JsonparserResult should have comment or be unexported (golint)
    • Line 52: warning: exported function MakeJsonparserResult should have comment or be unexported (golint)
    • Line 63: warning: exported method JsonparserResult.GetUnsafeStringOrEmpty should have comment or be unexported (golint)
    • Line 72: warning: exported method JsonparserResult.GetInt64OrZero should have comment or be unexported (golint)
    • Line 87: warning: exported method JsonparserResult.GetFloatOrZero should have comment or be unexported (golint)
    • Line 102: warning: exported method JsonparserResult.GetIntOrZero should have comment or be unexported (golint)
    • Line 106: warning: don't use underscores in Go names; const JsonparserValueType_UnsafeString should be JsonparserValueTypeUnsafeString (golint)
    • Line 106: warning: exported const JsonparserValueType_UnsafeString should have comment or be unexported (golint)
    • Line 107: warning: don't use underscores in Go names; const JsonparserValueType_Int64 should be JsonparserValueTypeInt64 (golint)
    • Line 107: warning: exported const JsonparserValueType_Int64 should have comment or be unexported (golint)
    • Line 108: warning: don't use underscores in Go names; const JsonparserValueType_Int should be JsonparserValueTypeInt (golint)
    • Line 108: warning: exported const JsonparserValueType_Int should have comment or be unexported (golint)
    • Line 109: warning: don't use underscores in Go names; const JsonparserValueType_Float64 should be JsonparserValueTypeFloat64 (golint)
    • Line 109: warning: exported const JsonparserValueType_Float64 should have comment or be unexported (golint)
    • Line 110: warning: don't use underscores in Go names; const JsonparserValueType_ByteArray should be JsonparserValueTypeByteArray (golint)
    • Line 110: warning: exported const JsonparserValueType_ByteArray should have comment or be unexported (golint)
    • Line 112: warning: exported type JsonparserValue should have comment or be unexported (golint)
    • Line 117: warning: exported function UnsafeStringValue should have comment or be unexported (golint)
    • Line 121: warning: exported function Int64Value should have comment or be unexported (golint)
    • Line 125: warning: exported function IntValue should have comment or be unexported (golint)
    • Line 129: warning: exported function Float64Value should have comment or be unexported (golint)
    • Line 133: warning: exported function ByteArrayValue should have comment or be unexported (golint)
    • Line 137: warning: exported type Parser should have comment or be unexported (golint)
    • Line 142: warning: exported type Parsers should have comment or be unexported (golint)
    • Line 144: warning: comment on exported function MakeParser should be of the form "MakeParser ..." (golint)
    • Line 149: warning: exported method Parsers.Add should have comment or be unexported (golint)
    • Line 153: warning: exported function RunParser should have comment or be unexported (golint)
    • jsonparserHelper-go/jsonparserHelper_test.go
    • Line 1: warning: don't use MixedCaps in package name; jsonparserHelper should be jsonparserhelper (golint)
    • Line 198: warning: don't use underscores in Go names; const BidResponse_Banner should be BidResponseBanner (golint)
    • Line 223: warning: don't use underscores in Go names; var BidResponse_Banner_Paths should be BidResponseBannerPaths (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!