Preparing report...

Report for github.com/limetext/lime-termbox

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


gocyclo83%

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.


golint50%

Golint is a linter for Go source code.

    • lime-termbox/main/frontend.go
    • Line 14: warning: should not use dot imports (golint)
    • Line 22: warning: don't use underscores in Go names; struct field window_layout should be windowLayout (golint)
    • Line 23: warning: don't use underscores in Go names; struct field status_message should be statusMessage (golint)
    • Line 47: warning: don't use underscores in Go names; const render_chan_len should be renderChanLen (golint)
    • Line 342: warning: don't use underscores in Go names; method parameter changed_buffer should be changedBuffer (golint)
    • Line 342: warning: don't use underscores in Go names; method parameter region_removed should be regionRemoved (golint)
    • Line 342: warning: don't use underscores in Go names; method parameter data_removed should be dataRemoved (golint)
    • Line 346: warning: don't use underscores in Go names; method parameter changed_buffer should be changedBuffer (golint)
    • Line 346: warning: don't use underscores in Go names; method parameter region_inserted should be regionInserted (golint)
    • Line 346: warning: don't use underscores in Go names; method parameter data_inserted should be dataInserted (golint)
    • Line 438: warning: don't use underscores in Go names; var view_layout should be viewLayout (golint)
    • Line 443: warning: don't use underscores in Go names; var view_layout should be viewLayout (golint)
    • Line 447: warning: don't use underscores in Go names; var console_layout should be consoleLayout (golint)
    • Line 541: warning: don't use underscores in Go names; method parameter changed_buffer should be changedBuffer (golint)
    • Line 541: warning: don't use underscores in Go names; method parameter region_removed should be regionRemoved (golint)
    • Line 541: warning: don't use underscores in Go names; method parameter data_removed should be dataRemoved (golint)
    • Line 545: warning: don't use underscores in Go names; method parameter changed_buffer should be changedBuffer (golint)
    • Line 545: warning: don't use underscores in Go names; method parameter region_inserted should be regionInserted (golint)
    • Line 545: warning: don't use underscores in Go names; method parameter data_inserted should be dataInserted (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign0%

IneffAssign detects ineffectual assignments in Go code.

An error occurred while running this test (exit status 127)


misspell83%

Misspell Finds commonly misspelled English words