Preparing report...

Report for git.randomchars.net/Reviath/RemiliaScarlet

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


golint79%

Golint is a linter for Go source code.

    • /git.randomchars.net/Reviath/RemiliaScarlet/interactions/interactions.go
    • Line 10: warning: exported var EndpointApplicationNoOauth should have comment or be unexported (golint)
    • Line 31: warning: exported const OptionTypeSubCommand should have comment (or a comment on this block) or be unexported (golint)
    • Line 74: warning: exported const InteractionTypePing should have comment (or a comment on this block) or be unexported (golint)
    • Line 114: warning: exported const InteractionResponseTypePong should have comment (or a comment on this block) or be unexported (golint)
    • /git.randomchars.net/Reviath/RemiliaScarlet/handler/handler.go
    • Line 11: warning: exported method CommandHandler.GetCheckPermissions should have comment or be unexported (golint)
    • Line 15: warning: exported method CommandHandler.SetCheckPermissions should have comment or be unexported (golint)
    • Line 19: warning: exported method CommandHandler.GetEnable should have comment or be unexported (golint)
    • Line 23: warning: exported method CommandHandler.SetEnable should have comment or be unexported (golint)
    • Line 27: warning: exported method CommandHandler.GetIgnoreBots should have comment or be unexported (golint)
    • Line 31: warning: exported method CommandHandler.SetIgnoreBots should have comment or be unexported (golint)
    • Line 35: warning: exported method CommandHandler.GetUseState should have comment or be unexported (golint)
    • Line 39: warning: exported method CommandHandler.SetUseState should have comment or be unexported (golint)
    • Line 43: warning: exported method CommandHandler.AddPrefix should have comment or be unexported (golint)
    • Line 47: warning: exported method CommandHandler.RemovePrefix should have comment or be unexported (golint)
    • Line 59: warning: exported method CommandHandler.GetAllPrefixes should have comment or be unexported (golint)
    • Line 63: warning: exported method CommandHandler.SetAllPrefixes should have comment or be unexported (golint)
    • Line 67: warning: exported method CommandHandler.ClearDebugFunc should have comment or be unexported (golint)
    • Line 71: warning: exported method CommandHandler.GetDebugFunc should have comment or be unexported (golint)
    • Line 75: warning: exported method CommandHandler.SetDebugFunc should have comment or be unexported (golint)
    • Line 79: warning: exported method CommandHandler.ClearOnErrorFunc should have comment or be unexported (golint)
    • Line 83: warning: exported method CommandHandler.GetOnErrorFunc should have comment or be unexported (golint)
    • Line 87: warning: exported method CommandHandler.SetOnErrorFunc should have comment or be unexported (golint)
    • Line 91: warning: exported method CommandHandler.ClearPrerunFunc should have comment or be unexported (golint)
    • Line 97: warning: exported method CommandHandler.GetPrerunFunc should have comment or be unexported (golint)
    • Line 101: warning: exported method CommandHandler.SetPrerunFunc should have comment or be unexported (golint)
    • Line 105: warning: exported method CommandHandler.AddCommand should have comment or be unexported (golint)
    • Line 131: warning: exported method CommandHandler.RemoveCommand should have comment or be unexported (golint)
    • Line 145: warning: exported method CommandHandler.GetHelpCommand should have comment or be unexported (golint)
    • Line 149: warning: exported method CommandHandler.SetHelpCommand should have comment or be unexported (golint)
    • Line 167: warning: exported method CommandHandler.ClearHelpCommand should have comment or be unexported (golint)
    • Line 171: warning: exported method CommandHandler.AddOwner should have comment or be unexported (golint)
    • Line 175: warning: exported method CommandHandler.RemoveOwner should have comment or be unexported (golint)
    • Line 184: warning: exported method CommandHandler.SetOwners should have comment or be unexported (golint)
    • Line 188: warning: exported method CommandHandler.GetOwners should have comment or be unexported (golint)
    • Line 192: warning: exported method CommandHandler.IsOwner should have comment or be unexported (golint)
    • Line 285: warning: comment on exported method CommandHandler.MessageHandler should be of the form "MessageHandler ..." (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!