Preparing report...

Report for github.com/vmkteam/rpcgen

A+    Excellent!    Found 4 issues across 12 files

Tweet

gofmt100%

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

No problems detected. Good job!


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!


golint66%

Golint is a linter for Go source code.

    • rpcgen/golang/schema.go
    • Line 29: warning: exported type Schema should have comment or be unexported (golint)
    • Line 79: warning: exported method Schema.NamespaceByName should have comment or be unexported (golint)
    • Line 89: warning: exported method Schema.MethodByName should have comment or be unexported (golint)
    • Line 101: warning: exported type Namespace should have comment or be unexported (golint)
    • Line 106: warning: exported type Method should have comment or be unexported (golint)
    • Line 127: warning: exported method Method.HasResult should have comment or be unexported (golint)
    • Line 140: warning: exported type Error should have comment or be unexported (golint)
    • Line 145: warning: exported type Model should have comment or be unexported (golint)
    • Line 159: warning: exported type Value should have comment or be unexported (golint)
    • rpcgen/php/php_client.go
    • Line 29: warning: exported type Generator should have comment or be unexported (golint)
    • Line 34: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 76: warning: exported type Parameter should have comment or be unexported (golint)
    • rpcgen/generator.go
    • Line 15: warning: exported type RPCGen should have comment or be unexported (golint)
    • Line 19: warning: exported type Generator should have comment or be unexported (golint)
    • Line 23: warning: exported method RPCGen.GoClient should have comment or be unexported (golint)
    • Line 27: warning: exported method RPCGen.PHPClient should have comment or be unexported (golint)
    • Line 31: warning: exported method RPCGen.TSClient should have comment or be unexported (golint)
    • rpcgen/typescript/typescript_client.go
    • Line 22: warning: exported type Generator should have comment or be unexported (golint)
    • Line 28: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 32: warning: exported type TypeMapper should have comment or be unexported (golint)
    • Line 79: warning: exported type Type 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!