Preparing report...

Report for github.com/abustany/goretro

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


gocyclo93%

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.


golint37%

Golint is a linter for Go source code.

    • goretro/retro/manager.go
    • Line 14: warning: exported type Manager should have comment or be unexported (golint)
    • Line 21: warning: exported type ConnManager should have comment or be unexported (golint)
    • Line 32: warning: exported function NewManager should have comment or be unexported (golint)
    • goretro/sseconn/client_id.go
    • Line 11: warning: exported type ClientID should have comment or be unexported (golint)
    • Line 13: warning: exported function ClientIDFromString should have comment or be unexported (golint)
    • Line 26: warning: exported function NewClientID should have comment or be unexported (golint)
    • Line 36: warning: exported method ClientID.MarshalJSON should have comment or be unexported (golint)
    • Line 40: warning: exported method ClientID.MarshalText should have comment or be unexported (golint)
    • Line 44: warning: exported method ClientID.IsZero should have comment or be unexported (golint)
    • goretro/sseconn/client_secret.go
    • Line 8: warning: exported type ClientSecret should have comment or be unexported (golint)
    • Line 10: warning: exported function ClientSecretFromString should have comment or be unexported (golint)
    • goretro/sseconn/handler.go
    • Line 63: warning: exported function NewHandler should have comment or be unexported (golint)
    • Line 104: warning: exported method Handler.Close should have comment or be unexported (golint)
    • Line 108: warning: exported method Handler.ListenConnections should have comment or be unexported (golint)
    • Line 117: warning: exported method Handler.Send should have comment or be unexported (golint)
    • Line 134: warning: exported method Handler.Listen should have comment or be unexported (golint)
    • goretro/retro/mood.go
    • Line 5: warning: exported type Mood should have comment or be unexported (golint)
    • Line 8: warning: exported const PositiveMood should have comment (or a comment on this block) or be unexported (golint)
    • goretro/retro/retro.go
    • Line 9: warning: exported type Retro should have comment or be unexported (golint)
    • Line 19: warning: exported type SerializedRetro should have comment or be unexported (golint)
    • Line 28: warning: exported function NewRetro should have comment or be unexported (golint)
    • Line 37: warning: exported method Retro.AddParticipant should have comment or be unexported (golint)
    • Line 89: warning: exported method Retro.RemoveParticipant should have comment or be unexported (golint)
    • Line 132: warning: exported method Retro.UpdateParticipant should have comment or be unexported (golint)
    • Line 162: warning: exported method Retro.SetState should have comment or be unexported (golint)
    • Line 197: warning: exported method Retro.SaveNote should have comment or be unexported (golint)
    • Line 234: warning: exported method Retro.SetFinishedWriting should have comment or be unexported (golint)
    • goretro/retro/state.go
    • Line 5: warning: exported type State should have comment or be unexported (golint)
    • Line 8: warning: exported const WaitingForParticipants should have comment (or a comment on this block) 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!