Preparing report...

Report for github.com/lukasmalkmus/icloud-go

A+    Excellent!    Found 3 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!


gocyclo91%

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.


golint91%

Golint is a linter for Go source code.


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign83%

IneffAssign detects ineffectual assignments in Go code.

    • icloud-go/icloud/error.go
    • Line 65: warning: AccessDenied.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 67: warning: AtomicError.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 69: warning: AuthenticationFailed.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 71: warning: AuthenticationRequired.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 73: warning: BadRequest.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 75: warning: Conflict.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 77: warning: Exists.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 79: warning: InternalError.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 81: warning: NotFound.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 83: warning: QuotaExceeded.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 85: warning: Throttled.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 87: warning: TryAgainLater.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 89: warning: ValidatingReferenceError.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 91: warning: ZoneNotFound.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 65: warning: AccessDenied.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 67: warning: AtomicError.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 69: warning: AuthenticationFailed.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 71: warning: AuthenticationRequired.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 73: warning: BadRequest.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 75: warning: Conflict.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 77: warning: Exists.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 79: warning: InternalError.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 81: warning: NotFound.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 83: warning: QuotaExceeded.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 85: warning: Throttled.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 87: warning: TryAgainLater.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 89: warning: ValidatingReferenceError.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • Line 91: warning: ZoneNotFound.String undefined (type ErrorCode has no field or method String) (ineffassign)
    • icloud-go/icloud/records.go
    • Line 40: warning: ot.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 52: warning: Create.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 54: warning: Update.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 56: warning: ForceUpdate.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 58: warning: Replace.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 60: warning: ForceReplace.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 62: warning: Delete.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 64: warning: ForceDelete.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 154: warning: database.String undefined (type Database has no field or method String) (ineffassign)
    • Line 40: warning: ot.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 52: warning: Create.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 54: warning: Update.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 56: warning: ForceUpdate.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 58: warning: Replace.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 60: warning: ForceReplace.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 62: warning: Delete.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 64: warning: ForceDelete.String undefined (type OperationType has no field or method String) (ineffassign)
    • Line 154: warning: database.String undefined (type Database has no field or method String) (ineffassign)

misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!