Preparing report...

Report for github.com/rwestlund/quickbooks-go

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


golint76%

Golint is a linter for Go source code.

    • quickbooks-go/attachable.go
    • Line 16: warning: exported type ContentType should have comment or be unexported (golint)
    • Line 19: warning: exported const AI should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported type Attachable should have comment or be unexported (golint)
    • Line 58: warning: exported type AttachableRef should have comment or be unexported (golint)
    • quickbooks-go/bill.go
    • Line 10: warning: exported type Bill should have comment or be unexported (golint)
    • Line 36: warning: exported method Client.CreateBill should have comment or be unexported (golint)
    • quickbooks-go/discovery.go
    • Line 10: warning: comment on exported function CallDiscoveryAPI should be of the form "CallDiscoveryAPI ..." (golint)
    • Line 33: warning: exported type DiscoveryAPI should have comment or be unexported (golint)
    • quickbooks-go/invoice.go
    • Line 65: warning: comment on exported type AccountBasedExpenseLineDetail should be of the form "AccountBasedExpenseLineDetail ..." (with optional leading article) (golint)
    • quickbooks-go/token.go
    • Line 15: warning: exported type BearerToken should have comment or be unexported (golint)
    • Line 24: warning: comment on exported method Client.RetrieveBearerToken should be of the form "RetrieveBearerToken ..." (golint)
    • Line 60: warning: comment on exported method Client.RefreshToken should be of the form "RefreshToken ..." (golint)
    • Line 96: warning: comment on exported method Client.RevokeToken should be of the form "RevokeToken ..." (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign92%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!