Preparing report...

Report for github.com/danbai225/tipbar

A    Great!    Found 4 issues across 4 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!


golint25%

Golint is a linter for Go source code.

    • tipbar/core/app.go
    • Line 4: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 20: warning: exported type App should have comment or be unexported (golint)
    • Line 30: warning: exported function NewApp should have comment or be unexported (golint)
    • Line 82: warning: exported method App.Run should have comment or be unexported (golint)
    • Line 160: warning: exported method App.RegisterModule should have comment or be unexported (golint)
    • Line 194: warning: exported type Module should have comment or be unexported (golint)
    • Line 206: warning: exported method Module.UnmarshalConfig should have comment or be unexported (golint)
    • Line 210: warning: exported method Module.SetTitle should have comment or be unexported (golint)
    • Line 213: warning: exported method Module.RemoveTitle should have comment or be unexported (golint)
    • Line 216: warning: exported method Module.Tip should have comment or be unexported (golint)
    • Line 225: warning: exported method Module.Notify should have comment or be unexported (golint)
    • Line 231: warning: exported method Module.SaveConfig should have comment or be unexported (golint)
    • Line 239: warning: exported method Module.GetRootUrl should have comment or be unexported (golint)
    • tipbar/core/config.go
    • Line 48: warning: exported type ModuleConfig should have comment or be unexported (golint)
    • Line 53: warning: exported function ExecPathDir should have comment or be unexported (golint)
    • Line 70: warning: exported function Unmarshal should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign75%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!