Preparing report...

Report for github.com/agilize/camunda-client-go

(v1.1.2)

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


gocyclo93%

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.

    • deployment.go
    • Line 130: warning: cyclomatic complexity 19 of function (*Deployment).Create() is high (> 15) (gocyclo)

golint40%

Golint is a linter for Go source code.

    • process-definition.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 211: warning: comment on exported type ResSubmitStartForm should be of the form "ResSubmitStartForm ..." (with optional leading article) (golint)
    • client.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 15: warning: exported const PackageVersion should have comment or be unexported (golint)
    • Line 16: warning: exported const DefaultUserAgent should have comment or be unexported (golint)
    • Line 17: warning: exported const DefaultEndpointUrl should have comment or be unexported (golint)
    • Line 18: warning: exported const DefaultTimeoutSec should have comment or be unexported (golint)
    • Line 19: warning: exported const DefaultDateTimeFormat should have comment or be unexported (golint)
    • Line 44: warning: exported var ErrorNotFound should have comment or be unexported (golint)
    • Line 65: warning: comment on exported method Time.UnmarshalJSON should be of the form "UnmarshalJSON ..." (golint)
    • Line 71: warning: comment on exported method Time.MarshalJSON should be of the form "MarshalJSON ..." (golint)
    • user-task.go
    • Line 1: warning: don't use an underscore in package name (golint)
    • Line 81: warning: exported const DelegationStatePending should have comment (or a comment on this block) or be unexported (golint)
    • Line 89: warning: exported const VariableFilterExpressionOperatorEqual should have comment (or a comment on this block) or be unexported (golint)
    • types.go
    • Line 1: warning: don't use an underscore in package name (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!


misspell93%

Misspell Finds commonly misspelled English words