Preparing report...

Report for github.com/keikoproj/lifecycle-manager

(v0.0.0-20230926141739-98aaefc1bb73)

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


gofmt100%

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

No problems detected. Good job!


gocyclo96%

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.


ineffassign93%

IneffAssign detects ineffectual assignments in Go code.

    • pkg/service/nodes.go
    • Line 166: warning: ineffectual assignment to err (ineffassign)
    • Line 209: warning: ineffectual assignment to err (ineffassign)
    • Line 166: warning: ineffectual assignment to err (ineffassign)
    • Line 209: warning: ineffectual assignment to err (ineffassign)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell70%

Misspell Finds commonly misspelled English words

    • pkg/service/elb_test.go
    • Line 78: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 110: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 130: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 150: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 179: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 202: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 230: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 258: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 283: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 304: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 326: warning: "occured" is a misspelling of "occurred" (misspell)
    • pkg/service/elbv2_test.go
    • Line 71: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 84: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 133: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 167: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 201: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 225: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 244: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 264: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 284: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 312: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 345: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 368: warning: "occured" is a misspelling of "occurred" (misspell)
    • pkg/service/nodes_test.go
    • Line 153: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 177: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 197: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 205: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 210: warning: "succesful" is a misspelling of "successful" (misspell)
    • Line 217: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 222: warning: "succesful" is a misspelling of "successful" (misspell)
    • Line 229: warning: "occured" is a misspelling of "occurred" (misspell)
    • pkg/service/sqs_test.go
    • Line 56: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 109: warning: "occured" is a misspelling of "occurred" (misspell)
    • Line 139: warning: "occured" is a misspelling of "occurred" (misspell)