Preparing report...

Report for github.com/helm/helm

(v2.17.0+incompatible)

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


gofmt87%

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


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo86%

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.

    • pkg/kube/wait.go
    • Line 43: warning: cyclomatic complexity 52 of function (*Client).waitForResources() is high (> 15) (gocyclo)
    • cmd/helm/create_test.go
    • Line 75: warning: cyclomatic complexity 18 of function TestCreateStarterCmd() is high (> 15) (gocyclo)
    • Line 167: warning: cyclomatic complexity 18 of function TestCreateStarterAbsoluteCmd() is high (> 15) (gocyclo)
    • cmd/helm/install.go
    • Line 238: warning: cyclomatic complexity 23 of function (*installCmd).run() is high (> 15) (gocyclo)
    • Line 473: warning: cyclomatic complexity 16 of function locateChartPath() is high (> 15) (gocyclo)
    • pkg/strvals/parser.go
    • Line 152: warning: cyclomatic complexity 17 of function (*parser).key() is high (> 15) (gocyclo)
    • Line 254: warning: cyclomatic complexity 16 of function (*parser).listItem() is high (> 15) (gocyclo)
    • pkg/kube/client.go
    • Line 486: warning: cyclomatic complexity 24 of function (*Client).UpdateWithOptions() is high (> 15) (gocyclo)
    • Line 315: warning: cyclomatic complexity 19 of function (*Client).Get() is high (> 15) (gocyclo)
    • pkg/chartutil/requirements.go
    • Line 263: warning: cyclomatic complexity 22 of function doProcessRequirementsEnabled() is high (> 15) (gocyclo)
    • Line 129: warning: cyclomatic complexity 16 of function ProcessRequirementsConditions() is high (> 15) (gocyclo)
    • pkg/downloader/manager.go
    • Line 191: warning: cyclomatic complexity 28 of function (*Manager).downloadAll() is high (> 15) (gocyclo)
    • Line 390: warning: cyclomatic complexity 21 of function (*Manager).getRepoNames() is high (> 15) (gocyclo)
    • pkg/repo/index_test.go
    • Line 196: warning: cyclomatic complexity 17 of function TestDownloadIndexFile() is high (> 15) (gocyclo)
    • Line 298: warning: cyclomatic complexity 16 of function verifyLocalIndex() is high (> 15) (gocyclo)

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!