Preparing report...

Report for github.com/khulnasoft/kengine-plugin-sdk-go

(v0.0.0-20240212053623-b1df09616601)

A+    Excellent!    Found 10 issues across 236 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!


gofmt96%

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

    • data/arrow_test.go
    • Line 48: string literal not terminated:1::warning: file is not gofmted with -s (gofmt)
    • Line 53: expected operand, found '}':1::warning: file is not gofmted with -s (gofmt)
    • Line 308: missing ',' in argument list:1::warning: file is not gofmted with -s (gofmt)
    • Line 309: expected operand, found '}':1::warning: file is not gofmted with -s (gofmt)
    • Line 314: missing ',' in argument list:1::warning: file is not gofmted with -s (gofmt)
    • Line 317: missing ',' in argument list:1::warning: file is not gofmted with -s (gofmt)
    • Line 318: expected operand, found '}':1::warning: file is not gofmted with -s (gofmt)
    • Line 323: missing ',' in argument list:1::warning: file is not gofmted with -s (gofmt)
    • Line 324: missing ',' before newline in composite literal:1::warning: file is not gofmted with -s (gofmt)
    • Line 325: missing ',' before newline in argument list:1::warning: file is not gofmted with -s (gofmt)
    • Line 327: missing ',' in argument list:1::warning: file is not gofmted with -s (gofmt)
    • live/scope.go
    • Line 5: string literal not terminated:1::warning: file is not gofmted with -s (gofmt)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

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!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words