Repository Analysis

kubevela/kubevela

The Modern Application Platform.

5.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of kubevela/kubevela, a Go project with 7,870 GitHub stars. SynthScan v2.0 examined 385,689 lines of code across 1824 source files, recording 498 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 5.6 places this repository in the Low AI signal 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).

5.6
Adjusted Score
5.6
Raw Score
100%
Time Factor
2026-07-28
Last Push
7.9K
Stars
Go
Language
385.7K
Lines of Code
1.8K
Files
498
Pattern Hits
2026-08-02
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 87HIGH 0MEDIUM 211LOW 200

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 498 distinct pattern matches across 12 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.

Hallucination Indicators87 hits · 1195 pts
SeverityFileLineSnippetContext
CRITICALreferences/cli/top/view/pod_view_test.go100 assert.Equal(t, podView.GetCell(1, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.Healthy.String(), CODE
CRITICALreferences/cli/top/view/pod_view_test.go101 assert.Equal(t, podView.GetCell(2, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.Waiting.String(), CODE
CRITICALreferences/cli/top/view/pod_view_test.go102 assert.Equal(t, podView.GetCell(3, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.Succeeded.String()CODE
CRITICALreferences/cli/top/view/pod_view_test.go103 assert.Equal(t, podView.GetCell(4, 4).Text, fmt.Sprintf("[%s::]%s", podView.app.config.Theme.Status.UnHealthy.String()CODE
CRITICALreferences/cli/top/view/yaml_view_test.go79 highlightedText := fmt.Sprintf("[%s::b]apiVersion[%s::-]: [%s::]core.oam.dev/v1beta1", yamlView.app.config.Theme.Yaml.CODE
CRITICALreferences/cli/top/view/app_test.go60 assert.Equal(t, flex.GetBorderColor(), app.config.Theme.Border.App.Color())CODE
CRITICALreferences/cli/top/view/managed_resource_view.go45 v.SetTitle(fmt.Sprintf("[ %s ]", v.Title())).SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/managed_resource_view.go122 highlightColor := v.app.config.Theme.Table.Body.String()CODE
CRITICALreferences/cli/top/view/managed_resource_view.go126 highlightColor = v.app.config.Theme.Status.Healthy.String()CODE
CRITICALreferences/cli/top/view/managed_resource_view.go128 highlightColor = v.app.config.Theme.Status.UnHealthy.String()CODE
CRITICALreferences/cli/top/view/managed_resource_view.go130 highlightColor = v.app.config.Theme.Status.Waiting.String()CODE
CRITICALreferences/cli/top/view/managed_resource_view.go132 highlightColor = v.app.config.Theme.Status.Unknown.String()CODE
CRITICALreferences/cli/top/view/help_view.go55 v.SetTitle(title).SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/help_view.go83 tips = strings.ReplaceAll(tips, "highlight", v.app.config.Theme.Info.Title.String())CODE
CRITICALreferences/cli/top/view/help_view.go84 tips = strings.ReplaceAll(tips, "normal", v.app.config.Theme.Info.Text.String())CODE
CRITICALreferences/cli/top/view/container_view_test.go100 assert.Equal(t, containerView.GetCell(1, 3).Text, fmt.Sprintf("[%s::]%s", containerView.app.config.Theme.Status.HealthCODE
CRITICALreferences/cli/top/view/container_view_test.go101 assert.Equal(t, containerView.GetCell(2, 3).Text, fmt.Sprintf("[%s::]%s", containerView.app.config.Theme.Status.WaitinCODE
CRITICALreferences/cli/top/view/container_view_test.go102 assert.Equal(t, containerView.GetCell(3, 3).Text, fmt.Sprintf("[%s::]%s", containerView.app.config.Theme.Status.UnHealCODE
CRITICALreferences/cli/top/view/pod_view.go108 highlightColor := v.app.config.Theme.Table.Body.String()CODE
CRITICALreferences/cli/top/view/pod_view.go112 highlightColor = v.app.config.Theme.Status.Waiting.String()CODE
CRITICALreferences/cli/top/view/pod_view.go114 highlightColor = v.app.config.Theme.Status.Healthy.String()CODE
CRITICALreferences/cli/top/view/pod_view.go116 highlightColor = v.app.config.Theme.Status.Succeeded.String()CODE
CRITICALreferences/cli/top/view/pod_view.go118 highlightColor = v.app.config.Theme.Status.UnHealthy.String()CODE
CRITICALreferences/cli/top/view/pod_view.go120 highlightColor = v.app.config.Theme.Status.Unknown.String()CODE
CRITICALreferences/cli/top/view/resource_view.go78 v.SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/resource_view.go93 c.SetTextColor(v.app.config.Theme.Table.Header.Color())CODE
CRITICALreferences/cli/top/view/resource_view.go106 c.SetTextColor(v.app.config.Theme.Table.Body.Color())CODE
CRITICALreferences/cli/top/view/resource_view_test.go31 assert.Equal(t, view.GetBorderColor(), view.app.config.Theme.Border.Table.Color())CODE
CRITICALreferences/cli/top/view/resource_view_test.go35 assert.Equal(t, view.GetCell(0, 0).Color, view.app.config.Theme.Table.Header.Color())CODE
CRITICALreferences/cli/top/view/resource_view_test.go39 assert.Equal(t, view.GetCell(1, 0).Color, view.app.config.Theme.Table.Body.Color())CODE
CRITICALreferences/cli/top/view/application_view_test.go103 assert.Equal(t, appView.GetCell(1, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Starting.String(),CODE
CRITICALreferences/cli/top/view/application_view_test.go104 assert.Equal(t, appView.GetCell(2, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), CODE
CRITICALreferences/cli/top/view/application_view_test.go105 assert.Equal(t, appView.GetCell(3, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), CODE
CRITICALreferences/cli/top/view/application_view_test.go106 assert.Equal(t, appView.GetCell(4, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), CODE
CRITICALreferences/cli/top/view/application_view_test.go107 assert.Equal(t, appView.GetCell(5, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Waiting.String(), CODE
CRITICALreferences/cli/top/view/application_view_test.go108 assert.Equal(t, appView.GetCell(6, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), tCODE
CRITICALreferences/cli/top/view/application_view_test.go109 assert.Equal(t, appView.GetCell(7, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), tCODE
CRITICALreferences/cli/top/view/application_view_test.go110 assert.Equal(t, appView.GetCell(8, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), tCODE
CRITICALreferences/cli/top/view/application_view_test.go111 assert.Equal(t, appView.GetCell(9, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Failed.String(), tCODE
CRITICALreferences/cli/top/view/application_view_test.go112 assert.Equal(t, appView.GetCell(10, 2).Text, fmt.Sprintf("[%s::]%s", appView.app.config.Theme.Status.Healthy.String(),CODE
CRITICALreferences/cli/top/view/cluster_namespace_view.go44 v.SetTitle(fmt.Sprintf("[ %s ]", v.Name())).SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/cluster_namespace_view.go108 highlightColor := v.app.config.Theme.Table.Body.String()CODE
CRITICALreferences/cli/top/view/cluster_namespace_view.go111 highlightColor = v.app.config.Theme.Status.Healthy.String()CODE
CRITICALreferences/cli/top/view/cluster_namespace_view.go113 highlightColor = v.app.config.Theme.Status.UnHealthy.String()CODE
CRITICALreferences/cli/top/view/application_topology_view.go95 v.metricsInstance.SetBorder(true).SetBorderColor(v.app.config.Theme.Border.Table.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go101 v.SetBorderColor(v.app.config.Theme.Border.Table.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go103 v.SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go254 newTopology.SetGraphicsColor(v.app.config.Theme.Topology.Line.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go256 newTopology.SetBorderColor(v.app.config.Theme.Border.Table.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go258 newTopology.SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go280 newTopology.SetGraphicsColor(v.app.config.Theme.Topology.Line.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go282 newTopology.SetBorderColor(v.app.config.Theme.Border.Table.Color())CODE
CRITICALreferences/cli/top/view/application_topology_view.go284 newTopology.SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/app.go89 main.SetBorderColor(a.config.Theme.Border.App.Color())CODE
CRITICALreferences/cli/top/view/log_view.go64 v.SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/cluster_namespace_view_test.go96 assert.Equal(t, cnsView.GetCell(1, 1).Text, fmt.Sprintf("[%s::]%s", cnsView.app.config.Theme.Status.Healthy.String(), CODE
CRITICALreferences/cli/top/view/cluster_namespace_view_test.go97 assert.Equal(t, cnsView.GetCell(2, 1).Text, fmt.Sprintf("[%s::]%s", cnsView.app.config.Theme.Status.UnHealthy.String()CODE
CRITICALreferences/cli/top/view/application_view.go44 v.SetTitle(fmt.Sprintf("[ %s ]", v.Title())).SetTitleColor(v.app.config.Theme.Table.Title.Color())CODE
CRITICALreferences/cli/top/view/application_view.go108 highlightColor := v.app.config.Theme.Table.Body.String()CODE
CRITICALreferences/cli/top/view/application_view.go112 highlightColor = v.app.config.Theme.Status.Starting.String()CODE
27 more matches not shown…
Decorative Section Separators141 hits · 524 pts
SeverityFileLineSnippetContext
MEDIUMcmd/core/app/bootstrap.go41 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcmd/core/app/bootstrap.go43 // ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4522# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4524# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4586# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4588# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4595# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4597# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4487# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md4489# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md5927# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md5929# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md5952# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md5954# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md5978# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md5980# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md6017# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md6019# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md6047# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md6049# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7414# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7416# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7482# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7484# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7775# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7777# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7814# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7816# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7847# ============================================COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md7849# ============================================COMMENT
MEDIUMreferences/cli/def_compat_test.go31// ── parseHints ────────────────────────────────────────────────────────────────COMMENT
MEDIUMreferences/cli/def_compat_test.go79// ── parseSelectorMap ──────────────────────────────────────────────────────────COMMENT
MEDIUMreferences/cli/def_compat_test.go140// ── matchesSelector ───────────────────────────────────────────────────────────COMMENT
MEDIUMreferences/cli/def_compat_test.go167// ── extractCUETemplate ────────────────────────────────────────────────────────COMMENT
MEDIUMreferences/cli/def_compat_test.go220// ── defNameFromRevision ───────────────────────────────────────────────────────COMMENT
MEDIUMreferences/cli/def_compat_test.go270// ── extractDefRevTemplate ─────────────────────────────────────────────────────COMMENT
MEDIUMreferences/cli/def_compat_test.go319// ── printDefCompatReport ──────────────────────────────────────────────────────COMMENT
MEDIUMreferences/cli/def_compat_test.go404// ── printAppCompatReport ──────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml3# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml12# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml16# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml18# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml29# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml31# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml35# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml37# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml41# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml43# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml51 # ==========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml53 # ==========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml59 # ==========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml61 # ==========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml67 # ========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml69 # ========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml74 # ========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-multicluster-test.yml76 # ========================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-test.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-test.yml3# =============================================================================COMMENT
MEDIUM.github/workflows/upgrade-e2e-test.yml14# =============================================================================COMMENT
81 more matches not shown…
Modern AI Meta-Vocabulary61 hits · 196 pts
SeverityFileLineSnippetContext
MEDIUMdesign/vela-cli/kep-defkit.md1344# Initialize a new Go definition module with scaffoldingCOMMENT
MEDIUMdesign/vela-cli/kep-defkit.md1966# Basic scaffoldingCOMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md1233 # Optional: Explicit workflow for advanced orchestrationCOMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md2690 # Blueprint-level workflow (orchestrates plane deployment)COMMENT
MEDIUMdesign/vela-core/kep-cluster-infrastructure.md12 - [The Orchestration Gap](#the-orchestration-gap)CODE
MEDIUMtest/e2e-test/suite_test.go49 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMtest/e2e-addon-test/suite_test.go37 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMconfig/crd/kustomization.yaml6# +kubebuilder:scaffold:crdkustomizeresourceCOMMENT
MEDIUMconfig/crd/kustomization.yaml11# +kubebuilder:scaffold:crdkustomizewebhookpatchCOMMENT
MEDIUMconfig/crd/kustomization.yaml16# +kubebuilder:scaffold:crdkustomizecainjectionpatchCOMMENT
MEDIUMreferences/cli/def_module.go964 // FlagComponents is the flag for component names to scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go966 // FlagTraits is the flag for trait names to scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go968 // FlagPolicies is the flag for policy names to scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go970 // FlagWorkflowSteps is the flag for workflow step names to scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go1052 // Parse scaffold flagsCOMMENT
MEDIUMreferences/cli/def_module.go1115// scaffoldOptions contains names of definitions to scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go1123// hasAny returns true if any scaffold options are specifiedCOMMENT
MEDIUMreferences/cli/def_module.go1464// generateComponentScaffold generates a component definition scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go1519// generateTraitScaffold generates a trait definition scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go1572// generatePolicyScaffold generates a policy definition scaffoldCOMMENT
MEDIUMreferences/cli/def_module.go1613// generateWorkflowStepScaffold generates a workflow step definition scaffoldCOMMENT
MEDIUMreferences/cli/addon.go419// NewAddonInitCommand creates an addon scaffoldCOMMENT
MEDIUMreferences/cli/def_go_new_test.go474 // The scaffold generators use the pattern: funcName + type suffixCOMMENT
MEDIUMreferences/cli/def.go436// generateGoDefinition generates a Go-based definition scaffoldCOMMENT
MEDIUMreferences/cli/def.go1857 Example: "# Generate SDK for golang with scaffold initialized\n" +CODE
MEDIUMreferences/docgen/suit_test.go44 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMhack/sdk/reviewable.sh21# This script helps to lint and format the code in the SDK scaffold.COMMENT
MEDIUM…webhook/core.oam.dev/v1beta1/application/suite_test.go42 // +kubebuilder:scaffold:importsCOMMENT
MEDIUM…webhook/core.oam.dev/v1beta1/application/suite_test.go88 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/config/config_suite_test.go52 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/utils/common/common.go99 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUM…troller/core.oam.dev/v1beta1/application/suite_test.go58 // +kubebuilder:scaffold:importsCOMMENT
MEDIUM…troller/core.oam.dev/v1beta1/application/suite_test.go122 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUM…core.oam.dev/v1beta1/application/assemble/suit_test.go41 // +kubebuilder:scaffold:importsCOMMENT
MEDIUM…core.oam.dev/v1beta1/application/assemble/suit_test.go86 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/rollout/suit_test.go47 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMpkg/definition/gen_sdk/files.go28 // Scaffold is scaffold files for different languagesCOMMENT
MEDIUMpkg/definition/gen_sdk/files.go30 // ScaffoldDir is scaffold dir nameCOMMENT
MEDIUMpkg/definition/gen_sdk/gen_sdk.go230// CreateScaffold will create a scaffold for the given language.COMMENT
MEDIUMpkg/definition/gen_sdk/gen_sdk.go231// It will copy all files from embedded scaffold/{meta.Lang} to meta.Output.COMMENT
MEDIUMpkg/workflow/suit_test.go62 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/workflow/operation/suit_test.go46 // +kubebuilder:scaffold:importsCOMMENT
MEDIUMpkg/workflow/providers/config/config_test.go62 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/workflow/providers/legacy/config/config_test.go62 // +kubebuilder:scaffold:schemeCOMMENT
MEDIUMpkg/addon/init_test.go227 // Verify trait scaffold was createdCOMMENT
MEDIUMpkg/addon/init_test.go310 // Verify scaffold files were createdCOMMENT
MEDIUMpkg/addon/init.go47// InitCmd contains the options to initialize an addon scaffoldCOMMENT
MEDIUMpkg/addon/init.go59 // GoDefComponents is a comma-separated list of component names to scaffoldCOMMENT
MEDIUMpkg/addon/init.go61 // GoDefTraits is a comma-separated list of trait names to scaffoldCOMMENT
MEDIUMpkg/addon/init.go63 // GoDefPolicies is a comma-separated list of policy names to scaffoldCOMMENT
MEDIUMpkg/addon/init.go65 // GoDefWorkflowSteps is a comma-separated list of workflow step names to scaffoldCOMMENT
MEDIUMpkg/addon/init.go81// CreateScaffold creates an addon scaffoldCOMMENT
MEDIUMpkg/addon/init.go212 // Create scaffold files for specified componentsCOMMENT
MEDIUMpkg/addon/init.go223 // Create scaffold files for specified traitsCOMMENT
MEDIUMpkg/addon/init.go234 // Create scaffold files for specified policiesCOMMENT
MEDIUMpkg/addon/init.go245 // Create scaffold files for specified workflow stepsCOMMENT
MEDIUMpkg/addon/init.go275// generateComponentScaffold generates a minimal component scaffoldCOMMENT
MEDIUMpkg/addon/init.go300// generateTraitScaffold generates a minimal trait scaffoldCOMMENT
MEDIUMpkg/addon/init.go326// generatePolicyScaffold generates a minimal policy scaffoldCOMMENT
MEDIUMpkg/addon/init.go348// generateWorkflowStepScaffold generates a minimal workflow step scaffoldCOMMENT
1 more matches not shown…
Over-Commented Block152 hits · 151 pts
SeverityFileLineSnippetContext
LOWcmd/core/app/bootstrap.go21)COMMENT
LOWcmd/core/app/bootstrap.go41 // ────────────────────────────────────────────────────────────────────COMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md1241 # - name: validate-cniCOMMENT
LOWdesign/vela-core/rollout-design.md101COMMENT
LOWapis/core.oam.dev/common/types.go61// Terraform is the struct to describe cloud resources managed by Hashicorp TerraformCOMMENT
LOWapis/core.oam.dev/v1beta1/application_types.go61 // Workflow steps are executed in array order, and each step:COMMENT
LOWapis/core.oam.dev/v1beta1/componentdefinition_types.go41 // +optionalCOMMENT
LOWapis/core.oam.dev/v1beta1/componentdefinition_types.go61}COMMENT
LOWapis/core.oam.dev/v1beta1/core_types.go41 // PodSpecPath indicates where/if this workload has K8s podSpec fieldCOMMENT
LOWapis/core.oam.dev/v1beta1/core_types.go61type WorkloadDefinitionStatus struct {COMMENT
LOWapis/core.oam.dev/v1beta1/core_types.go121 // `spec.template`), the restart happens automatically via the normal KubernetesCOMMENT
LOWapis/core.oam.dev/v1beta1/core_types.go141 // ConflictsWith specifies the list of traits(CRD name, Definition name, CRD group)COMMENT
LOWapis/core.oam.dev/v1beta1/core_types.go161COMMENT
LOWapis/core.oam.dev/v1beta1/core_types.go201 // ConditionedStatus reflects the observed status of a resourceCOMMENT
LOWapis/core.oam.dev/v1beta1/applicationrevision_types.go141// +kubebuilder:object:root=trueCOMMENT
LOWapis/core.oam.dev/v1beta1/policy_definition.go41type PolicyDefinitionSpec struct {COMMENT
LOWapis/core.oam.dev/v1beta1/policy_definition.go61 // Requires EnableApplicationScopedPolicies feature gate.COMMENT
LOWapis/core.oam.dev/v1alpha1/component_types.go61 // Name is the name of the Kubernetes object.COMMENT
LOWconfig/crd/kustomization.yaml1# This kustomization.yaml is not intended to be run by itself,COMMENT
LOWreferences/cli/def_module.go1181 "components": `// Package components contains KubeVela ComponentDefinition implementations.COMMENT
LOWreferences/cli/def_module.go1201// To create a new trait:COMMENT
LOWreferences/cli/def_module.go1221// defkit.Register(MyPolicy())COMMENT
LOWreferences/cli/def_module.go1501 // TODO: Add parameters and templateCOMMENT
LOWreferences/cli/def_module.go1681 - customCOMMENT
LOWcharts/vela-core/Chart.yaml1apiVersion: v2COMMENT
LOWcharts/vela-core/values.yaml21 reSyncPeriod: 5mCOMMENT
LOWcharts/vela-core/values.yaml121##@param optimize.disableResourceApplyDoubleCheck Optimize workflow by ignoring resource double check after apply.COMMENT
LOWcharts/vela-core/values.yaml141##@param featureGates.disableBootstrapClusterInfo disable the cluster info bootstrap at the starting of the controllerCOMMENT
LOWcharts/vela-core/values.yaml181## @param multicluster.clusterGateway.image.tag ClusterGateway image tagCOMMENT
LOWcharts/vela-core/values.yaml261## @skip securityContextCOMMENT
LOW…rts/vela-core/templates/defwithtemplate/helmchart.yaml21COMMENT
LOW…rts/vela-core/templates/defwithtemplate/helmchart.yaml41 // - kubernetes.io/dockerconfigjson (key: .dockerconfigjson)COMMENT
LOW…rts/vela-core/templates/defwithtemplate/helmchart.yaml101 // Resource kind (e.g., "Deployment", "StatefulSet", "Job", "Service")COMMENT
LOW…rts/vela-core/templates/defwithtemplate/helmchart.yaml141 key?: stringCOMMENT
LOWhack/apis/clientgen.sh1#!/bin/bash -lCOMMENT
LOWhack/apis/sync.sh1#!/bin/bash -lCOMMENT
LOWhack/sdk/reviewable.sh1#!/usr/bin/env bashCOMMENT
LOWhack/sdk/sync.sh1#!/usr/bin/env bashCOMMENT
LOWhack/artifacthub/artifacthub-repo.yml1# Artifact Hub repository metadata fileCOMMENT
LOWhack/licence/header-check.sh1#!/bin/bashCOMMENT
LOWdocs/examples/testapp/vela.yaml21 port: 8080COMMENT
LOWdocs/examples/testapp/vela.yaml41 # max: 4COMMENT
LOW…/examples/traits/container-image/single-container.yaml21COMMENT
LOWdocs/examples/traits/command/single-container.yaml21COMMENT
LOW…s/examples/helmchart-valuesfrom/secret-and-inline.yaml1# Three-layer merge example: ConfigMap (base) + Secret (overlay) + inline.COMMENT
LOWexamples/legacy-upgrade-demo/application.yaml1# application.yamlCOMMENT
LOW.github/workflows/upgrade-e2e-multicluster-test.yml1# =============================================================================COMMENT
LOW.github/workflows/upgrade-e2e-test.yml1# =============================================================================COMMENT
LOW.github/workflows/upgrade-unit-test.yml1# =============================================================================COMMENT
LOWpkg/oam/labels.go21// Label key strings.COMMENT
LOWpkg/oam/labels.go161 // AnnotationAutoUpdate is annotation that let application auto update when it finds definition changesCOMMENT
LOWpkg/oam/labels.go181 // - RFC3339 timestamp (e.g., "2025-01-15T14:30:00Z"): One-time restart at specified time.COMMENT
LOWpkg/webhook/utils/utils_test.go221 name: context.nameCOMMENT
LOWpkg/cue/upgrade/metrics.go21)COMMENT
LOWpkg/cue/upgrade/metrics.go41// - definition_kind: definition type, e.g. "Component"COMMENT
LOWpkg/cue/cuex/providers/helm/postrender.go101COMMENT
LOWpkg/cue/cuex/providers/helm/postrender.go161 "app.oam.dev/component": velaCtx.Name,COMMENT
LOWpkg/cue/cuex/providers/helm/release_test.go281 // recover from corrupted Helm release secret" inCOMMENT
LOWpkg/cue/cuex/providers/helm/manifest.go81 cleanedResource := cleanResource(resource.Object)COMMENT
LOWpkg/cue/cuex/providers/helm/verify_probe.go61// VerifyFnCall is a no-op cuex provider function used purely forCOMMENT
92 more matches not shown…
Structural Annotation Overuse30 hits · 34 pts
SeverityFileLineSnippetContext
LOWcmd/core/app/config/resource.go48// NOTE: This method exists for backward compatibility with legacy code that depends on globalCOMMENT
LOWcmd/core/app/config/oam.go48// NOTE: This method exists for backward compatibility with legacy code that depends on globalCOMMENT
LOWcmd/core/app/config/application.go50// NOTE: This method exists for backward compatibility with legacy code that depends on globalCOMMENT
LOWcmd/core/app/config/cue.go107// NOTE: This method exists for backward compatibility with legacy code that depends on globalCOMMENT
LOWcmd/core/app/config/performance.go52// NOTE: This method exists for backward compatibility with legacy code that depends on globalCOMMENT
LOWcmd/core/app/config/workflow.go60// NOTE: This method exists for backward compatibility with legacy code that depends on globalCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2502 # Step 3: Deploy CNICOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2509 # Step 4: Validate CNI connectivityCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2518 # Step 5: Approval gate (for production)COMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2527 # Step 6: Deploy ingressCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2534 # Step 7: Smoke testCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md4526# Step 1: Discover what's in the clusterCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2482 # Step 1: Deploy CRDsCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2488 # Step 2: Wait for CRDs to be establishedCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2694 # Step 1: Provision cloud infrastructure (VPC, EKS, nodes)COMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2709 # Step 2: Deploy core infrastructure planes (networking + security in parallel)COMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2729 # Step 3: Deploy observabilityCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md2736 # Step 4: ValidationCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md4137# Step 1: Create Cluster CRD with credentials (no CLI needed)COMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md4156# Step 2: After reviewing status.adoptionStatus.discoveredComponents:COMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md4565# Step 2: Actually adoptCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md4572# Step 3: Monitor adoptionCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md5035# Step 1: Create replacement cluster with same blueprintCOMMENT
LOWdesign/vela-core/kep-cluster-infrastructure.md5046# Step 2: After v2 is healthy, decommission originalCOMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go434 // Step 1: Create initial PolicyDefinition v1COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go487 // Step 2: Initial Application deployment (creates ApplicationRevision-1 with v1)COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go571 // Step 3: Re-reconcile without spec change (should reuse ApplicationRevision-1 with v1)COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go592 // Step 4: Update PolicyDefinition in cluster to v2COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go638 // Step 5: Re-reconcile again (still no spec change) - should STILL use v1 (version pinning!)COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go659 // Step 6: Update Application spec (triggers new ApplicationRevision-2)COMMENT
AI Slop Vocabulary4 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMtest/e2e-test/helmchart_test.go1945 // and args to stay robust against chart layout changes.COMMENT
MEDIUM.github/workflows/upgrade-e2e-test.yml4# This workflow performs comprehensive end-to-end testing for KubeVela upgrades.COMMENT
MEDIUM.github/workflows/upgrade-e2e-test.yml12# 3. Run comprehensive e2e test suites (API, addon, general)COMMENT
MEDIUM.github/workflows/upgrade-e2e-test.yml51 timeout-minutes: 90 # Extended timeout for comprehensive e2e testingCODE
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMreferences/cli/addon.go526# In addition to cli flags, you can also use environment variablesCOMMENT
MEDIUM…amples/traits/container-image/multiple-containers.yaml19 # you can use container-image to control multiple containers by filling `containers`COMMENT
MEDIUMdocs/examples/traits/command/multiple-containers.yaml19 # you can use command to control multiple containers by filling `containers`COMMENT
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…v1beta1/application/app_policy_version_pinning_test.go434 // Step 1: Create initial PolicyDefinition v1COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go487 // Step 2: Initial Application deployment (creates ApplicationRevision-1 with v1)COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go571 // Step 3: Re-reconcile without spec change (should reuse ApplicationRevision-1 with v1)COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go592 // Step 4: Update PolicyDefinition in cluster to v2COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go638 // Step 5: Re-reconcile again (still no spec change) - should STILL use v1 (version pinning!)COMMENT
LOW…v1beta1/application/app_policy_version_pinning_test.go659 // Step 6: Update Application spec (triggers new ApplicationRevision-2)COMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWpkg/definition/defkit/param.go1575// Example usage:COMMENT
LOWpkg/definition/defkit/param.go1679// Example usage:COMMENT
LOWpkg/definition/defkit/param.go1727// Example usage:COMMENT
LOWpkg/definition/defkit/resource.go189// Example usage:COMMENT
LOWpkg/definition/defkit/registry.go71// Example usage:COMMENT
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMreferences/cli/def_module.go1662# This file contains metadata about your definition module.COMMENT
MEDIUM…ela-core/templates/admission-webhooks/certmanager.yaml28# Create an Issuer that uses the above generated CA certificate to issue certsCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWhack/debug-webhook-setup.sh89 # Check if k3d is using host networkCOMMENT
LOWhack/utils/golangci-lint-wrapper.sh46# Check if golangci-lint itself had a critical failure (not a linting error)COMMENT
LOWhack/utils/golangci-lint-wrapper.sh49 # Check if there are only typecheck errorsCOMMENT
LOWhack/licence/header-check.sh8# Check if headers are fine:COMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWpkg/definition/goloader/loader.go194 fmt.Println("placeholder")CODE
LOW…/workflow/providers/legacy/multicluster/deploy_test.go208 Properties: &runtime.RawExtension{Raw: []byte(fmt.Sprintf(`{"placeholder":%d}`, i))},CODE
LOWpkg/workflow/providers/multicluster/deploy_test.go208 Properties: &runtime.RawExtension{Raw: []byte(fmt.Sprintf(`{"placeholder":%d}`, i))},CODE