AI Slop Code Risk Monitor

redis/lettuce

SlopCodeMonitor badge for redis/lettuce Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Redis Java client

1.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for redis/lettuce, a Java project with 5,786 GitHub stars. SynthScan examined 401,127 lines of code across 2010 source files, recording 82 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.1 (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.1
Adjusted Signal
1.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.8K
Stars
Java
Language
401.1K
Lines of Code
2.0K
Files
82
Pattern Hits
2026-10-31
Scan Date
0.01
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 1.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.2/100 · LOW

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

Agent Over-Engineering Ratio 0.4/100 · LOW

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

PR Review Velocity Impact 4.3/100 · LOW

Which changes need focused human review? 82 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 28HIGH 0MEDIUM 9LOW 45

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 82 distinct pattern matches across 7 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.

Hallucination Indicators28 hits · 345 pts
SeverityFileLineSnippetContext
CRITICALdocs/faq.md13 at io.lettuce.core.internal.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:80)CODE
CRITICALdocs/faq.md76 at io.lettuce.core.internal.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:80)CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java154 io.reactivex.rxjava3.core.Single<String> foo = io.reactivex.rxjava3.core.Single.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java161 io.reactivex.rxjava3.core.Single<String> foo = io.reactivex.rxjava3.core.Single.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java168 io.reactivex.rxjava3.core.Maybe<String> foo = io.reactivex.rxjava3.core.Maybe.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java175 io.reactivex.rxjava3.core.Maybe<String> foo = io.reactivex.rxjava3.core.Maybe.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java182 io.reactivex.rxjava3.core.Maybe<String> foo = io.reactivex.rxjava3.core.Maybe.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java189 io.reactivex.rxjava3.core.Flowable<String> foo = io.reactivex.rxjava3.core.Flowable.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java196 io.reactivex.rxjava3.core.Flowable<String> foo = io.reactivex.rxjava3.core.Flowable.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java203 io.reactivex.rxjava3.core.Flowable<String> foo = io.reactivex.rxjava3.core.Flowable.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java210 io.reactivex.rxjava3.core.Observable<String> foo = io.reactivex.rxjava3.core.Observable.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java217 io.reactivex.rxjava3.core.Observable<String> foo = io.reactivex.rxjava3.core.Observable.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java224 io.reactivex.rxjava3.core.Observable<String> foo = io.reactivex.rxjava3.core.Observable.just("foo");CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java232 io.reactivex.rxjava3.core.Observable<String> foo = io.reactivex.rxjava3.core.Observable.empty();CODE
CRITICAL⚡…ettuce/core/dynamic/ReactiveTypeAdaptersUnitTests.java240 io.reactivex.rxjava3.core.Observable<String> foo = io.reactivex.rxjava3.core.Observable.just("foo");CODE
CRITICAL…io/lettuce/core/support/BoundedAsyncPoolUnitTests.java84 return io.lettuce.core.internal.Futures.failed(new IllegalStateException());CODE
CRITICAL…e/api/consistency/CommandBuilderCoverageUnitTests.java121 if (io.lettuce.core.protocol.RedisCommand.class.isAssignableFrom(method.getReturnType())) {CODE
CRITICAL…/api/consistency/DeviationTableStalenessUnitTests.java258 if (io.lettuce.core.protocol.RedisCommand.class.isAssignableFrom(method.getReturnType())) {CODE
CRITICALsrc/test/java/io/lettuce/test/TestFutures.java68 if (!io.lettuce.core.internal.Futures.awaitAll(TIMEOUT, futures.toArray(new Future[0]))) {CODE
CRITICAL…ttuce/scenario/MaintenancePushNotificationMonitor.java152 return io.lettuce.core.codec.StringCodec.UTF8.decodeKey(buffer);CODE
CRITICALsrc/main/java/io/lettuce/core/KqueueProvider.java18 return io.lettuce.core.resource.KqueueProvider.isAvailable();CODE
CRITICALsrc/main/java/io/lettuce/core/ConnectionBuilder.java292 if (io.lettuce.core.resource.EpollProvider.isAvailable()) {CODE
CRITICALsrc/main/java/io/lettuce/core/EpollProvider.java18 return io.lettuce.core.resource.EpollProvider.isAvailable();CODE
CRITICAL…java/io/lettuce/core/dynamic/ReactiveTypeAdapters.java641 return io.reactivex.rxjava3.core.Single.fromPublisher(source);CODE
CRITICAL…java/io/lettuce/core/dynamic/ReactiveTypeAdapters.java655 return io.reactivex.rxjava3.core.Completable.fromPublisher(source);CODE
CRITICAL…java/io/lettuce/core/dynamic/ReactiveTypeAdapters.java669 return io.reactivex.rxjava3.core.Observable.fromPublisher(source);CODE
CRITICAL…java/io/lettuce/core/dynamic/ReactiveTypeAdapters.java795 return io.reactivex.rxjava3.core.Flowable.fromPublisher(source);CODE
CRITICAL…java/io/lettuce/core/dynamic/ReactiveTypeAdapters.java823 return io.reactivex.rxjava3.core.Flowable.fromPublisher(source).singleElement();CODE
Structural Annotation Overuse22 hits · 42 pts
SeverityFileLineSnippetContext
LOWdocs/user-guide/connecting-redis.md274### Step 1 - Create a Streaming Credentials ProviderCOMMENT
LOWdocs/user-guide/connecting-redis.md386### Step 2 - Create a RedisURI with streaming credentials providerCOMMENT
LOWdocs/user-guide/connecting-redis.md438#### Step 1 - Add the dependenciesCOMMENT
LOWdocs/user-guide/connecting-redis.md452### Step 2 - Create Entra ID enabled credentials providerCOMMENT
LOWdocs/user-guide/connecting-redis.md476### Step 3 - Enable automatic re-authenticationCOMMENT
LOWdocs/user-guide/connecting-redis.md485### Step 4 - Connect with Entra ID enabled credentials providerCOMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java553 // Step 5: Advance clock past expiration (31 seconds)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java556 // Step 6: New call to same wrappedSupplier should return original address againCOMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java570 // Step 1: Create wrapped supplier once (same instance used throughout)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java573 // Step 2: First call should return original address (no rebind set yet)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java576 // Step 3: Invoke rebind with 30 seconds durationCOMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java579 // Step 4: New call to same wrappedSupplier should return rebind addressCOMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java582 // Step 5: Advance clock past expiration (31 seconds)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java585 // Step 6: New call to same wrappedSupplier should return original address againCOMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java548 // Step 1: Migrate all shards from source node to target nodeCOMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java558 // Step 2: Now bind the endpoint to trigger MOVING notificationCOMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java619 // Step 1: Empty the target node first (increased timeout)COMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java624 // Step 2: Add delay to let the cluster stabilize, then perform actual migration with longer timeoutCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1158 // Step 1: Restore shard distribution across nodesCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1225 // Step 2: Restore master/slave rolesCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1257 // Step 3: Restore endpoint bindingsCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1281 // Step 4: Verify final state matches originalCOMMENT
Verbosity Indicators17 hits · 34 pts
SeverityFileLineSnippetContext
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java553 // Step 5: Advance clock past expiration (31 seconds)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java556 // Step 6: New call to same wrappedSupplier should return original address againCOMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java570 // Step 1: Create wrapped supplier once (same instance used throughout)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java573 // Step 2: First call should return original address (no rebind set yet)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java576 // Step 3: Invoke rebind with 30 seconds durationCOMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java579 // Step 4: New call to same wrappedSupplier should return rebind addressCOMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java582 // Step 5: Advance clock past expiration (31 seconds)COMMENT
LOW⚡…tocol/MaintenanceAwareConnectionWatchdogUnitTests.java585 // Step 6: New call to same wrappedSupplier should return original address againCOMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java548 // Step 1: Migrate all shards from source node to target nodeCOMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java558 // Step 2: Now bind the endpoint to trigger MOVING notificationCOMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java619 // Step 1: Empty the target node first (increased timeout)COMMENT
LOW⚡…est/java/io/lettuce/scenario/FaultInjectionClient.java624 // Step 2: Add delay to let the cluster stabilize, then perform actual migration with longer timeoutCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1158 // Step 1: Restore shard distribution across nodesCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1225 // Step 2: Restore master/slave rolesCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1257 // Step 3: Restore endpoint bindingsCOMMENT
LOW…st/java/io/lettuce/scenario/RedisEnterpriseConfig.java1281 // Step 4: Verify final state matches originalCOMMENT
LOW…re/failover/AbstractRedisMultiDbConnectionBuilder.java241 // in both cases we need to check if all failed, and complete the future accordingly.COMMENT
Decorative Section Separators9 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM…ttuce/core/commands/StringCommandIntegrationTests.java558 // ── INCREX ──────────────────────────────────────────COMMENT
MEDIUMsrc/main/java/io/lettuce/core/IncrexArgs.java29 // ── Static Builder ─────────────────────────────COMMENT
MEDIUMsrc/main/java/io/lettuce/core/IncrexArgs.java74 // ── Fluent Setters ─────────────────────────────COMMENT
MEDIUMsrc/main/java/io/lettuce/core/IncrexFloatArgs.java29 // ── Static Builder ─────────────────────────────COMMENT
MEDIUMsrc/main/java/io/lettuce/core/IncrexFloatArgs.java74 // ── Fluent Setters ─────────────────────────────COMMENT
MEDIUM⚡…a/io/lettuce/core/failover/health/HealthCheckImpl.java247 * T0: Start Check #1 ────────────────────┐COMMENT
MEDIUM⚡…a/io/lettuce/core/failover/health/HealthCheckImpl.java248 * T1: Start Check #2 ──────────┐ │COMMENT
MEDIUM⚡…a/io/lettuce/core/failover/health/HealthCheckImpl.java250 * T3: Check #2 completes ──────┘ │ → status = "Healthy"COMMENT
MEDIUM⚡…a/io/lettuce/core/failover/health/HealthCheckImpl.java251 * T4: Check #1 completes ────────────────┘ → status = "Unhealthy" (STALE!)COMMENT
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/benchmarks.yml1name: BenchmarksCOMMENT
LOW…e/core/search/RediSearchAggregateIntegrationTests.java1921 // 3. Filter based on computed valuesCOMMENT
LOW…/lettuce/core/commands/BitCommandIntegrationTests.java441 // Y1 ∨ Y2 ∨ Y3 = all bits 0-7 are set = 11111111COMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocs/static/benchmarks/index.html136 function collectBenchesPerTestCase(entries) {CODE
LOW…core/support/http/NettyHttpClientIntegrationTests.java752 private static class NoResponseHandler extends SimpleChannelInboundHandler<FullHttpRequest> {CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…io/lettuce/core/search/RediSearchIntegrationTests.java683 updateDoc1.put("author", "John Doe");CODE