Preparing report...

Report for github.com/changkun/occamy

A+    Excellent!    Found 6 issues across 46 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!


gocyclo97%

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.


golint89%

Golint is a linter for Go source code.

    • occamy/common/cursor.go
    • Line 150: warning: exported method Cursor.Dup should have comment or be unexported (golint)
    • Line 154: warning: exported method Cursor.Update should have comment or be unexported (golint)
    • Line 158: warning: exported method Cursor.SetARGB should have comment or be unexported (golint)
    • Line 162: warning: exported method Cursor.SetSurface should have comment or be unexported (golint)
    • Line 166: warning: exported method Cursor.SetPointer should have comment or be unexported (golint)
    • Line 170: warning: exported method Cursor.SetDot should have comment or be unexported (golint)
    • Line 174: warning: exported method Cursor.SetIBar should have comment or be unexported (golint)
    • Line 184: warning: exported method Cursor.RemoveUser should have comment or be unexported (golint)
    • occamy/common/surface.go
    • Line 74: warning: exported type Surface should have comment or be unexported (golint)
    • Line 99: warning: exported function NewSurface should have comment or be unexported (golint)
    • occamy/lib/socket.go
    • Line 94: warning: exported method Socket.SendAck should have comment or be unexported (golint)
    • Line 95: warning: exported method Socket.SendBolb should have comment or be unexported (golint)
    • Line 96: warning: exported method Socket.SendBody should have comment or be unexported (golint)
    • Line 97: warning: exported method Socket.SendCfill should have comment or be unexported (golint)
    • Line 98: warning: exported method Socket.SendClip should have comment or be unexported (golint)
    • Line 99: warning: exported method Socket.SendClipboard should have comment or be unexported (golint)
    • Line 100: warning: exported method Socket.SendCopy should have comment or be unexported (golint)
    • Line 101: warning: exported method Socket.SendCursor should have comment or be unexported (golint)
    • Line 102: warning: exported method Socket.SendDisconnect should have comment or be unexported (golint)
    • Line 103: warning: exported method Socket.SendDispose should have comment or be unexported (golint)
    • Line 104: warning: exported method Socket.SendEnd should have comment or be unexported (golint)
    • Line 105: warning: exported method Socket.SendError should have comment or be unexported (golint)
    • Line 106: warning: exported method Socket.SendFile should have comment or be unexported (golint)
    • Line 107: warning: exported method Socket.SendFilesystem should have comment or be unexported (golint)
    • Line 108: warning: exported method Socket.SendMouse should have comment or be unexported (golint)
    • Line 109: warning: exported method Socket.SendMove should have comment or be unexported (golint)
    • Line 110: warning: exported method Socket.SendName should have comment or be unexported (golint)
    • Line 111: warning: exported method Socket.SendPipe should have comment or be unexported (golint)
    • Line 112: warning: exported method Socket.SendRect should have comment or be unexported (golint)
    • Line 113: warning: exported method Socket.SendImg should have comment or be unexported (golint)
    • Line 114: warning: exported method Socket.SendShade should have comment or be unexported (golint)
    • Line 115: warning: exported method Socket.SendSize should have comment or be unexported (golint)
    • Line 116: warning: exported method Socket.SendSync should have comment or be unexported (golint)
    • Line 117: warning: exported method Socket.SendTransfer should have comment or be unexported (golint)
    • Line 118: warning: exported method Socket.WritePNG 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!


misspell97%

Misspell Finds commonly misspelled English words