Preparing report...

Report for github.com/gopheracademy/gcon

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


golint60%

Golint is a linter for Go source code.

    • gcon/models/sponsor.go
    • Line 5: warning: exported type SponsorList should have comment or be unexported (golint)
    • Line 13: warning: exported function SortedSponsorList should have comment or be unexported (golint)
    • gcon/actions/auth.go
    • Line 9: warning: comment on exported function LoginHandler should be of the form "LoginHandler ..." (golint)
    • Line 15: warning: exported function AuthHandler should have comment or be unexported (golint)
    • gcon/actions/render.go
    • Line 42: warning: exported function Offset should have comment or be unexported (golint)
    • Line 49: warning: exported function RightLeft should have comment or be unexported (golint)
    • gcon/models/presentation.go
    • Line 10: warning: exported type Presentation should have comment or be unexported (golint)
    • Line 45: warning: exported function GetPresentations should have comment or be unexported (golint)
    • gcon/models/helpers.go
    • Line 10: warning: exported type HomePage should have comment or be unexported (golint)
    • Line 17: warning: exported function GetHomePage should have comment or be unexported (golint)
    • gcon/models/ponzi.go
    • Line 16: warning: exported var BaseURL should have comment or be unexported (golint)
    • Line 18: warning: exported type EventListResult should have comment or be unexported (golint)
    • Line 21: warning: exported type HotelListResult should have comment or be unexported (golint)
    • Line 24: warning: exported type PageListResult should have comment or be unexported (golint)
    • Line 27: warning: exported type PresentationListResult should have comment or be unexported (golint)
    • Line 30: warning: exported type SlotListResult should have comment or be unexported (golint)
    • Line 33: warning: exported type SpeakerListResult should have comment or be unexported (golint)
    • Line 36: warning: exported type SponsorListResult should have comment or be unexported (golint)
    • Line 39: warning: exported type WorkshopListResult should have comment or be unexported (golint)
    • Line 93: warning: exported function GetEvent should have comment or be unexported (golint)
    • Line 106: warning: exported function GetHotel should have comment or be unexported (golint)
    • Line 119: warning: exported function GetPage should have comment or be unexported (golint)
    • Line 132: warning: exported function GetPresentation should have comment or be unexported (golint)
    • Line 145: warning: exported function GetSlot should have comment or be unexported (golint)
    • Line 158: warning: exported function GetSpeaker should have comment or be unexported (golint)
    • Line 171: warning: exported function GetSponsor should have comment or be unexported (golint)
    • Line 184: warning: exported function GetWorkshop should have comment or be unexported (golint)
    • Line 198: warning: exported function GetEventBySlug should have comment or be unexported (golint)
    • Line 211: warning: exported function GetHotelBySlug should have comment or be unexported (golint)
    • Line 224: warning: exported function GetPageBySlug should have comment or be unexported (golint)
    • Line 237: warning: exported function GetPresentationBySlug should have comment or be unexported (golint)
    • Line 250: warning: exported function GetSlotBySlug should have comment or be unexported (golint)
    • Line 263: warning: exported function GetSpeakerBySlug should have comment or be unexported (golint)
    • Line 276: warning: exported function GetSponsorBySlug should have comment or be unexported (golint)
    • Line 289: warning: exported function GetWorkshopBySlug should have comment or be unexported (golint)
    • Line 303: warning: exported function GetEventList should have comment or be unexported (golint)
    • Line 316: warning: exported function GetHotelList should have comment or be unexported (golint)
    • Line 329: warning: exported function GetPageList should have comment or be unexported (golint)
    • Line 342: warning: exported function GetPresentationList should have comment or be unexported (golint)
    • Line 355: warning: exported function GetSlotList should have comment or be unexported (golint)
    • Line 368: warning: exported function GetSpeakerList should have comment or be unexported (golint)
    • Line 381: warning: exported function GetSponsorList should have comment or be unexported (golint)
    • Line 394: warning: exported function GetWorkshopList should have comment or be unexported (golint)
    • gcon/models/workshop.go
    • Line 9: warning: exported type Workshop should have comment or be unexported (golint)
    • Line 40: warning: exported function GetWorkshops should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!