Preparing report...

Report for github.com/ikaros/go-reddit

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


golint72%

Golint is a linter for Go source code.

    • go-reddit/reddit/reddit.go
    • Line 44: warning: comment on exported var Version should be of the form "Version ..." (golint)
    • Line 52: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 81: warning: exported method Client.NewRequest should have comment or be unexported (golint)
    • Line 112: warning: exported method Client.Do should have comment or be unexported (golint)
    • Line 154: warning: exported method Client.RateLimitHit should have comment or be unexported (golint)
    • Line 168: warning: exported type ResponseError should have comment or be unexported (golint)
    • Line 220: warning: exported function WrapHTTPTransport should have comment or be unexported (golint)
    • Line 230: warning: exported method HTTPTransport.RoundTrip should have comment or be unexported (golint)
    • Line 240: warning: exported type AccountService should have comment or be unexported (golint)
    • Line 241: warning: exported type CaptchaService should have comment or be unexported (golint)
    • Line 242: warning: exported type FlairService should have comment or be unexported (golint)
    • Line 243: warning: exported type GoldService should have comment or be unexported (golint)
    • Line 244: warning: exported type LinksCommentsService should have comment or be unexported (golint)
    • Line 245: warning: exported type LiveThreadsService should have comment or be unexported (golint)
    • Line 246: warning: exported type PrivateMessagesService should have comment or be unexported (golint)
    • Line 247: warning: exported type ModerationService should have comment or be unexported (golint)
    • Line 248: warning: exported type MultisService should have comment or be unexported (golint)
    • Line 249: warning: exported type SearchService should have comment or be unexported (golint)
    • Line 250: warning: exported type SubredditsService should have comment or be unexported (golint)
    • Line 251: warning: exported type UsersService should have comment or be unexported (golint)
    • Line 252: warning: exported type WikiService should have comment or be unexported (golint)
    • Line 255: warning: exported type Response should have comment or be unexported (golint)
    • go-reddit/reddit/response_types.go
    • Line 53: warning: exported type ListingThing should have comment or be unexported (golint)
    • Line 62: warning: exported type Votable should have comment or be unexported (golint)
    • Line 74: warning: exported type Created should have comment or be unexported (golint)
    • Line 83: warning: exported type Comment should have comment or be unexported (golint)
    • Line 179: warning: exported type Link should have comment or be unexported (golint)
    • Line 304: warning: exported type Subreddit should have comment or be unexported (golint)
    • Line 376: warning: exported type Message should have comment or be unexported (golint)
    • Line 428: warning: comment on exported type Account should be of the form "Account ..." (with optional leading article) (golint)
    • Line 493: warning: comment on exported type More should be of the form "More ..." (with optional leading article) (golint)

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!


ineffassign90%

IneffAssign detects ineffectual assignments in Go code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell90%

Misspell Finds commonly misspelled English words