Repository Analysis

kubernetes/kubernetes

Production-Grade Container Scheduling and Management

1.6 Likely human-written View on GitHub
1.6
Adjusted Score
1.6
Raw Score
100%
Time Factor
2026-05-29
Last Push
122,536
Stars
Go
Language
4,493,837
Lines of Code
20704
Files
6842
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 9HIGH 17MEDIUM 230LOW 6586

Pattern Findings

6842 matches across 17 categories. Click a row to expand file-level details.

Over-Commented Block6415 hits · 5712 pts
SeverityFileLineSnippet
LOWcmd/kube-controller-manager/names/controller_names.go21// NAMING CONVENTIONS
LOWcmd/importverifier/importverifier.go41
LOWcmd/cloud-controller-manager/providers.go21
LOWcmd/kubeadm/app/componentconfigs/fakeconfig_test.go41 kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
LOWcmd/kubeadm/app/cmd/util/documentation.go21)
LOWcmd/kubeadm/app/cmd/phases/workflow/runner.go61 // more than one time)
LOWcmd/kubeadm/app/cmd/phases/workflow/phase.go61 // RunIf define a function that implements a condition that should be checked
LOWcmd/kubeadm/app/apis/bootstraptoken/v1/types.go21)
LOWcmd/kubeadm/app/apis/bootstraptoken/v1/types.go41 // Usages describes the ways in which this token can be used. Can by default be used
LOWcmd/kubeadm/app/apis/output/doc.go21// The purpose of the kubeadm structured output is to have a well
LOWcmd/kubeadm/app/apis/output/v1alpha3/doc.go21// Package v1alpha3 defines the v1alpha3 version of the kubeadm data structures
LOWcmd/kubeadm/app/apis/kubeadm/types.go41
LOWcmd/kubeadm/app/apis/kubeadm/types.go101 // ControlPlaneEndpoint sets a stable IP address or DNS name for the control plane; it
LOWcmd/kubeadm/app/apis/kubeadm/types.go241 CRISocket string
LOWcmd/kubeadm/app/apis/kubeadm/types.go301 // ExtraArgs are extra arguments provided to the etcd binary
LOWcmd/kubeadm/app/apis/kubeadm/types.go321type ExternalEtcd struct {
LOWcmd/kubeadm/app/apis/kubeadm/types.go421 APIServerEndpoint string
LOWcmd/kubeadm/app/apis/kubeadm/types.go481 ReadOnly bool
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go41
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go61 // The certificate key is a hex encoded string that is an AES key of size 32 bytes.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go101 // In case the ControlPlaneEndpoint is not specified, the AdvertiseAddress + BindPort
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go121 // Scheduler contains extra settings for the scheduler control plane component
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go141 ImageRepository string `json:"imageRepository,omitempty"`
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go161 CertificateValidityPeriod *metav1.Duration `json:"certificateValidityPeriod,omitempty"`
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go261 // KubeletExtraArgs passes through extra arguments to the kubelet. The arguments here are passed to the kubelet command
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go281 // ImagePullSerial specifies if image pulling performed by kubeadm must be done serially or in parallel.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go321 // Defaults to "/var/lib/etcd".
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go341 // PeerCertSANs sets extra Subject Alternative Names for the etcd peer signing cert.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go401
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go421}
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go461 // APIServerEndpoint is an IP or domain name to the API server from which info will be fetched.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go501 // PathType is the type of the HostPath.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go541
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go601
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go621 // for a joining node.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go641 KubernetesVersion string `json:"kubernetesVersion,omitempty"`
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go681 // PrintConfig specifies whether the configuration file that will be used in the upgrade should be printed or not.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go701// UpgradeDiffConfiguration contains a list of configurable options which are specific to the "kubeadm upgrade diff" com
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go721 DryRun *bool `json:"dryRun,omitempty"`
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go741
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/types.go761 // Default: false
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go21
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go41// - Support custom environment variables in control plane components under `ClusterConfiguration`.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go61// by `Timeouts.ControlPlaneComponentHealthCheck`. The `JoinConfiguration.Discovery.Timeout` is replaced by
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go81// A kubeadm config file could contain multiple configuration types separated using three dashes ("---").
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go101// kind: ResetConfiguration
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go121// relevance for security (e.g. enforce authorization-mode Node and RBAC on api server)
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go141// is executed, including:
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go161// ...
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go181//
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go201// - token: "9a08jv.c0izixklcxtmnze7"
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go221// ignorePreflightErrors:
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go241// imageTag: "3.2.24"
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go261// serviceSubnet: "10.96.0.0/16"
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go281// - "ec2-10-100-0-1.compute-1.amazonaws.com"
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go301// pathType: File
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go321// When executing kubeadm join with the --config option, the JoinConfiguration type should be provided.
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go341//
LOWcmd/kubeadm/app/apis/kubeadm/v1beta4/doc.go361// ...
LOWcmd/kubeadm/app/apis/kubeadm/v1beta3/types.go41
6355 more matches not shown…
Self-Referential Comments173 hits · 624 pts
SeverityFileLineSnippet
MEDIUMcluster/gce/util.sh3252 # Create a single firewall rule for all minions.
MEDIUMcluster/gce/gci/configure-helper.sh866 # Create a static Bearer token and kubeconfig for extra, comma-separated components.
MEDIUMcluster/gce/gci/configure-helper.sh1741# Create the log file and set its properties.
MEDIUMcluster/gce/gci/configure-helper.sh2934 # Create a new directory for the DNS addon and prepend a "0" on the name.
MEDIUMcluster/gce/gci/configure-helper.sh3350# This function is adapted from the detect_client_info function in cluster/get-kube-binaries.sh
MEDIUMcluster/gce/gci/configure.sh844# This function is adapted from the detect_client_info function in cluster/get-kube-binaries.sh
MEDIUMcluster/gce/gci/configure-kubeapiserver.sh146 # Create the audit policy file, and mount it into the apiserver pod.
MEDIUMcluster/gce/gci/configure-kubeapiserver.sh191 # Create the audit webhook config file, and mount it into the apiserver pod.
MEDIUMcluster/gce/gci/configure-kubeapiserver.sh285 # Create the ABAC file if it doesn't exist yet, or if we have a KUBE_USER set (to ensure the right user is given per
MEDIUMcluster/gce/gci/configure-kubeapiserver.sh322 # Create the EgressSelectorConfiguration yaml file to control the Egress Selector.
MEDIUMcluster/log-dump/log-dump.sh568 # Create the logexporter namespace, service-account secret and the logexporter daemonset within that namespace.
MEDIUM…io/apiserver/plugin/pkg/authorizer/webhook/gencerts.sh49# Create a certificate authority
MEDIUM…io/apiserver/plugin/pkg/authorizer/webhook/gencerts.sh53# Create a second certificate authority
MEDIUM…io/apiserver/plugin/pkg/authorizer/webhook/gencerts.sh57# Create a server certiticate
MEDIUM…io/apiserver/plugin/pkg/authorizer/webhook/gencerts.sh62# Create a client certiticate
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh74# Create a certificate authority
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh78# Create a second certificate authority
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh82# Create an intermediate certificate authority
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh87# Create an intermediate certificate authority with sha1 signature
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh91# Create a server certiticate
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh96# Create a server certiticate w/o SAN
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh100# Create a server certiticate with SHA1 signature signed by OK intermediate CA
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh104# Create a server certiticate signed by SHA1-signed intermediate CA
MEDIUM…ging/src/k8s.io/apiserver/pkg/util/webhook/gencerts.sh108# Create a client certiticate
MEDIUM…ver/pkg/admission/plugin/webhook/testcerts/gencerts.sh56# Create a certificate authority
MEDIUM…ver/pkg/admission/plugin/webhook/testcerts/gencerts.sh60# Create a second certificate authority
MEDIUM…ver/pkg/admission/plugin/webhook/testcerts/gencerts.sh64# Create a server certiticate
MEDIUM…ver/pkg/admission/plugin/webhook/testcerts/gencerts.sh69# Create a client certiticate
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/kuberc/kuberc.go40 # Create an alias for a command
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/kuberc/set.go64 # Create an alias 'getn' for 'get' command with prepended 'nodes' resource
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/kuberc/set.go67 # Create an alias 'runx' for 'run' command with appended arguments
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go67 # Create a service for a replicated nginx, which serves on port 80 and connects to the containers on port 8000
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go70 # Create a service for a replication controller identified by type and name specified in "nginx-controller.yaml", whic
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go73 # Create a service for a pod valid-pod, which serves on port 444 with the name "frontend"
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go76 # Create a second service based on the above service, exposing the container port 8443 as port 443 with the name "ngin
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go79 # Create a service for a replicated streaming application on port 4100 balancing UDP traffic and named 'video-stream'.
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go82 # Create a service for a replicated nginx using replica set, which serves on port 80 and connects to the containers on
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go85 # Create a service for an nginx deployment, which serves on port 80 and connects to the containers on port 8000
MEDIUM…ging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go45 # Create a new resource quota named my-quota
MEDIUM…ging/src/k8s.io/kubectl/pkg/cmd/create/create_quota.go48 # Create a new resource quota named best-effort
MEDIUM…k8s.io/kubectl/pkg/cmd/create/create_serviceaccount.go44 # Create a new service account named my-service-account
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/create/create.go72 # Create a pod using the data in pod.json
MEDIUMstaging/src/k8s.io/kubectl/pkg/cmd/create/create.go75 # Create a pod based on the JSON passed into stdin
MEDIUM…/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go44 # Create a priority class named high-priority
MEDIUM…/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go47 # Create a priority class named default-priority that is considered as the global default priority
MEDIUM…/k8s.io/kubectl/pkg/cmd/create/create_priorityclass.go50 # Create a priority class named high-priority that cannot preempt pods with lower priority
MEDIUM…src/k8s.io/kubectl/pkg/cmd/create/create_secret_tls.go48 # Create a new TLS secret named tls-secret with the given key pair
MEDIUM…ng/src/k8s.io/kubectl/pkg/cmd/create/create_service.go236 # Create a new ClusterIP service named my-cs
MEDIUM…ng/src/k8s.io/kubectl/pkg/cmd/create/create_service.go239 # Create a new ClusterIP service named my-cs (in headless mode)
MEDIUM…ng/src/k8s.io/kubectl/pkg/cmd/create/create_service.go277 # Create a new NodePort service named my-ns
MEDIUM…ng/src/k8s.io/kubectl/pkg/cmd/create/create_service.go314 # Create a new LoadBalancer service named my-lbs
MEDIUM…ng/src/k8s.io/kubectl/pkg/cmd/create/create_service.go354 # Create a new ExternalName service named my-ns
MEDIUM…aging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go47 # Create a role named "pod-reader" that allows user to perform "get", "watch" and "list" on pods
MEDIUM…aging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go50 # Create a role named "pod-reader" with ResourceName specified
MEDIUM…aging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go53 # Create a role named "foo" with API Group specified
MEDIUM…aging/src/k8s.io/kubectl/pkg/cmd/create/create_role.go56 # Create a role named "foo" with SubResource specified
MEDIUM…ing/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go84 # Create a new secret named my-secret with keys for each file in folder bar
MEDIUM…ing/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go87 # Create a new secret named my-secret with specified keys instead of names on disk
MEDIUM…ing/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go90 # Create a new secret named my-secret with key1=supersecret and key2=topsecret
MEDIUM…ing/src/k8s.io/kubectl/pkg/cmd/create/create_secret.go93 # Create a new secret named my-secret using a combination of a file and a literal
113 more matches not shown…
AI Slop Vocabulary51 hits · 147 pts
SeverityFileLineSnippet
MEDIUMcmd/cloud-controller-manager/main.go23// The current file demonstrate how other cloud provider should leverage CCM and it uses fake parameters. Please modify
MEDIUMcluster/gce/util.sh2325 # TODO(zmerlynn): To make this really robust, we need to parse the output and
MEDIUMstaging/src/k8s.io/client-go/example_test.go187 // have more robust logic and a workqueue.
MEDIUMstaging/src/k8s.io/client-go/doc.go91// found or already exists. This allows controllers to implement robust,
MEDIUMstaging/src/k8s.io/client-go/tools/cache/reflector.go896 // we utilize the temporaryStore to ensure independence from the current store implementation.
MEDIUM…lient-go/applyconfigurations/core/v1/endpointsubset.go41 // should be considered safe for load balancers and clients to utilize.
MEDIUM…o/applyconfigurations/resource/v1/celdeviceselector.go66 // A robust expression should check for the existence of attributes
MEDIUM…lyconfigurations/resource/v1beta2/celdeviceselector.go66 // A robust expression should check for the existence of attributes
MEDIUM…lyconfigurations/resource/v1beta1/celdeviceselector.go66 // A robust expression should check for the existence of attributes
MEDIUM…aging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go1889 // sandbox, and the runtime should leverage this to ensure correct
MEDIUM…aging/src/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go5626 // container, and the runtime should leverage this to ensure correct
MEDIUM…8s.io/dynamic-resource-allocation/kubeletplugin/doc.go61// https://github.com/kubernetes/kubernetes/blob/v1.33.0/pkg/kubelet/pluginmanager/pluginwatcher/README.md#seamless-upgr
MEDIUM…8s.io/dynamic-resource-allocation/kubeletplugin/doc.go61// https://github.com/kubernetes/kubernetes/blob/v1.33.0/pkg/kubelet/pluginmanager/pluginwatcher/README.md#seamless-upgr
MEDIUMstaging/src/k8s.io/api/core/v1/types.go6445 // should be considered safe for load balancers and clients to utilize.
MEDIUMstaging/src/k8s.io/api/resource/v1/types.go1353 // A robust expression should check for the existence of attributes
MEDIUMstaging/src/k8s.io/api/resource/v1beta2/types.go1493 // A robust expression should check for the existence of attributes
MEDIUMstaging/src/k8s.io/api/resource/v1alpha3/types.go72 // A robust expression should check for the existence of attributes
MEDIUMstaging/src/k8s.io/api/resource/v1beta1/types.go1350 // A robust expression should check for the existence of attributes
MEDIUM…ng/src/k8s.io/apiserver/pkg/apis/apiserver/v1/types.go185 // For more nuanced audience validation, use claimValidationRules.
MEDIUM…c/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go269 // For more nuanced audience validation, use claimValidationRules.
MEDIUM…/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go298 // For more nuanced audience validation, use claimValidationRules.
MEDIUM…s.io/apiserver/pkg/storage/cacher/store/store_btree.go32// Intention is to utilize btree for its cheap snapshots that don't require locking if don't mutate data.
MEDIUM…ging/src/k8s.io/apimachinery/pkg/labels/labels_test.go34 // TODO: Make our label representation robust enough to handle labels
MEDIUM…aging/src/k8s.io/component-base/zpages/features/doc.go20// New zpages added to Kubernetes components should utilize this feature set
MEDIUMtest/cmd/apps.sh619 # TODO: test robust scaling in an e2e.
MEDIUMtest/e2e_node/podresources_test.go1902 // for more robust check, also do a Consistently check
MEDIUMtest/e2e_node/remote/remote.go259 // journald nodes. We should have a more robust way to collect logs.
MEDIUMtest/integration/controlplane/kube_apiserver_test.go664 // TODO(roycaihw): expose response header in rest client and utilize etag here
MEDIUMtest/integration/storageversionmigrator/util.go623 // We utilize the LastSyncResourceVersion of the Garbage Collector (GC) to ensure that the cache is up-to-date before
MEDIUMtest/utils/crd/crd_util.go73 // Be robust about making the crd creation call.
MEDIUMtest/utils/image/manifest.go108// Essentially curl url | writer
MEDIUMtest/e2e/framework/util.go342 // Be robust about making the namespace creation call.
MEDIUMtest/e2e/network/conntrack.go548 // Proxy implementations (which leverage conntrack) can either drop packets
MEDIUMtest/e2e/network/netpol/kubemanager.go55// kubeManager provides a convenience interface to kube functionality that we leverage for polling NetworkPolicy connect
MEDIUMtest/e2e/storage/static_pods.go44// Kind runs its API server as a static Pod, and we leverage it here
MEDIUMtest/e2e/storage/drivers/in_tree.go1195 // During end-to-end (e2e) testing, we utilize the `/tmp` directory for volume creation.
MEDIUMtest/e2e/dra/utils/deploy.go362 // for different pods and thus seamless upgrades. Must be supported by the kubelet!
LOW…ng-manifests/statefulset/mysql-galera/statefulset.yaml61 # TODO: If docker exec is buggy just use registry.k8s.io/mysql-healthz:1.0
MEDIUMhack/ginkgo-e2e.sh48# - `dlv exec` if set to "delve"
MEDIUMhack/make-rules/test-e2e-node.sh61# - `dlv exec` if set to "delve"
LOWhack/lib/golang.sh598 # * We can't just set GOBIN because that does not work on cross-compiles.
LOWhack/lib/golang.sh648# Ideally this wouldn't be necessary and we could just set GOBIN to
LOWthird_party/forked/shell2junit/sh2ju.sh177 # file exists. Need to append to it. If we remove the testsuite end tag, we can just add it in after.
MEDIUMpkg/apis/resource/types.go1258 // A robust expression should check for the existence of attributes
MEDIUMpkg/scheduler/backend/queue/backoff_queue.go81// providing seamless access as if it were one queue.
MEDIUM…ontroller/devicetainteviction/device_taint_eviction.go1584 // Not created yet or unsupported. Definitely not tainted.
MEDIUMpkg/controller/resourceclaim/controller.go1362 // Check if the ReservedFor entries are all still valid. Essentially we are
MEDIUMpkg/controller/job/job_scheduling_manager.go90// by a more robust mechanism before beta.
MEDIUMpkg/kubelet/stats/cadvisor_stats_provider.go493 // creation time. However, to make the logic here robust, we break the
MEDIUMpkg/volume/plugins.go488// not necessarily all plugins. The preference is to leverage strong typing
MEDIUMpkg/volume/util/subpath/subpath_linux.go257 // The original traversal method here was ReadDir, which was not so robust to handle some error such as "stale NFS fil
Verbosity Indicators59 hits · 91 pts
SeverityFileLineSnippet
LOWcmd/kubeadm/app/util/etcd/etcd.go697 // Step 1: get the cluster status first
LOWcmd/kubeadm/app/util/etcd/etcd.go730 // Step 2: evaluate the cluster status
LOWcluster/gce/util.sh3082 # Step 1: Detach master IP address and attach ephemeral address to the existing master
LOWcluster/gce/util.sh3085 # Step 2: Create target pool.
LOWcluster/gce/util.sh3090 # Step 3: Create forwarding rule.
LOWcluster/gce/util.sh3067 # Step 0: Return early if LB is already configured.
LOW…aging/src/k8s.io/client-go/tools/watch/retrywatcher.go101 // and we need to check if stop wasn't requested while doing so.
LOW…controllers/nodelifecycle/node_lifecycle_controller.go152 // At this point the node has NotReady status, we need to check if the node has been removed
LOW…ource-allocation/structured/internal/allocatedstate.go70 // We need to check if any shared device ID corresponds to our device.
LOW…/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go314 // Step 0:
LOW…/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go329 // Step 1:
LOW…/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go345 // Step 2:
LOW…/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go401 // Step 3:
LOW…erver/pkg/admission/plugin/resourcequota/controller.go373 // if a resource is consumed, we need to check if it matches on the limited resource list.
LOWtest/integration/framework/util.go113 // For NodeReady we need to check if Taints are gone as well
LOWtest/integration/job/job_test.go3524 // Step 0: create job.
LOWtest/integration/job/job_test.go3546 // Step 2: Delete the Job while the controller is stopped.
LOWtest/integration/job/job_test.go3555 // Step 3: Restart controller.
LOWtest/e2e/framework/node/resource.go100 // For NodeReady we need to check if Taints are gone as well
LOWtest/e2e/network/networking_perf.go160 // Step 1: set up iperf2 server -- a single pod on any node
LOWtest/e2e/network/networking_perf.go167 // Step 2: set up iperf2 client daemonset
LOWtest/e2e/network/networking_perf.go232 // Step 3: iterate through the client pods one by one, running iperf2 in client mode to transfer
LOWtest/e2e/network/networking_perf.go266 // Step 4: after collecting all the client<->server data, compile and present the results
LOWpkg/proxy/winkernel/proxier_test.go2275 // Step 3: Add svc3 with a local endpoint at IP-B (same IP as the remote endpoint).
LOWpkg/proxy/winkernel/proxier_test.go2342 // Step 4: Remove endpoint slices for svc1 and svc2 (IPs A and B disappear).
LOWpkg/proxy/winkernel/proxier_test.go2557 // Step 3: Inject LB delete failure and transition endpoints from
LOWpkg/proxy/winkernel/proxier_test.go2626 // Step 4: Assert the results.
LOW…framework/plugins/dynamicresources/dynamicresources.go1378 // We need to check if the device is attached to the node.
LOWpkg/scheduler/backend/cache/cache_test.go1525 // Step 1: the node was added into cache successfully.
LOWpkg/scheduler/backend/cache/cache_test.go1550 // Step 2: dump cached nodes successfully.
LOWpkg/scheduler/backend/cache/cache_test.go1568 // Step 3: update node attribute successfully.
LOWpkg/scheduler/backend/cache/cache_test.go1598 // Step 4: the node can be removed even if it still has pods.
LOWpkg/scheduler/backend/cache/cache_test.go1632 // Step 5: removing pods for the removed node still succeeds.
LOWpkg/scheduler/backend/queue/scheduling_queue.go594 // We need to check if those plugins return Queue or not and if they do, we return queueImmediately.
LOWpkg/controller/resourcepoolstatusrequest/controller.go277 // Step 1: Aggregate pool data from ResourceSlices.
LOWpkg/controller/resourcepoolstatusrequest/controller.go362 // Step 2: Count allocations from ResourceClaims
LOWpkg/controller/resourcepoolstatusrequest/controller.go381 // Step 3: Build pool status list, marking incomplete pools with a validation error
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1452 // Step 1: Compute sandbox and container changes.
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1467 // Step 2: Kill the pod if the sandbox has changed.
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1486 // Step 3: kill any running containers in this pod which are not to keep.
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1545 // Step 4: Create a sandbox for the pod if necessary.
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1648 // Step 5: invoke the sandbox ready callback before image pulling .
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1762 // Step 6: start ephemeral containers
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1775 // Step 7: start init containers.
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1812 // Step 8: For containers in podContainerChanges.ContainersToUpdate[CPU,Memory] list, invoke UpdateContainerResources
LOWpkg/kubelet/kuberuntime/kuberuntime_manager.go1819 // Step 9: start containers in podContainerChanges.ContainersToStart.
LOWpkg/kubelet/kuberuntime/kuberuntime_container.go204 // Step 1: pull the image.
LOWpkg/kubelet/kuberuntime/kuberuntime_container.go222 // Step 2: create the container.
LOWpkg/kubelet/kuberuntime/kuberuntime_container.go291 // Step 3: start the container.
LOWpkg/kubelet/kuberuntime/kuberuntime_container.go319 // Step 4: execute the post start hook.
LOW…/kubelet/pluginmanager/cache/desired_state_of_world.go141 // because in the reconciler, we need to check if the plugin in the actual state of world is the same
LOWpkg/api/v1/pod/util.go373 // We are updating an existing condition, so we need to check if it has changed.
LOWpkg/api/pod/util.go297 // We are updating an existing condition, so we need to check if it has changed.
LOWpkg/api/testing/validate_pod_level_defaults_test.go281 // Step 1: Pod defaulting and validation
LOWpkg/api/testing/validate_pod_level_defaults_test.go297 // Step 2: Deployment defaulting and validation
LOWpkg/api/testing/validate_pod_level_defaults_test.go320 // Step 3: Validate the defaulted pod spec from the deployment
LOWpkg/volume/volume_linux.go220 // We need to check if actual permissions of root directory is a superset of permissions required by unixPerms.
LOW…me/util/volumepathhandler/volume_path_handler_linux.go191 // we need to check if they are pointing to the devices that have same major/minor number.
LOWpkg/volume/local/local.go478 // We only need to unmount block device here, so we need to check if the deviceMountPath passed here
Hallucination Indicators9 hits · 90 pts
SeverityFileLineSnippet
CRITICAL…ng/src/k8s.io/component-base/logs/api/v1/types_test.go224 _ = tc.expectConfig.Options.Text.InfoBufferSize.String()
CRITICAL…ng/src/k8s.io/component-base/logs/api/v1/types_test.go225 _ = tc.expectConfig.Options.JSON.InfoBufferSize.String()
CRITICALtest/integration/auth/rbac_test.go91 storageConfig, err := getter.config.ControlPlane.Extra.StorageFactory.NewConfig(resource, example)
CRITICALtest/integration/apiserver/cel/typeresolution_test.go204 "self.spec.template.spec.containers.all(c, c.ports.all(p, p.containerPort < 1024))",
CRITICALpkg/controller/job/backoff_utils.go211 containerState.State.Terminated.FinishedAt.Time.IsZero() {
CRITICALpkg/kubelet/allocation/allocation_manager_test.go1604 cpuRequest := attrs.Pod.Spec.Resources.Requests.Cpu().Value()
CRITICALpkg/kubelet/allocation/allocation_manager_test.go1627 cpuRequest := attrs.Pod.Spec.Resources.Requests.Cpu().Value()
CRITICALpkg/kubelet/allocation/allocation_manager_test.go1679 cpuRequest := attrs.Pod.Spec.Resources.Requests.Cpu().Value()
CRITICALpkg/kubelet/allocation/allocation_manager_test.go1704 cpuRequest := attrs.Pod.Spec.Resources.Requests.Cpu().Value()
Redundant / Tautological Comments46 hits · 85 pts
SeverityFileLineSnippet
LOWcluster/get-kube.sh24# Set KUBERNETES_PROVIDER to choose between different providers:
LOWcluster/get-kube.sh28# Set KUBERNETES_RELEASE to choose a specific release instead of the current
LOWcluster/get-kube.sh31# Set KUBERNETES_RELEASE_URL to choose where to download binaries from.
LOWcluster/get-kube.sh34# Set KUBERNETES_SERVER_ARCH to choose the server (Kubernetes cluster)
LOWcluster/get-kube.sh41# Set KUBERNETES_NODE_PLATFORM to choose the platform for which to download
LOWcluster/get-kube.sh49# Set KUBERNETES_NODE_ARCH to choose the node architecture to download the
LOWcluster/get-kube.sh59# Set KUBERNETES_SKIP_DOWNLOAD to skip downloading a release.
LOWcluster/get-kube.sh60# Set KUBERNETES_SKIP_CONFIRM to skip the installation confirmation prompt.
LOWcluster/get-kube.sh61# Set KUBERNETES_SKIP_CREATE_CLUSTER to skip starting a cluster.
LOWcluster/get-kube.sh62# Set KUBERNETES_SKIP_RELEASE_VALIDATION to skip trying to validate the
LOWcluster/get-kube-binaries.sh24# Set KUBERNETES_SERVER_ARCH to choose the server (Kubernetes cluster)
LOWcluster/get-kube-binaries.sh32# Set KUBERNETES_CLIENT_OS to choose the client OS to download:
LOWcluster/get-kube-binaries.sh38# Set KUBERNETES_CLIENT_ARCH to choose the client architecture to download:
LOWcluster/get-kube-binaries.sh47# Set KUBERNETES_SKIP_CONFIRM to skip the installation confirmation prompt.
LOWcluster/get-kube-binaries.sh48# Set KUBERNETES_RELEASE_URL to choose where to download binaries from.
LOWcluster/get-kube-binaries.sh50# Set KUBERNETES_DOWNLOAD_TESTS to additionally download and extract the test
LOWcluster/addons/addon-manager/kube-addons-main.sh56# Check if the configuration has changed recently - in case the user
LOWcluster/addons/addon-manager/kube-addons.sh121 # Check if $resource isn't composed just of whitespaces by replacing ' '
LOWcluster/gce/config-test.sh323# Set CLUSTER_DNS_CORE_DNS to 'false' to install kube-dns instead of CoreDNS.
LOWcluster/gce/config-default.sh282# Set CLUSTER_DNS_CORE_DNS to 'false' to install kube-dns instead of CoreDNS.
LOWcluster/gce/util.sh3781 # Check if this are any remaining master replicas.
LOWcluster/gce/gci/kube-master-internal-route.sh22 # Check if route is already set if not set it
LOWcluster/gce/gci/configure-helper.sh444 # Check if NVMe SSD specified.
LOWcluster/gce/gci/configure-helper.sh1391# Set REGISTER_MASTER_KUBELET to true if kubelet on the master node
LOWstaging/src/k8s.io/kubectl/pkg/cmd/set/set_resources.go61 # Print the result (in yaml format) of updating nginx container limits from a local, without hitting the server
LOWstaging/src/k8s.io/kubectl/pkg/cmd/set/set_image.go97 # Print result (in yaml format) of updating nginx container image from local file, without hitting the server
LOWstaging/src/k8s.io/kubectl/pkg/cmd/set/set_subject.go52 # Print the result (in YAML format) of updating rolebinding subjects from a local, without hitting the server
LOW…g/src/k8s.io/kubectl/pkg/cmd/set/set_serviceaccount.go56 # Print the result (in YAML format) of updated nginx deployment with the service account from local file, without hitti
LOWtest/cmd/legacy-script.sh23# Set locale to ensure english responses from kubectl commands
LOWtest/cmd/core.sh1020 # Set command to change the selector.
LOWtest/cmd/core.sh1024 # Set command to reset the selector back to the original one.
LOWtest/e2e_node/gubernator.sh60# Check if the bucket exists
LOWtest/e2e_node/gubernator.sh104# Check if folder for same logs already exists
LOWhack/lint-dependencies.sh46# Check if unwanted dependencies are removed
LOWhack/local-up-cluster.sh471 # Check if the API server is still running
LOWhack/local-up-cluster.sh475 # Check if the controller-manager is still running
LOWhack/local-up-cluster.sh479 # Check if the cloud-controller-manager is still running
LOWhack/local-up-cluster.sh483 # Check if the kubelet is still running
LOWhack/local-up-cluster.sh487 # Check if the proxy is still running
LOWhack/local-up-cluster.sh491 # Check if the scheduler is still running
LOWhack/local-up-cluster.sh495 # Check if the etcd is still running
LOWhack/local-up-cluster.sh507# Check if all processes are still running. Prints a warning once each time
LOWhack/make-rules/test-e2e-node.sh159 # Check if any of the images specified already have running instances. If so reuse those instances
LOWhack/lib/version.sh60 # Check if the tree is dirty. default to dirty
LOWhack/lib/util.sh676# Check if we have "docker buildx" commands available
LOWhack/lib/util.sh689# Check if we are using a supported bash version
Synthetic Comment Markers11 hits · 82 pts
SeverityFileLineSnippet
HIGHcmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go200 // Verify the files as requested by the test:
HIGHcmd/kubeadm/app/constants/constants.go173 // NodesUserPrefix defines the user name prefix as requested by the Node authorizer.
HIGH…o/client-go/applyconfigurations/apps/v1/statefulset.go36// - Storage: As many VolumeClaims as requested.
HIGH…ent-go/applyconfigurations/apps/v1beta2/statefulset.go38// - Storage: As many VolumeClaims as requested.
HIGH…ent-go/applyconfigurations/apps/v1beta1/statefulset.go38// - Storage: As many VolumeClaims as requested.
HIGHstaging/src/k8s.io/api/apps/v1/types.go45// - Storage: As many VolumeClaims as requested.
HIGHstaging/src/k8s.io/api/apps/v1beta2/types.go103// - Storage: As many VolumeClaims as requested.
HIGHstaging/src/k8s.io/api/apps/v1beta1/types.go97// - Storage: As many VolumeClaims as requested.
HIGH…aging/src/k8s.io/apimachinery/pkg/api/errors/errors.go673// be completed as requested.
HIGHpkg/apis/apps/types.go31// - Storage: As many VolumeClaims as requested.
HIGHpkg/registry/resource/devicetaintrule/strategy_test.go229 // Stored as requested.
Fake / Example Data42 hits · 54 pts
SeverityFileLineSnippet
LOWcmd/kubeadm/app/util/crypto/crypto_test.go36 testData := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
LOWcmd/kubeadm/app/util/crypto/crypto_test.go36 testData := []byte("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
LOWstaging/src/k8s.io/kms/pkg/service/grpc_service_test.go47 plaintext := []byte("lorem ipsum dolor sit amet")
LOWstaging/src/k8s.io/kms/pkg/service/grpc_service_test.go47 plaintext := []byte("lorem ipsum dolor sit amet")
LOW…aging/src/k8s.io/kubectl/pkg/explain/test-swagger.json19 "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac enim vulputate impe
LOW…aging/src/k8s.io/kubectl/pkg/explain/test-swagger.json19 "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac enim vulputate impe
LOW…g/src/k8s.io/kubectl/pkg/explain/model_printer_test.go53 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac
LOW…g/src/k8s.io/kubectl/pkg/explain/model_printer_test.go53 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac
LOW…g/src/k8s.io/kubectl/pkg/explain/model_printer_test.go75 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac
LOW…g/src/k8s.io/kubectl/pkg/explain/model_printer_test.go75 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac
LOW…/src/k8s.io/kubectl/pkg/explain/fields_printer_test.go37 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac
LOW…/src/k8s.io/kubectl/pkg/explain/fields_printer_test.go37 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla ut lacus ac
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go32 f.Write("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go32 f.Write("Lorem ipsum dolor sit amet, consectetur adipiscing elit.")
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go38 want := `Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go38 want := `Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go55 f.WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida dolor ut, fr
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go55 f.WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida dolor ut, fr
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go56 f.Indent(10).WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida d
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go56 f.Indent(10).WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida d
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go58 f.Indent(20).WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. ThisIsAVeryLongWordThatDoesn'tFitOn
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go58 f.Indent(20).WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. ThisIsAVeryLongWordThatDoesn'tFitOn
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go84 want := `Lorem ipsum dolor sit amet, consectetur adipiscing
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go84 want := `Lorem ipsum dolor sit amet, consectetur adipiscing
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go87 Lorem ipsum dolor sit amet, consectetur
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go87 Lorem ipsum dolor sit amet, consectetur
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go91 Lorem ipsum dolor sit amet,
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go91 Lorem ipsum dolor sit amet,
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go127 f.WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida dolor ut, fr
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go127 f.WriteWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida dolor ut, fr
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go128 want := `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida dolor ut, fringilla
LOW…aging/src/k8s.io/kubectl/pkg/explain/formatter_test.go128 want := `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi at turpis faucibus, gravida dolor ut, fringilla
LOW…/src/k8s.io/apimachinery/pkg/util/diff/complex_test.go139 Street: "123 Main St",
LOW…/src/k8s.io/apimachinery/pkg/util/diff/complex_test.go155 {Type: "phone", Value: "555-1234"},
LOW…/src/k8s.io/apimachinery/pkg/util/diff/complex_test.go175 Street: "123 Main St",
LOW…/src/k8s.io/apimachinery/pkg/util/diff/complex_test.go185 {Type: "phone", Value: "555-1234"},
LOW…/src/k8s.io/apimachinery/pkg/util/diff/complex_test.go186 {Type: "fax", Value: "555-5678"}, // Additional
LOWtest/e2e/windows/host_process.go52 if ($c -ne "Lorem ipsum dolor sit amet") {
LOWtest/e2e/windows/host_process.go52 if ($c -ne "Lorem ipsum dolor sit amet") {
LOWtest/e2e/windows/host_process.go469 "text": "Lorem ipsum dolor sit amet",
LOWtest/e2e/windows/host_process.go469 "text": "Lorem ipsum dolor sit amet",
LOWpkg/kubelet/cm/cpumanager/policy_static_test.go2031 "badvalue2": "lorem ipsum",
Decorative Section Separators8 hits · 30 pts
SeverityFileLineSnippet
MEDIUMcluster/gce/util.sh4106# -----------------------------------------------------------------------------
MEDIUMhack/lib/golang.sh141# ------------
MEDIUMhack/lib/golang.sh150# ------------
MEDIUMhack/lib/version.sh17# -----------------------------------------------------------------------------
MEDIUMpkg/kubelet/podcertificate/podcertificatemanager.go146 // ┌─────────────────┐
MEDIUMpkg/kubelet/podcertificate/podcertificatemanager.go148 // fresh ────► wait ────► fresh ──────► waitrefresh
MEDIUMpkg/kubelet/podcertificate/podcertificatemanager.go150 // ├──────► denied ◄───────────┤
MEDIUMpkg/kubelet/podcertificate/podcertificatemanager.go152 // └──────► failed ◄───────────┘
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippet
HIGHhack/golangci.yaml0path: "staging/src/k8s.io/api/authentication/v1/types.go" - text: 'notimestamp: naming convention "notimestamp": field (
HIGHhack/golangci-hints.yaml0path: "staging/src/k8s.io/api/authentication/v1/types.go" - text: 'notimestamp: naming convention "notimestamp": field (
HIGHhack/kube-api-linter/exceptions.yaml0path: "staging/src/k8s.io/api/authentication/v1/types.go" - text: 'notimestamp: naming convention "notimestamp": field (
HIGHhack/golangci.yaml0path: "staging/src/k8s.io/api/events/(v1|v1beta1)/types.go" - text: 'notimestamp: naming convention "notimestamp": field
HIGHhack/golangci-hints.yaml0path: "staging/src/k8s.io/api/events/(v1|v1beta1)/types.go" - text: 'notimestamp: naming convention "notimestamp": field
HIGHhack/kube-api-linter/exceptions.yaml0path: "staging/src/k8s.io/api/events/(v1|v1beta1)/types.go" - text: 'notimestamp: naming convention "notimestamp": field
Example Usage Blocks9 hits · 14 pts
SeverityFileLineSnippet
LOWcluster/get-kube.sh18# Usage:
LOW…rc/k8s.io/apiserver/pkg/util/compatibility/registry.go26// Example usage:
LOWstaging/src/k8s.io/component-base/tracing/utils.go114// Example usage:
LOWtest/utils/harness/harness.go29// Example usage:
LOWhack/update-vendor-licenses.sh19# Usage:
LOWhack/_update-generated-protobuf-dockerized.sh18# Usage:
LOWhack/dev-push-conformance.sh19# Example usage:
LOWhack/lib/util.sh788# Example usage:
LOWthird_party/forked/shell2junit/sh2ju.sh12### Usage:
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippet
LOWcluster/common.sh34# make sure to remove these vars when not used anymore
LOWcluster/common.sh43# make sure to remove these vars when not used anymore
MEDIUMtest/e2e_node/cpu_manager_test.go94 * Context # you can add more context, but please try hard to avoid nesting them
LOWhack/update-vendor.sh346kube::log::status "NOTE: don't forget to handle vendor/* and LICENSE/* files that were added or removed" >&11
MEDIUMhack/verify-prometheus-imports.sh86# somewhere else that actually isn't an import, you can use backticks / a raw
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippet
LOW…/images/node-perf/pytorch-wide-deep/train_wide_deep.py109
LOWhack/verify-flags-underscore.py27
LOWhack/boilerplate/boilerplate.py158
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippet
LOWCHANGELOG/CHANGELOG-1.9.md1691* A new priority function ResourceLimitsPriorityMap (disabled by default and behind alpha feature gate and not part of
LOWhack/verify-flags-underscore.py71def check_underscore_in_flags(rootdir, files):
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippet
LOWcluster/gce/gci/configure-helper.sh1880 except Exception as e:
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOW…/images/node-perf/pytorch-wide-deep/train_wide_deep.py134def process_data(train_data, test_data):
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWhack/boilerplate/boilerplate.py18