Preparing report...

Report for github.com/gopherjs/vecty

A+    Excellent!    Found 4 issues across 31 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!


golint93%

Golint is a linter for Go source code.

    • vecty/style/style.go
    • Line 9: warning: exported type Size should have comment or be unexported (golint)
    • Line 11: warning: exported function Px should have comment or be unexported (golint)
    • Line 15: warning: exported function Color should have comment or be unexported (golint)
    • Line 19: warning: exported function Width should have comment or be unexported (golint)
    • Line 23: warning: exported function MinWidth should have comment or be unexported (golint)
    • Line 27: warning: exported function MaxWidth should have comment or be unexported (golint)
    • Line 31: warning: exported function Height should have comment or be unexported (golint)
    • Line 35: warning: exported function MinHeight should have comment or be unexported (golint)
    • Line 39: warning: exported function MaxHeight should have comment or be unexported (golint)
    • Line 43: warning: exported function Margin should have comment or be unexported (golint)
    • Line 47: warning: exported type OverflowOption should have comment or be unexported (golint)
    • Line 50: warning: exported const OverflowVisible should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported function Overflow should have comment or be unexported (golint)
    • Line 60: warning: exported function OverflowX should have comment or be unexported (golint)
    • Line 64: warning: exported function OverflowY should have comment or be unexported (golint)
    • vecty/prop/prop.go
    • Line 5: warning: exported type InputType should have comment or be unexported (golint)
    • Line 8: warning: exported const TypeButton should have comment (or a comment on this block) or be unexported (golint)
    • Line 37: warning: exported function Autofocus should have comment or be unexported (golint)
    • Line 41: warning: exported function Disabled should have comment or be unexported (golint)
    • Line 45: warning: exported function Checked should have comment or be unexported (golint)
    • Line 49: warning: exported function For should have comment or be unexported (golint)
    • Line 53: warning: exported function Href should have comment or be unexported (golint)
    • Line 57: warning: exported function ID should have comment or be unexported (golint)
    • Line 61: warning: exported function Placeholder should have comment or be unexported (golint)
    • Line 65: warning: exported function Src should have comment or be unexported (golint)
    • Line 69: warning: exported function Type should have comment or be unexported (golint)
    • Line 73: warning: exported function Value should have comment or be unexported (golint)
    • Line 77: warning: exported function Name should have comment or be unexported (golint)
    • Line 81: warning: exported function Alt should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.


misspell96%

Misspell Finds commonly misspelled English words