Preparing report...

Report for github.com/mas-soft/grpcurl

(v1.8.7)

A    Great!    Found 12 issues across 21 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!


gofmt80%

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


gocyclo66%

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.

    • grpcurl_test.go
    • Line 801: warning: cyclomatic complexity 20 of function (*handler).check() is high (> 15) (gocyclo)
    • grpcurl.go
    • Line 405: warning: cyclomatic complexity 20 of function makeTemplate() is high (> 15) (gocyclo)
    • Line 336: warning: cyclomatic complexity 16 of function fullyConvertToDynamic() is high (> 15) (gocyclo)
    • format_test.go
    • Line 99: warning: cyclomatic complexity 20 of function TestHandler() is high (> 15) (gocyclo)
    • invoke.go
    • Line 87: warning: cyclomatic complexity 16 of function InvokeRPC() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell90%

Misspell Finds commonly misspelled English words

    • format.go
    • Line 431: warning: "compatability" is a misspelling of "compatibility" (misspell)