Repository Analysis

k3s-io/k3s

Lightweight Kubernetes

0.5 Likely human-written View on GitHub
0.5
Adjusted Score
0.5
Raw Score
100%
Time Factor
2026-05-29
Last Push
33,120
Stars
Go
Language
77,317
Lines of Code
562
Files
24
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 0LOW 23

Pattern Findings

24 matches across 5 categories. Click a row to expand file-level details.

Over-Commented Block15 hits · 15 pts
SeverityFileLineSnippet
LOWinstall.sh1#!/bin/sh
LOWinstall.sh21# enforce that K3S_TOKEN is also set.
LOWinstall.sh41# stable channel if not specified.
LOWinstall.sh61# setting INSTALL_K3S_SKIP_DOWNLOAD=true
LOWinstall.sh81# Name of systemd service to create, will default from the k3s exec command
LOWcontrib/util/generate-custom-ca-certs.sh1#!/usr/bin/env bash
LOW.github/workflows/scorecard.yml41 - name: "Run analysis"
LOWpackage/rpm/install.sh1#!/bin/sh
LOWpackage/rpm/install.sh21#
LOWpackage/rpm/install.sh41#
LOWpackage/rpm/install.sh61#
LOWpackage/rpm/install.sh81# if not specified.
LOWpkg/agent/flannel/flannel.go1//
LOWpkg/kubeadm/types.go21 // Expires and TTL are mutually exclusive.
LOWpkg/etcd/store/store.go281 // restore from a snapshot, as v3 store snapshots are only created when replicas are
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALpkg/etcd/snapshot_controller.go176 nodes := e.etcd.config.Runtime.Core.Core().V1().Node()
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippet
LOWinstall.sh492 # Check if jq is installed
LOWinstall.sh497 # Check if unzip is installed
LOWtests/e2e/scripts/latest_commit.sh30# Verify if the response is an array with the k3s commits
LOWtests/e2e/scripts/setup_rootless.sh12# Check if the download was successful
LOWtests/e2e/scripts/setup_rootless.sh34# Check if the string is already in GRUB_CMDLINE_LINUX
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOWinstall.sh5# Usage:
LOWpackage/rpm/install.sh4# Usage:
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippet
LOW.github/actions/setup-go/action.yaml31 go-version-file: 'go.mod' # if go-version is not set, just use whatever version is in the go.mod file