Preparing report...

Report for github.com/cyclops-ui/cyclops/cyclops-ctrl

(v0.0.0-20250504140543-2a8c5506a69a)

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


gofmt98%

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


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.

    • pkg/template/helm.go
    • Line 131: warning: cyclomatic complexity 26 of function (Repo).mapHelmChart() is high (> 15) (gocyclo)
    • Line 237: warning: cyclomatic complexity 17 of function (Repo).mapHelmChartInitialValues() is high (> 15) (gocyclo)
    • pkg/template/git.go
    • Line 36: warning: cyclomatic complexity 36 of function (Repo).LoadTemplate() is high (> 15) (gocyclo)
    • Line 354: warning: cyclomatic complexity 16 of function clone() is high (> 15) (gocyclo)
    • pkg/cluster/k8sclient/modules.go
    • Line 323: warning: cyclomatic complexity 28 of function (*KubernetesClient).GetModuleResourcesHealth() is high (> 15) (gocyclo)
    • Line 442: warning: cyclomatic complexity 16 of function (*KubernetesClient).getResourceStatus() is high (> 15) (gocyclo)

ineffassign95%

IneffAssign detects ineffectual assignments in Go code.


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!