Preparing report...

Report for github.com/pennz/Dataviz

A+    Excellent!    Found 13 issues across 123 files

Tweet

gofmt97%

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!


golint90%

Golint is a linter for Go source code.

    • Dataviz/viz/wrapper.go
    • Line 21: warning: exported type Wrapper should have comment or be unexported (golint)
    • Line 26: warning: exported type VisualizerWrapper should have comment or be unexported (golint)
    • Line 32: warning: exported type Visualizer should have comment or be unexported (golint)
    • Line 36: warning: exported type AlgVisualWrapperExtraMemory should have comment or be unexported (golint)
    • Line 41: warning: exported type AlgVisualWrapper should have comment or be unexported (golint)
    • Line 42: warning: don't use underscores in Go names; struct field funcs_to_wrap should be funcsToWrap (golint)
    • Line 92: warning: exported function NewAlgVisualWrapperExtraMemory should have comment or be unexported (golint)
    • Line 99: warning: should omit 2nd value from range; this loop is equivalent to `for i := range ...` (golint)
    • Line 131: warning: exported method AlgVisualWrapperExtraMemory.Call should have comment or be unexported (golint)
    • Line 198: warning: exported method AlgVisualWrapper.Call should have comment or be unexported (golint)
    • Line 253: warning: exported method AlgVisualWrapperExtraMemory.Wrap should have comment or be unexported (golint)
    • Line 271: warning: exported method AlgVisualWrapper.Visualize should have comment or be unexported (golint)
    • Line 287: warning: receiver name v should be consistent with previous receiver name avw for AlgVisualWrapperExtraMemory (golint)
    • Dataviz/main.go
    • Line 52: warning: comment on exported type RunResult should be of the form "RunResult ..." (with optional leading article) (golint)
    • Line 93: warning: exported type Event should have comment or be unexported (golint)
    • Line 158: warning: don't use underscores in Go names; func compileHandler_debug should be compileHandlerDebug (golint)
    • Dataviz/viz/stepper.go
    • Line 20: warning: exported function NewVisualizerStepper should have comment or be unexported (golint)
    • Line 25: warning: exported method VisualizerStepper.Record should have comment or be unexported (golint)
    • Line 29: warning: exported method VisualizerStepper.Prev should have comment or be unexported (golint)
    • Line 37: warning: exported method VisualizerStepper.Next should have comment or be unexported (golint)
    • Line 45: warning: exported method VisualizerStepper.Steps 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!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!