Preparing report...

Report for github.com/stevenayers/clamber

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


golint70%

Golint is a linter for Go source code.

    • clamber/pkg/page/page.go
    • Line 43: warning: exported type JsonResult should have comment or be unexported (golint)
    • Line 53: warning: comment on exported type SQSPage should be of the form "SQSPage ..." (with optional leading article) (golint)
    • Line 185: warning: comment on exported function ConvertPageToSQSPage should be of the form "ConvertPageToSQSPage ..." (golint)
    • Line 194: warning: comment on exported function SerializeJsonPage should be of the form "SerializeJsonPage ..." (golint)
    • Line 201: warning: comment on exported function DeserializeJsonPage should be of the form "DeserializeJsonPage ..." (golint)
    • Line 211: warning: exported function DeserializeSQSPage should have comment or be unexported (golint)
    • Line 228: warning: comment on exported function DeserializePredicate should be of the form "DeserializePredicate ..." (golint)
    • clamber/pkg/config/config.go
    • Line 19: warning: comment on exported type ApiConfig should be of the form "ApiConfig ..." (with optional leading article) (golint)
    • Line 27: warning: comment on exported type ServiceConfig should be of the form "ServiceConfig ..." (with optional leading article) (golint)
    • Line 42: warning: exported type QueueConfig should have comment or be unexported (golint)
    • Line 57: warning: exported var AppConfig should have comment or be unexported (golint)
    • clamber/pkg/queue/queue.go
    • Line 17: warning: exported type Queue should have comment or be unexported (golint)
    • Line 22: warning: exported function NewQueue should have comment or be unexported (golint)
    • Line 63: warning: exported method Queue.Poll should have comment or be unexported (golint)
    • Line 92: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 100: warning: exported method Queue.Publish should have comment or be unexported (golint)
    • clamber/pkg/query/query.go
    • Line 28: warning: exported function New should have comment or be unexported (golint)
    • Line 57: warning: exported method Query.PollForFinishedCrawl should have comment or be unexported (golint)
    • clamber/pkg/crawl/crawl.go
    • Line 36: warning: exported function New should have comment or be unexported (golint)
    • Line 48: warning: exported method Crawler.Start should have comment or be unexported (golint)
    • Line 168: warning: exported method Crawler.FindOrCreateLink should have comment or be unexported (golint)
    • Line 192: warning: exported method Crawler.FindOrCreatePage 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!