Preparing report...

Report for github.com/kubernetes-sigs/go-open-service-broker-client

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


gocyclo97%

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.


golint85%

Golint is a linter for Go source code.

    • go-open-service-broker-client/generator/types.go
    • Line 19: warning: comment on exported type Generator should be of the form "Generator ..." (with optional leading article) (golint)
    • Line 31: warning: exported type Pool should have comment or be unexported (golint)
    • Line 33: warning: exported type Services should have comment or be unexported (golint)
    • Line 35: warning: exported type Service should have comment or be unexported (golint)
    • Line 40: warning: exported type Plans should have comment or be unexported (golint)
    • Line 42: warning: exported type Plan should have comment or be unexported (golint)
    • Line 46: warning: exported type Pull should have comment or be unexported (golint)
    • Line 48: warning: exported type Property should have comment or be unexported (golint)
    • Line 51: warning: exported const Tags should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported type Parameters should have comment or be unexported (golint)
    • Line 66: warning: exported type ServiceRanges should have comment or be unexported (golint)
    • Line 77: warning: exported type PlanRanges should have comment or be unexported (golint)
    • go-open-service-broker-client/fake/fake.go
    • Line 297: warning: exported type CatalogReaction should have comment or be unexported (golint)
    • Line 309: warning: exported type DynamicCatalogReaction should have comment or be unexported (golint)
    • Line 320: warning: exported type ProvisionReaction should have comment or be unexported (golint)
    • Line 335: warning: exported type DynamicProvisionReaction should have comment or be unexported (golint)
    • Line 346: warning: exported type UpdateInstanceReaction should have comment or be unexported (golint)
    • Line 358: warning: exported type DynamicUpdateInstanceReaction should have comment or be unexported (golint)
    • Line 369: warning: exported type DeprovisionReaction should have comment or be unexported (golint)
    • Line 381: warning: exported type DynamicDeprovisionReaction should have comment or be unexported (golint)
    • Line 392: warning: exported type GetInstanceReaction should have comment or be unexported (golint)
    • Line 404: warning: exported type DynamicGetInstanceReaction should have comment or be unexported (golint)
    • Line 416: warning: exported type PollLastOperationReaction should have comment or be unexported (golint)
    • Line 428: warning: exported type DynamicPollLastOperationReaction should have comment or be unexported (golint)
    • Line 440: warning: exported type PollBindingLastOperationReaction should have comment or be unexported (golint)
    • Line 452: warning: exported type DynamicPollBindingLastOperationReaction should have comment or be unexported (golint)
    • Line 463: warning: exported type BindReaction should have comment or be unexported (golint)
    • Line 475: warning: exported type DynamicBindReaction should have comment or be unexported (golint)
    • Line 486: warning: exported type UnbindReaction should have comment or be unexported (golint)
    • Line 498: warning: exported type DynamicUnbindReaction should have comment or be unexported (golint)
    • Line 509: warning: exported type GetBindingReaction should have comment or be unexported (golint)
    • Line 521: warning: exported type DynamicGetBindingReaction should have comment or be unexported (golint)
    • go-open-service-broker-client/types.go
    • Line 138: warning: exported type MaintenanceInfo should have comment or be unexported (golint)
    • Line 504: warning: exported type EndpointProtocol should have comment or be unexported (golint)
    • Line 507: warning: exported const EndpointProtocolTcp should have comment (or a comment on this block) 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!