Preparing report...

Report for github.com/xivapi/xivapi-go

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


gocyclo94%

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.


golint89%

Golint is a linter for Go source code.

    • xivapi-go/freecompany_structs.go
    • Line 5: warning: exported type SearchFreeCompanyResult should have comment or be unexported (golint)
    • Line 10: warning: exported type SearchFreeCompanyResultItem should have comment or be unexported (golint)
    • Line 24: warning: exported type FreeCompanyResult should have comment or be unexported (golint)
    • Line 30: warning: exported type FreeCompanyInfo should have comment or be unexported (golint)
    • Line 35: warning: exported type FreeCompanyState should have comment or be unexported (golint)
    • Line 41: warning: exported type FreeCompany should have comment or be unexported (golint)
    • Line 64: warning: exported type FreeCompanySeeking should have comment or be unexported (golint)
    • Line 70: warning: exported type FreeCompanyReputation should have comment or be unexported (golint)
    • Line 76: warning: exported type FreeCompanyRanking should have comment or be unexported (golint)
    • Line 81: warning: exported type FreeCompanyFocus should have comment or be unexported (golint)
    • Line 87: warning: exported type FreeCompanyEstate should have comment or be unexported (golint)
    • Line 93: warning: exported type FreeCompanyMember should have comment or be unexported (golint)
    • Line 103: warning: exported type FreeCompanyQuery 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!


misspell94%

Misspell Finds commonly misspelled English words