Preparing report...

Report for github.com/skmatz/vin

A+    Excellent!    Found 11 issues across 27 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!


gocyclo96%

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.


golint62%

Golint is a linter for Go source code.

    • vin/cache/cache.go
    • Line 17: warning: exported function New should have comment or be unexported (golint)
    • Line 25: warning: exported method Cache.Get should have comment or be unexported (golint)
    • Line 36: warning: exported method Cache.GetString should have comment or be unexported (golint)
    • Line 40: warning: exported method Cache.Set should have comment or be unexported (golint)
    • Line 54: warning: exported method Cache.SetString should have comment or be unexported (golint)
    • vin/cli/cli.go
    • Line 8: warning: exported function New should have comment or be unexported (golint)
    • vin/command.go
    • Line 7: warning: exported method App.RunCommand should have comment or be unexported (golint)
    • vin/filter.go
    • Line 3: warning: exported method Vin.Filter should have comment or be unexported (golint)
    • Line 14: warning: exported method Vin.FilterByHost should have comment or be unexported (golint)
    • Line 29: warning: exported method Vin.FilterByPriority should have comment or be unexported (golint)
    • Line 35: warning: exported method Vin.FilterByRepo should have comment or be unexported (golint)
    • vin/app.go
    • Line 116: warning: exported method App.SuitableAssetURLs should have comment or be unexported (golint)
    • Line 124: warning: exported method App.TagName should have comment or be unexported (golint)
    • vin/cache.go
    • Line 11: warning: exported method Vin.CacheDir should have comment or be unexported (golint)
    • Line 21: warning: exported method Vin.AppAlreadyInstalled should have comment or be unexported (golint)
    • Line 37: warning: exported method Vin.SaveCache should have comment or be unexported (golint)
    • vin/install.go
    • Line 16: warning: exported type ReadCloserWrapper should have comment or be unexported (golint)
    • Line 104: warning: exported method Vin.Install should have comment or be unexported (golint)
    • vin/vin.go
    • Line 37: warning: exported function DefaultVinDir should have comment or be unexported (golint)
    • Line 45: warning: exported method Vin.BinDir should have comment or be unexported (golint)
    • Line 49: warning: exported method Vin.TmpDir should have comment or be unexported (golint)
    • Line 53: warning: exported type Token should have comment or be unexported (golint)
    • Line 57: warning: exported function TokenFromJSON should have comment or be unexported (golint)
    • Line 70: warning: exported method Vin.ReadTOML should have comment or be unexported (golint)
    • Line 83: warning: exported method Vin.FetchApps should have comment or be unexported (golint)
    • Line 119: warning: exported method Vin.Repos 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!