Preparing report...

Report for github.com/evalphobia/bobo-experiment

A    Great!    Found 12 issues across 14 files

Tweet

gofmt92%

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!


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!


golint14%

Golint is a linter for Go source code.

    • bobo-experiment/i18n/lang.go
    • Line 32: warning: exported function Message should have comment or be unexported (golint)
    • Line 36: warning: exported function CommaNumber should have comment or be unexported (golint)
    • bobo-experiment/experiment/faceplusplus/example_command_merge.go
    • Line 22: warning: exported type MergeCommand should have comment or be unexported (golint)
    • Line 34: warning: exported method MergeCommand.GetMentionCommand should have comment or be unexported (golint)
    • Line 38: warning: exported method MergeCommand.GetHelp should have comment or be unexported (golint)
    • Line 42: warning: exported method MergeCommand.HasHelp should have comment or be unexported (golint)
    • Line 46: warning: exported method MergeCommand.GetRegexp should have comment or be unexported (golint)
    • Line 50: warning: exported method MergeCommand.Exec should have comment or be unexported (golint)
    • bobo-experiment/experiment/google/example_command_room.go
    • Line 18: warning: exported type RoomCommand should have comment or be unexported (golint)
    • Line 22: warning: exported method RoomCommand.GetMentionCommand should have comment or be unexported (golint)
    • Line 26: warning: exported method RoomCommand.GetHelp should have comment or be unexported (golint)
    • Line 30: warning: exported method RoomCommand.HasHelp should have comment or be unexported (golint)
    • Line 34: warning: exported method RoomCommand.GetRegexp should have comment or be unexported (golint)
    • Line 38: warning: exported method RoomCommand.Exec should have comment or be unexported (golint)
    • Line 152: warning: exported type RoomEvents should have comment or be unexported (golint)
    • Line 174: warning: exported type RoomEvent should have comment or be unexported (golint)
    • bobo-experiment/experiment/aws/example_command_sqs_purge.go
    • Line 16: warning: exported type SQSPurgeCommand should have comment or be unexported (golint)
    • Line 28: warning: exported method SQSPurgeCommand.GetMentionCommand should have comment or be unexported (golint)
    • Line 32: warning: exported method SQSPurgeCommand.GetHelp should have comment or be unexported (golint)
    • Line 36: warning: exported method SQSPurgeCommand.HasHelp should have comment or be unexported (golint)
    • Line 40: warning: exported method SQSPurgeCommand.GetRegexp should have comment or be unexported (golint)
    • Line 44: warning: exported method SQSPurgeCommand.Exec should have comment or be unexported (golint)
    • bobo-experiment/experiment/aws/example_command_sqs.go
    • Line 20: warning: exported type SQSCommand should have comment or be unexported (golint)
    • Line 26: warning: exported method SQSCommand.GetMentionCommand should have comment or be unexported (golint)
    • Line 30: warning: exported method SQSCommand.GetHelp should have comment or be unexported (golint)
    • Line 34: warning: exported method SQSCommand.HasHelp should have comment or be unexported (golint)
    • Line 38: warning: exported method SQSCommand.GetRegexp should have comment or be unexported (golint)
    • Line 42: warning: exported method SQSCommand.Exec should have comment or be unexported (golint)
    • bobo-experiment/experiment/faceplusplus/example_command_merge_target.go
    • Line 19: warning: exported type MergeTargetCommand should have comment or be unexported (golint)
    • Line 35: warning: exported method MergeTargetCommand.GetMentionCommand should have comment or be unexported (golint)
    • Line 39: warning: exported method MergeTargetCommand.GetHelp should have comment or be unexported (golint)
    • Line 43: warning: exported method MergeTargetCommand.HasHelp should have comment or be unexported (golint)
    • Line 47: warning: exported method MergeTargetCommand.GetRegexp should have comment or be unexported (golint)
    • Line 51: warning: exported method MergeTargetCommand.Exec should have comment or be unexported (golint)
    • bobo-experiment/experiment/aws/cloudwatch.go
    • Line 40: warning: exported type Datapoint should have comment or be unexported (golint)
    • Line 46: warning: exported type Datapoints should have comment or be unexported (golint)
    • Line 48: warning: exported function NewDatapoints should have comment or be unexported (golint)
    • Line 73: warning: exported method Datapoints.GetFirstValue should have comment or be unexported (golint)
    • bobo-experiment/experiment/aws/example_command_awscost_cloudwatch.go
    • Line 15: warning: exported type CostCommandByCloudWatch should have comment or be unexported (golint)
    • Line 19: warning: exported method CostCommandByCloudWatch.GetMentionCommand should have comment or be unexported (golint)
    • Line 23: warning: exported method CostCommandByCloudWatch.GetHelp should have comment or be unexported (golint)
    • Line 27: warning: exported method CostCommandByCloudWatch.HasHelp should have comment or be unexported (golint)
    • Line 31: warning: exported method CostCommandByCloudWatch.GetRegexp should have comment or be unexported (golint)
    • Line 35: warning: exported method CostCommandByCloudWatch.Exec should have comment or be unexported (golint)
    • bobo-experiment/experiment/aws/example_command_awscost_costexplorer.go
    • Line 15: warning: exported type CostCommandByCostExplorer should have comment or be unexported (golint)
    • Line 19: warning: exported method CostCommandByCostExplorer.GetMentionCommand should have comment or be unexported (golint)
    • Line 23: warning: exported method CostCommandByCostExplorer.GetHelp should have comment or be unexported (golint)
    • Line 27: warning: exported method CostCommandByCostExplorer.HasHelp should have comment or be unexported (golint)
    • Line 31: warning: exported method CostCommandByCostExplorer.GetRegexp should have comment or be unexported (golint)
    • Line 35: warning: exported method CostCommandByCostExplorer.Exec should have comment or be unexported (golint)
    • bobo-experiment/experiment/aws/example_command_dynamodb.go
    • Line 20: warning: exported type DynamoDBCommand should have comment or be unexported (golint)
    • Line 26: warning: exported method DynamoDBCommand.GetMentionCommand should have comment or be unexported (golint)
    • Line 30: warning: exported method DynamoDBCommand.GetHelp should have comment or be unexported (golint)
    • Line 34: warning: exported method DynamoDBCommand.HasHelp should have comment or be unexported (golint)
    • Line 38: warning: exported method DynamoDBCommand.GetRegexp should have comment or be unexported (golint)
    • Line 42: warning: exported method DynamoDBCommand.Exec 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!


misspell92%

Misspell Finds commonly misspelled English words