Preparing report...

Report for github.com/ks888/tgo

A+    Excellent!    Found 6 issues across 36 files

Tweet

gofmt94%

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!


golint94%

Golint is a linter for Go source code.

    • tgo/testutils/testutils.go
    • Line 20: warning: exported var ProgramHelloworld should have comment or be unexported (golint)
    • Line 22: warning: comment on exported var HelloworldAddrMain should be of the form "HelloworldAddrMain ..." (golint)
    • tgo/debugapi/client_linux.go
    • Line 41: warning: exported method Client.LaunchProcess should have comment or be unexported (golint)
    • Line 47: warning: exported method Client.AttachProcess should have comment or be unexported (golint)
    • Line 53: warning: exported method Client.DetachProcess should have comment or be unexported (golint)
    • Line 59: warning: exported method Client.ReadMemory should have comment or be unexported (golint)
    • Line 65: warning: exported method Client.WriteMemory should have comment or be unexported (golint)
    • Line 71: warning: exported method Client.ReadRegisters should have comment or be unexported (golint)
    • Line 77: warning: exported method Client.WriteRegisters should have comment or be unexported (golint)
    • Line 83: warning: exported method Client.ReadTLS should have comment or be unexported (golint)
    • Line 89: warning: exported method Client.ContinueAndWait should have comment or be unexported (golint)
    • Line 95: warning: exported method Client.StepAndWait should have comment or be unexported (golint)

gocyclo91%

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.


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!