AI Slop Code Risk Monitor

open-telemetry/opentelemetry-collector

SlopCodeMonitor badge for open-telemetry/opentelemetry-collector Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

OpenTelemetry Collector

1.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for open-telemetry/opentelemetry-collector, a Go project with 7,725 GitHub stars. SynthScan examined 319,965 lines of code across 2449 source files, recording 279 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.0
Adjusted Signal
1.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.7K
Stars
Go
Language
320.0K
Lines of Code
2.4K
Files
279
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 4.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 273 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

Are imports declared and package/API names verified? 4 finding(s).

Agent Over-Engineering Ratio 0.1/100 · LOW

Are wrappers, guards, and repeated structures necessary? 2 finding(s).

PR Review Velocity Impact 4.5/100 · LOW

Which changes need focused human review? 279 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 2MEDIUM 4LOW 273

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 279 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block235 hits · 234 pts
SeverityFileLineSnippetContext
LOW.golangci.yml261 allow-parallel-runners: trueCOMMENT
LOWcmd/mdatagen/metadata-schema.yaml81 # Optional: A list of platforms not supported by this component.COMMENT
LOWcmd/mdatagen/metadata-schema.yaml101 # Container types: object (requires properties:), slice (requires values:), map (requires values:)COMMENT
LOWcmd/mdatagen/metadata-schema.yaml141 # Optional: For number/integer types - maximum value (inclusive).COMMENT
LOWcmd/mdatagen/metadata-schema.yaml181 anonymous: boolCOMMENT
LOWcmd/mdatagen/metadata-schema.yaml221 description:COMMENT
LOWcmd/mdatagen/metadata-schema.yaml261 # All referenced attributes must be defined in the resource_attributes section.COMMENT
LOWcmd/mdatagen/metadata-schema.yaml281 name_override:COMMENT
LOWcmd/mdatagen/metadata-schema.yaml301# Optional: map of metric names with the key being the metric name and valueCOMMENT
LOWcmd/mdatagen/metadata-schema.yaml321 if_configured:COMMENT
LOWcmd/mdatagen/metadata-schema.yaml341 entity: stringCOMMENT
LOWcmd/mdatagen/metadata-schema.yaml441 # Optional: whether or not this metric is optional. Optional metrics may only be initializedCOMMENT
LOWcmd/mdatagen/metadata-schema.yaml481 stage: <alpha|beta|stable|deprecated>COMMENT
LOWcmd/mdatagen/internal/metadata.go841type Entity struct {COMMENT
LOW…l/samplereceiver/internal/metadata/generated_config.go541type HostArchResourceAttributeConfig struct {COMMENT
LOW…l/samplereceiver/internal/metadata/generated_config.go681type StringEnumResourceAttrResourceAttributeConfig struct {COMMENT
LOW…l/samplereceiver/internal/metadata/generated_config.go761COMMENT
LOWcmd/mdatagen/internal/samplemigrationscraper/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWcmd/builder/internal/builder/config.go101COMMENT
LOWextension/zpagesextension/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/extensioncapabilities/interfaces.go21 Dependencies() []component.IDCOMMENT
LOWextension/memorylimiterextension/testdata/config.yaml1# check_interval is the time between measurements of memory usage for theCOMMENT
LOWextension/extensionauth/server.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/extensionauth/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWextension/xextension/storage/storage.go21 // The component can use the client to manage stateCOMMENT
LOWextension/xextension/storage/storage.go61//COMMENT
LOWextension/xextension/storage/storage.go81// any of the collected operations.COMMENT
LOWextension/xextension/storage/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWconfig/configgrpc/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWconfig/confignet/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWconfig/confighttp/server.go81// through two representations (the deprecated flat fields and the 'keepalive'COMMENT
LOWconfig/confighttp/server.go101 // fields directly; the 'keepalive' section decodes into Keepalive and isCOMMENT
LOWconfig/confighttp/server.go141 }COMMENT
LOWconfig/confighttp/server.go161// error and the warnings: programmatic values are neither deprecated usage norCOMMENT
LOWconfig/confighttp/server.go361 handler = responseHeadersHandler(handler, sc.ResponseHeaders)COMMENT
LOWconfig/confighttp/generated_config.go81 // Cookies configures the cookie management of the HTTP client.COMMENT
LOWconfig/confighttp/generated_config.go121// See the underlying https://github.com/rs/cors package for details.COMMENT
LOWconfig/confighttp/generated_config.go221 // CompressionAlgorithms configures the list of compression algorithms the server can accept.COMMENT
LOWconfig/confighttp/generated_config.go241 ReadHeaderTimeout time.Duration `mapstructure:"read_header_timeout"`COMMENT
LOWconfig/confighttp/client.go81COMMENT
LOWconfig/confighttp/client.go101// for ToClient to log. Only keys present in the configuration count for theCOMMENT
LOWconfig/confighttp/client.go161 cc.Keepalive.Get().MaxIdleConnsPerHost = cc.MaxIdleConnsPerHostCOMMENT
LOWconfig/confighttp/client.go181// practice. Deprecated keys in the configuration are also recorded as warningsCOMMENT
LOWconfig/confighttp/client.go201 // Step 2: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/compression.go121 0x73, 0x4e, 0x61, 0x50, 0x70, 0x59, // "sNaPpY"COMMENT
LOWconfig/confighttp/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWconfig/configopaque/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWconfig/configtelemetry/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWconfig/configtelemetry/doc.go21//COMMENT
LOWconfig/configtls/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWconfig/configoptional/optional.go281// generally only be called by [confmap.Validate].COMMENT
LOWprocessor/queuebatchprocessor/doc.go1// Copyright The OpenTelemetry AuthorsCOMMENT
LOWprocessor/queuebatchprocessor/testdata/config.yaml1# Default configuration for the queue_batch processor, documenting theCOMMENT
LOWprocessor/batchprocessor/config.go21 // SendBatchSize is the size of a batch which after hit, will trigger it to be sent.COMMENT
LOW.chloggen/TEMPLATE.yaml21# e.g. '[user]' or '[user, api]'COMMENT
LOW.chloggen/xprocessorhelper-profiles-obsreport.yaml21# e.g. '[user]' or '[user, api]'COMMENT
LOW.chloggen/featuregate-allow-underscores.yaml21# e.g. '[user]' or '[user, api]'COMMENT
LOW.chloggen/queue-ref-pair-in-memory-queue.yaml21# e.g. '[user]' or '[user, api]'COMMENT
LOW.chloggen/reuse-message.yaml21# e.g. '[user]' or '[user, api]'COMMENT
LOW.chloggen/README.md1### Changelog folderCOMMENT
175 more matches not shown…
Structural Annotation Overuse17 hits · 27 pts
SeverityFileLineSnippetContext
LOW⚡config/confighttp/server.go168 // Step 1: fold a programmatically set Keepalive into the deprecatedCOMMENT
LOW⚡config/confighttp/server.go177 // Step 2: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/server.go100 // Step 1: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/server.go114 // Step 2: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/server.go132 // Step 3: fold the decoded 'keepalive' section into the deprecatedCOMMENT
LOWconfig/confighttp/server.go191 // Step 3: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/server.go208 // Step 4: fold the decoded 'keepalive' section into the deprecatedCOMMENT
LOWconfig/confighttp/server.go222 // Step 5: the deprecated fields now hold the effective settings; restoreCOMMENT
LOWconfig/confighttp/client.go109 // Step 1: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/client.go123 // Step 2: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/client.go190 // Step 1: fold a programmatically set Keepalive into the deprecatedCOMMENT
LOWconfig/confighttp/client.go201 // Step 2: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/client.go215 // Step 3: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/client.go238 // Step 4: fold the decoded 'keepalive' section into the deprecatedCOMMENT
LOWconfig/confighttp/client.go258 // Step 5: the deprecated fields now hold the effective settings; restoreCOMMENT
LOWconsumer/consumererror/error.go35// NOTE: This function will panic if passed an HTTP status between 200 and 299 inclusive.COMMENT
LOWconsumer/consumererror/error.go54// NOTE: This function will panic if passed a *status.Status with an underlyingCOMMENT
Verbosity Indicators16 hits · 26 pts
SeverityFileLineSnippetContext
LOW⚡config/confighttp/server.go168 // Step 1: fold a programmatically set Keepalive into the deprecatedCOMMENT
LOW⚡config/confighttp/server.go177 // Step 2: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/server.go100 // Step 1: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/server.go114 // Step 2: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/server.go132 // Step 3: fold the decoded 'keepalive' section into the deprecatedCOMMENT
LOWconfig/confighttp/server.go191 // Step 3: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/server.go208 // Step 4: fold the decoded 'keepalive' section into the deprecatedCOMMENT
LOWconfig/confighttp/server.go222 // Step 5: the deprecated fields now hold the effective settings; restoreCOMMENT
LOWconfig/confighttp/client.go109 // Step 1: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/client.go123 // Step 2: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/client.go190 // Step 1: fold a programmatically set Keepalive into the deprecatedCOMMENT
LOWconfig/confighttp/client.go201 // Step 2: decode the configuration. Deprecated keys overwrite theirCOMMENT
LOWconfig/confighttp/client.go215 // Step 3: with the decoded values at hand, reject configurations mixingCOMMENT
LOWconfig/confighttp/client.go238 // Step 4: fold the decoded 'keepalive' section into the deprecatedCOMMENT
LOWconfig/confighttp/client.go258 // Step 5: the deprecated fields now hold the effective settings; restoreCOMMENT
LOW…xporterhelper/internal/queuebatch/partition_batcher.go181 // If we still have results to process, then we need to check if the last result has enough data to flush, or we add itCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHreceiver/otlpreceiver/otlphttp.go221 // We are throttled. Wait before retrying as requested by the server.COMMENT
HIGHexporter/otlpexporter/otlp.go197 // We are throttled. Wait before retrying as requested by the server.COMMENT
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…rter/exporterhelper/internal/queue/persistent_queue.go59// ┌───────file extension-backed queue───────┐COMMENT
MEDIUM…rter/exporterhelper/internal/queue/persistent_queue.go65// └───────────────────────x─────|─────x─────┘COMMENT
Self-Referential Comments2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMcmd/mdatagen/internal/loader_test.go978 labelsFile: "# This file is auto-generated. Do not edit manually.\nextension/storage/filestorage extension/storage/CODE
MEDIUMinternal/buildscripts/gen-certs.sh101# Creating the client and server certificates.COMMENT
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWconfig/configoptional/optional_test.go326 opt.GetOrInsertDefault().Name = "John Doe"CODE
LOWconfig/configoptional/optional_test.go357 Name: "John Doe",CODE
LOWconfig/configoptional/optional_test.go367 opt.GetOrInsertDefault().Name = "Jane Doe"CODE
LOWconfig/configoptional/optional_test.go395 Name: "John Doe",CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcmd/mdatagen/metadata-schema.yaml406 # Set this to true to skip that assertion for processors that intentionally detach or modify the contextCOMMENT