Preparing report...

Report for github.com/sacloud/apprun-api-go

(v0.0.0-20241114050153-03ff93281c3b)

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


gocyclo94%

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.

    • apis/v1/zz_client_gen.go
    • Line 712: warning: cyclomatic complexity 27 of function NewListApplicationVersionsRequest() is high (> 15) (gocyclo)
    • Line 345: warning: cyclomatic complexity 26 of function NewListApplicationsRequest() is high (> 15) (gocyclo)
    • Line 1926: warning: cyclomatic complexity 23 of function ParsePatchApplicationResponse() is high (> 15) (gocyclo)
    • Line 2055: warning: cyclomatic complexity 20 of function ParseListApplicationTrafficsResponse() is high (> 15) (gocyclo)
    • Line 1750: warning: cyclomatic complexity 20 of function ParsePostApplicationResponse() is high (> 15) (gocyclo)
    • Line 1865: warning: cyclomatic complexity 20 of function ParseGetApplicationResponse() is high (> 15) (gocyclo)
    • Line 2116: warning: cyclomatic complexity 20 of function ParsePutApplicationTrafficResponse() is high (> 15) (gocyclo)
    • Line 2292: warning: cyclomatic complexity 20 of function ParseGetApplicationVersionResponse() is high (> 15) (gocyclo)
    • Line 1994: warning: cyclomatic complexity 20 of function ParseGetApplicationStatusResponse() is high (> 15) (gocyclo)
    • Line 2177: warning: cyclomatic complexity 20 of function ParseListApplicationVersionsResponse() is high (> 15) (gocyclo)
    • Line 1696: warning: cyclomatic complexity 17 of function ParseListApplicationsResponse() is high (> 15) (gocyclo)
    • Line 1811: warning: cyclomatic complexity 17 of function ParseDeleteApplicationResponse() is high (> 15) (gocyclo)
    • Line 2238: warning: cyclomatic complexity 17 of function ParseDeleteApplicationVersionResponse() is high (> 15) (gocyclo)

ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!