Preparing report...

Report for github.com/go-dummy/dummy

(v0.1.3)

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


gocyclo95%

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.


golint93%

Golint is a linter for Go source code.

    • internal/api/apischema.go
    • Line 3: warning: exported type API should have comment or be unexported (golint)
    • Line 7: warning: exported type Operation should have comment or be unexported (golint)
    • Line 14: warning: exported type FieldType should have comment or be unexported (golint)
    • Line 19: warning: exported type Response should have comment or be unexported (golint)
    • Line 27: warning: exported method Response.ExampleValue should have comment or be unexported (golint)
    • Line 44: warning: exported type Schema should have comment or be unexported (golint)
    • Line 48: warning: exported type BooleanSchema should have comment or be unexported (golint)
    • Line 52: warning: exported method BooleanSchema.ExampleValue should have comment or be unexported (golint)
    • Line 56: warning: exported type IntSchema should have comment or be unexported (golint)
    • Line 60: warning: exported method IntSchema.ExampleValue should have comment or be unexported (golint)
    • Line 64: warning: exported type FloatSchema should have comment or be unexported (golint)
    • Line 68: warning: exported method FloatSchema.ExampleValue should have comment or be unexported (golint)
    • Line 72: warning: exported type StringSchema should have comment or be unexported (golint)
    • Line 76: warning: exported method StringSchema.ExampleValue should have comment or be unexported (golint)
    • Line 80: warning: exported type ArraySchema should have comment or be unexported (golint)
    • Line 85: warning: exported method ArraySchema.ExampleValue should have comment or be unexported (golint)
    • Line 93: warning: exported type ObjectSchema should have comment or be unexported (golint)
    • Line 98: warning: exported method ObjectSchema.ExampleValue should have comment or be unexported (golint)
    • Line 112: warning: exported type FakerSchema should have comment or be unexported (golint)
    • Line 116: warning: exported method FakerSchema.ExampleValue should have comment or be unexported (golint)
    • internal/api/find.go
    • Line 11: warning: exported type FindResponseError should have comment or be unexported (golint)
    • Line 20: warning: exported type FindResponseParams should have comment or be unexported (golint)
    • Line 27: warning: exported var ErrEmptyRequireField should have comment or be unexported (golint)
    • Line 29: warning: exported method API.FindResponse 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!