Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
This report summarizes scanner evidence for kubevirt/kubevirt, a Go project with 7,155 GitHub stars. SynthScan examined 718,268 lines of code across 2947 source files, recording 629 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 2.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 534 finding(s).
Are imports declared and package/API names verified? 93 finding(s).
Are wrappers, guards, and repeated structures necessary? 11 finding(s).
Which changes need focused human review? 629 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 629 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/canary_upgrade_test.go | 94 | g.Expect(ds.Spec.UpdateStrategy.RollingUpdate.MaxUnavailable.IntValue()).To(Equal(1)) | CODE |
| CRITICAL⚡ | tests/vm_test.go | 363 | vmiMemory := vmi.Spec.Domain.Resources.Requests.Memory() | CODE |
| CRITICAL⚡ | tests/vm_test.go | 364 | vmMemory := vm.Spec.Template.Spec.Domain.Resources.Requests.Memory() | CODE |
| CRITICAL⚡ | tests/vm_test.go | 374 | vmiMemory = vmi.Spec.Domain.Resources.Requests.Memory() | CODE |
| CRITICAL⚡ | tests/vm_test.go | 375 | vmMemory = updatedVM.Spec.Template.Spec.Domain.Resources.Requests.Memory() | CODE |
| CRITICAL | tests/hotplug/memory.go | 194 | Expect(vm.Spec.Template.Spec.Domain.Memory.Guest.Value()).To(Equal(newGuestMemory.Value())) | CODE |
| CRITICAL | tests/hotplug/memory.go | 232 | Expect(vmi.Spec.Domain.Resources.Requests.Memory().Value()).To(Equal(newGuestMemory.Value())) | CODE |
| CRITICAL | tests/hotplug/instancetype.go | 170 | Expect(vmi.Spec.Domain.Memory.Guest.Value()).To(Equal(maxGuest.Value())) | CODE |
| CRITICAL | tests/hotplug/instancetype.go | 227 | newMemory := vm.Spec.Template.Spec.Domain.Resources.Requests.Memory().DeepCopy() | CODE |
| CRITICAL | tests/hotplug/instancetype.go | 232 | patch.WithTest(memoryPath, vm.Spec.Template.Spec.Domain.Resources.Requests.Memory().String()), | CODE |
| CRITICAL | tests/compute/cpu.go | 83 | Expect(vmi.Spec.Domain.Resources.Requests.Memory().String()).To(Equal("128Mi")) | CODE |
| CRITICAL | tests/instancetype/reference_policy.go | 91 | Expect(vm.Spec.Template.Spec.Domain.Memory.Guest.Value()).To(Equal(instancetype.Spec.Memory.Guest.Value())) | CODE |
| CRITICAL | tests/migration/namespace.go | 554 | targetVMI.Spec.Domain.Firmware = sourceVM.Spec.Template.Spec.Domain.Firmware.DeepCopy() | CODE |
| CRITICAL | tests/operator/operator.go | 352 | return ds.Status.DesiredNumberScheduled == ds.Status.NumberReady && ds.Spec.UpdateStrategy.RollingUpdate.MaxUnavai | CODE |
| CRITICAL | pkg/virt-launcher/virtwrap/manager.go | 535 | log.Log.V(2).Infof("hotplugging guest memory to %v", vmi.Spec.Domain.Memory.Guest.Value()) | CODE |
| CRITICAL | pkg/virt-launcher/virtwrap/converter/compute/memory.go | 34 | (vmi.Spec.Domain.Memory.Guest != nil && vmi.Spec.Domain.Memory.Guest.Equal(*vmi.Spec.Domain.Memory.MaxGuest)) { | CODE |
| CRITICAL | pkg/virt-handler/migration-target.go | 1178 | requiredMemory.Add(*vmi.Spec.Domain.Resources.Requests.Memory()) | CODE |
| CRITICAL | pkg/virt-handler/migration-target.go | 1182 | return fmt.Errorf("amount of requested guest memory (%s) exceeds the launcher memory request (%s)", vmi.Spec.Domain.Me | CODE |
| CRITICAL | pkg/virt-handler/migration-source.go | 171 | migrationEndUnix := vmi.Status.MigrationState.EndTimestamp.Time.UTC().Unix() | CODE |
| CRITICAL | pkg/virt-handler/vm.go | 1660 | startTime = dom.Spec.Metadata.KubeVirt.GracePeriod.DeletionTimestamp.UTC().Unix() | CODE |
| CRITICAL | …webhooks/mutating-webhook/mutators/vmi-mutator_test.go | 574 | Expect(vmiSpec.Domain.Resources.Requests.Cpu()).To(Equal(vmi.Spec.Domain.Resources.Requests.Cpu())) | CODE |
| CRITICAL | …webhooks/mutating-webhook/mutators/vmi-mutator_test.go | 575 | Expect(vmiSpec.Domain.Resources.Requests.Memory()).To(Equal(vmi.Spec.Domain.Resources.Requests.Memory())) | CODE |
| CRITICAL | pkg/virt-api/rest/expand_test.go | 232 | Expect(responseVm.Spec.Template.Spec.Domain.Memory.Guest.Value()).To(Equal(clusterInstancetype.Spec.Memory.Guest.Valu | CODE |
| CRITICAL | pkg/virt-api/rest/expand_test.go | 374 | Expect(responseVm.Spec.Template.Spec.Domain.Memory.Guest.Value()).To(Equal(namespacedInstancetype.Spec.Memory.Guest.V | CODE |
| CRITICAL | pkg/render/render_test.go | 404 | Expect(result.VMI.Spec.Domain.Memory.Guest.String()).To(Equal("2Gi")) | CODE |
| CRITICAL | pkg/storage/snapshot/external.go | 718 | capacityBound += volumeBackup.PersistentVolumeClaim.Spec.Resources.Requests.Storage().Value() | CODE |
| CRITICAL | pkg/defaults/defaults.go | 143 | maxGuest = resource.NewQuantity(vmi.Spec.Domain.Memory.Guest.Value()*int64(clusterConfig.GetMaxHotplugRatio()), resour | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 590 | if !vm.Spec.Template.Spec.Domain.Resources.Requests.Cpu().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 591 | newCpuReq := vmi.Spec.Domain.Resources.Requests.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 595 | patch.WithTest("/spec/domain/resources/requests/cpu", vmi.Spec.Domain.Resources.Requests.Cpu().String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 601 | if !vm.Spec.Template.Spec.Domain.Resources.Limits.Cpu().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 602 | newCpuLimit := vmi.Spec.Domain.Resources.Limits.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 606 | patch.WithTest("/spec/domain/resources/limits/cpu", vmi.Spec.Domain.Resources.Limits.Cpu().String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3470 | vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Cmp(*vmi.Status.Memory.GuestAtBoot) == -1 { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3479 | vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Cmp(*vmi.Spec.Domain.Memory.MaxGuest) == 1 { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3484 | memoryDelta := resource.NewQuantity(vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Value()-vmi.Status.Me | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3487 | patch.WithTest("/spec/domain/memory/guest", vmi.Spec.Domain.Memory.Guest.String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3488 | patch.WithReplace("/spec/domain/memory/guest", vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.String()) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3491 | logMsg := fmt.Sprintf("hotplugging memory to %s", vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.String( | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3493 | if !vmi.Spec.Domain.Resources.Requests.Memory().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3494 | newMemoryReq := vmi.Spec.Domain.Resources.Requests.Memory().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3502 | memoryDelta = resource.NewQuantity(vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Value()-newMemoryReq | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3506 | patch.WithTest("/spec/domain/resources/requests/memory", vmi.Spec.Domain.Resources.Requests.Memory().String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3512 | if !vmCopyWithInstancetype.Spec.Template.Spec.Domain.Resources.Limits.Memory().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3513 | newMemoryLimit := vmi.Spec.Domain.Resources.Limits.Memory().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3517 | patch.WithTest("/spec/domain/resources/limits/memory", vmi.Spec.Domain.Resources.Limits.Memory().String()), | CODE |
| CRITICAL | pkg/virt-controller/watch/vm/vm.go | 1587 | retryAfter := vm.Status.StartFailure.RetryAfterTimestamp.Time.UTC().Unix() | CODE |
| CRITICAL | pkg/virt-controller/watch/vm/vm.go | 3441 | if vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Equal(*vmi.Spec.Domain.Memory.Guest) { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5526 | expectedCpuReq := vmi.Spec.Domain.Resources.Requests.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5529 | Expect(updatedVMI.Spec.Domain.Resources.Requests.Cpu().String()).To(Equal(expectedCpuReq.String())) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5533 | expectedCpuLim := vmi.Spec.Domain.Resources.Limits.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5536 | Expect(updatedVMI.Spec.Domain.Resources.Limits.Cpu().String()).To(Equal(expectedCpuLim.String())) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5601 | expectedCpuReq := originalVMI.Spec.Domain.Resources.Requests.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5603 | Expect(vmi.Spec.Domain.Resources.Requests.Cpu().String()).To(Equal(expectedCpuReq.String())) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5605 | expectedCpuLim := originalVMI.Spec.Domain.Resources.Limits.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5607 | Expect(vmi.Spec.Domain.Resources.Limits.Cpu().String()).To(Equal(expectedCpuLim.String())) | CODE |
| CRITICAL | pkg/virt-controller/watch/vm/vm_test.go | 5706 | Expect(vmi.Spec.Domain.Memory.Guest.Cmp(*vm.Spec.Template.Spec.Domain.Memory.Guest)).To(Equal(0), "The VMI Guest sh | CODE |
| CRITICAL | pkg/virt-controller/watch/vm/vm_test.go | 5710 | Expect(vmi.Spec.Domain.Resources.Requests.Memory().Value()).To(Equal(expectedMemReq)) | CODE |
| CRITICAL | pkg/virt-controller/watch/vmi/lifecycle.go | 1171 | return vmi.Spec.Domain.Memory.Guest.Value() != vmi.Status.Memory.GuestRequested.Value() | CODE |
| CRITICAL | pkg/virt-controller/services/template_test.go | 2454 | Expect(vmi.Spec.Domain.Resources.Requests.Memory().String()).To(Equal("64M")) | CODE |
| 16 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | images/disks-images-provider/entrypoint.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | images/disks-images-provider/entrypoint.sh | 51 | # Create a 4Gi blank disk image | COMMENT |
| MEDIUM | tests/entrypoint.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/cluster-build.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/olm.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/dump.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/go-build-functests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/integration-test.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/cluster-clean.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/functests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/bazel-build-functests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/virtctl.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/build-copy-artifacts.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/realtime-perftests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/lint-test-cleanup-label.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/push-container-manifest.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/cluster-up.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/build-manifests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/golangci-lint.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/whatchanged.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/bazel-build-images.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/cluster-sync.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/multi-arch.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/bootstrap.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/bazel-fmt.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/bazel-push-images.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/perftests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/gofumpt.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/cluster-deploy.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/cluster-deploy.sh | 85 | # Create the installation namespace if it does not exist already | COMMENT |
| MEDIUM | hack/license-header-check.sh | 2 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/license-header-check.sh | 46 | # Define the required license lines based on hack/boilerplate (order does not matter) | COMMENT |
| MEDIUM | hack/perfscale-kube-burner-test.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/manifests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/build-go.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/lint-newcirros-deprecation.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/sync-kubevirtci-stable-provider.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/bazel-build.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/go-test-cache.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/perfscale-tests.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/config-kubevirtci.sh | 2 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/go-fix.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/virt-template/push-images.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/prom-rule-ci/verify-rules.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/prom-metric-linter/metrics_collector.sh | 4 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | hack/prom-metric-linter/metric_name_linter.sh | 4 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/cli.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/kubectl.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/check.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/kubeconfig.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | …i/cluster-up/cluster/dra-cpu/install_dra_driver_cpu.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/cluster/kind-1.37/provider.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | …ster-up/cluster/vfio-gpu/install_dra_example_driver.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | …tci/cluster-up/cluster/vfio-gpu/setup-fake-pci-host.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | …tci/cluster-up/cluster/vfio-gpu/setup-host-vfio-pci.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/cluster/kind/check-cluster-up.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/cluster/kind/bump-kind.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/cluster/kind-ovn/provider.sh | 2 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/cluster-up/cluster/kind-ovn/install-ovn.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/hack/bump-cdi.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/container-disk-v2alpha/main.c | 1 | #include <errno.h> | COMMENT |
| LOW | cmd/virt-launcher-monitor/main.c | 21 | COMMENT | |
| LOW | …t-launcher-monitor/virt_launcher_monitor_suite_test.go | 1 | // This file is part of the KubeVirt project | COMMENT |
| LOW | cmd/virt-launcher-monitor/main_test.go | 1 | // This file is part of the KubeVirt project | COMMENT |
| LOW | tools/analyzers/banncheck/config/config.go | 1 | // Copyright 2020 Google LLC | COMMENT |
| LOW | tools/analyzers/banncheck/banncheck/banned_api.go | 1 | // Copyright 2020 Google LLC | COMMENT |
| LOW | …rt.io/client-go/externalsnapshotter/scheme/register.go | 41 | // | COMMENT |
| LOW | …virt.io/client-go/externalsnapshotter/fake/register.go | 41 | // | COMMENT |
| LOW | …o/networkattachmentdefinitionclient/scheme/register.go | 41 | // | COMMENT |
| LOW | …-go/networkattachmentdefinitionclient/fake/register.go | 41 | // | COMMENT |
| LOW | staging/src/kubevirt.io/client-go/kubecli/kubecli.go | 141 | // | COMMENT |
| LOW | staging/src/kubevirt.io/client-go/kubecli/kubecli.go | 161 | // | COMMENT |
| LOW | staging/src/kubevirt.io/client-go/kubecli/kubecli.go | 181 | // | COMMENT |
| LOW | …irt.io/client-go/prometheusoperator/scheme/register.go | 41 | // | COMMENT |
| LOW | …evirt.io/client-go/prometheusoperator/fake/register.go | 41 | // | COMMENT |
| LOW | …client-go/containerizeddataimporter/scheme/register.go | 41 | // AddToScheme adds all types of this clientset into the given scheme. This allows composition | COMMENT |
| LOW | …o/client-go/containerizeddataimporter/fake/register.go | 41 | // AddToScheme adds all types of this clientset into the given scheme. This allows composition | COMMENT |
| LOW | …/src/kubevirt.io/client-go/kubevirt/scheme/register.go | 61 | snapshotv1alpha1.AddToScheme, | COMMENT |
| LOW | …virt/typed/core/v1/virtualmachineinstance_expansion.go | 261 | // With metav1.ObjectMeta added the openapi validation fails on pkg/virt-api/api.go:310 | COMMENT |
| LOW | …ng/src/kubevirt.io/client-go/kubevirt/fake/register.go | 61 | snapshotv1alpha1.AddToScheme, | COMMENT |
| LOW | staging/src/kubevirt.io/api/snapshot/v1beta1/types.go | 61 | ) | COMMENT |
| LOW | staging/src/kubevirt.io/api/snapshot/v1beta1/types.go | 81 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/snapshot/v1beta1/types.go | 441 | VolumeOwnershipPolicy *VolumeOwnershipPolicy `json:"volumeOwnershipPolicy,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 101 | Domain DomainSpec `json:"domain"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 121 | // TopologySpreadConstraints describes how a group of VMIs will be spread across a given topology | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 141 | StartStrategy *StartStrategy `json:"startStrategy,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 161 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 181 | // configuration based on DNSPolicy. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 201 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 221 | // feature-gate CrossArchitectureVirtualization is enabled. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 241 | // VolumeClaimTemplate is the template the controller uses to create PVCs it | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 261 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 321 | type VirtualMachineInstanceStatus struct { | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 341 | // Represents the method using which the vmi can be migrated: live migration or block migration | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 361 | ActivePods map[types.UID]string `json:"activePods,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 381 | FSFreezeStatus string `json:"fsFreezeStatus,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 401 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 421 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 441 | VolumeName string `json:"volumeName"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 841 | // Reason means that VMI is not live migratable because it uses IBM Secure Execution | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1081 | // +listType=atomic | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1121 | // Indicates the migration completed | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1261 | FuncTestMemoryHotplugFailAnnotation string = "kubevirt.io/func-test-memory-hotplug-fail" | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1281 | MigrationNameLabel string = "kubevirt.io/migrationName" | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1301 | NodeSchedulable string = "kubevirt.io/schedulable" | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1361 | // Used on VirtualMachineInstance. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1521 | // MigrationTargetReadyTimestamp indicates the time at which the target node | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1541 | // happens. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1561 | // At most one resource of each type may carry this label; duplicates within | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1581 | // DisablePCIHole64 indicates that the 64-Bit PCI hole should be disabled on a VirtualMachineInstance. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1601 | // access to cluster services otherwise blocked by the strict network policy (NP). | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1621 | // - key: np.kubevirt.io/allow-access-cluster-services | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2061 | }, | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2141 | // Deprecated: VirtualMachineInstance field "Running" is now deprecated, please use RunStrategy instead. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2201 | // VirtualMachineStatusCrashLoopBackOff indicates that the virtual machine is currently in a crash loop waiting to be r | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2241 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2261 | // e.g. stop a specific VMI then start a new one. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2281 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2301 | // updates related to the volumeUpdateStrategy | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2381 | // BackupName is the name of the executed backup | COMMENT |
| 302 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/csv-generator/csv-generator.go | 44 | namespace := flag.String("namespace", "placeholder", "Namespace to use.") | CODE |
| LOW | tools/manifest-templator/manifest-templator.go | 92 | csvNamespace := flag.String("csv-namespace", "placeholder", "") | CODE |
| LOW | …lidating-webhook/admitters/vmi-create-admitter_test.go | 584 | map[string]string{v1.IgnitionAnnotation: "fake-data"}, | CODE |
| LOW | …lidating-webhook/admitters/vmi-create-admitter_test.go | 607 | map[string]string{v1.IgnitionAnnotation: "fake-data"}, | CODE |
| LOW⚡ | pkg/virtctl/ssh/ssh_test.go | 79 | fakeName = "fake-name" | CODE |
| LOW⚡ | pkg/virtctl/ssh/ssh_test.go | 87 | Entry("with SSH username", ssh.SSHOptions{SSHUsername: "testuser"}, "testuser@fake-kind.fake-name.fake-ns"), | CODE |
| LOW⚡ | pkg/virtctl/ssh/ssh_test.go | 88 | Entry("without SSH username", ssh.SSHOptions{}, "fake-kind.fake-name.fake-ns"), | CODE |
| LOW⚡ | pkg/virtctl/scp/scp_test.go | 66 | Name: "fake-name", | CODE |
| LOW⚡ | pkg/virtctl/scp/scp_test.go | 74 | Expect(scpTarget[0]).To(Equal("testuser@fake-kind.fake-name.fake-ns:/remote/fakepath")) | CODE |
| LOW⚡ | pkg/virtctl/scp/scp_test.go | 80 | Expect(scpTarget[0]).To(Equal("fake-kind.fake-name.fake-ns:/remote/fakepath")) | CODE |
| LOW | pkg/virtctl/scp/scp_test.go | 105 | Expect(scpTarget[0]).To(Equal("fake-kind.fake-name.fake-ns:/remote/fakepath")) | CODE |
| LOW | pkg/virtctl/scp/scp_test.go | 113 | Expect(scpTarget[1]).To(Equal("fake-kind.fake-name.fake-ns:/remote/fakepath")) | CODE |
| LOW | pkg/virtctl/create/clone/clone_test.go | 60 | flags := addFlag(nil, virtctlclone.SourceNameFlag, "fake-name") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/version.sh | 54 | # Check if the tree is dirty. default to dirty | COMMENT |
| LOW | hack/gen-client-python/deploy.sh | 34 | # Check if there are changes to commit, ignoring api_client.py & configuration.py | COMMENT |
| LOW | hack/prom-metric-linter/metric_name_linter.sh | 57 | # Check if the linter found any errors with the metrics names, if yes print and fail | COMMENT |
| LOW | …luster-up/cluster/k8s-1.35/sriov-node/configure_vfs.sh | 10 | # Check if a VF is bound to a different driver | COMMENT |
| LOW | …luster-up/cluster/k8s-1.35/sriov-node/configure_vfs.sh | 15 | # Check if VF already configured with supported driver | COMMENT |
| LOW | …luster-up/cluster/k8s-1.36/sriov-node/configure_vfs.sh | 10 | # Check if a VF is bound to a different driver | COMMENT |
| LOW | …luster-up/cluster/k8s-1.36/sriov-node/configure_vfs.sh | 15 | # Check if VF already configured with supported driver | COMMENT |
| LOW | …luster-up/cluster/k8s-1.37/sriov-node/configure_vfs.sh | 10 | # Check if a VF is bound to a different driver | COMMENT |
| LOW | …luster-up/cluster/k8s-1.37/sriov-node/configure_vfs.sh | 15 | # Check if VF already configured with supported driver | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/console/console.go | 82 | // NOTE: This functions heritage limitations from `ExpectBatchWithValidatedSend` refer to it to check them. | COMMENT |
| LOW | tests/console/console.go | 91 | // NOTE: This functions inherits limitations from `ExpectBatchWithValidatedSend`, refer to it for more information. | COMMENT |
| LOW | docs/debugging.md | 94 | ### Step 1 - recompile go code, build and publish container image | COMMENT |
| LOW | docs/debugging.md | 103 | ### Step 2 - modify workload manifest to consume debug container image and execute delve | COMMENT |
| LOW | docs/debugging.md | 184 | ### Step 3 - port-forward a local port to the target pod designated debug port | COMMENT |
| LOW | docs/debugging.md | 187 | ### Step 4 - connect to localhost:2345 with your debugger | COMMENT |
| LOW | pkg/storage/snapshot/restore.go | 755 | // Step 1: Remove backend label from the original backend PVC, if it still exists | COMMENT |
| LOW | pkg/storage/snapshot/restore.go | 771 | // Step 2: Update the restore PVC with backend labels | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | staging/src/kubevirt.io/api/core/v1/types.go | 720 | // migration state is not nil. Essentially this happens after the migration resource is created. | COMMENT |
| MEDIUM | pkg/virt-config/featuregate/active.go | 86 | // These backups leverage libvirt's native backup capabilities, providing a storage-agnostic solution. | COMMENT |
| MEDIUM | …rt-launcher/virtwrap/converter/storage/configurator.go | 117 | // we don't want to allocate an auto thread pool larger than what a VM can utilize | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/oci-import.sh | 10 | # Usage: | COMMENT |
| LOW | hack/go-test-cache.sh | 25 | # Usage: | COMMENT |
| LOW | …/observability/examples/kubevirt-vm-labels-config.yaml | 1 | # Usage: | COMMENT |
| LOW | …ci/cluster-up/cluster/kind/configure-registry-proxy.sh | 16 | # Usage example: | COMMENT |
| LOW | automation/repeated_test.sh | 229 | # How to use: | COMMENT |
| LOW | automation/test.sh | 555 | # How to use: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | automation/label-approved-veps.py | 66 | def extract_enhancements_references(pr_body): | CODE |
| LOW | automation/label-approved-veps.py | 131 | def _is_item_field_tracked_status(field_value_node): | CODE |
| LOW | automation/label-approved-veps.py | 144 | def _check_item_fields_for_tracked_status(field_value_nodes): | CODE |
| LOW | automation/label-approved-veps.py | 148 | def _extract_issue_if_tracked(item_node): | CODE |
| LOW | automation/label-approved-veps.py | 183 | def _extract_page_data_from_gql_result(result, project_number_for_logging): | CODE |
| LOW | automation/label-approved-veps.py | 209 | def get_tracked_enhancement_issues_from_project(project_number): | CODE |
| LOW | pkg/network/dhcp/server/server_test.go | 103 | Context("function convertSearchDomainsToBytes(searchDomainStrings []string) ([]byte, error)", func() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …client-python/hard-coded-modules/v1_interface_slirp.py | 15 | CODE | |
| LOW | …client-python/hard-coded-modules/v1_interface_slirp.py | 16 | CODE | |
| LOW | …lient-python/hard-coded-modules/v1_interface_bridge.py | 15 | CODE | |
| LOW | …lient-python/hard-coded-modules/v1_interface_bridge.py | 16 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | staging/src/kubevirt.io/client-go/log/log.go | 410 | //TODO: implement proper behavior for unsupported GA commands | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2569 | // TODO: implement a realistic TCP lifecycle hook | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hack/version.sh | 20 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/storage/snapshot/restore.go | 755 | // Step 1: Remove backend label from the original backend PVC, if it still exists | COMMENT |
| LOW | pkg/storage/snapshot/restore.go | 771 | // Step 2: Update the restore PVC with backend labels | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …client-python/hard-coded-modules/v1_interface_slirp.py | 40 | CODE | |
| LOW | …lient-python/hard-coded-modules/v1_interface_bridge.py | 40 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | automation/label-approved-veps.py | 249 | print(f"Error parsing project URL '{TARGET_PROJECT_URL}':\n{e}") | CODE |