Preparing report...

Report for github.com/oskca/gopherjs-canvas

A+    Excellent!    Found 1 issues across 1 files

Tweet

gofmt99%

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!


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!


golint100%

Golint is a linter for Go source code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign91%

IneffAssign detects ineffectual assignments in Go code.

    • gopherjs-canvas/canvas.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/gopherjs/gopherjs/js (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/oskca/gopherjs-dom (invalid package name: "") (ineffassign)
    • Line 56: warning: undeclared name: dom (ineffassign)
    • Line 252: warning: undeclared name: dom (ineffassign)
    • Line 478: warning: undeclared name: dom (ineffassign)
    • Line 121: warning: undeclared name: dom (ineffassign)
    • Line 126: warning: c.Call undefined (type *Canvas has no field or method Call) (ineffassign)
    • Line 134: warning: c.Call undefined (type *Canvas has no field or method Call) (ineffassign)
    • Line 136: warning: c.Call undefined (type *Canvas has no field or method Call) (ineffassign)
    • Line 168: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 202: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 253: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 266: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 271: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 280: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 285: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 291: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 297: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 305: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 311: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 317: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 322: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 330: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 335: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 341: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 346: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 353: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 360: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 366: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 371: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 377: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 388: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 396: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 402: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 421: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 440: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 446: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 450: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 456: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 460: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 468: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 473: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 479: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 542: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 559: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 588: warning: ctx.Call undefined (type *Context2D has no field or method Call) (ineffassign)
    • Line 11: warning: "github.com/oskca/gopherjs-dom" imported but not used (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!