Repository Analysis

rook/rook

Storage Orchestration for Kubernetes

3.2 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of rook/rook, a Go project with 13,568 GitHub stars. SynthScan v2.0 examined 317,847 lines of code across 1185 source files, recording 546 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 3.2 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).

3.2
Adjusted Score
3.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
13.6K
Stars
Go
Language
317.8K
Lines of Code
1.2K
Files
546
Pattern Hits
2026-07-14
Scan Date
0.03
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

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.

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 31HIGH 10MEDIUM 67LOW 438

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 546 distinct pattern matches across 19 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 Indicators31 hits · 375 pts
SeverityFileLineSnippetContext
CRITICALpkg/operator/ceph/cluster/cleanup.go122 {Name: sanitizeMethod, Value: cluster.Spec.CleanupPolicy.SanitizeDisks.Method.String()},CODE
CRITICALpkg/operator/ceph/cluster/cleanup.go123 {Name: sanitizeDataSource, Value: cluster.Spec.CleanupPolicy.SanitizeDisks.DataSource.String()},CODE
CRITICALpkg/operator/ceph/cluster/nodedaemon/exporter.go270 duration := cephCluster.Spec.Monitoring.Interval.Duration.String()CODE
CRITICALpkg/operator/ceph/cluster/mgr/mgr.go446 interval := c.spec.Monitoring.Interval.Duration.Seconds()CODE
CRITICALpkg/operator/ceph/cluster/mgr/mgr.go556 duration := c.spec.Monitoring.Interval.Duration.String()CODE
CRITICALpkg/operator/ceph/file/mds/config.go84 if !c.fs.Spec.MetadataServer.Resources.Limits.Memory().IsZero() {CODE
CRITICALpkg/operator/ceph/file/mds/config.go90 mdsCacheMemoryLimit := float64(c.fs.Spec.MetadataServer.Resources.Limits.Memory().Value()) * limitFactorCODE
CRITICALpkg/operator/ceph/file/mds/config.go92 } else if !c.fs.Spec.MetadataServer.Resources.Requests.Memory().IsZero() {CODE
CRITICALpkg/operator/ceph/file/mds/config.go98 mdsCacheMemoryRequest := float64(c.fs.Spec.MetadataServer.Resources.Requests.Memory().Value()) * requestFactorCODE
CRITICALpkg/operator/ceph/file/mds/spec.go83 c.fs.Spec.MetadataServer.Annotations.ApplyToObjectMeta(&podSpec.ObjectMeta)CODE
CRITICALpkg/operator/ceph/file/mds/spec.go84 c.fs.Spec.MetadataServer.Labels.ApplyToObjectMeta(&podSpec.ObjectMeta)CODE
CRITICALpkg/operator/ceph/file/mds/spec.go85 c.fs.Spec.MetadataServer.Placement.ApplyToPodSpec(&podSpec.Spec)CODE
CRITICALpkg/operator/ceph/file/mds/spec.go116 c.fs.Spec.MetadataServer.Annotations.ApplyToObjectMeta(&d.ObjectMeta)CODE
CRITICALpkg/operator/ceph/file/mds/spec.go117 c.fs.Spec.MetadataServer.Labels.ApplyToObjectMeta(&d.ObjectMeta)CODE
CRITICALpkg/operator/ceph/object/spec.go178 c.store.Spec.Gateway.Annotations.ApplyToObjectMeta(&d.ObjectMeta)CODE
CRITICALpkg/operator/ceph/object/spec.go179 c.store.Spec.Gateway.Labels.ApplyToObjectMeta(&d.ObjectMeta)CODE
CRITICALpkg/operator/ceph/object/spec.go289 kmsNeedsToken := kmsEnabled && c.store.Spec.Security.KeyManagementService.IsTokenAuthEnabled()CODE
CRITICALpkg/operator/ceph/object/spec.go290 s3NeedsToken := s3Enabled && c.store.Spec.Security.ServerSideEncryptionS3.IsTokenAuthEnabled()CODE
CRITICALpkg/operator/ceph/object/spec.go309 c.store.Spec.Gateway.Placement.ApplyToPodSpec(&podSpec)CODE
CRITICALpkg/operator/ceph/object/spec.go322 c.store.Spec.Gateway.Annotations.ApplyToObjectMeta(&podTemplateSpec.ObjectMeta)CODE
CRITICALpkg/operator/ceph/object/spec.go323 c.store.Spec.Gateway.Labels.ApplyToObjectMeta(&podTemplateSpec.ObjectMeta)CODE
CRITICALpkg/operator/ceph/object/spec.go333 addVols, addMounts := c.store.Spec.Gateway.AdditionalVolumeMounts.GenerateVolumesAndMounts("/var/rgw/")CODE
CRITICALpkg/operator/ceph/object/spec.go494 if c.store.Spec.Security.KeyManagementService.IsTokenAuthEnabled() {CODE
CRITICALpkg/operator/ceph/object/spec.go497 if c.store.Spec.Security.KeyManagementService.IsTLSEnabled() {CODE
CRITICALpkg/operator/ceph/object/spec.go538 if c.store.Spec.Security.ServerSideEncryptionS3.IsAgentAuthEnabled() {CODE
CRITICALpkg/operator/ceph/object/spec.go540 } else if c.store.Spec.Security.ServerSideEncryptionS3.IsTokenAuthEnabled() {CODE
CRITICALpkg/operator/ceph/object/spec.go543 if c.store.Spec.Security.ServerSideEncryptionS3.IsTLSEnabled() {CODE
CRITICALpkg/operator/ceph/object/spec.go757 c.store.Spec.Gateway.Service.Annotations.ApplyToObjectMeta(&svc.ObjectMeta)CODE
CRITICALpkg/operator/ceph/object/spec.go758 c.store.Spec.Gateway.Service.Labels.ApplyToObjectMeta(&svc.ObjectMeta)CODE
CRITICALpkg/operator/ceph/object/spec.go878 if c.store.Spec.Security != nil && c.store.Spec.Security.KeyManagementService.IsEnabled() {CODE
CRITICALpkg/operator/ceph/object/spec.go911 if c.store.Spec.Security != nil && c.store.Spec.Security.ServerSideEncryptionS3.IsEnabled() {CODE
Over-Commented Block336 hits · 274 pts
SeverityFileLineSnippetContext
LOWdesign/ceph/ceph-nfs-ganesha.md101 # - matchExpressions:COMMENT
LOWdesign/ceph/update-osds-in-parallel.md141 # continueUpgradeAfterChecksEvenIfNotHealthy is merely relocated from specCOMMENT
LOWdesign/ceph/object/store.md321 dataPoolName: rgw-data-pool # results to rgw-data-pool:<CephObjectStore.name>.dataCOMMENT
LOW…n/CRDs/Shared-Filesystem/ceph-fs-subvolumegroup-crd.md21 namespace: rook-ceph # namespace:clusterCOMMENT
LOW…entation/CRDs/Shared-Filesystem/ceph-filesystem-crd.md41 placement:COMMENT
LOW…mentation/CRDs/Object-Storage/ceph-object-store-crd.md41 port: 80COMMENT
LOW…mentation/CRDs/Object-Storage/ceph-object-store-crd.md61 # topologySpreadConstraints:COMMENT
LOW…orage-Configuration/Block-Storage-RBD/block-storage.md41 clusterID: rook-cephCOMMENT
LOW…orage-Configuration/Block-Storage-RBD/block-storage.md61COMMENT
LOW…Object-Storage-RGW/ceph-object-bucket-notifications.md61# ackLevel: broker [13]COMMENT
LOWimages/ceph/toolbox.sh1#!/usr/bin/env -S bash -eCOMMENT
LOWdeploy/charts/rook-ceph/values.yaml1# Default values for rook-ceph-operatorCOMMENT
LOWdeploy/charts/rook-ceph/values.yaml161# -- If true, scale down the rook operator.COMMENT
LOWdeploy/charts/rook-ceph/values.yaml181 # operator: ExistsCOMMENT
LOWdeploy/charts/rook-ceph/values.yaml221# - name: my-registry-secretCOMMENT
LOWdeploy/charts/library/Chart.yaml1---COMMENT
LOWdeploy/charts/library/Chart.yaml21# the 'charts/' dir of dependent charts via a symlink does not require usingCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml1# Default values for a single rook-ceph clusterCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml61 prometheusRuleOverrides: {}COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml81 # -- Annotations applied to PrometheusRuleCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml101 tag: v20.2.2COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml121 # Important: if you reinstall the cluster, make sure you delete this directory from each host or else the mons will faCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml161 # List of modules to optionally enable or disable.COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml181 # The default is false. When encryption is enabled, all communication between clients and Ceph daemons, or betweenCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml201 # # The selector keys are required to be `public` and `cluster`.COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml221COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml241 method: quickCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml261 # - matchExpressions:COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml281COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml381 storage: # cluster level storage configuration and selectionCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml401 # config: # configuration can be specified at the node level which overrides the cluster level configCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml441 # external-dns/private: "true"COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml461route:COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml501 allowedTopologies: []COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml681 # port: 80COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml701 # path: /COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml721# realm: realm-aCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml741# # - "http://rgw-a.fqdn"COMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml761# # clusterID is the namespace where the rook cluster is runningCOMMENT
LOWdeploy/charts/rook-ceph-cluster/values.yaml781# # RBD image features, equivalent to OR'd bitfield value: 63COMMENT
LOWdeploy/examples/bucket-topic.yaml21 # ackLevel: broker # none, broker(default), routableCOMMENT
LOWdeploy/examples/common-external.yaml1###################################################################################################################COMMENT
LOWdeploy/examples/rbdmirror.yaml1#################################################################################################################COMMENT
LOWdeploy/examples/rbdmirror.yaml21 # nodeAffinity:COMMENT
LOWdeploy/examples/object-a.yaml1#################################################################################################################COMMENT
LOWdeploy/examples/object-a.yaml41 matchExpressions:COMMENT
LOWdeploy/examples/object-a.yaml61 # podAffinity:COMMENT
LOWdeploy/examples/osd-purge.yaml1#################################################################################################################COMMENT
LOWdeploy/examples/pool.yaml21 # hybridStorage:COMMENT
LOWdeploy/examples/pool.yaml41 # Set any property on a given poolCOMMENT
LOWdeploy/examples/pool.yaml61 mirror:COMMENT
LOWdeploy/examples/object-multi-instance-test.yaml1#################################################################################################################COMMENT
LOWdeploy/examples/cluster-tnf.yaml1#################################################################################################################COMMENT
LOWdeploy/examples/cluster-on-pvc.yaml61 # The number of OSDs to create from this device setCOMMENT
LOWdeploy/examples/cluster-on-pvc.yaml141 # dedicated block device to store bluestore database (block.db)COMMENT
LOWdeploy/examples/cluster-on-pvc.yaml161 # storage: 5GiCOMMENT
LOWdeploy/examples/cluster-on-pvc.yaml181 mgr: system-cluster-criticalCOMMENT
LOWdeploy/examples/cluster-on-pvc.yaml201 # VAULT_ADDR: VAULT_ADDR_CHANGE_ME # e,g: https://vault.my-domain.com:8200COMMENT
LOWdeploy/examples/object-account.yaml1#################################################################################################################COMMENT
LOWdeploy/examples/operator.yaml1#################################################################################################################COMMENT
276 more matches not shown…
Self-Referential Comments48 hits · 144 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/examples/crds.yaml2# Create the CRDs that are necessary before creating your Rook cluster.COMMENT
MEDIUMdeploy/examples/pool-test.yaml2# Create a Ceph pool with settings a test environment. Only a single OSD is required.COMMENT
MEDIUMdeploy/examples/object-multisite-pull-realm-test.yaml2# Create an object store with settings for a test environment. Only a single OSD is required in this example.COMMENT
MEDIUMdeploy/examples/common-external.yaml2# Create the common resources that are necessary to start an external Ceph cluster in a different namespaceCOMMENT
MEDIUMdeploy/examples/object-external.yaml2# Create an object store with settings for an external Ceph cluster.COMMENT
MEDIUMdeploy/examples/object-a.yaml2# Create an object store with settings for shared pools in a production environment. A minimum of 3 hosts withCOMMENT
MEDIUMdeploy/examples/object-multisite-pull-realm.yaml2# Create an object store with multisite settings that is syncing with another multisite cluster for aCOMMENT
MEDIUMdeploy/examples/object-test.yaml2# Create an object store with settings for a test environment. Only a single OSD is required in this example.COMMENT
MEDIUMdeploy/examples/object-multisite.yaml2# Create an object store with multisite settings for a production environment. A minimum of 3 hosts with OSDsCOMMENT
MEDIUMdeploy/examples/cluster-test.yaml2# Define the settings for the rook-ceph cluster with common settings for a small test cluster.COMMENT
MEDIUMdeploy/examples/common.yaml2# Create the common resources that are necessary to start the operator and the ceph cluster.COMMENT
MEDIUMdeploy/examples/object-shared-pools-test.yaml2# Create the pools that can be shared by multiple object stores. A single OSD is requiredCOMMENT
MEDIUMdeploy/examples/pool.yaml2# Create a Ceph pool with settings for replication in production environments. A minimum of 3 OSDs onCOMMENT
MEDIUMdeploy/examples/pool-ec.yaml2# Create a Ceph pool with settings for erasure coding. A minimum of 3 OSDs are required in this example.COMMENT
MEDIUMdeploy/examples/cluster-external-management.yaml2# Define the settings for the rook-ceph-external cluster with common settings for a production cluster.COMMENT
MEDIUMdeploy/examples/object-multi-instance-test.yaml2# Create an object store with settings for a test environment. Only a single OSD is required in this example.COMMENT
MEDIUMdeploy/examples/object-multisite-test.yaml2# Create an object store with settings for a test environment. Only a single OSD is required in this example.COMMENT
MEDIUMdeploy/examples/cluster-tnf.yaml2# Define the settings for the rook-ceph cluster with DRBD floating monitor for testing.COMMENT
MEDIUMdeploy/examples/cluster-stretched-aws.yaml2# Define the settings for the rook-ceph cluster with common settings for a production cluster.COMMENT
MEDIUMdeploy/examples/cluster-on-pvc.yaml2# Define the settings for the rook-ceph cluster with common settings for a production cluster on top of cloud instances.COMMENT
MEDIUMdeploy/examples/object-account.yaml2# Create an object store account to manage RGW resources.COMMENT
MEDIUMdeploy/examples/object.yaml2# Create an object store with settings for replication in a production environment. A minimum of 3 hosts withCOMMENT
MEDIUMdeploy/examples/cluster-on-local-pvc.yaml2# Define the settings for the rook-ceph cluster with common settings for a production cluster on top of bare metal.COMMENT
MEDIUMdeploy/examples/filesystem-test.yaml2# Create a filesystem with settings for a test environment where only a single OSD is required.COMMENT
MEDIUMdeploy/examples/cluster.yaml2# Define the settings for the rook-ceph cluster with common settings for a production cluster.COMMENT
MEDIUMdeploy/examples/cluster-stretched.yaml2# Define the settings for the rook-ceph cluster with common settings for a production cluster.COMMENT
MEDIUMdeploy/examples/object-shared-pools.yaml2# Create the pools that can be shared by multiple object stores. A minimum of 3 hosts withCOMMENT
MEDIUMdeploy/examples/filesystem-ec.yaml2# Create a filesystem with settings for erasure-coding instead of replication. A minimum of three nodes with OSDsCOMMENT
MEDIUMdeploy/examples/object-ec.yaml2# Create an object store with settings for erasure coding for the data pool. A minimum of 3 nodes with OSDs areCOMMENT
MEDIUMdeploy/examples/two-object-one-zone-test.yaml2# Create an two object stores with the same set of pre-created poolsCOMMENT
MEDIUMdeploy/examples/filesystem.yaml2# Create a filesystem with settings with replication enabled for a production environment.COMMENT
MEDIUMdeploy/examples/object-user.yaml2# Create an object store user for access to the s3 endpoint.COMMENT
MEDIUMdeploy/examples/object-b.yaml2# Create an object store with settings for shared pools in a production environment. A minimum of 3 hosts withCOMMENT
MEDIUMdeploy/examples/pool-mirrored.yaml2# Create a mirroring enabled Ceph pool.COMMENT
MEDIUMdeploy/examples/toolbox-operator-image.yaml2# Define the toolbox that will run with the Rook operator image.COMMENT
MEDIUMdeploy/examples/headless-mon-service.yaml1# Create a headless service which will effectively referenced by the EndpointSlice resourcesCOMMENT
MEDIUMdeploy/examples/cluster-external.yaml2# Define the settings for the rook-ceph-external cluster with common settings for a production cluster.COMMENT
MEDIUMdeploy/examples/operator-openshift.yaml2# Create the rook operator and necessary security context constraints for runningCOMMENT
MEDIUMdeploy/examples/object-openshift.yaml2# Create an object store with settings specific for OpenShift. A minimum of 3 OSDs are required in this exampleCOMMENT
MEDIUMdeploy/examples/nfs.yaml2# Create a Ceph pool with settings for replication in production environments. A minimum of 3 OSDs onCOMMENT
MEDIUMdeploy/examples/cluster-multus-test.yaml2# Define the settings for the rook-ceph cluster with common settings for a small test cluster.COMMENT
MEDIUMdeploy/examples/cluster-on-pvc-minikube.yaml2# Define the settings for the rook-ceph cluster with settings for a minikube cluster with a single nodeCOMMENT
MEDIUMdeploy/examples/csi/rbd/storageclass-ec.yaml2# Create a storage class with a data pool that uses erasure coding for a production environment.COMMENT
MEDIUM…loy/examples/csi/rbd/volumeattributesclass-cgroup.yaml2# Create a VolumeAttributesClass for RBD QoS using cgroup v2 io.max limits.COMMENT
MEDIUMdeploy/examples/external/object-external.yaml2# Create an object store with settings for an external Ceph cluster.COMMENT
MEDIUMtests/scripts/github-action-helper.sh186 # Create an extra disk if doesn't exist.COMMENT
MEDIUMtests/scripts/deploy-validate-vault.sh157 # Create a token for RookCOMMENT
MEDIUMtests/manifests/test-object.yaml2# Create an object store with settings for a test environment. Only a single OSD is required in this example.COMMENT
Hyper-Verbose Identifiers58 hits · 56 pts
SeverityFileLineSnippetContext
LOWdeploy/examples/create-external-cluster-resources.py513 def validate_rbd_metadata_ec_pool_name(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py563 def validate_rgw_endpoint_tls_cert(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py705 def get_ceph_external_mon_data(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py779 def get_active_and_standby_mgrs(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py871 def get_cephfs_provisioner_caps_and_entity(self, generation):CODE
LOWdeploy/examples/create-external-cluster-resources.py896 def get_cephfs_node_caps_and_entity(self, generation):CODE
LOWdeploy/examples/create-external-cluster-resources.py954 def get_rbd_provisioner_caps_and_entity(self, generation):CODE
LOWdeploy/examples/create-external-cluster-resources.py992 def get_rbd_node_caps_and_entity(self, generation):CODE
LOWdeploy/examples/create-external-cluster-resources.py1104 def get_cephfs_data_pool_details(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py1248 def create_rgw_admin_ops_user(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py1379 def get_or_create_subvolume_group(self, subvolume_group, cephfs_filesystem_name):CODE
LOWdeploy/examples/create-external-cluster-resources.py1529 def convert_comma_separated_to_array(self, value):CODE
LOWdeploy/examples/create-external-cluster-resources.py1532 def raise_exception_if_any_topology_flag_is_missing(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py1569 def validate_topology_rbd_pools(self, topology_rbd_pools):CODE
LOWdeploy/examples/create-external-cluster-resources.py1597 def get_cephx_latest_key_generation(self):CODE
LOWdeploy/examples/create-external-cluster-resources.py2100 def upgrade_users_permissions(self, generation):CODE
LOWdeploy/examples/create-external-cluster-resources.py2123 def get_rgw_pool_name_during_upgrade(self, user, caps):CODE
LOWdeploy/examples/import-external-cluster.sh179function createInputCommadConfigMap() {CODE
LOWdeploy/examples/import-external-cluster.sh227function importCsiRBDProvisionerSecret() {CODE
LOWdeploy/examples/import-external-cluster.sh249function importCsiCephFSNodeSecret() {CODE
LOWdeploy/examples/import-external-cluster.sh270function importCsiCephFSProvisionerSecret() {CODE
LOWdeploy/examples/import-external-cluster.sh399function createRBDTopologyStorageClass() {CODE
LOW…oy/examples/create-external-cluster-resources-tests.py84 def test_non_zero_return_and_error(self):CODE
LOW…oy/examples/create-external-cluster-resources-tests.py93 def test_multi_filesystem_scenario(self):CODE
LOW…oy/examples/create-external-cluster-resources-tests.py131 def test_multi_data_pool_scenario(self):CODE
LOW…oy/examples/create-external-cluster-resources-tests.py168 def test_upgrade_user_permissions(self):CODE
LOW…oy/examples/create-external-cluster-resources-tests.py181 def test_monitoring_endpoint_validation(self):CODE
LOW…oy/examples/create-external-cluster-resources-tests.py236 def test_skip_monitoring_endpoint_no_prometheus(self):CODE
LOW…oy/examples/create-external-cluster-resources-tests.py266 def test_skip_monitoring_endpoint(self):CODE
LOW…examples/external/create-external-cluster-resources.py513 def validate_rbd_metadata_ec_pool_name(self):CODE
LOW…examples/external/create-external-cluster-resources.py563 def validate_rgw_endpoint_tls_cert(self):CODE
LOW…examples/external/create-external-cluster-resources.py705 def get_ceph_external_mon_data(self):CODE
LOW…examples/external/create-external-cluster-resources.py779 def get_active_and_standby_mgrs(self):CODE
LOW…examples/external/create-external-cluster-resources.py871 def get_cephfs_provisioner_caps_and_entity(self, generation):CODE
LOW…examples/external/create-external-cluster-resources.py896 def get_cephfs_node_caps_and_entity(self, generation):CODE
LOW…examples/external/create-external-cluster-resources.py954 def get_rbd_provisioner_caps_and_entity(self, generation):CODE
LOW…examples/external/create-external-cluster-resources.py992 def get_rbd_node_caps_and_entity(self, generation):CODE
LOW…examples/external/create-external-cluster-resources.py1104 def get_cephfs_data_pool_details(self):CODE
LOW…examples/external/create-external-cluster-resources.py1248 def create_rgw_admin_ops_user(self):CODE
LOW…examples/external/create-external-cluster-resources.py1379 def get_or_create_subvolume_group(self, subvolume_group, cephfs_filesystem_name):CODE
LOW…examples/external/create-external-cluster-resources.py1529 def convert_comma_separated_to_array(self, value):CODE
LOW…examples/external/create-external-cluster-resources.py1532 def raise_exception_if_any_topology_flag_is_missing(self):CODE
LOW…examples/external/create-external-cluster-resources.py1569 def validate_topology_rbd_pools(self, topology_rbd_pools):CODE
LOW…examples/external/create-external-cluster-resources.py1597 def get_cephx_latest_key_generation(self):CODE
LOW…examples/external/create-external-cluster-resources.py2100 def upgrade_users_permissions(self, generation):CODE
LOW…examples/external/create-external-cluster-resources.py2123 def get_rgw_pool_name_during_upgrade(self, user, caps):CODE
LOWdeploy/examples/external/import-external-cluster.sh179function createInputCommadConfigMap() {CODE
LOWdeploy/examples/external/import-external-cluster.sh227function importCsiRBDProvisionerSecret() {CODE
LOWdeploy/examples/external/import-external-cluster.sh249function importCsiCephFSNodeSecret() {CODE
LOWdeploy/examples/external/import-external-cluster.sh270function importCsiCephFSProvisionerSecret() {CODE
LOWdeploy/examples/external/import-external-cluster.sh399function createRBDTopologyStorageClass() {CODE
LOW…es/external/create-external-cluster-resources-tests.py84 def test_non_zero_return_and_error(self):CODE
LOW…es/external/create-external-cluster-resources-tests.py93 def test_multi_filesystem_scenario(self):CODE
LOW…es/external/create-external-cluster-resources-tests.py131 def test_multi_data_pool_scenario(self):CODE
LOW…es/external/create-external-cluster-resources-tests.py168 def test_upgrade_user_permissions(self):CODE
LOW…es/external/create-external-cluster-resources-tests.py181 def test_monitoring_endpoint_validation(self):CODE
LOW…es/external/create-external-cluster-resources-tests.py236 def test_skip_monitoring_endpoint_no_prometheus(self):CODE
LOW…es/external/create-external-cluster-resources-tests.py266 def test_skip_monitoring_endpoint(self):CODE
AI Slop Vocabulary11 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/examples/object-a.yaml4# shared metadata and data pools. The pool sharing will utilize RADOS namespaces to keep the object storeCOMMENT
LOWdeploy/examples/create-external-cluster-resources.py1162 # just return silentlyCOMMENT
MEDIUMdeploy/examples/object-shared-pools-test.yaml4# shared metadata and data pools. The pool sharing will utilize RADOS namespaces to keep the object storeCOMMENT
MEDIUMdeploy/examples/object-shared-pools.yaml4# shared metadata and data pools. The pool sharing will utilize RADOS namespaces to keep the object storeCOMMENT
MEDIUMdeploy/examples/object-b.yaml4# shared metadata and data pools. The pool sharing will utilize RADOS namespaces to keep the object storeCOMMENT
LOW…examples/external/create-external-cluster-resources.py1162 # just return silentlyCOMMENT
MEDIUMpkg/apis/ceph.rook.io/v1/types.go3262 // network attachment definitions. Rook's methods are robust but may be imprecise forCOMMENT
MEDIUMpkg/daemon/ceph/osd/kms/vault_test.go210 // the previous file. Essentially we are verifying that defer does what it is supposed to do.COMMENT
MEDIUMpkg/operator/ceph/cluster/predicate.go151 // Definitely non-trivial but nice to have in the futureCOMMENT
MEDIUMpkg/operator/ceph/cluster/osd/spec.go1447 // Essentially, the device cannot be found because it was not mounted in the containerCOMMENT
MEDIUMpkg/operator/ceph/config/datapath.go76// NewDatalessDaemonDataPathMap returns a new DataPathMap for a daemon which does not utilize a dataCOMMENT
Cross-File Repetition5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHdeploy/examples/create-external-cluster-resources.py0copyright 2022 the rook authors. all rights reserved. licensed under the apache license, version 2.0 (the "license"); yoSTRING
HIGH…examples/external/create-external-cluster-resources.py0copyright 2022 the rook authors. all rights reserved. licensed under the apache license, version 2.0 (the "license"); yoSTRING
HIGH…oy/examples/create-external-cluster-resources-tests.py0copyright 2022 the rook authors. all rights reserved. licensed under the apache license, version 2.0 (the "license"); yoSTRING
HIGH…es/external/create-external-cluster-resources-tests.py0copyright 2022 the rook authors. all rights reserved. licensed under the apache license, version 2.0 (the "license"); yoSTRING
HIGHtests/scripts/pythonwebserver/server.py0copyright 2022 the rook authors. all rights reserved. licensed under the apache license, version 2.0 (the "license"); yoSTRING
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHDocumentation/Contributing/development-flow.md320# In this example, the last 5 commits will be opened in the git rebase tool.COMMENT
HIGHdeploy/examples/cluster-stretched-aws.yaml129 # settings as other mons. In this example, the arbiter has a toleration to run on a control-plane node.COMMENT
HIGHdeploy/examples/cluster-stretched.yaml57 # settings as other mons. In this example, the arbiter has a toleration to run on a control-plane node.COMMENT
Structural Annotation Overuse13 hits · 20 pts
SeverityFileLineSnippetContext
LOW…torage-Configuration/Advanced/two-node-cluster-drbd.md20### Step 1: Install DRBD Kernel ModulesCOMMENT
LOW…torage-Configuration/Advanced/two-node-cluster-drbd.md46### Step 2: Identify Block DevicesCOMMENT
LOW…torage-Configuration/Advanced/two-node-cluster-drbd.md81### Step 3: Run DRBD Setup ScriptCOMMENT
LOW…torage-Configuration/Advanced/two-node-cluster-drbd.md104### Step 4: Verify DRBD SetupCOMMENT
LOW…torage-Configuration/Advanced/two-node-cluster-drbd.md119### Step 5: Deploy Rook CephClusterCOMMENT
LOW…torage-Configuration/Advanced/two-node-cluster-drbd.md129### Step 6: Verify Ceph ClusterCOMMENT
LOW…ion/Storage-Configuration/Block-Storage-RBD/nvme-of.md31## Step 1: Create a Ceph Block PoolCOMMENT
LOW…ion/Storage-Configuration/Block-Storage-RBD/nvme-of.md53## Step 2: Create the NVMe-oF GatewayCOMMENT
LOW…ion/Storage-Configuration/Block-Storage-RBD/nvme-of.md99## Step 3: Deploy the NVMe-oF CSI Driver via CSI OperatorCOMMENT
LOW…ion/Storage-Configuration/Block-Storage-RBD/nvme-of.md123## Step 4: Create the StorageClassCOMMENT
LOW…ion/Storage-Configuration/Block-Storage-RBD/nvme-of.md170## Step 5: Create a PersistentVolumeClaimCOMMENT
LOW…ion/Storage-Configuration/Block-Storage-RBD/nvme-of.md211## Step 6: Create a PodCOMMENT
LOW…ion/Storage-Configuration/Block-Storage-RBD/nvme-of.md232## Step 7: Accessing Volumes via NVMe-oFCOMMENT
Excessive Try-Catch Wrapping8 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/examples/create-external-cluster-resources.py43 print(f"Error: {noModErr}\nExiting the script...")CODE
MEDIUMdeploy/examples/create-external-cluster-resources.py49 print(f"Error: {noModErr}\nExiting the script...")CODE
MEDIUMdeploy/examples/create-external-cluster-resources.py2233 print(f"Error while trying to output the data: {osErr}")CODE
LOWdeploy/examples/create-external-cluster-resources.py626 except Exception as err:CODE
MEDIUM…examples/external/create-external-cluster-resources.py43 print(f"Error: {noModErr}\nExiting the script...")CODE
MEDIUM…examples/external/create-external-cluster-resources.py49 print(f"Error: {noModErr}\nExiting the script...")CODE
MEDIUM…examples/external/create-external-cluster-resources.py2233 print(f"Error while trying to output the data: {osErr}")CODE
LOW…examples/external/create-external-cluster-resources.py626 except Exception as err:CODE
Slop Phrases9 hits · 14 pts
SeverityFileLineSnippetContext
LOWdeploy/charts/rook-ceph-cluster/values.yaml121 # Important: if you reinstall the cluster, make sure you delete this directory from each host or else the mons will faCOMMENT
LOWdeploy/examples/cluster-on-pvc.yaml196 # To enable the KMS configuration properly don't forget to uncomment the Secret at the end of the fileCOMMENT
LOWdeploy/examples/cluster-on-pvc.yaml196 # To enable the KMS configuration properly don't forget to uncomment the Secret at the end of the fileCOMMENT
LOWdeploy/examples/object.yaml146 # To enable the Server Side Encryption configuration properly don't forget to uncomment the Secret at the end of the fCOMMENT
LOWdeploy/examples/object.yaml146 # To enable the Server Side Encryption configuration properly don't forget to uncomment the Secret at the end of the fCOMMENT
LOWdeploy/examples/cluster.yaml30 # Important: if you reinstall the cluster, make sure you delete this directory from each host or else the mons will faCOMMENT
LOWdeploy/examples/object-openshift.yaml109 # To enable the KMS configuration properly don't forget to uncomment the Secret at the end of the fileCOMMENT
LOWdeploy/examples/object-openshift.yaml109 # To enable the KMS configuration properly don't forget to uncomment the Secret at the end of the fileCOMMENT
LOWpkg/util/sys/device.go376 // (don't forget to remove surrounding quotes from the value)COMMENT
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHpkg/operator/ceph/cluster/osd/osd.go189 // Fall back to use the same placement as requested for the osd daemonsCOMMENT
HIGHpkg/operator/ceph/client/controller.go486 return client.Spec.SecretName // return the secret name as requested by user.CODE
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/charts/rook-ceph/values.yaml210# -- Disable automatic orchestration when new devices are discovered.COMMENT
MEDIUMdeploy/examples/operator.yaml75 # Disable automatic orchestration when new devices are discoveredCOMMENT
MEDIUMdeploy/examples/operator-openshift.yaml158 # Disable automatic orchestration when new devices are discoveredCOMMENT
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWdeploy/examples/operator.yaml231 # Set this to true if SELinux is enabled (e.g. OpenShift) to workaround the anyuid issues.COMMENT
LOWdeploy/examples/operator.yaml236 # Set this to true if mon pods are CrashLooping on SELinux-enabled systems despite other settings.COMMENT
LOWdeploy/examples/operator-openshift.yaml301 # Set this to true if SELinux is enabled (e.g. OpenShift) to workaround the anyuid issues.COMMENT
LOWtests/scripts/deploy-validate-vault.sh233 # Set SA_CA_CRT to the PEM encoded CA cert used to talk to Kubernetes APICOMMENT
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWcmd/rook/ceph/osd.go411 // For backward compatibility we need to check if the env var is still setCOMMENT
LOWpkg/operator/ceph/cluster/osd/spec.go182 # keep OSD pods from crashing repeatedly after a reboot, we need to check if theCOMMENT
LOWpkg/operator/ceph/cluster/mon/health.go139 // Since c.ClusterInfo.IsInitialized() below uses a different context, we need to check if the context is doneCOMMENT
Deep Nesting8 hits · 4 pts
SeverityFileLineSnippetContext
LOWdeploy/examples/create-external-cluster-resources.py592CODE
LOWdeploy/examples/create-external-cluster-resources.py1104CODE
LOWdeploy/examples/create-external-cluster-resources.py1597CODE
LOWdeploy/examples/create-external-cluster-resources.py1643CODE
LOW…examples/external/create-external-cluster-resources.py592CODE
LOW…examples/external/create-external-cluster-resources.py1104CODE
LOW…examples/external/create-external-cluster-resources.py1597CODE
LOW…examples/external/create-external-cluster-resources.py1643CODE
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdeploy/examples/cleanup-job.yaml9# ---------------COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/scripts/tmate-pod.yaml3# Usage:COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpkg/operator/ceph/controller/mirror_peer_test.go76 // TODO: Add test cases.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpkg/operator/ceph/object/config_test.go280 fakeUser := generateCephXUser("rook-ceph-rgw-fake-store-fake-user")CODE