Preparing report...

Report for github.com/keyfuse/tokucore

A+    Excellent!    Found 35 issues across 168 files

Tweet

gofmt89%

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!


gocyclo98%

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.


golint97%

Golint is a linter for Go source code.

    • tokucore/xvm/opcode.go
    • Line 13: warning: don't use underscores in Go names; const OP_0 should be OP0 (golint)
    • Line 95: warning: don't use underscores in Go names; const OP_1 should be OP1 (golint)
    • Line 97: warning: don't use underscores in Go names; const OP_2 should be OP2 (golint)
    • Line 98: warning: don't use underscores in Go names; const OP_3 should be OP3 (golint)
    • Line 99: warning: don't use underscores in Go names; const OP_4 should be OP4 (golint)
    • Line 100: warning: don't use underscores in Go names; const OP_5 should be OP5 (golint)
    • Line 101: warning: don't use underscores in Go names; const OP_6 should be OP6 (golint)
    • Line 102: warning: don't use underscores in Go names; const OP_7 should be OP7 (golint)
    • Line 103: warning: don't use underscores in Go names; const OP_8 should be OP8 (golint)
    • Line 104: warning: don't use underscores in Go names; const OP_9 should be OP9 (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell95%

Misspell Finds commonly misspelled English words