Preparing report...

Report for github.com/gardener/gardener-extensions

A+    Excellent!    Found 23 issues across 221 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!


gocyclo97%

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.


golint92%

Golint is a linter for Go source code.

    • gardener-extensions/pkg/util/test/options.go
    • Line 22: warning: exported type Flag should have comment or be unexported (golint)
    • Line 73: warning: exported function IntFlag should have comment or be unexported (golint)
    • Line 77: warning: exported function StringFlag should have comment or be unexported (golint)
    • Line 81: warning: exported function BoolFlag should have comment or be unexported (golint)
    • Line 85: warning: exported function StringSliceFlag should have comment or be unexported (golint)
    • gardener-extensions/pkg/controller/managedresources.go
    • Line 50: warning: exported function CreateManagedResourceFromUnstructured should have comment or be unexported (golint)
    • Line 63: warning: exported function CreateManagedResourceFromFileChart should have comment or be unexported (golint)
    • Line 72: warning: exported function CreateManagedResource should have comment or be unexported (golint)
    • gardener-extensions/test/integration/healthcheck/healthcheck_operation.go
    • Line 43: warning: exported function ControlPlaneHealthCheckWithManagedResource should have comment or be unexported (golint)
    • Line 54: warning: exported function WorkerHealthCheckWithManagedResource should have comment or be unexported (golint)
    • Line 65: warning: exported function NetworkHealthCheckWithManagedResource should have comment or be unexported (golint)
    • Line 76: warning: exported function ExtensionHealthCheckWithManagedResource should have comment or be unexported (golint)
    • Line 136: warning: exported function ControlPlaneHealthCheckDeleteSeedDeployment should have comment or be unexported (golint)
    • Line 140: warning: exported function WorkerHealthCheckDeleteSeedDeployment should have comment or be unexported (golint)
    • Line 171: warning: exported function MachineDeletionHealthCheck should have comment or be unexported (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!


misspell99%

Misspell Finds commonly misspelled English words

    • gardener-extensions/pkg/controller/worker/reconciler_test.go
    • Line 254: warning: "reconcilation" is a misspelling of "reconciliation" (misspell)
    • Line 272: warning: "reconcilation" is a misspelling of "reconciliation" (misspell)
    • Line 283: warning: "Processs" is a misspelling of "Processes" (misspell)
    • Line 283: warning: "reconcilation" is a misspelling of "reconciliation" (misspell)
    • Line 290: warning: "reconcilation" is a misspelling of "reconciliation" (misspell)
    • Line 308: warning: "reconcilation" is a misspelling of "reconciliation" (misspell)
    • Line 319: warning: "Processs" is a misspelling of "Processes" (misspell)
    • Line 319: warning: "reconcilation" is a misspelling of "reconciliation" (misspell)