Preparing report...

Report for github.com/gomlx/gopjrt

(v0.0.0-20240703103059-85ebf2ca745c)

A+    Excellent!    Found 5 issues across 60 files

Tweet

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!


gofmt98%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

    • examples/mandelbrot.go
    • Line 29: expected 'package', found 'import':1::warning: file is not gofmted with -s (gofmt)
    • Line 30: expected ';', found "github.com/janpfeifer/must":1::warning: file is not gofmted with -s (gofmt)

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!


ineffassign96%

IneffAssign detects ineffectual assignments in Go code.

    • examples/mandelbrot.go
    • Line 29: warning: expected 'package', found 'import' (ineffassign)
    • Line 29: warning: expected 'package', found 'import' (ineffassign)
    • Line 29: warning: expected 'IDENT', found '(' (ineffassign)
    • Line 30: warning: expected ';', found "github.com/janpfeifer/must" (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell95%

Misspell Finds commonly misspelled English words