Kubernetes Virtualization API and runtime in order to define and manage virtual machines.
This report presents the forensic synthetic code analysis of kubevirt/kubevirt, a Go project with 6,946 GitHub stars. SynthScan v2.0 examined 647,178 lines of code across 2782 source files, recording 579 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 579 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | 93 | 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 | 553 | targetVMI.Spec.Domain.Firmware = sourceVM.Spec.Template.Spec.Domain.Firmware.DeepCopy() | CODE |
| CRITICAL | tests/operator/operator.go | 353 | return ds.Status.DesiredNumberScheduled == ds.Status.NumberReady && ds.Spec.UpdateStrategy.RollingUpdate.MaxUnavai | CODE |
| CRITICAL | pkg/virt-launcher/virtwrap/manager.go | 441 | 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 | 35 | (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 | 1185 | requiredMemory.Add(*vmi.Spec.Domain.Resources.Requests.Memory()) | CODE |
| CRITICAL | pkg/virt-handler/migration-target.go | 1189 | 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 | 166 | migrationEndUnix := vmi.Status.MigrationState.EndTimestamp.Time.UTC().Unix() | CODE |
| CRITICAL | pkg/virt-handler/vm.go | 1690 | 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/defaults/defaults.go | 125 | maxGuest = resource.NewQuantity(vmi.Spec.Domain.Memory.Guest.Value()*int64(clusterConfig.GetMaxHotplugRatio()), resour | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 586 | if !vm.Spec.Template.Spec.Domain.Resources.Requests.Cpu().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 587 | newCpuReq := vmi.Spec.Domain.Resources.Requests.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 591 | patch.WithTest("/spec/domain/resources/requests/cpu", vmi.Spec.Domain.Resources.Requests.Cpu().String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 597 | if !vm.Spec.Template.Spec.Domain.Resources.Limits.Cpu().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 598 | newCpuLimit := vmi.Spec.Domain.Resources.Limits.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 602 | patch.WithTest("/spec/domain/resources/limits/cpu", vmi.Spec.Domain.Resources.Limits.Cpu().String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3499 | vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Cmp(*vmi.Status.Memory.GuestAtBoot) == -1 { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3508 | vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Cmp(*vmi.Spec.Domain.Memory.MaxGuest) == 1 { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3513 | memoryDelta := resource.NewQuantity(vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Value()-vmi.Status.Me | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3516 | patch.WithTest("/spec/domain/memory/guest", vmi.Spec.Domain.Memory.Guest.String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3517 | patch.WithReplace("/spec/domain/memory/guest", vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.String()) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3520 | logMsg := fmt.Sprintf("hotplugging memory to %s", vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.String( | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3522 | if !vmi.Spec.Domain.Resources.Requests.Memory().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3523 | newMemoryReq := vmi.Spec.Domain.Resources.Requests.Memory().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3531 | memoryDelta = resource.NewQuantity(vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Value()-newMemoryReq | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3535 | patch.WithTest("/spec/domain/resources/requests/memory", vmi.Spec.Domain.Resources.Requests.Memory().String()), | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3541 | if !vmCopyWithInstancetype.Spec.Template.Spec.Domain.Resources.Limits.Memory().IsZero() { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3542 | newMemoryLimit := vmi.Spec.Domain.Resources.Limits.Memory().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm.go | 3546 | patch.WithTest("/spec/domain/resources/limits/memory", vmi.Spec.Domain.Resources.Limits.Memory().String()), | CODE |
| CRITICAL | pkg/virt-controller/watch/vm/vm.go | 1565 | retryAfter := vm.Status.StartFailure.RetryAfterTimestamp.Time.UTC().Unix() | CODE |
| CRITICAL | pkg/virt-controller/watch/vm/vm.go | 3470 | if vmCopyWithInstancetype.Spec.Template.Spec.Domain.Memory.Guest.Equal(*vmi.Spec.Domain.Memory.Guest) { | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5422 | expectedCpuReq := vmi.Spec.Domain.Resources.Requests.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5425 | Expect(updatedVMI.Spec.Domain.Resources.Requests.Cpu().String()).To(Equal(expectedCpuReq.String())) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5429 | expectedCpuLim := vmi.Spec.Domain.Resources.Limits.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5432 | Expect(updatedVMI.Spec.Domain.Resources.Limits.Cpu().String()).To(Equal(expectedCpuLim.String())) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5497 | expectedCpuReq := originalVMI.Spec.Domain.Resources.Requests.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5499 | Expect(vmi.Spec.Domain.Resources.Requests.Cpu().String()).To(Equal(expectedCpuReq.String())) | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5501 | expectedCpuLim := originalVMI.Spec.Domain.Resources.Limits.Cpu().DeepCopy() | CODE |
| CRITICAL⚡ | pkg/virt-controller/watch/vm/vm_test.go | 5503 | Expect(vmi.Spec.Domain.Resources.Limits.Cpu().String()).To(Equal(expectedCpuLim.String())) | CODE |
| CRITICAL | pkg/virt-controller/watch/vm/vm_test.go | 5602 | 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 | 5606 | Expect(vmi.Spec.Domain.Resources.Requests.Memory().Value()).To(Equal(expectedMemReq)) | CODE |
| CRITICAL | pkg/virt-controller/watch/vmi/lifecycle.go | 1162 | return vmi.Spec.Domain.Memory.Guest.Value() != vmi.Status.Memory.GuestRequested.Value() | CODE |
| CRITICAL | pkg/virt-controller/services/template_test.go | 2297 | Expect(vmi.Spec.Domain.Resources.Requests.Memory().String()).To(Equal("64M")) | CODE |
| CRITICAL | pkg/virt-controller/services/template_test.go | 2697 | guestRequestMemDiff := vmi.Spec.Domain.Resources.Requests.Memory() | CODE |
| CRITICAL | pkg/virt-controller/services/template_test.go | 3084 | expectedMemory.Add(*vmi.Spec.Domain.Resources.Requests.Memory()) | CODE |
| 14 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 | 67 | # 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 | 51 | # 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/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/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 | …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 |
| MEDIUM | kubevirtci/hack/bump-centos-version.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/hack/bump-whereabouts.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/hack/bump-net-resources-injector.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| MEDIUM | kubevirtci/hack/bump-cnao.sh | 3 | # This file is part of the KubeVirt project | COMMENT |
| 68 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/container-disk-v2alpha/main.c | 1 | #include <errno.h> | 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 | 241 | // 1. CommandLineLocation - this parsed from the command line, so it must be late bound. If you specify this, | COMMENT |
| LOW | staging/src/kubevirt.io/client-go/kubecli/kubecli.go | 261 | // 3. Determine the cluster info and auth info to use. At this point, we may or may not have a context. They | COMMENT |
| LOW | staging/src/kubevirt.io/client-go/kubecli/kubecli.go | 281 | // | 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 | } | COMMENT |
| LOW | …virt/typed/core/v1/virtualmachineinstance_expansion.go | 241 | Do(ctx). | COMMENT |
| LOW | …ng/src/kubevirt.io/client-go/kubevirt/fake/register.go | 61 | } | COMMENT |
| LOW | staging/src/kubevirt.io/api/snapshot/v1beta1/types.go | 401 | // VolumeRestoreOverrides gives the option to change properties of each restored volume | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 81 | // VirtualMachineInstanceSpec is a description of a VirtualMachineInstance. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 101 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 121 | // The possible options are: | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 141 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 161 | // Set DNS policy for the pod. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 181 | // ResourceClaims define which ResourceClaims must be allocated | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 201 | // +listType=map | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 261 | TSCFrequency *int64 `json:"tscFrequency,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 281 | Interfaces []VirtualMachineInstanceNetworkInterface `json:"interfaces,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 301 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 321 | FSFreezeStatus string `json:"fsFreezeStatus,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 341 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 381 | type PersistentVolumeClaimInfo struct { | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 441 | type KernelInfo struct { | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1021 | Failed bool `json:"failed,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1101 | const ( | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1161 | // Similar to kubevirt.io/domain. Used on Pod. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1181 | WorkloadUpdateMigrationAnnotation string = "kubevirt.io/workloadUpdateMigration" | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1381 | // DeprecatedVirtualMachineNameLabel is the name of the Virtual Machine | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1401 | // vm has the pod networking bind with a bridge | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1421 | // VirtualMachinePodMemoryRequestsLabel indicates VMI pod Memory resource requests | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1441 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1461 | QGSSocketPathAnnotation = "kubevirt.io/qgs-socket-path" | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1481 | // --- | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1501 | // # allow talking to the kube-dns pods in kubevirt | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 1781 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2001 | UpdateVolumesStrategyMigration UpdateVolumesStrategy = "Migration" | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2061 | // VirtualMachineStatusRunning indicates that the virtual machine is running. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2081 | // VirtualMachineStatusErrImagePull indicates that an error has occurred while pulling an image for | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2121 | PrintableStatus VirtualMachinePrintableStatus `json:"printableStatus,omitempty"` | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2141 | COMMENT | |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2161 | // This is needed to correctly process the next strategy (for now only the RerunOnFailure) | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2241 | // EndTimestamp is the timestamp when the backup ended | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2381 | // IOThreads - User mode based threads with a shared lock that perform I/O tasks. Can impact performance but offers | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2401 | // for an intentional or transient reason such as a user pause, snapshot, | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2421 | // Number of seconds after the VirtualMachineInstance has started before liveness probes are initiated. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2501 | const ( | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2521 | // | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2541 | // +optional | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2581 | // Specifies if kubevirt can be deleted if workloads are still present. | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2761 | // The value zero indicates, restart immediately. If this value is nil, the default grace period for deletion of the co | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2781 | COMMENT | |
| 260 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 | 467 | map[string]string{v1.IgnitionAnnotation: "fake-data"}, | CODE |
| LOW | …lidating-webhook/admitters/vmi-create-admitter_test.go | 490 | map[string]string{v1.IgnitionAnnotation: "fake-data"}, | CODE |
| LOW⚡ | pkg/virtctl/ssh/ssh_test.go | 78 | fakeName = "fake-name" | CODE |
| LOW⚡ | pkg/virtctl/ssh/ssh_test.go | 86 | Entry("with SSH username", ssh.SSHOptions{SSHUsername: "testuser"}, "testuser@fake-kind.fake-name.fake-ns"), | CODE |
| LOW⚡ | pkg/virtctl/ssh/ssh_test.go | 87 | Entry("without SSH username", ssh.SSHOptions{}, "fake-kind.fake-name.fake-ns"), | CODE |
| LOW⚡ | pkg/virtctl/ssh/ssh_test.go | 93 | expected := fmt.Sprintf("port-forward --stdio=true fake-kind/fake-name/fake-ns %d", sshPort) | 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 | 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 | 750 | // Step 1: Remove backend label from the original backend PVC | COMMENT |
| LOW⚡ | pkg/storage/snapshot/restore.go | 756 | // Step 2: Update the restore PVC with backend labels | COMMENT |
| 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 | …ster-up/cluster/kind-sriov/sriov-node/configure_vfs.sh | 10 | # Check if a VF is bound to a different driver | COMMENT |
| LOW | …ster-up/cluster/kind-sriov/sriov-node/configure_vfs.sh | 15 | # Check if VF already configured with supported driver | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hack/oci-import.sh | 10 | # Usage: | COMMENT |
| LOW | …/observability/examples/kubevirt-vm-labels-config.yaml | 1 | # Usage: | COMMENT |
| LOW | …ci/cluster-up/cluster/kind/configure-registry-proxy.sh | 14 | # Usage example: | COMMENT |
| LOW | automation/repeated_test.sh | 226 | # How to use: | COMMENT |
| LOW | automation/test.sh | 516 | # 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 |
|---|---|---|---|---|
| MEDIUM | staging/src/kubevirt.io/api/core/v1/types.go | 652 | // migration state is not nil. Essentially this happens after the migration resource is created. | COMMENT |
| MEDIUM | pkg/virt-config/featuregate/active.go | 89 | // These backups leverage libvirt's native backup capabilities, providing a storage-agnostic solution. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | pkg/storage/snapshot/restore.go | 750 | // Step 1: Remove backend label from the original backend PVC | COMMENT |
| LOW⚡ | pkg/storage/snapshot/restore.go | 756 | // 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 | 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 | 394 | //TODO: implement proper behavior for unsupported GA commands | COMMENT |
| LOW | staging/src/kubevirt.io/api/core/v1/types.go | 2411 | // 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 | …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 |