Preparing report...

Report for github.com/FIPress/GoUI

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


golint66%

Golint is a linter for Go source code.

    • GoUI/context.go
    • Line 10: warning: exported type Context should have comment or be unexported (golint)
    • Line 43: warning: exported method Context.GetIntParamOr should have comment or be unexported (golint)
    • Line 64: warning: comment on exported method Context.GetEntity should be of the form "GetEntity ..." (golint)
    • Line 73: warning: exported method Context.Success should have comment or be unexported (golint)
    • Line 93: warning: exported method Context.Ok should have comment or be unexported (golint)
    • Line 97: warning: exported method Context.Fail should have comment or be unexported (golint)
    • GoUI/window.go
    • Line 19: warning: exported function BoolToCInt should have comment or be unexported (golint)
    • GoUI/menu.go
    • Line 12: warning: exported const Container should have comment (or a comment on this block) or be unexported (golint)
    • GoUI/widget/filepicker/filepicker.go
    • Line 9: warning: exported type Settings should have comment or be unexported (golint)
    • Line 29: warning: exported function BoolToCInt should have comment or be unexported (golint)
    • Line 51: warning: exported type FilePicker should have comment or be unexported (golint)
    • Line 54: warning: exported method FilePicker.Register should have comment or be unexported (golint)
    • GoUI/goui.go
    • Line 37: warning: exported type Widget should have comment or be unexported (golint)
    • Line 49: warning: exported function CreateWithMenu should have comment or be unexported (golint)
    • Line 66: warning: exported function RegisterWidgets should have comment or be unexported (golint)
    • Line 72: warning: exported type JSServiceOptions should have comment or be unexported (golint)
    • Line 101: warning: exported function ActivateWindow should have comment or be unexported (golint)
    • Line 105: warning: comment on exported function OpenDevTools should be of the form "OpenDevTools ..." (golint)
    • GoUI/log.go
    • Line 18: warning: exported function Log should have comment or be unexported (golint)
    • Line 23: warning: exported function Logf 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!