Preparing report...

Report for github.com/pinpox/base16-universal-manager

B    Not bad!    Found 7 issues across 10 files

Tweet

gofmt40%

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!


gocyclo90%

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.


golint70%

Golint is a linter for Go source code.

    • base16-universal-manager/template.go
    • Line 12: warning: exported type Base16TemplateFile should have comment or be unexported (golint)
    • Line 17: warning: exported type Base16Template should have comment or be unexported (golint)
    • Line 30: warning: exported method Base16TemplateList.GetBase16Template should have comment or be unexported (golint)
    • Line 69: warning: exported type Base16TemplateList should have comment or be unexported (golint)
    • Line 73: warning: exported method Base16TemplateList.UpdateTemplates should have comment or be unexported (golint)
    • Line 93: warning: exported function LoadBase16TemplateList should have comment or be unexported (golint)
    • Line 98: warning: exported function SaveBase16TemplateList should have comment or be unexported (golint)
    • Line 102: warning: exported method Base16TemplateList.Find should have comment or be unexported (golint)
    • Line 102: warning: receiver name c should be consistent with previous receiver name l for Base16TemplateList (golint)
    • base16-universal-manager/colorscheme.go
    • Line 14: warning: exported type Base16Colorscheme should have comment or be unexported (golint)
    • Line 41: warning: exported method Base16Colorscheme.MustacheContext should have comment or be unexported (golint)
    • Line 102: warning: exported method Base16ColorschemeList.GetBase16Colorscheme should have comment or be unexported (golint)
    • Line 139: warning: exported function NewBase16Colorscheme should have comment or be unexported (golint)
    • Line 147: warning: exported function LoadBase16ColorschemeList should have comment or be unexported (golint)
    • Line 152: warning: exported function SaveBase16ColorschemeList should have comment or be unexported (golint)
    • Line 156: warning: exported type Base16ColorschemeList should have comment or be unexported (golint)
    • Line 160: warning: exported method Base16ColorschemeList.UpdateSchemes should have comment or be unexported (golint)
    • Line 190: warning: exported method Base16ColorschemeList.Find should have comment or be unexported (golint)
    • Line 190: warning: receiver name c should be consistent with previous receiver name l for Base16ColorschemeList (golint)
    • base16-universal-manager/helpers.go
    • Line 47: warning: exported type GitHubFile should have comment or be unexported (golint)
    • Line 64: warning: exported type GitHubFilesCollection should have comment or be unexported (golint)
    • Line 94: warning: exported function LoadStringMap should have comment or be unexported (golint)
    • Line 106: warning: exported function SaveStringMap should have comment or be unexported (golint)
    • Line 117: warning: exported function FindMatchInMap should have comment or be unexported (golint)
    • Line 137: warning: don't use underscores in Go names; func exe_cmd should be exeCmd (golint)
    • Line 156: warning: exported function WriteFile should have comment or be unexported (golint)
    • Line 174: warning: exported function ReplaceMultiline should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign80%

IneffAssign detects ineffectual assignments in Go code.


misspell90%

Misspell Finds commonly misspelled English words