AI Slop Code Risk Monitor

hazelcast/hazelcast

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

Hazelcast is a unified real-time data platform combining stream processing with a fast data store, allowing customers to act instantly on data-in-motion for real-time insights.

0.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for hazelcast/hazelcast, a Java project with 6,627 GitHub stars. SynthScan examined 2,273,844 lines of code across 12674 source files, recording 514 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 0.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.

0.5
Adjusted Signal
0.5
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
6.6K
Stars
Java
Language
2.3M
Lines of Code
12.7K
Files
514
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 0.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 2.3/100 · LOW

Which changes need focused human review? 514 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 56HIGH 2MEDIUM 23LOW 433

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 514 distinct pattern matches across 14 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 Indicators56 hits · 605 pts
SeverityFileLineSnippetContext
CRITICAL…sql/impl/opt/physical/visitor/RexToExpressionTest.java189 return org.apache.calcite.util.Sarg.of(RexUnknownAs.UNKNOWN, rangeSet(left, right));CODE
CRITICAL…sql/impl/opt/physical/visitor/RexToExpressionTest.java193 return ImmutableRangeSet.of(com.google.common.collect.Range.closed(left, right));CODE
CRITICALdocs/design/jet/017-file-data-ingestion.md80`com.hazelcast.jet.x.XSources.x(...., formatY)`CODE
CRITICALdocs/design/jet/017-file-data-ingestion.md81`com.hazelcast.jet.s3.S3Sources.s3(..., Avro)`CODE
CRITICAL…t/java/com/hazelcast/jet/python/PythonServiceTest.java97 com.hazelcast.internal.nio.IOUtil.delete(baseDir);CODE
CRITICAL…lcast/jet/hadoop/impl/FileNotFoundReadHadoopPTest.java89 org.apache.hadoop.mapreduce.lib.input.FileInputFormat.addInputPath(job, path);CODE
CRITICAL…lcast/jet/hadoop/impl/FileNotFoundReadHadoopPTest.java97 org.apache.hadoop.mapred.FileInputFormat.addInputPath(jobConf, path);CODE
CRITICAL…va/com/hazelcast/jet/hadoop/impl/WriteHadoopPTest.java139 org.apache.hadoop.mapreduce.lib.input.FileInputFormat.addInputPath(job, path);CODE
CRITICAL…va/com/hazelcast/jet/hadoop/impl/WriteHadoopPTest.java157 org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.setOutputPath(job, path);CODE
CRITICAL…va/com/hazelcast/jet/hadoop/impl/WriteHadoopPTest.java159 org.apache.hadoop.mapreduce.lib.output.LazyOutputFormat.setOutputFormatClass(job,CODE
CRITICAL…ava/com/hazelcast/jet/hadoop/impl/ReadHadoopPTest.java124 org.apache.hadoop.mapreduce.lib.input.FileInputFormat.addInputPath(job, path);CODE
CRITICAL…ava/com/hazelcast/jet/hadoop/impl/ReadHadoopPTest.java132 org.apache.hadoop.mapred.FileInputFormat.addInputPath(jobConf, path);CODE
CRITICAL…ava/com/hazelcast/jet/hadoop/impl/JsonInputFormat.java159 // We could use org.apache.hadoop.fs.FileSystem.getFileStatus() to get length, but it results in an extraCOMMENT
CRITICAL…hazelcast/test/archunit/TestsHaveRunnersCondition.java43 "com.hazelcast.spi.properties.HazelcastProperty.setSystemProperty(java.lang.String)");CODE
CRITICAL…/test/java/com/hazelcast/jet/impl/util/IOUtilTest.java73 com.hazelcast.internal.nio.IOUtil.delete(randomFile);CODE
CRITICAL…/test/java/com/hazelcast/jet/impl/util/IOUtilTest.java163 com.hazelcast.internal.nio.IOUtil.delete(tmpTargetDir);CODE
CRITICAL…/test/java/com/hazelcast/jet/impl/util/IOUtilTest.java164 com.hazelcast.internal.nio.IOUtil.delete(tmpNonTargetDir);CODE
CRITICAL…/java/com/hazelcast/jet/config/ResourceConfigTest.java59 com.hazelcast.internal.nio.IOUtil.delete(baseDir);CODE
CRITICAL…java/com/hazelcast/cache/HazelcastCachingProvider.java179 com.hazelcast.client.cache.HazelcastClientCachingProvider.class.getName();CODE
CRITICAL…ava/com/hazelcast/jet/impl/JobCoordinationService.java1521 return com.hazelcast.jet.impl.util.Util.exceptionallyCompletedFuture(e);CODE
CRITICAL…n/java/com/hazelcast/jet/impl/JobExecutionService.java593 if (com.hazelcast.internal.util.ExceptionUtil.isOrHasCause(e, CancellationException.class)) {CODE
CRITICAL…com/hazelcast/internal/monitor/impl/NodeStateImpl.java112 nodeState = com.hazelcast.instance.impl.NodeState.valueOf(jsonNodeState);CODE
CRITICAL…in/java/com/hazelcast/internal/util/ExceptionUtil.java229 * software.amazon.awssdk.core.exception.SdkException.builder().message(String).cause(Throwable).build()COMMENT
CRITICAL…in/java/com/hazelcast/internal/util/ExceptionUtil.java364 // software.amazon.awssdk.core.exception.SdkException.builder().message(String).cause(Throwable).build()COMMENT
CRITICAL⚡…t/impl/protocol/DefaultMessageTaskFactoryProvider.java1784 (cm, con) -> new com.hazelcast.cp.internal.datastructures.atomicref.client.ApplyMessageTask(cm, node, coCODE
CRITICAL⚡…t/impl/protocol/DefaultMessageTaskFactoryProvider.java1790 (cm, con) -> new com.hazelcast.cp.internal.datastructures.atomicref.client.GetMessageTask(cm, node, con)CODE
CRITICAL⚡…t/impl/protocol/DefaultMessageTaskFactoryProvider.java1792 (cm, con) -> new com.hazelcast.cp.internal.datastructures.atomicref.client.CompareAndSetMessageTask(cm, CODE
CRITICAL⚡…t/impl/protocol/DefaultMessageTaskFactoryProvider.java1838 (cm, con) -> new com.hazelcast.cp.internal.datastructures.cpmap.client.GetMessageTask(cm, node, con));CODE
CRITICAL⚡…t/impl/protocol/DefaultMessageTaskFactoryProvider.java1842 (cm, con) -> new com.hazelcast.cp.internal.datastructures.cpmap.client.SetMessageTask(cm, node, con));CODE
CRITICAL⚡…t/impl/protocol/DefaultMessageTaskFactoryProvider.java1848 (cm, con) -> new com.hazelcast.cp.internal.datastructures.cpmap.client.CompareAndSetMessageTask(cm, nodeCODE
CRITICAL…/protocol/codec/custom/NearCacheConfigHolderCodec.java86 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.NearCacheConfigHolder(name, inMemoryFormat, serCODE
CRITICAL…ol/codec/custom/ReplicatedMapEntryViewHolderCodec.java80 return new com.hazelcast.replicatedmap.impl.record.ReplicatedMapEntryViewHolder(key, value, creationTime, hits, CODE
CRITICAL…rotocol/codec/custom/DiscoveryStrategyConfigCodec.java59 return new com.hazelcast.client.impl.protocol.codec.holder.DiscoveryStrategyConfigHolder(className, properties);CODE
CRITICAL…client/impl/protocol/codec/custom/VectorPairCodec.java68 return new com.hazelcast.client.impl.protocol.codec.holder.VectorPairHolder(name, type, vector);CODE
CRITICAL…/protocol/codec/custom/PredicateConfigHolderCodec.java61 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.PredicateConfigHolder(className, sql, implementCODE
CRITICAL…l/protocol/codec/custom/AnchorDataListHolderCodec.java59 return new com.hazelcast.client.impl.protocol.codec.holder.AnchorDataListHolder(anchorPageList, anchorDataList);CODE
CRITICAL…/codec/custom/WanCustomPublisherConfigHolderCodec.java63 return new com.hazelcast.client.impl.protocol.codec.holder.WanCustomPublisherConfigHolder(publisherId, classNameCODE
CRITICAL…l/protocol/codec/custom/ListenerConfigHolderCodec.java74 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.ListenerConfigHolder(listenerType, listenerImplCODE
CRITICAL…st/client/impl/protocol/codec/custom/MCEventCodec.java69 return new com.hazelcast.internal.management.dto.MCEventDTO(timestamp, type, dataJson);CODE
CRITICAL…l/protocol/codec/custom/EvictionConfigHolderCodec.java72 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.EvictionConfigHolder(size, maxSizePolicy, evictCODE
CRITICAL…impl/protocol/codec/custom/CacheConfigHolderCodec.java140 return new com.hazelcast.client.impl.protocol.codec.holder.CacheConfigHolder(name, managerPrefix, uriString, bacCODE
CRITICAL…protocol/codec/custom/QueryCacheConfigHolderCodec.java99 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.QueryCacheConfigHolder(batchSize, bufferSize, dCODE
CRITICAL…rotocol/codec/custom/WanConsumerConfigHolderCodec.java70 return new com.hazelcast.client.impl.protocol.codec.holder.WanConsumerConfigHolder(persistWanReplicatedData, claCODE
CRITICAL…elcast/client/impl/protocol/codec/custom/XidCodec.java68 return new com.hazelcast.transaction.impl.xa.SerializableXID(formatId, globalTransactionId, branchQualifier);CODE
CRITICAL…l/codec/custom/WanBatchPublisherConfigHolderCodec.java131 return new com.hazelcast.client.impl.protocol.codec.holder.WanBatchPublisherConfigHolder(publisherId, className,CODE
CRITICAL…t/impl/protocol/codec/custom/DiscoveryConfigCodec.java63 return new com.hazelcast.client.impl.protocol.codec.holder.DiscoveryConfigHolder(discoveryStrategyConfigs, discoCODE
CRITICAL…mpl/protocol/codec/custom/ResourceDefinitionCodec.java70 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.ResourceDefinitionHolder(id, resourceType, paylCODE
CRITICAL…/protocol/codec/custom/DistributedObjectInfoCodec.java59 return new com.hazelcast.client.impl.client.DistributedObjectInfo(serviceName, name);CODE
CRITICAL…l/protocol/codec/custom/MapStoreConfigHolderCodec.java93 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.MapStoreConfigHolder(enabled, writeCoalescing, CODE
CRITICAL…/protocol/codec/custom/PagingPredicateHolderCodec.java85 return new com.hazelcast.client.impl.protocol.codec.holder.PagingPredicateHolder(anchorDataListHolder, predicateCODE
CRITICAL…col/codec/custom/RingbufferStoreConfigHolderCodec.java74 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.RingbufferStoreConfigHolder(className, factoryCCODE
CRITICAL…t/client/impl/protocol/codec/custom/SqlErrorCodec.java83 return new com.hazelcast.sql.impl.client.SqlError(code, message, originatingMemberId, isSuggestionExists, suggesCODE
CRITICAL…lient/impl/protocol/codec/custom/ErrorHolderCodec.java70 return new com.hazelcast.client.impl.protocol.exception.ErrorHolder(errorCode, className, message, stackTraceEleCODE
CRITICAL…protocol/codec/custom/QueueStoreConfigHolderCodec.java74 return new com.hazelcast.client.impl.protocol.task.dynamicconfig.QueueStoreConfigHolder(className, factoryClassNCODE
CRITICAL…ent/impl/protocol/codec/custom/WanSyncConfigCodec.java62 return new com.hazelcast.client.impl.protocol.codec.holder.WanSyncConfigHolder(consistencyCheckStrategy);CODE
CRITICAL…lcast/client/cache/HazelcastClientCachingProvider.java58 delegate = new com.hazelcast.client.cache.impl.HazelcastClientCachingProvider();CODE
Over-Commented Block364 hits · 274 pts
SeverityFileLineSnippetContext
LOW…in/java/com/hazelcast/jet/sql/impl/ExpressionUtil.java61 }COMMENT
LOW…ast/jet/sql/impl/opt/ExtractUpdateExpressionsRule.java81 // We do not perform this transformation for IMap because:COMMENT
LOW…l/opt/physical/AggregateSlidingWindowPhysicalRule.java121COMMENT
LOW…/com/hazelcast/jet/kinesis/KinesisIntegrationTest.java441 @TestCOMMENT
LOW…rces/hazelcast-fullconfig-advanced-network-config.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOWhazelcast/src/test/resources/test-hazelcast-client.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOWhazelcast/src/test/resources/hazelcast-fullconfig.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOWhazelcast/src/test/resources/hazelcast-client-c2.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…elcast/src/test/resources/test-hazelcast-variable.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOWhazelcast/src/test/resources/hazelcast-client-full.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…st/resources/hazelcast-fullconfig-without-network.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…st/resources/hazelcast-fullconfig-without-network.yaml21#COMMENT
LOW…st/resources/hazelcast-fullconfig-without-network.yaml221 # throughput. Valid values are:COMMENT
LOW…st/resources/hazelcast-fullconfig-without-network.yaml261 # While recovering from split-brain (network partitioning), data structure entries in the small clusterCOMMENT
LOWhazelcast/src/test/resources/test-hazelcast.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…src/test/resources/test-hazelcast-client-variable.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOWhazelcast/src/test/resources/hazelcast-client-c1.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…t/src/test/resources/test-hazelcast-client-simple.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…azelcast/client/console/hazelcast-client-template.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…om/hazelcast/client/console/hazelcast-client-test.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…m/hazelcast/durableexecutor/DurableSingleNodeTest.java181 assertTrue(executor.isTerminated());COMMENT
LOW…m/hazelcast/durableexecutor/DurableSingleNodeTest.java201 // future.get();COMMENT
LOW…java/com/hazelcast/jet/SimpleTestInClusterSupport.java181 // so after next test they will not be visible in getDistributedObjects()COMMENT
LOW…/com/hazelcast/jet/core/IndeterminateSnapshotTest.java481 setupJetTests(allowedSnapshotsCount);COMMENT
LOW…ava/com/hazelcast/internal/util/ServiceLoaderTest.java121 public void testMultipleClassloaderLoadsTheSameClass_fromParentClassLoader() throws Exception {COMMENT
LOW…/hazelcast/internal/util/collection/OAHashSetTest.java581 final IntegerWithFixedHashCode element4 = new IntegerWithFixedHashCode(4, 4);COMMENT
LOW…ast/spi/impl/AbstractInvocationFuture_AndThenTest.java41// }COMMENT
LOW…ast/spi/impl/AbstractInvocationFuture_AndThenTest.java61//COMMENT
LOW…ast/spi/impl/AbstractInvocationFuture_AndThenTest.java81// assertTrueEventually(() -> verify(callback).onResponse(value));COMMENT
LOW…ast/spi/impl/AbstractInvocationFuture_AndThenTest.java101//COMMENT
LOW…ast/spi/impl/AbstractInvocationFuture_AndThenTest.java121//COMMENT
LOW…om/hazelcast/client/pncounter/ClientPNCounterTest.java61 // member list. When the client connects to a new cluster, the member listCOMMENT
LOW…cast/client/queue/ClientQueuePerformanceBenchmark.java41 server = Hazelcast.newHazelcastInstance();COMMENT
LOW…cast/client/queue/ClientQueuePerformanceBenchmark.java61// } else {COMMENT
LOW…cast/client/queue/ClientQueuePerformanceBenchmark.java81// Thread.sleep(10 * 1000);COMMENT
LOW…/resources/hazelcast-client-failover-full-example.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…/resources/hazelcast-client-failover-full-example.yaml21#COMMENT
LOW…/main/resources/hazelcast-client-default-assembly.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml1# Copyright (c) 2008-2026, Hazelcast, Inc. All Rights Reserved.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml21# To learn how to configure Hazelcast, please see the Reference ManualCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml41 # Below is an example showing property placeholders:COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml81 license-key: Your Hazelcast Enterprise or Enterprise HD License KeyCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml101 # Default value is true.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml121 # The "properties" mapping lets you add properties to some of the Hazelcast elements used to configure some ofCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml141 # The configuration element's name is "wan-replication". It has two attributes:COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml161 # If there is no publisher ID defined (it is empty), the cluster name willCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml181 # - ACK_ON_RECEIPT:COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml201 # switched to this state. WAN sync is enabled.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml221 # partition are now sent randomly to any available target endpoint.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml241 # By default this property is false which means the WAN connectionCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml261 # lost. Therefore, if you have a large rate of put/update/remove operations,COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml281 # Secret key of your account on EC2.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml301 # Please refer toCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml321 # Custom implementation of a WAN publisher implementing WanPublisher.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml381 # tag-value: hz-nodesCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml401 # prop1: prop1-valueCOMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml421 # willing to have only a few ports assigned. port-count is optional and its default value is 100.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml441 # - 33000-35000COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml461 # sends discovery messages through. Its default value is 54327.COMMENT
LOW…zelcast/src/main/resources/hazelcast-full-example.yaml481 # to connect to a cluster. Setting it to a too high value means that member startup couldCOMMENT
304 more matches not shown…
AI Slop Vocabulary13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUM…elcast/jet/sql/impl/opt/physical/SortPhysicalRule.java113 // Input has less collated fields than sort. Definitely not a prefix => local sorting is needed.COMMENT
MEDIUM…rces/hazelcast-fullconfig-advanced-network-config.yaml15# A comprehensive example of Hazelcast configuration with advanced network configuration.COMMENT
MEDIUMhazelcast/src/test/resources/hazelcast-fullconfig.yaml15# A comprehensive example of Hazelcast configuration.COMMENT
MEDIUM…st/resources/hazelcast-fullconfig-without-network.yaml15# A comprehensive example of Hazelcast configuration without network configuration.COMMENT
MEDIUM…zelcast/flakeidgen/impl/FlakeIdGeneratorProxyTest.java247 // #### Tests pertaining to wait time ####COMMENT
MEDIUM…/com/hazelcast/test/jdbc/PostgresDatabaseProvider.java83 // If we wait for both conditions (port and log) we should get robust behavior.COMMENT
MEDIUM…azelcast/client/cp/internal/CPGroupViewClientTest.java73 // Assert the client is still able to utilize the CP subsystemCOMMENT
MEDIUM…ain/java/com/hazelcast/jet/core/ProcessorSupplier.java182 * Returns the partitions from {@link #partitionAssignment()} pertaining toCOMMENT
MEDIUM…peration/PartitionWideEntryWithPredicateOperation.java55 // if we used index we leverage it for the backup tooCOMMENT
MEDIUM…st/map/impl/operation/PartitionWideEntryOperation.java193 // if we reach here, it means we didn't manage to leverage index and we fall-back to full-partition scanCOMMENT
MEDIUM…st/map/impl/operation/PartitionWideEntryOperation.java271 // if we used index we leverage it for the backup tooCOMMENT
MEDIUM…ain/java/com/hazelcast/map/impl/query/QueryRunner.java294 // leverage index on this node in a global way.COMMENT
MEDIUM…m/hazelcast/cp/internal/raft/impl/state/RaftState.java554 * Resets {@link #lastGroupMembers} back to {@link #committedGroupMembers}. Essentially this means,COMMENT
Slop Phrases13 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM…java/com/hazelcast/jet/python/PythonServiceConfig.java42 * Here's a simple example of a function that transforms every inputCOMMENT
MEDIUM…/main/java/com/hazelcast/jet/hadoop/HadoopSources.java61 * Here is how you can configure the source. Default and always safe value isCOMMENT
MEDIUM…/main/java/com/hazelcast/jet/hadoop/HadoopSources.java78 * Here is how you can configure the source. Default value is {@code false}:COMMENT
LOW…on/compatibility/BinaryCompatibilityFileGenerator.java46 // DON'T FORGET TO CHANGE VERSION ACCORDINGLYCOMMENT
MEDIUM…zelcast/src/main/resources/hazelcast-full-example.yaml303 # to see the properties you can use.COMMENT
MEDIUM…zelcast/src/main/resources/hazelcast-full-example.yaml523 # to see the properties you can use.COMMENT
MEDIUM…zelcast/src/main/resources/hazelcast-full-example.yaml3036 # to see the properties you can use.COMMENT
MEDIUMhazelcast/src/main/resources/hazelcast-default.yaml162 # configuration. This way, you can add different and multiple interfaces toCOMMENT
LOWhazelcast/src/main/resources/hazelcast-default.yaml53 # mechanism, so make sure to enable only one.COMMENT
MEDIUM…/src/main/resources/hazelcast-client-full-example.yaml217 # to see the properties you can use.COMMENT
LOW…/protocol/codec/ReplicatedMapFetchEntryViewsCodec.java75 * request to start iteration. Also don't forget to set newIteration to true. Then, use the returnedCOMMENT
MEDIUM…lcast/src/main/config-template/hazelcast-assembly.yaml130 # configuration. This way, you can add different and multiple interfaces toCOMMENT
LOW…lcast/src/main/config-template/hazelcast-assembly.yaml53 # mechanism, so make sure to enable only one.COMMENT
Fake / Example Data30 hits · 31 pts
SeverityFileLineSnippetContext
LOW…nector/jdbc/PredicatePushDownJdbcSqlConnectorTest.java56 "SELECT name FROM people WHERE name = 'John Doe'",CODE
LOW…nector/jdbc/PredicatePushDownJdbcSqlConnectorTest.java78 "SELECT name FROM people WHERE name IN ('John Doe', 'something')",CODE
LOW…nector/jdbc/PredicatePushDownJdbcSqlConnectorTest.java79 "SELECT name FROM people WHERE name NOT IN ('Jane Doe', 'something')",CODE
LOW…nector/jdbc/PredicatePushDownJdbcSqlConnectorTest.java138 executeJdbc("INSERT INTO " + quote(tableName) + " VALUES (1, 'John Doe', 30, '{\"value\":42}', 1, 1, 0, " +CODE
LOW…nector/jdbc/PredicatePushDownJdbcSqlConnectorTest.java140 executeJdbc("INSERT INTO " + quote(tableName) + " VALUES (2, 'Jane Doe', 35, '{\"value\":0}', 0, 0, 1, " +CODE
LOW…nector/jdbc/PredicatePushDownJdbcSqlConnectorTest.java154 assertRowsAnyOrder(query, new Row("John Doe"));CODE
LOW…test/java/com/hazelcast/jet/mongodb/MongoSinkTest.java153 Doc doc = new Doc(null, 10L, "new", "text lorem ipsum etc");CODE
LOW…test/java/com/hazelcast/jet/mongodb/MongoSinkTest.java188 Doc doc = new Doc(null, 3L, "existing", "text lorem ipsum etc");CODE
LOW…c/test/java/com/hazelcast/aggregation/TestSamples.java37 private static final String LOREM_IPSUM = "Lorem ipsum dolor sit amet consectetur adipiscing elit";CODE
LOW…c/test/java/com/hazelcast/aggregation/TestSamples.java37 private static final String LOREM_IPSUM = "Lorem ipsum dolor sit amet consectetur adipiscing elit";CODE
LOW…t/jet/impl/connector/StreamFilesP_integrationTest.java261 " Lorem ipsum dolor sit amet, consectetur adipiscing elit," +CODE
LOW…t/jet/impl/connector/StreamFilesP_integrationTest.java261 " Lorem ipsum dolor sit amet, consectetur adipiscing elit," +CODE
LOW…a/com/hazelcast/jet/impl/connector/WriteJdbcPTest.java75 private static final String DUMMY_DATA_CONNECTION = "dummy-data-connection";CODE
LOW…va/com/hazelcast/jet/impl/connector/ReadJdbcPTest.java56 private static final String DUMMY_DATA_CONNECTION = "dummy-data-connection";CODE
LOW…t/java/com/hazelcast/config/YamlConfigBuilderTest.java5079 some.property: dummy-valueCODE
LOW…t/java/com/hazelcast/config/YamlConfigBuilderTest.java5096 assertThat(mysqlDataConnectionConfig.getProperty("some.property")).isEqualTo("dummy-value");STRING
LOW…st/java/com/hazelcast/config/XMLConfigBuilderTest.java4899 + " <property name=\"some.property\">dummy-value</property>\n"STRING
LOW…st/java/com/hazelcast/config/XMLConfigBuilderTest.java4917 assertThat(mysqlDataConnectionConfig.getProperty("some.property")).isEqualTo("dummy-value");STRING
LOW…lization/impl/compact/CompactStreamSerializerTest.java463 ExternalizableEmployeeDTO employeeDTO = new ExternalizableEmployeeDTO(30, "John Doe");CODE
LOW…rialization/impl/compact/CompactSerializationTest.java218 Data data = service.toData(new SerializableEmployeeDTO("John Doe", 42));CODE
LOW…rialization/impl/compact/CompactSerializationTest.java242 Data data = service.toData(new SerializableEmployeeDTO("John Doe", 42));CODE
LOW…rialization/impl/compact/CompactSerializationTest.java433 service.toData(new UsesSerializableClassAsField(new SerializableEmployeeDTO("John Doe", 42)))CODE
LOW…rialization/impl/compact/CompactSerializationTest.java445 Data data = service.toData(new UsesSerializableClassAsField(new SerializableEmployeeDTO("John Doe", 42)));CODE
LOW…ternal/serialization/impl/compact/CompactTestUtil.java305 SerializableEmployeeDTO object = new SerializableEmployeeDTO("John Doe", 1);CODE
LOW…/serialization/impl/compact/record/AllTypesRecord.java127 "lorem ipsum",CODE
LOW⚡…/java/com/hazelcast/internal/json/JsonParser_Test.java265 String input = "[ \"lorem ipsum dolor sit amet\" ]";CODE
LOW⚡…/java/com/hazelcast/internal/json/JsonParser_Test.java265 String input = "[ \"lorem ipsum dolor sit amet\" ]";CODE
LOW⚡…/java/com/hazelcast/internal/json/JsonParser_Test.java269 assertEquals("[\"lorem ipsum dolor sit amet\"]", defHandler.getValue().toString());CODE
LOW⚡…/java/com/hazelcast/internal/json/JsonParser_Test.java269 assertEquals("[\"lorem ipsum dolor sit amet\"]", defHandler.getValue().toString());CODE
LOW…main/java/com/hazelcast/internal/json/JsonHandler.java37 * ["lorem ipsum"]COMMENT
Structural Annotation Overuse9 hits · 19 pts
SeverityFileLineSnippetContext
LOW⚡…/hazelcast/sql/impl/expression/datetime/Formatter.java920 // Step 1 - Normalized formCOMMENT
LOW⚡…/hazelcast/sql/impl/expression/datetime/Formatter.java928 // Step 2 - Find the actual numberCOMMENT
LOW⚡…/hazelcast/sql/impl/expression/datetime/Formatter.java930 // Step 3 - Determine the lengths of the integer and fractionCOMMENT
LOW⚡…/hazelcast/sql/impl/expression/datetime/Formatter.java938 // Step 4 - RoundingCOMMENT
LOW…/hazelcast/sql/impl/expression/datetime/Formatter.java961 // Step 5 - PaddingCOMMENT
LOW…/hazelcast/sql/impl/expression/datetime/Formatter.java990 // Step 6 - Format the integer and fraction masksCOMMENT
LOW⚡…ast/cp/internal/datastructures/snapshot/ChunkUtil.java107 // Step 1: Process the snapshot and create chunksCOMMENT
LOW⚡…ast/cp/internal/datastructures/snapshot/ChunkUtil.java115 // Step 2: Optimize chunks by merging non-chunked operations into the last chunkCOMMENT
LOW⚡…ast/cp/internal/datastructures/snapshot/ChunkUtil.java118 // Step 3: Add metadata to chunks and prepare the final listCOMMENT
Hyper-Verbose Identifiers13 hits · 14 pts
SeverityFileLineSnippetContext
LOW…om/hazelcast/jet/python/PythonServiceGrpcBindTest.java95 def _port_forcing_grpc_server(*args, **kwargs):CODE
LOW…internal/partition/MigrationAwareServiceEventTest.java118 private static class FailingOperationResponseHandler implements OperationResponseHandler<Operation> {CODE
LOW…elcast/internal/locksupport/LockEvictionProcessor.java80 private class UnlockResponseHandler implements OperationResponseHandler {CODE
LOW…/operationservice/OperationResponseHandlerFactory.java32 private static class NoResponseHandlerCODE
LOW…/operationservice/OperationResponseHandlerFactory.java44 private static final class ErrorLoggingResponseHandler implements OperationResponseHandler {CODE
LOW…a/com/hazelcast/spi/impl/operationservice/Offload.java159 private class OffloadedOperationResponseHandler implements OperationResponseHandler {CODE
LOW…rationservice/impl/InboundResponseHandlerSupplier.java242 final class AsyncSingleThreadedResponseHandler implements Consumer<Packet> {CODE
LOW…rationservice/impl/InboundResponseHandlerSupplier.java256 final class AsyncMultithreadedResponseHandler implements Consumer<Packet> {CODE
LOW…impl/operationservice/impl/InboundResponseHandler.java56public final class InboundResponseHandler implements Consumer<Packet> {CODE
LOW…mpl/operationservice/impl/OutboundResponseHandler.java66public final class OutboundResponseHandler implements OperationResponseHandler {CODE
LOW⚡…lient/impl/spi/impl/ClientResponseHandlerSupplier.java221 class SyncResponseHandler implements Consumer<ClientMessage> {CODE
LOW⚡…lient/impl/spi/impl/ClientResponseHandlerSupplier.java229 class AsyncResponseHandler implements Consumer<ClientMessage> {CODE
LOW⚡…lient/impl/spi/impl/ClientResponseHandlerSupplier.java238 class DynamicResponseHandler implements Consumer<ClientMessage> {CODE
Verbosity Indicators6 hits · 11 pts
SeverityFileLineSnippetContext
LOW…com/hazelcast/sql/impl/client/SqlResubmissionTest.java211 // This may be expected (for example: when resubmissionMode == NEVER), so we need to check if in currentCOMMENT
LOW…zelcast/sql/impl/client/SqlResubmissionStreamTest.java114 // This may be expected (for example: when resubmissionMode == NEVER), so we need to check if in currentCOMMENT
LOW…/com/hazelcast/internal/diagnostics/MetricsPlugin.java109 // So we need to check if writer is null or not.COMMENT
LOW⚡…ast/cp/internal/datastructures/snapshot/ChunkUtil.java107 // Step 1: Process the snapshot and create chunksCOMMENT
LOW⚡…ast/cp/internal/datastructures/snapshot/ChunkUtil.java115 // Step 2: Optimize chunks by merging non-chunked operations into the last chunkCOMMENT
LOW⚡…ast/cp/internal/datastructures/snapshot/ChunkUtil.java118 // Step 3: Add metadata to chunks and prepare the final listCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…/vector/internal/impl/proxy/VectorCollectionProxy.java306 // In this implementation the operations will be smaller, but there may be many of themCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…est/java/com/hazelcast/jet/sql/SqlQueryResultTest.java79 // TODO: implement updateCount for DML and single key plans.COMMENT
LOW…src/main/java/com/hazelcast/cache/impl/CacheProxy.java246 // TODO: implement a multiple (batch) invoke operation and its factoryCOMMENT
LOW…/com/hazelcast/client/cache/impl/ClientCacheProxy.java266 // TODO: implement a multiple (batch) invoke operation and its factoryCOMMENT
LOW…/vector/internal/impl/proxy/VectorCollectionProxy.java305 // TODO: implement backpressure or limit number of in-flight batches.COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/terraform/azure/main.tf112#Assign role to the user assigned managed identityCOMMENT
LOW…st/src/main/resources/hazelcast-security-hardened.yaml240 # Assign permissions to role names (principals) and remote addresses (endpoints).COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…st/resources/hazelcast-fullconfig-without-network.yaml16# This file is complete if included into either of the following:COMMENT
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGH…/com/hazelcast/jet/python/grpcio_partial_bind_check.py4 python3 -m venv v && v/bin/pip install grpcio==1.80.0 && v/bin/python grpcio_partial_bind_check.pySTRING
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…nsions/python/src/main/resources/jet_to_python_init.sh25except Exception:CODE