Preparing report...

Report for github.com/muety/kitsquid

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


gocyclo92%

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.


golint83%

Golint is a linter for Go source code.

    • kitsquid/app/scraping/events.go
    • Line 19: warning: exported type FetchEventsJob should have comment or be unexported (golint)
    • Line 55: warning: exported type EventScraper should have comment or be unexported (golint)
    • Line 57: warning: exported function NewEventScraper should have comment or be unexported (golint)
    • Line 61: warning: exported method EventScraper.Schedule should have comment or be unexported (golint)
    • Line 64: warning: exported method EventScraper.Run should have comment or be unexported (golint)
    • kitsquid/app/web/middleware.go
    • Line 9: warning: exported function ErrorHandle should have comment or be unexported (golint)
    • Line 37: warning: exported function ApiErrorHandle should have comment or be unexported (golint)
    • Line 57: warning: exported function TemplateContext should have comment or be unexported (golint)
    • Line 65: warning: exported function RemoteIp should have comment or be unexported (golint)
    • kitsquid/app/events/routes.go
    • Line 208: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • kitsquid/app/migrations/migrations.go
    • Line 10: warning: exported type Migration should have comment or be unexported (golint)
    • Line 17: warning: exported type PersistedMigration should have comment or be unexported (golint)
    • Line 35: warning: exported function RunAll should have comment or be unexported (golint)
    • kitsquid/app/config/config.go
    • Line 28: warning: exported const SessionKey should have comment (or a comment on this block) or be unexported (golint)
    • Line 89: warning: exported function Get should have comment or be unexported (golint)
    • Line 93: warning: exported function Db should have comment or be unexported (golint)
    • Line 97: warning: exported function EventBus should have comment or be unexported (golint)
    • kitsquid/app/scraping/event_details.go
    • Line 28: warning: exported type FetchDetailsJob should have comment or be unexported (golint)
    • Line 32: warning: exported type EventDetailsScraper should have comment or be unexported (golint)
    • Line 34: warning: exported function NewEventDetailsScraper should have comment or be unexported (golint)
    • Line 38: warning: exported method EventDetailsScraper.Schedule should have comment or be unexported (golint)
    • Line 41: warning: exported method EventDetailsScraper.Run should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign95%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!