Preparing report...

Report for github.com/JeroenSoeters/wheel

A+    Excellent!    Found 6 issues across 12 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!


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!


golint50%

Golint is a linter for Go source code.

    • wheel/config/config.go
    • Line 10: warning: exported type Config should have comment or be unexported (golint)
    • Line 15: warning: exported function LoadConfig should have comment or be unexported (golint)
    • wheel/command/init.go
    • Line 20: warning: exported method InitCommand.Run should have comment or be unexported (golint)
    • Line 83: warning: exported method InitCommand.Help should have comment or be unexported (golint)
    • Line 96: warning: exported method InitCommand.Synopsis should have comment or be unexported (golint)
    • wheel/aws/cloudformation.go
    • Line 13: warning: exported type CloudFormationService should have comment or be unexported (golint)
    • Line 16: warning: exported function ReadTemplate should have comment or be unexported (golint)
    • Line 26: warning: exported method CloudFormationService.ProvisionBuildEnvironment should have comment or be unexported (golint)
    • Line 50: warning: exported function CreateStack should have comment or be unexported (golint)
    • wheel/aws/event_watcher.go
    • Line 11: warning: exported type StackEventWatcher should have comment or be unexported (golint)
    • Line 18: warning: exported function NewStackEventWatcher should have comment or be unexported (golint)
    • Line 39: warning: exported method StackEventWatcher.Watch should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign66%

IneffAssign detects ineffectual assignments in Go code.

    • wheel/command/init.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/JeroenSoeters/wheel/config (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/JeroenSoeters/wheel/wheel (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/JeroenSoeters/wheel/config (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/JeroenSoeters/wheel/wheel (invalid package name: "") (ineffassign)
    • wheel/commands.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/JeroenSoeters/wheel/aws (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/JeroenSoeters/wheel/command (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/mitchellh/cli (invalid package name: "") (ineffassign)
    • wheel/aws/cloudformation.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/JeroenSoeters/wheel/templates (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/aws/aws-sdk-go/aws (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/aws/aws-sdk-go/aws/session (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/aws/aws-sdk-go/service/cloudformation (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/JeroenSoeters/wheel/templates (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/aws/aws-sdk-go/aws (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/aws/aws-sdk-go/aws/session (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/aws/aws-sdk-go/service/cloudformation (invalid package name: "") (ineffassign)
    • wheel/config/config.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/hashicorp/hcl (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/hashicorp/hcl (invalid package name: "") (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!