Preparing report...

Report for github.com/WindomZ/go-commander

A+    Excellent!    Found 10 issues across 38 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!


golint73%

Golint is a linter for Go source code.

    • go-commander/format.go
    • Line 8: warning: exported var Format should have comment or be unexported (golint)
    • Line 10: warning: exported type Formatter should have comment or be unexported (golint)
    • go-commander/action.go
    • Line 3: warning: comment on exported type Action should be of the form "Action ..." (with optional leading article) (golint)
    • Line 3: warning: comment on exported type ActionNative should be of the form "ActionNative ..." (with optional leading article) (golint)
    • Line 3: warning: comment on exported type ActionNativeDocopt should be of the form "ActionNativeDocopt ..." (with optional leading article) (golint)
    • Line 3: warning: comment on exported type ActionNativeSimple should be of the form "ActionNativeSimple ..." (with optional leading article) (golint)
    • Line 3: warning: comment on exported type ActionNormal should be of the form "ActionNormal ..." (with optional leading article) (golint)
    • Line 3: warning: comment on exported type ActionResult should be of the form "ActionResult ..." (with optional leading article) (golint)
    • Line 3: warning: comment on exported type ActionSimple should be of the form "ActionSimple ..." (with optional leading article) (golint)
    • go-commander/exec.go
    • Line 12: warning: exported var Exec should have comment or be unexported (golint)
    • Line 14: warning: exported type Execute should have comment or be unexported (golint)
    • go-commander/program.go
    • Line 8: warning: exported type GoCommander should have comment or be unexported (golint)
    • Line 13: warning: exported var Program should have comment or be unexported (golint)
    • go-commander/docopt.go
    • Line 15: warning: exported method DocoptMap.Map should have comment or be unexported (golint)
    • Line 19: warning: exported method DocoptMap.Get should have comment or be unexported (golint)
    • Line 26: warning: exported method DocoptMap.Contain should have comment or be unexported (golint)
    • Line 45: warning: exported method DocoptMap.GetString should have comment or be unexported (golint)
    • Line 55: warning: exported method DocoptMap.MustString should have comment or be unexported (golint)
    • Line 62: warning: exported method DocoptMap.GetStrings should have comment or be unexported (golint)
    • Line 71: warning: exported method DocoptMap.MustStrings should have comment or be unexported (golint)
    • Line 78: warning: exported method DocoptMap.GetBool should have comment or be unexported (golint)
    • Line 83: warning: exported method DocoptMap.MustBool should have comment or be unexported (golint)
    • Line 88: warning: exported method DocoptMap.GetInt64 should have comment or be unexported (golint)
    • Line 93: warning: exported method DocoptMap.MustInt64 should have comment or be unexported (golint)
    • Line 100: warning: exported method DocoptMap.GetInt should have comment or be unexported (golint)
    • Line 105: warning: exported method DocoptMap.MustInt should have comment or be unexported (golint)
    • Line 112: warning: exported method DocoptMap.GetFloat64 should have comment or be unexported (golint)
    • Line 117: warning: exported method DocoptMap.MustFloat64 should have comment or be unexported (golint)
    • Line 124: warning: exported method DocoptMap.GetFloat should have comment or be unexported (golint)
    • Line 129: warning: exported method DocoptMap.MustFloat 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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!