Preparing report...

Report for github.com/bcneng/candebot

A    Great!    Found 14 issues across 17 files

Tweet

gofmt94%

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.


golint29%

Golint is a linter for Go source code.

    • candebot/cmd/netiquette.go
    • Line 10: warning: exported type Netiquette should have comment or be unexported (golint)
    • Line 12: warning: exported method Netiquette.Run should have comment or be unexported (golint)
    • candebot/cmd/version.go
    • Line 10: warning: exported type Version should have comment or be unexported (golint)
    • Line 12: warning: exported method Version.Run should have comment or be unexported (golint)
    • candebot/slackx/slack.go
    • Line 13: warning: exported function SendEphemeral should have comment or be unexported (golint)
    • Line 26: warning: exported function Send should have comment or be unexported (golint)
    • Line 38: warning: exported function FindChannelIDByName should have comment or be unexported (golint)
    • Line 75: warning: exported function LinkToMessage should have comment or be unexported (golint)
    • candebot/cmd/candebirthday.go
    • Line 13: warning: exported type CandeBirthday should have comment or be unexported (golint)
    • Line 15: warning: exported method CandeBirthday.Run should have comment or be unexported (golint)
    • candebot/cmd/contest.go
    • Line 14: warning: exported const TwitterContestURL should have comment or be unexported (golint)
    • Line 16: warning: exported type Contest should have comment or be unexported (golint)
    • Line 22: warning: exported method Contest.Run should have comment or be unexported (golint)
    • candebot/cmd/echo.go
    • Line 11: warning: exported type Echo should have comment or be unexported (golint)
    • Line 16: warning: exported method Echo.Run should have comment or be unexported (golint)
    • candebot/cmd/help.go
    • Line 7: warning: exported type Help should have comment or be unexported (golint)
    • Line 9: warning: exported method Help.Run should have comment or be unexported (golint)
    • candebot/cmd/staff.go
    • Line 12: warning: exported type Staff should have comment or be unexported (golint)
    • Line 14: warning: exported method Staff.Run should have comment or be unexported (golint)
    • candebot/cmd/cmd.go
    • Line 12: warning: exported type SlackContext should have comment or be unexported (golint)
    • Line 20: warning: exported type BotContext should have comment or be unexported (golint)
    • Line 34: warning: exported method BotContext.IsStaff should have comment or be unexported (golint)
    • Line 48: warning: exported method BotContext.VerifyRequest should have comment or be unexported (golint)
    • Line 62: warning: exported type CLI should have comment or be unexported (golint)
    • Line 73: warning: exported function NewCLI should have comment or be unexported (golint)
    • candebot/cmd/coc.go
    • Line 10: warning: exported type Coc should have comment or be unexported (golint)
    • Line 12: warning: exported method Coc.Run 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!


misspell94%

Misspell Finds commonly misspelled English words

    • candebot/inclusion/language.go
    • Line 43: warning: "etiquete" is a misspelling of "etiquette" (misspell)
    • Line 44: warning: "etiquete" is a misspelling of "etiquette" (misspell)
    • Line 47: warning: "intelectual" is a misspelling of "intellectual" (misspell)
    • Line 48: warning: "intelectual" is a misspelling of "intellectual" (misspell)