Preparing report...

Report for github.com/krigga/robotgo

(v0.100.10)

A+    Excellent!    Found 3 issues across 39 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!


golint92%

Golint is a linter for Go source code.

    • bitmap.go
    • Line 186: warning: comment on exported function FindEveryBitmap should be of the form "FindEveryBitmap ..." (golint)
    • Line 292: warning: comment on exported function BitmapStr should be of the form "BitmapStr ..." (golint)
    • Line 366: warning: comment on exported function CopyBitpb should be of the form "CopyBitpb ..." (golint)
    • Line 439: warning: comment on exported function FindEveryColor should be of the form "FindEveryColor ..." (golint)
    • hook.go
    • Line 39: warning: comment on exported function Start should be of the form "Start ..." (golint)
    • Line 47: warning: comment on exported function End should be of the form "End ..." (golint)
    • robotgo.go
    • Line 368: warning: comment on exported function ScaleX should be of the form "ScaleX ..." (golint)
    • Line 375: warning: comment on exported function ScaleY should be of the form "ScaleY ..." (golint)
    • Line 382: warning: comment on exported function Scale should be of the form "Scale ..." (golint)
    • Line 406: warning: comment on exported function Scale0 should be of the form "Scale0 ..." (golint)
    • Line 413: warning: comment on exported function Mul should be of the form "Mul ..." (golint)
    • Line 450: warning: comment on exported function MoveMouse should be of the form "MoveMouse ..." (golint)
    • Line 475: warning: comment on exported function DragMouse should be of the form "DragMouse ..." (golint)
    • Line 487: warning: comment on exported function Drag should be of the form "Drag ..." (golint)
    • Line 515: warning: comment on exported function MoveMouseSmooth should be of the form "MoveMouseSmooth ..." (golint)
    • Line 593: warning: comment on exported function MouseClick should be of the form "MouseClick ..." (golint)
    • Line 673: warning: comment on exported function MouseToggle should be of the form "MouseToggle ..." (golint)
    • Line 695: warning: comment on exported function ScrollMouse should be of the form "ScrollMouse ..." (golint)
    • Line 1096: warning: comment on exported function TypeString should be of the form "TypeString ..." (golint)
    • Line 1121: warning: comment on exported function TypeStringDelayed should be of the form "TypeStringDelayed ..." (golint)
    • Line 1136: warning: comment on exported function SetKeyboardDelay should be of the form "SetKeyboardDelay ..." (golint)
    • Line 1313: warning: comment on exported function GetBHandle should be of the form "GetBHandle ..." (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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!