Redis Java client
This report summarizes scanner evidence for redis/jedis, a Java project with 12,369 GitHub stars. SynthScan examined 279,554 lines of code across 1279 source files, recording 98 pattern matches distributed across 7 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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 46 finding(s).
Are imports declared and package/API names verified? 43 finding(s).
Are wrappers, guards, and repeated structures necessary? 9 finding(s).
Which changes need focused human review? 98 finding(s).
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.
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.
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.
The scanner identified 98 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ava/redis/clients/jedis/ClusterCommandObjectsTest.java | 357 | Rawable rawableKey = redis.clients.jedis.args.RawableFactory.from("testkey".getBytes()); | CODE |
| CRITICAL | …ava/redis/clients/jedis/ClusterCommandObjectsTest.java | 371 | Rawable rawableKey = redis.clients.jedis.args.RawableFactory.from("testkey"); | CODE |
| CRITICAL | …ava/redis/clients/jedis/ClusterCommandObjectsTest.java | 384 | Rawable rawableKey1 = redis.clients.jedis.args.RawableFactory.from("{user}:1".getBytes()); | CODE |
| CRITICAL | …ava/redis/clients/jedis/ClusterCommandObjectsTest.java | 385 | Rawable rawableKey2 = redis.clients.jedis.args.RawableFactory.from("{user}:2".getBytes()); | CODE |
| CRITICAL | …ava/redis/clients/jedis/ClusterCommandObjectsTest.java | 404 | Rawable rawableKey = redis.clients.jedis.args.RawableFactory.from("rawableKey".getBytes()); | CODE |
| CRITICAL | …ava/redis/clients/jedis/ClusterCommandObjectsTest.java | 424 | Rawable rawableKey = redis.clients.jedis.args.RawableFactory.from("rawableKey".getBytes()); | CODE |
| CRITICAL | …ts/jedis/commands/unified/StreamsCommandsTestBase.java | 1266 | redis.clients.jedis.params.XCfgSetParams.xCfgSetParams().idmpDuration(1000) | CODE |
| CRITICAL | …ts/jedis/commands/unified/StreamsCommandsTestBase.java | 1281 | redis.clients.jedis.params.XCfgSetParams.xCfgSetParams().idmpDuration(100) | CODE |
| CRITICAL⚡ | …unified/search/JsonSearchWithGsonCommandsTestBase.java | 65 | redis.clients.jedis.search.schemafields.TextField.of(FieldName.of("$.name").as("name")), | CODE |
| CRITICAL⚡ | …unified/search/JsonSearchWithGsonCommandsTestBase.java | 66 | redis.clients.jedis.search.schemafields.TextField.of(FieldName.of("$.phone").as("phone")), | CODE |
| CRITICAL⚡ | …unified/search/JsonSearchWithGsonCommandsTestBase.java | 67 | redis.clients.jedis.search.schemafields.NumericField.of(FieldName.of("$.age").as("age")))); | CODE |
| CRITICAL | …nts/jedis/commands/jedis/BinaryValuesCommandsTest.java | 498 | org.junit.jupiter.api.Assertions.assertThrows(JedisDataException.class, | CODE |
| CRITICAL | …s/clients/jedis/mcf/MultiDbConnectionProviderTest.java | 224 | redis.clients.jedis.mcf.HealthCheckStrategy.Config.builder().interval(5).timeout(50) | CODE |
| CRITICAL | …main/java/redis/clients/jedis/params/ArgrepParams.java | 273 | return redis.clients.jedis.util.SafeEncoder.encode(s); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …dis/commands/unified/BinaryValuesCommandsTestBase.java | 468 | // ── INCREX (binary) ────────────────────────────────────────── | COMMENT |
| MEDIUM | …dis/commands/unified/StringValuesCommandsTestBase.java | 356 | // ── INCREX ────────────────────────────────────────── | COMMENT |
| MEDIUM | …nts/jedis/commands/jedis/BinaryValuesCommandsTest.java | 442 | // ── INCREX (binary) ────────────────────────────────────────── | COMMENT |
| MEDIUM | …nts/jedis/commands/jedis/StringValuesCommandsTest.java | 344 | // ── INCREX ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/java/redis/clients/jedis/CommandObjects.java | 673 | // ── INCREX ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …main/java/redis/clients/jedis/mcf/HealthCheckImpl.java | 230 | * T0: Start Check #1 ────────────────────┐ | COMMENT |
| MEDIUM⚡ | …main/java/redis/clients/jedis/mcf/HealthCheckImpl.java | 231 | * T1: Start Check #2 ──────────┐ │ | COMMENT |
| MEDIUM⚡ | …main/java/redis/clients/jedis/mcf/HealthCheckImpl.java | 233 | * T3: Check #2 completes ──────┘ │ → status = "Healthy" | COMMENT |
| MEDIUM⚡ | …main/java/redis/clients/jedis/mcf/HealthCheckImpl.java | 234 | * T4: Check #1 completes ────────────────┘ → status = "Unhealthy" (STALE!) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/redisearch.md | 65 | fields.put("body", "lorem ipsum"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 76 | person.put("name", "John Doe"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 122 | book.put("author", "Jane Doe"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 133 | assertThat(getRootMap, hasEntry("author", "Jane Doe")); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 159 | book.put("author", "Jane Doe"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 314 | initialUser.put("name", "John Doe"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 330 | expectedUser.put("name", "John Doe"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 344 | initialUser.put("name", "Jane Doe"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 370 | person.setName("John Doe"); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 381 | assertThat(resultMap, hasEntry("name", "John Doe")); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 398 | assertThat(getRoot.getName(), equalTo("Jane Doe")); | CODE |
| LOW | …nds/commandobjects/CommandObjectsJsonCommandsTest.java | 754 | assertThat(getAfter, jsonEquals(new JSONArray().put("John Doe"))); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 87 | hset = exec(commandObjects.hsetObject(book1000, "author", "John Doe")); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 94 | hash.put("author", "Jane Doe"); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 110 | assertThat(document.get("author"), equalTo("John Doe")); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 122 | assertThat(documentByPrice.get("author"), equalTo("Jane Doe")); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 167 | hash.put("author", "John Doe"); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 175 | hash2.put("author", "Jane Doe"); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 209 | bookRedisInAction.put("author", "John Doe"); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 217 | bookRedisEssentials.put("author", "Jane Doe"); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 253 | bookRedisInAction.put("author", "John Doe"); | CODE |
| LOW | …dobjects/CommandObjectsSearchAndQueryCommandsTest.java | 261 | bookRedisEssentials.put("author", "Jane Doe"); | CODE |
| LOW | …is/commands/unified/search/SearchCommandsTestBase.java | 183 | fields.put("body", "lorem ipsum"); | CODE |
| LOW | …s/unified/search/SearchWithParamsCommandsTestBase.java | 206 | fields.put("body", "lorem ipsum"); | CODE |
| LOW | …s/unified/search/SearchWithParamsCommandsTestBase.java | 453 | regular.put("body", "lorem ipsum"); | CODE |
| LOW | …mmands/unified/search/AggregationCommandsTestBase.java | 380 | fields.put("body", "lorem ipsum"); | CODE |
| LOW | …commands/unified/json/RedisJsonV1CommandsTestBase.java | 202 | Person person = new Person("John Doe", 25, "123 Main Street", "123-456-7890", childrens); | CODE |
| LOW | …commands/unified/json/RedisJsonV1CommandsTestBase.java | 202 | Person person = new Person("John Doe", 25, "123 Main Street", "123-456-7890", childrens); | CODE |
| LOW | …is/clients/jedis/modules/RedisModulesPipelineTest.java | 77 | fields.put("body", "lorem ipsum"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/test/resources/redismodule.h | 21 | #define REDISMODULE_LIST_HEAD 0 | COMMENT |
| LOW | src/test/resources/redismodule.h | 41 | #define REDISMODULE_POSTPONED_ARRAY_LEN -1 | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 1 | //package redis.clients.jedis; | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 21 | //import org.mockito.invocation.InvocationOnMock; | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 41 | // JedisClusterConnectionHandler connectionHandler = mock(JedisClusterConnectionHandler.class); | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 61 | // | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 81 | // | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 101 | // } | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 121 | // | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 141 | // throw new RuntimeException("This test should never sleep"); | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 161 | // | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 181 | // } | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 201 | // // reached. | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 221 | // // First attempt, report moved | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 241 | // fail("cluster command did not fail"); | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 261 | // // Test: | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 281 | // | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 301 | // assert sleepMillis > 0; | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 321 | // JedisClusterCommand<String> testMe = new JedisClusterCommand<String>(connectionHandler, 10, | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 341 | // final LongConsumer sleep = mock(LongConsumer.class); | COMMENT |
| LOW | …/java/redis/clients/jedis/JedisClusterCommandTest.java | 361 | // try { | COMMENT |
| LOW | …lients/jedis/commands/jedis/ScriptingCommandsTest.java | 501 | // public void functionStatsWithRunning() throws InterruptedException { | COMMENT |
| LOW | …ents/jedis/commands/jedis/TransactionCommandsTest.java | 281 | List<Object> l = t.exec(); | COMMENT |
| LOW | …ents/jedis/commands/jedis/TransactionCommandsTest.java | 301 | // try { | COMMENT |
| LOW | …ents/jedis/commands/jedis/TransactionCommandsTest.java | 321 | // jedis2.set("foo", "bar2"); | COMMENT |
| LOW | …is/clients/jedis/failover/FailoverIntegrationTest.java | 281 | assertThat(getNodeId(client.info("server")), equalTo(JEDIS1_ID)); | COMMENT |
| LOW | src/test/java/io/redis/examples/CmdsCnxmgmtExample.java | 21 | jedis.configSet("requirepass", "temp_pass"); | COMMENT |
| LOW | …clients/jedis/bloom/commands/CuckooFilterCommands.java | 161 | // * model. | COMMENT |
| LOW | …/java/redis/clients/jedis/mcf/MultiDbFailoverBase.java | 61 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .github/workflows/format_check.yml | 17 | # Step 1: Checkout the PR code | COMMENT |
| LOW⚡ | .github/workflows/format_check.yml | 21 | # Step 2: Set up Java (if needed for format check tools) | COMMENT |
| LOW⚡ | .github/workflows/format_check.yml | 28 | # Step 3: Fetch latest changes | COMMENT |
| LOW⚡ | .github/workflows/format_check.yml | 43 | # Step 4: Get a list of changed Java files in the PR | COMMENT |
| LOW | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 160 | // Step 1: Retrieve commands from Redis | COMMENT |
| LOW⚡ | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 175 | // Step 2: Process commands and group by metadata combinations | COMMENT |
| LOW⚡ | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 180 | // Step 3: Generate StaticCommandFlagsRegistry class | COMMENT |
| LOW⚡ | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 185 | // Step 4: Write StaticCommandFlagsRegistry.java | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .github/workflows/format_check.yml | 17 | # Step 1: Checkout the PR code | COMMENT |
| LOW⚡ | .github/workflows/format_check.yml | 21 | # Step 2: Set up Java (if needed for format check tools) | COMMENT |
| LOW⚡ | .github/workflows/format_check.yml | 28 | # Step 3: Fetch latest changes | COMMENT |
| LOW⚡ | .github/workflows/format_check.yml | 43 | # Step 4: Get a list of changed Java files in the PR | COMMENT |
| LOW | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 160 | // Step 1: Retrieve commands from Redis | COMMENT |
| LOW⚡ | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 175 | // Step 2: Process commands and group by metadata combinations | COMMENT |
| LOW⚡ | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 180 | // Step 3: Generate StaticCommandFlagsRegistry class | COMMENT |
| LOW⚡ | …ients/jedis/codegen/CommandFlagsRegistryGenerator.java | 185 | // Step 4: Write StaticCommandFlagsRegistry.java | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | .github/workflows/format_check.yml | 46 | # Check if the changed_files.txt exists | COMMENT |