Preparing report...

Report for github.com/friendly-bot/plugins

B    Not bad!    Found 10 issues across 9 files

Tweet

gofmt88%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


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!


gocyclo88%

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.


golint0%

Golint is a linter for Go source code.

    • plugins/echo/echo.go
    • Line 9: warning: exported type Echo should have comment or be unexported (golint)
    • Line 11: warning: exported function NewOnMessage should have comment or be unexported (golint)
    • Line 15: warning: exported method Echo.OnMessage should have comment or be unexported (golint)
    • plugins/ping/ping.go
    • Line 8: warning: exported type Ping should have comment or be unexported (golint)
    • Line 12: warning: exported function NewJob should have comment or be unexported (golint)
    • Line 16: warning: exported method Ping.Run should have comment or be unexported (golint)
    • plugins/random_reaction/random_reaction.go
    • Line 13: warning: exported type RandomReaction should have comment or be unexported (golint)
    • Line 22: warning: exported function NewOnMessage should have comment or be unexported (golint)
    • Line 31: warning: exported method RandomReaction.OnMessage should have comment or be unexported (golint)
    • plugins/random_coffee/random_coffee.go
    • Line 16: warning: exported type RandomCoffee should have comment or be unexported (golint)
    • Line 36: warning: exported function NewJob should have comment or be unexported (golint)
    • Line 48: warning: exported method RandomCoffee.Run should have comment or be unexported (golint)
    • plugins/keyword_reaction/keyword_reaction.go
    • Line 11: warning: exported type KeywordReaction should have comment or be unexported (golint)
    • Line 15: warning: exported function NewOnMessage should have comment or be unexported (golint)
    • Line 34: warning: exported method KeywordReaction.OnMessage should have comment or be unexported (golint)
    • plugins/run_command/run_command.go
    • Line 16: warning: exported type RunCommand should have comment or be unexported (golint)
    • Line 23: warning: exported function NewJob should have comment or be unexported (golint)
    • Line 32: warning: exported method RunCommand.Run should have comment or be unexported (golint)
    • plugins/movie_announcement/movie_announcement.go
    • Line 23: warning: exported const ReleaseStateReprise should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type MovieAnnouncement should have comment or be unexported (golint)
    • Line 42: warning: exported type MovieList should have comment or be unexported (golint)
    • Line 119: warning: exported type Link should have comment or be unexported (golint)
    • Line 125: warning: exported type Links should have comment or be unexported (golint)
    • Line 128: warning: exported function NewJob should have comment or be unexported (golint)
    • Line 137: warning: exported method MovieAnnouncement.Run should have comment or be unexported (golint)
    • Line 226: warning: exported method Genres.AllGenres should have comment or be unexported (golint)
    • Line 236: warning: exported method Links.GetHrefFor should have comment or be unexported (golint)

license0%

Checks whether your project has a LICENSE file.


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!