Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
This report summarizes scanner evidence for testcontainers/testcontainers-java, a Java project with 8,759 GitHub stars. SynthScan examined 88,866 lines of code across 1109 source files, recording 234 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.5 (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? 228 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 234 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 234 distinct pattern matches across 5 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 |
|---|---|---|---|---|
| LOW | .github/settings.yml | 361 | # - username: | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 1 | # Scylla storage config YAML | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 21 | # that this node will store. You probably want all nodes to have the same number | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 41 | # When running on magnetic HDD, this should be a | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 61 | commitlog_sync_period_in_ms: 10000 | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 81 | COMMENT | |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 101 | # If you set broadcast_address, then you can set listen_address to 0.0.0.0. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 121 | # client-side port numbers. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 141 | write_request_timeout_in_ms: 2000 | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 161 | # ARE PLACED. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 181 | # Only private IPs are used, so this will not work across multiple | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 201 | # The address or interface to bind the native transport server to. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 221 | COMMENT | |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 241 | # users. It keeps usernames and hashed passwords in system_auth.credentials table. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 261 | # vnodes (num_tokens > 1, above) -- in which case you should provide a | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 281 | COMMENT | |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 301 | # permissions_validity_in_ms: 10000 | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 321 | # Total space to use for commitlogs. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 341 | # listen_interface: eth0 | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 361 | COMMENT | |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 381 | # scan more tombstones anyway. These thresholds may also be adjusted at runtime | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 401 | # for this partition (initialized to column_index_size_in_kb) | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 421 | COMMENT | |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 441 | # If set to rack scylla will encrypt the traffic between the racks | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 461 | COMMENT | |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 481 | # and enables a new implementation of inter-node traffic compressors, | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 501 | # Can be: never - Dictionaries aren't trained by this node. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 521 | # Enable or disable tcp_nodelay for inter-dc communication. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 541 | COMMENT | |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 561 | # prometheus_address: 1.2.3.4 | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 581 | murmur3_partitioner_ignore_msb_bits: 12 | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 601 | # * `false`: Scylla accepts IS NOT NULL restrictions on regular columns, but they're silently ignored. | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 621 | # configuration parameters in runtime, e.g. sending SIGHUP or using API. This option should be set to false | COMMENT |
| LOW | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 641 | # The replication strategies to choose from are: | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 1 | # Cassandra storage config YAML | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 21 | # on subsequent starts, this setting will apply even if initial token is set. | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 41 | # that do not have vnodes enabled. | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 61 | # are two nodes in the cluster, each delivery thread will use the maximum | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 81 | COMMENT | |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 101 | # Please increase system_auth keyspace replication factor if you use this authenticator. | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 121 | # - CassandraRoleManager stores role data in the system_auth keyspace. Please | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 141 | # Validity period for permissions cache (fetching permissions can be an | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 161 | # underlying table, it may not bring a significant reduction in the | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 181 | # compatibility include RandomPartitioner, ByteOrderedPartitioner, and | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 201 | cdc_enabled: false | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 221 | # can still be inspected via JMX, kill the JVM for errors during startup. | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 241 | # stop_commit | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 261 | # Do only change the default value, if you really have more prepared statements than | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 281 | # time it saves, so it's worthwhile to use it at large numbers. | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 301 | COMMENT | |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 321 | # headroom for OS block level cache. Do never allow your system to swap. | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 341 | # | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 361 | COMMENT | |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 381 | # | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 401 | # NOTE: If max_mutation_size_in_kb is set explicitly then commitlog_segment_size_in_mb must | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 421 | - class_name: org.apache.cassandra.locator.SimpleSeedProvider | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 441 | COMMENT | |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 461 | COMMENT | |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 481 | # mean larger flushes and hence less compaction, but also less concurrent | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 501 | # Total space to use for commit logs on disk. | COMMENT |
| 156 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …va/org/testcontainers/containers/GenericContainer.java | 1088 | com.github.dockerjava.api.model.InternetProtocol.parse(protocol.name()) | CODE |
| CRITICAL | …/testcontainers/jdbc/mysql/JDBCDriverWithPoolTest.java | 107 | return new org.apache.tomcat.jdbc.pool.DataSource(poolProperties); | CODE |
| CRITICAL | …/testcontainers/jdbc/mysql/JDBCDriverWithPoolTest.java | 117 | return new org.apache.tomcat.jdbc.pool.DataSource(poolProperties); | CODE |
| CRITICAL | …testcontainers/localstack/LocalStackContainerTest.java | 98 | software.amazon.awssdk.core.sync.RequestBody.fromString("baz") | CODE |
| CRITICAL | …testcontainers/localstack/LocalStackContainerTest.java | 388 | software.amazon.awssdk.core.sync.RequestBody.fromString("baz") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/settings.yml | 53 | # If including a `#`, make sure to wrap it with quotes! | COMMENT |
| MEDIUM | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 260 | # initial_token allows you to specify tokens manually. While you can use # it with | COMMENT |
| MEDIUM | …es/cassandra-test-configuration-example/cassandra.yaml | 38 | # initial_token allows you to specify tokens manually. While you can use it with | COMMENT |
| MEDIUM | …es/cassandra-test-configuration-example/cassandra.yaml | 650 | # you may want to adjust max_value_size_in_mb accordingly. This should be positive and less than 2048. | COMMENT |
| LOW | …es/cassandra-test-configuration-example/cassandra.yaml | 870 | # Warning: before enabling this property make sure to ntp is installed | COMMENT |
| MEDIUM | …s/cassandra-auth-required-configuration/cassandra.yaml | 38 | # initial_token allows you to specify tokens manually. While you can use it with | COMMENT |
| MEDIUM | …s/cassandra-auth-required-configuration/cassandra.yaml | 650 | # you may want to adjust max_value_size_in_mb accordingly. This should be positive and less than 2048. | COMMENT |
| LOW | …s/cassandra-auth-required-configuration/cassandra.yaml | 870 | # Warning: before enabling this property make sure to ntp is installed | COMMENT |
| MEDIUM | …t/resources/cassandra-ssl-configuration/cassandra.yaml | 38 | # initial_token allows you to specify tokens manually. While you can use it with | COMMENT |
| MEDIUM | …t/resources/cassandra-ssl-configuration/cassandra.yaml | 650 | # you may want to adjust max_value_size_in_mb accordingly. This should be positive and less than 2048. | COMMENT |
| LOW | …t/resources/cassandra-ssl-configuration/cassandra.yaml | 870 | # Warning: before enabling this property make sure to ntp is installed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …cylladb/src/test/resources/scylla-test-ssl/scylla.yaml | 4 | # This file is split to two sections: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/src/test/resources/auth-config/config-basic-auth.json | 4 | "email": "user@example.com", | CODE |