Open source transactional distributed database. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure without compromising performance.
This report summarizes scanner evidence for apache/cassandra, a Java project with 10,131 GitHub stars. SynthScan examined 1,607,200 lines of code across 7041 source files, recording 1549 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 2.8 (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? 1182 finding(s).
Are imports declared and package/API names verified? 276 finding(s).
Are wrappers, guards, and repeated structures necessary? 412 finding(s).
Which changes need focused human review? 1549 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 1549 distinct pattern matches across 21 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 | .build/checkstyle.xml | 85 | <property name="message" value="Avoid Instant.now() for time, should use org.apache.cassandra.util.FBUtilities.now | CODE |
| CRITICAL | .build/sh/test/test_jmh_junit_report.py | 54 | "\tat org.apache.cassandra.test.microbench.FooBench.method(FooBench.java:21)", | CODE |
| CRITICAL | .build/run-ci.d/run-ci-test.py | 205 | cloud.session.Session.return_value.client.return_value.terminate_instance_in_auto_scaling_group.assert_called_on | CODE |
| CRITICAL | …t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java | 522 | assertArrayEquals(values.toArray(), simpleStmt.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryO | CODE |
| CRITICAL | …t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java | 930 | assertArrayEquals(simpleStmt1.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOptions.DEFAULT.ge | CODE |
| CRITICAL | …t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java | 931 | simpleStmt2.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOptions.DEFAULT.ge | CODE |
| CRITICAL | …fqltool/src/org/apache/cassandra/fqltool/FQLQuery.java | 257 | return new FullQueryLogger.Batch(org.apache.cassandra.cql3.statements.BatchStatement.Type.valueOf(batchType. | CODE |
| CRITICAL | …resources/org/apache/cassandra/stress/graph/graph.html | 33 | },cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:function | CODE |
| CRITICAL | …pache/cassandra/io/sstable/StressCQLSSTableWriter.java | 676 | Directories directories = new Directories(tableMetadata, directoryList.stream().map(f -> new Directories.Dat | CODE |
| CRITICAL | …ess/src/org/apache/cassandra/stress/StressProfile.java | 500 | List<Generator> regularColumns = com.google.common.collect.Lists.newArrayList(metadata.regularAndStaticColumns() | CODE |
| CRITICAL | …ess/src/org/apache/cassandra/stress/StressProfile.java | 521 | List<ColumnMetadata> allColumns = com.google.common.collect.Lists.newArrayList(metadata.allColumnsInSelectOrder( | CODE |
| CRITICAL⚡ | …ess/src/org/apache/cassandra/stress/StressProfile.java | 566 | Set<com.datastax.driver.core.ColumnMetadata> keyColumns = com.google.common.collect.Sets.newHashSet( | CODE |
| CRITICAL⚡ | …ess/src/org/apache/cassandra/stress/StressProfile.java | 567 | Set<com.datastax.driver.core.ColumnMetadata> allColumns = com.google.common.collect.Sets.newHashSet( | CODE |
| CRITICAL⚡ | …ess/src/org/apache/cassandra/stress/StressProfile.java | 572 | com.google.common.collect.Sets.SetView diff = com.google.common.collect.Sets.difference(allColum | CODE |
| CRITICAL | …ess/src/org/apache/cassandra/stress/StressProfile.java | 752 | Set<com.datastax.driver.core.ColumnMetadata> keyColumns = com.google.common.collect.Sets.newHashSet(tableMet | CODE |
| CRITICAL | …org/apache/cassandra/stress/generate/values/Lists.java | 54 | return com.google.common.collect.Lists.newArrayList(Arrays.copyOf(buffer, size)); | CODE |
| CRITICAL | …pache/cassandra/transport/ProtocolNegotiationTest.java | 173 | if (requestedVersion.toInt() > org.apache.cassandra.transport.ProtocolVersion.CURRENT.asInt()) | CODE |
| CRITICAL | …/unit/org/apache/cassandra/transport/TlsTestUtils.java | 214 | com.datastax.driver.core.Cluster.Builder builder = com.datastax.driver.core.Cluster.builder() | CODE |
| CRITICAL | …st/unit/org/apache/cassandra/cql3/ViewComplexTest.java | 220 | List<UntypedResultSet.Row> baseData = com.google.common.collect.Lists.newArrayList(iter); | CODE |
| CRITICAL | …st/unit/org/apache/cassandra/cql3/ViewComplexTest.java | 221 | List<UntypedResultSet.Row> viewData = com.google.common.collect.Lists.newArrayList(viewIter); | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/ViewTest.java | 661 | action = "org.apache.cassandra.cql3.ViewTest.blockViewBuild.countDown();") | CODE |
| CRITICAL | …/org/apache/cassandra/cql3/PreparedStatementsTest.java | 500 | org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassan | CODE |
| CRITICAL | …/org/apache/cassandra/cql3/PreparedStatementsTest.java | 518 | org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassan | CODE |
| CRITICAL | …/org/apache/cassandra/cql3/PreparedStatementsTest.java | 576 | org.apache.cassandra.cql3.ResultSet.Flag.of( | CODE |
| CRITICAL | …/org/apache/cassandra/cql3/PreparedStatementsTest.java | 598 | org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassandra.cql3.Resu | CODE |
| CRITICAL | …/org/apache/cassandra/cql3/PreparedStatementsTest.java | 624 | if (org.apache.cassandra.cql3.ResultSet.Flag.contains(resultFlags, org.apache.cassandra.cql3.ResultSet.Flag.META | CODE |
| CRITICAL | …/org/apache/cassandra/cql3/PreparedStatementsTest.java | 640 | assertEquals(org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassandra.cql3.ResultSet.Flag.GLOBAL_TABLES_ | CODE |
| CRITICAL | …it/org/apache/cassandra/cql3/PstmtPersistenceTest.java | 208 | action = "org.apache.cassandra.cql3.PstmtPersistenceTest.preparedStatementLoadTimestamps.put($key, | CODE |
| CRITICAL | …it/org/apache/cassandra/cql3/PstmtPersistenceTest.java | 213 | action = "org.apache.cassandra.cql3.PstmtPersistenceTest.preparedStatementRemoveTimestamps.put($key | CODE |
| CRITICAL | …it/org/apache/cassandra/cql3/PstmtPersistenceTest.java | 309 | action = "org.apache.cassandra.cql3.PstmtPersistenceTest.nextPageReadQuery($this.query, $pageSize)") | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/CQLTester.java | 406 | com.datastax.driver.core.ProtocolVersion.fromInt(version.asInt()); | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/CQLTester.java | 816 | builder = builder.withProtocolVersion(com.datastax.driver.core.ProtocolVersion.fromInt(version.asInt())); | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/CQLTester.java | 1668 | statement = statement.setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel.valueOf(consistency.name())) | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/CQLTester.java | 1961 | com.datastax.driver.core.ProtocolVersion version = com.datastax.driver.core.ProtocolVersion.fromInt(protocolVers | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/CQLTester.java | 2078 | com.datastax.driver.core.ProtocolVersion version = com.datastax.driver.core.ProtocolVersion.fromInt(getDefaultVe | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/CQLTester.java | 2533 | com.google.common.collect.Sets.SetView<List<ByteBuffer>> extra = com.google.common.collect.Sets.difference(actua | CODE |
| CRITICAL | test/unit/org/apache/cassandra/cql3/CQLTester.java | 2534 | com.google.common.collect.Sets.SetView<List<ByteBuffer>> missing = com.google.common.collect.Sets.difference(exp | CODE |
| CRITICAL⚡ | …dra/cql3/validation/entities/UFIdentificationTest.java | 345 | Set<String> expected = com.google.common.collect.Sets.newHashSet(function); | CODE |
| CRITICAL⚡ | …dra/cql3/validation/entities/UFIdentificationTest.java | 346 | Set<String> actual = com.google.common.collect.Sets.newHashSet(Iterables.transform(stmt.getFunctions(), | CODE |
| CRITICAL⚡ | …dra/cql3/validation/entities/UFIdentificationTest.java | 348 | assertTrue(com.google.common.collect.Sets.symmetricDifference(expected, actual).isEmpty()); | CODE |
| CRITICAL⚡ | …dra/cql3/validation/entities/UFIdentificationTest.java | 354 | return String.format(template, com.google.common.collect.Lists.asList(tableName, params).toArray()); | CODE |
| CRITICAL | …cassandra/cql3/validation/entities/UFSecurityTest.java | 124 | " org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize(0L); return 0d;" + | CODE |
| CRITICAL | …cassandra/cql3/validation/entities/UFVerifierTest.java | 163 | assertEquals(new HashSet<>(Collections.singletonList("call to org.apache.cassandra.config.DatabaseDescriptor.get | CODE |
| CRITICAL | …st/unit/org/apache/cassandra/dht/BootStrapperTest.java | 127 | action = "org.apache.cassandra.dht.BootStrapperTest.nonOptimizationHit.set(true)"), | CODE |
| CRITICAL | …st/unit/org/apache/cassandra/dht/BootStrapperTest.java | 131 | action = "org.apache.cassandra.dht.BootStrapperTest.optimizationHit.set(true)") }) | CODE |
| CRITICAL | …pache/cassandra/io/sstable/format/ColumnIndexTest.java | 127 | action = "org.apache.cassandra.io.sstable.format.ColumnIndexTest.setRTBMLastInIndexBlock( | CODE |
| CRITICAL | …pache/cassandra/io/sstable/format/ColumnIndexTest.java | 133 | action = "org.apache.cassandra.io.sstable.format.ColumnIndexTest.setRTBMLastInIndexBlock( | CODE |
| CRITICAL | …assandra/io/sstable/format/bti/LoadingBuilderTest.java | 50 | action = "org.apache.cassandra.io.sstable.format.bti.LoadingBuilderTest.preloadsMap.put($1.path(), $3)") | CODE |
| CRITICAL | test/unit/org/apache/cassandra/utils/RangeTreeTest.java | 705 | btree = org.apache.cassandra.utils.btree.IntervalBTree.update(btree, BTree.singleton(new Item(range.start(), | CODE |
| CRITICAL⚡ | …ache/cassandra/schema/SchemaStatementWarningsTest.java | 56 | action = "org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarn()"), | CODE |
| CRITICAL⚡ | …ache/cassandra/schema/SchemaStatementWarningsTest.java | 61 | action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($! | CODE |
| CRITICAL⚡ | …ache/cassandra/schema/SchemaStatementWarningsTest.java | 66 | action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($! | CODE |
| CRITICAL⚡ | …ache/cassandra/schema/SchemaStatementWarningsTest.java | 82 | action = "org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarn()"), | CODE |
| CRITICAL⚡ | …ache/cassandra/schema/SchemaStatementWarningsTest.java | 87 | action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($! | CODE |
| CRITICAL⚡ | …ache/cassandra/schema/SchemaStatementWarningsTest.java | 92 | action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($! | CODE |
| CRITICAL⚡ | …che/cassandra/schema/TupleTypesRepresentationTest.java | 153 | // "org.apache.cassandra.db.marshal.UserType(ks,6d635f756474,61:org.apache.cassandra.db.marshal.UTF8Type,62:o | COMMENT |
| CRITICAL⚡ | …che/cassandra/schema/TupleTypesRepresentationTest.java | 210 | // "org.apache.cassandra.db.marshal.ListType(org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandra | COMMENT |
| CRITICAL⚡ | …che/cassandra/schema/TupleTypesRepresentationTest.java | 226 | // "org.apache.cassandra.db.marshal.SetType(org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandra. | COMMENT |
| CRITICAL⚡ | …che/cassandra/schema/TupleTypesRepresentationTest.java | 242 | // "org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db | COMMENT |
| CRITICAL⚡ | …che/cassandra/schema/TupleTypesRepresentationTest.java | 145 | "org.apache.cassandra.db.marshal.TupleType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db. | CODE |
| 187 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | TESTING.md | 1 | <!-- | COMMENT |
| LOW | build-shaded-dtest-jar.sh | 1 | #!/bin/bash | COMMENT |
| LOW | CONTRIBUTING.md | 1 | <!-- | COMMENT |
| LOW | .build/run-tests.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/build-artifacts.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | .build/build-jars.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | .build/run-python-dtests.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/header.txt | 1 | # | COMMENT |
| LOW | .build/check-code.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | .build/rat-include-accord.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .build/docker/_build-debian.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/_docker_run.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/build-redhat.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/run-tests.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/_docker_init_tests.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/_set_java.sh | 1 | #!/bin/bash -e | COMMENT |
| LOW | .build/docker/build-artifacts.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/_create_user.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/_build-redhat.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/build-docs.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/build-debian.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/build-jars.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/_copy_ccm_repositories.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/_prepopulate_maven_deps.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/docker/check-code.sh | 1 | #!/bin/sh | COMMENT |
| LOW | .build/ci/requirements.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .build/ci/ci_parser.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/ci/junit_helpers.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/ci/generate-test-report.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | .build/ci/generate-ci-summary.sh | 1 | #!/bin/sh -e | COMMENT |
| LOW | .build/ci/generate-ci-summary.sh | 21 | # For example: | COMMENT |
| LOW | .build/ci/precommit_check.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/ci/logging.sh | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .build/ci/logging_helper.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/ci/ci_parser_test.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/ci/cell_balance.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/sh/change-submodule-accord.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .build/sh/bump-accord.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .build/sh/ant-log-summary.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/sh/jmh-junit-report.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/sh/jmh-junit-report.py | 21 | # | COMMENT |
| LOW | .build/sh/test-log-summary.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/sh/test-log-summary.py | 21 | # | COMMENT |
| LOW | .build/sh/change-submodule.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .build/sh/development-switch.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .build/sh/_run-ant.sh | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .build/sh/test/stub-ant-cases.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/sh/test/_test-harness.sh | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .build/sh/test/test_log_summary.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/sh/test/stub-docker-cases.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/sh/test/test_jmh_junit_report.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | .build/sonar/sonar-report.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .build/sonar/sonar-setup-local.sh | 1 | # | COMMENT |
| LOW | .build/run-ci.d/run-ci-test.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | .build/run-ci.d/requirements.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | .build/run-ci.d/run_ci.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | .build/git/install-git-defaults.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …d/git/git-hooks/post-checkout/100-update-submodules.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …t/git-hooks/pre-commit/100-verify-submodules-pushed.sh | 1 | #!/usr/bin/env bash | COMMENT |
| 517 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/ci/ci_parser_test.py | 48 | def test_detail_limit_does_not_cap_totals(self): | CODE |
| LOW | .build/sh/ant-log-summary.py | 72 | def extract_compilation_errors(content): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 115 | def test_failure_rate_non_zero_fails(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 120 | def test_failure_rate_zero_passes(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 125 | def test_testcase_failure_without_a_summary_fails(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 133 | def test_testcase_error_without_a_summary_fails(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 141 | def test_duplicate_testcase_lines_are_reported_once(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 147 | def test_build_failed_reports_compilation_errors(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 162 | def test_microbench_marker_passes(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 168 | def test_microbench_failure_fails(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 172 | def test_empty_input_passes_with_a_notice(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 190 | def test_test_log_summary_passes_with_zero(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 195 | def test_test_log_summary_fails_with_one(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 199 | def test_test_log_summary_reads_stdin_by_default(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 204 | def test_test_log_summary_missing_file(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 209 | def test_ant_log_summary_passes_with_zero(self): | CODE |
| LOW⚡ | .build/sh/test/test_log_summary.py | 214 | def test_ant_log_summary_fails_with_one(self): | CODE |
| LOW | .build/sh/test/test_log_summary.py | 67 | def test_clean_pass_with_ant_task_tag(self): | CODE |
| LOW | .build/sh/test/test_log_summary.py | 74 | def test_skipped_tests_alone_pass(self): | CODE |
| LOW | .build/sh/test/test_log_summary.py | 87 | def test_last_summary_does_not_mask_an_earlier_failure(self): | CODE |
| LOW | .build/sh/test/test_log_summary.py | 92 | def test_run_tests_failed_target(self): | CODE |
| LOW | .build/sh/test/test_log_summary.py | 103 | def test_failed_to_prose_is_not_a_failed_target(self): | CODE |
| LOW | .build/sh/test/test_log_summary.py | 227 | def test_ant_log_summary_missing_file(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 110 | def test_splits_benchmarks_at_each_header(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 118 | def test_maps_every_mode_to_the_json_label(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 125 | def test_a_parameter_value_may_end_in_a_bracket(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 129 | def test_header_lines_printed_by_a_benchmark_are_not_read(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 134 | def test_times_each_benchmark_until_the_next_starts(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 141 | def test_output_after_the_run_is_not_a_benchmark(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 146 | def test_a_header_cut_short_is_dropped(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 167 | def test_fork_that_failed_to_start(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 171 | def test_no_marker_reports_the_last_lines(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 176 | def test_failure_text_is_capped(self): | CODE |
| LOW | .build/sh/test/test_jmh_junit_report.py | 187 | def test_passed_is_in_the_json_and_failed_is_not(self): | CODE |
| LOW | .build/sh/test/test_jmh_junit_report.py | 198 | def test_names_a_test_by_mode_and_params(self): | CODE |
| LOW | .build/sh/test/test_jmh_junit_report.py | 216 | def test_benchmark_output_cannot_break_the_xml(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 246 | def test_all_passed_exits_zero(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 253 | def test_a_failure_exits_one_and_names_it(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 261 | def test_no_json_exits_two_and_writes_nothing(self): | CODE |
| LOW⚡ | .build/sh/test/test_jmh_junit_report.py | 267 | def test_no_benchmark_exits_zero_and_writes_nothing(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 136 | def test_unreadable_node_list_stops_without_deletion(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 148 | def test_api_access_failure_aborts_remaining_deletion_steps(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 394 | def test_wait_for_build_complete_missing_building_field(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 404 | def test_wait_for_build_complete_survives_api_error(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 414 | def test_wait_for_build_number_pending_executable(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 423 | def test_retry_call_returns_result(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 426 | def test_retry_call_raises_after_retries(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 461 | def test_retry_call_always_attempts_once(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 467 | def test_delete_remote_junit_files(self, mock_stream): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 474 | def test_cleanup_and_maybe_teardown(self, mock_run): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 480 | def test_helm_installation_lock(self, mock_flock): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 538 | def test_check_agent_capacity_allows_the_committed_values(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 542 | def test_check_agent_capacity_blocks_a_cap_above_the_pool(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 550 | def test_check_agent_capacity_reads_maxsize_wherever_it_is_published(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 559 | def test_check_agent_capacity_blocks_contradictory_config(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 601 | def test_prefers_service_hostname_and_https(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 606 | def test_dns_hostname_works_without_tls_or_load_balancer_status(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 610 | def test_missing_or_unusable_dns_annotation_preserves_load_balancer_fallback(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 617 | def test_selects_first_concrete_dns_name_and_supports_both_annotation_prefixes(self): | CODE |
| LOW⚡ | .build/run-ci.d/run-ci-test.py | 623 | def test_preserves_custom_http_and_annotated_tls_ports(self): | CODE |
| 257 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .circleci/config_template.yml | 3337 | # Run each test class as many times as requested. | COMMENT |
| HIGH | .circleci/config_template.yml | 3510 | # Run the test target as many times as requested collecting the exit code, | COMMENT |
| HIGH | .circleci/config.yml | 3172 | # Run the test target as many times as requested collecting the exit code, | COMMENT |
| HIGH | .circleci/config.yml | 4237 | # Run the test target as many times as requested collecting the exit code, | COMMENT |
| HIGH | .circleci/config.yml | 56 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 56 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 442 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 442 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 1486 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 1486 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 1808 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 1808 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 2420 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 2420 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 2732 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 2732 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 2897 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 2897 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 3394 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 3394 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 3707 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 3707 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 4600 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 4600 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 4884 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 4884 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 4976 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 4976 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 5247 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 5247 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 5648 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 5648 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 6357 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 6357 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 6671 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 6671 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 7032 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 7032 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 7124 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 7124 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 8372 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 8372 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 8933 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 8933 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9098 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9098 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9275 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9275 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9440 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9440 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9618 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9618 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9843 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9843 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9934 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| HIGH | .circleci/config.yml | 9934 | command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtest | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …che/cassandra/io/compress/CompressionMetadataTest.java | 99 | // Step 1: Create a dictionary and add it to cache (simulating table with Zstd compression) | COMMENT |
| LOW | …che/cassandra/io/compress/CompressionMetadataTest.java | 117 | // Step 2: Open SSTable with dictionary (simulating CompressionMetadata) | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 139 | // Step 3: Schema change - close cache (simulating switch from Zstd to LZ4) | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 145 | // Step 4: Verify dictionary is still usable via CompressionMetadata | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 159 | // Step 5: Close CompressionMetadata (simulating SSTable being compacted away) | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 164 | // Step 6: Dictionary is still usable because ZstdDictionaryCompressor cache holds a reference | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 340 | // Step 1: add new node as a write replica to all ranges it is gaining | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 359 | // Step 2: add new node as a read replica to the ranges it is gaining; remove old node from reads at the same ti | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 379 | // Step 3: finally remove the old node from writes | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 424 | // Step 1: Prepare Move, | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 438 | // Step 2: Start Move, add all potential owners to write quorums | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 460 | // Step 3: Mid Move, remove all nodes that are losing ranges from read quorums, add all nodes gaining ranges to | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 478 | // Step 4: Finish Move, remove all nodes that are losing ranges from write quorums | COMMENT |
| LOW | …de/skills/tla-plus/references/patterns/code-to-spec.md | 13 | ### Step 1: Identify the Abstraction Level | COMMENT |
| LOW | …de/skills/tla-plus/references/patterns/code-to-spec.md | 22 | ### Step 2: Map Code Constructs to TLA+ | COMMENT |
| LOW | …de/skills/tla-plus/references/patterns/code-to-spec.md | 40 | ### Step 3: Write the Spec | COMMENT |
| LOW⚡ | …de/skills/tla-plus/references/patterns/code-to-spec.md | 151 | ### Step 1: Write a Minimal Spec | COMMENT |
| LOW⚡ | …de/skills/tla-plus/references/patterns/code-to-spec.md | 154 | ### Step 2: Run with Small Constants | COMMENT |
| LOW⚡ | …de/skills/tla-plus/references/patterns/code-to-spec.md | 162 | ### Step 3: Look for These Symptoms | COMMENT |
| LOW⚡ | …de/skills/tla-plus/references/patterns/code-to-spec.md | 172 | ### Step 4: Translate Error Trace to Code Path | COMMENT |
| LOW⚡ | .claude/skills/tla-plus/scripts/check.sh | 18 | # Step 1: Translate PlusCal if the spec contains an algorithm | COMMENT |
| LOW⚡ | .claude/skills/tla-plus/scripts/check.sh | 25 | # Step 2: Parse with SANY | COMMENT |
| LOW⚡ | .claude/skills/tla-plus/scripts/check.sh | 30 | # Step 3: Run TLC | COMMENT |
| LOW⚡ | .claude/skills/heatmap/SKILL.md | 27 | ### Step 1: Determine the repository path and scope | COMMENT |
| LOW⚡ | .claude/skills/heatmap/SKILL.md | 37 | ### Step 2: Run repo-level heatmap | COMMENT |
| LOW⚡ | .claude/skills/heatmap/SKILL.md | 47 | ### Step 3: Cross-reference with the task context | COMMENT |
| LOW | .claude/skills/heatmap/SKILL.md | 62 | ### Step 4: Run line-level heatmap on top candidates | COMMENT |
| LOW | .claude/skills/heatmap/SKILL.md | 72 | ### Step 5: Identify hot zones | COMMENT |
| LOW | .claude/skills/heatmap/SKILL.md | 85 | ### Step 6: Produce the review focus list | COMMENT |
| LOW | .claude/skills/heatmap/SKILL.md | 100 | ### Step 7: Deep review | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 44 | ### Step 1: Identify the Change Type | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 52 | ### Step 2: Understand the Before State | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 57 | ### Step 3: Understand the After State | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 62 | ### Step 4: Analyze the Transition | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 68 | ### Step 5: Visualize Before/After | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 75 | ### Step 6: Deep Reasoning | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 87 | ### Step 1: Identify Purpose | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 92 | ### Step 2: Map the Structure | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 99 | ### Step 3: Trace Key Workflows | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 106 | ### Step 4: Identify State & Transitions | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 112 | ### Step 5: Analyze Interactions | COMMENT |
| LOW⚡ | …kills/patch-explainer/references/analysis_framework.md | 118 | ### Step 6: Deep Reasoning | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1672 | # Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1674 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1743 | # Step 1: Set enabled=true and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1745 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW | conf/cassandra_latest.yaml | 1544 | # WARNING: This legacy snitch has been deprecated and is scheduled to be removed in a future | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1801 | # Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1803 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1879 | # Step 1: Set enabled=true and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1881 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW | conf/cassandra.yaml | 1598 | # WARNING: This snitch is deprecated and it is scheduled to be removed | COMMENT |
| LOW | conf/cassandra.yaml | 1671 | # WARNING: This legacy snitch has been deprecated and is scheduled to be removed in a future | COMMENT |
| LOW⚡ | src/java/org/apache/cassandra/tools/CMSOfflineTool.java | 197 | // Step 1: Default to the serialization version from the cluster metadata | COMMENT |
| LOW⚡ | src/java/org/apache/cassandra/tools/CMSOfflineTool.java | 200 | // Step 2: User-specified version takes precedence | COMMENT |
| LOW | src/java/org/apache/cassandra/tools/CMSOfflineTool.java | 213 | // Step 3: Current binary version must be able to handle the finalized version | COMMENT |
| LOW | …apache/cassandra/service/FileSystemOwnershipCheck.java | 148 | // Step 1: Traverse the filesystem from each target dir upward, looking for marker files | COMMENT |
| LOW | …apache/cassandra/service/FileSystemOwnershipCheck.java | 200 | // Step 2: assert that the content of each file is identical | COMMENT |
| LOW | …apache/cassandra/service/FileSystemOwnershipCheck.java | 220 | // Step 3: validate the content of the properties from disk | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …andra/tools/nodetool/GuardrailsConfigCommandsTest.java | 102 | // it would be quite cumbersome to test all guardrails are settable, so we will | COMMENT |
| MEDIUM | …/guardrails/GuardrailMinimumReplicationFactorTest.java | 89 | // filtering out non-guardrails produced warnings | COMMENT |
| MEDIUM | …/guardrails/GuardrailMaximumReplicationFactorTest.java | 80 | // filtering out non-guardrails produced warnings | COMMENT |
| MEDIUM | …/GuardrailDataDiskUsageKeyspaceWideProtectionTest.java | 78 | // create a regular user, since the default superuser is excluded from guardrails | COMMENT |
| MEDIUM | …istributed/test/guardrails/GuardrailDiskUsageTest.java | 88 | // create a regular user, since the default superuser is excluded from guardrails | COMMENT |
| MEDIUM | …andra/distributed/test/guardrails/GuardrailTester.java | 71 | // create a regular user, since the default superuser is excluded from guardrails | COMMENT |
| MEDIUM | .claude/skills/targeted-review/SKILL.md | 255 | ## Pitfalls and guardrails | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 2376 | # Configures the disk usage guardrails to block all writes to a keyspace if any node which replicates that keyspace | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 2413 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 2418 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 2445 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 2450 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 2563 | # An operator can use special "unknown" and "unset" entries for both guardrails with a placeholder version. | COMMENT |
| MEDIUM | conf/cassandra.yaml | 2626 | # Configures the disk usage guardrails to block all writes to a keyspace if any node which replicates that keyspace | COMMENT |
| MEDIUM | conf/cassandra.yaml | 2663 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra.yaml | 2668 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra.yaml | 2689 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra.yaml | 2694 | # # package name org.apache.cassandra.db.guardrails is prepended. | COMMENT |
| MEDIUM | conf/cassandra.yaml | 2815 | # An operator can use special "unknown" and "unset" entries for both guardrails with a placeholder version. | COMMENT |
| MEDIUM | …/cassandra/tools/nodetool/GuardrailsConfigCommand.java | 97 | // TODO for now remove custom guardrails | COMMENT |
| MEDIUM | …c/java/org/apache/cassandra/cql3/RowUpdateBuilder.java | 268 | else if (cql3Type.equals(CQL3Type.Native.TEXT)) // text and varchar size specific guardrails | CODE |
| MEDIUM | …ssandra/cql3/statements/schema/AlterViewStatement.java | 59 | // save the query state to use it for guardrails validation in #apply | COMMENT |
| MEDIUM | …sandra/cql3/statements/schema/CreateViewStatement.java | 129 | // save the query state to use it for guardrails validation in #apply | COMMENT |
| MEDIUM | …sandra/cql3/statements/schema/AlterTableStatement.java | 114 | // save the query state to use it for guardrails validation in #apply | COMMENT |
| MEDIUM | …andra/cql3/statements/schema/AlterSchemaStatement.java | 117 | // Cache our ClientState for use by guardrails | COMMENT |
| MEDIUM | …andra/cql3/statements/schema/AlterSchemaStatement.java | 187 | // Such failures may be dependent on the specific node's config (for things like guardrails/memtable | COMMENT |
| MEDIUM | …andra/cql3/statements/schema/CreateIndexStatement.java | 134 | // save the query state to use it for guardrails validation in #apply | COMMENT |
| MEDIUM | …andra/cql3/statements/schema/CreateIndexStatement.java | 180 | // guardrails to limit number of secondary indexes per table. | COMMENT |
| MEDIUM | …ssandra/cql3/statements/schema/AlterTypeStatement.java | 130 | // save the query state to use it for guardrails validation in #apply | COMMENT |
| MEDIUM | …g/apache/cassandra/io/sstable/SSTableCursorWriter.java | 115 | // them. Both stay zero while the guardrails are off. | COMMENT |
| MEDIUM | …g/apache/cassandra/io/sstable/SSTableCursorWriter.java | 127 | // Everything here costs nothing while both guardrails are off, which is the shipped default: | COMMENT |
| MEDIUM | …g/apache/cassandra/io/sstable/SSTableCursorWriter.java | 137 | // True while the current complex column is a collection the guardrails measure. | COMMENT |
| MEDIUM | …g/apache/cassandra/io/sstable/SSTableCursorWriter.java | 171 | // guardCollectionSize: both guardrails off, or a system keyspace. | COMMENT |
| MEDIUM | …/org/apache/cassandra/service/StorageServiceMBean.java | 1301 | // warning thresholds will be replaced by equivalent guardrails | COMMENT |
| MEDIUM | …ssandra/service/accord/txn/AccordUpdateParameters.java | 84 | // For the time being, guardrails are disabled for Accord queries. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .claude/skills/heatmap/heatmap.py | 40 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 42 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 62 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 64 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 89 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 91 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 148 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 150 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 173 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 175 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 210 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 212 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 282 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 284 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 440 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 442 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 524 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | .claude/skills/heatmap/heatmap.py | 526 | # ═══════════════════════════════════════════════════════════════════════════════ | COMMENT |
| MEDIUM | formalise/accord/execution/tla/matrix.py | 98 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | formalise/accord/execution/tla/matrix.py | 104 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | formalise/accord/execution/tla/matrix.py | 175 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | formalise/accord/execution/tla/matrix.py | 179 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | formalise/accord/execution/tla/notify.py | 103 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | formalise/accord/execution/tla/notify.py | 105 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .build/ci/ci_parser.py | 50 | # TODO: Change this paradigm to a full "input dir translates into output file", where output file includes some uuid | STRING |
| MEDIUM | .build/ci/logging_helper.py | 52 | # Some decorations to match the paradigm used in some other .sh files | COMMENT |
| LOW | .build/ci/logging_helper.py | 80 | # Don't want color escape characters in our file logging, so we just use the string rather than the whole formatter | COMMENT |
| MEDIUM | .build/sh/test/stub-ant-cases.sh | 43 | # shellcheck source=.build/sh/test/_test-harness.sh | COMMENT |
| MEDIUM | .build/sh/test/_test-harness.sh | 20 | # its stub appends one line to per call, and must end with `report <harness name>`. | COMMENT |
| MEDIUM | .build/sh/test/stub-docker-cases.sh | 41 | # shellcheck source=.build/sh/test/_test-harness.sh | COMMENT |
| MEDIUM | pylib/cqlshlib/cql3handling.py | 1343 | # Definitely some of these aren't valid for ordering, but I'm not sure | STRING |
| MEDIUM | …unit/org/apache/cassandra/cql3/ast/CreateIndexDDL.java | 43 | //TODO (now): replace with IndexMetadata? Rather than create a custom DDL type can just leverage the existing metadata | COMMENT |
| MEDIUM | …che/cassandra/io/filesystem/ForwardingFileChannel.java | 142 | // .close(), and .isOpen() are "final", so need to leverage implCloseChannel | COMMENT |
| MEDIUM | …paction/differential/DifferentialCompactionTester.java | 575 | * Separate from {@link #assertCursorPathWillRun} so a scenario that drives the harness from | COMMENT |
| MEDIUM | test/burn/org/apache/cassandra/net/Verifier.java | 1139 | // TODO: this should be robust to re-ordering; should perhaps extract a common m | COMMENT |
| MEDIUM | …ed/org/apache/cassandra/distributed/impl/Instance.java | 1461 | // helps map the location... the reason we can't leverage here is the timeout logic is higher up, so | COMMENT |
| MEDIUM | …ache/cassandra/test/microbench/StringsEncodeBench.java | 75 | int size = cb.capacity() - cb.writerIndex(); // leverage the pre-calculated encodeSize | CODE |
| MEDIUM | …ache/cassandra/test/microbench/StringsEncodeBench.java | 108 | int size = cb.capacity() - cb.writerIndex(); // leverage the pre-calculated encodeSize | CODE |
| MEDIUM | conf/cassandra_latest.yaml | 14 | # This version is provided to facilitate pain-free upgrades for existing | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 2043 | # each write which may be lower in order to facilitate availability. | COMMENT |
| MEDIUM | conf/cassandra.yaml | 14 | # This version is provided to facilitate pain-free upgrades for existing | COMMENT |
| MEDIUM | conf/cassandra.yaml | 2197 | # each write which may be lower in order to facilitate availability. | COMMENT |
| MEDIUM | src/java/org/apache/cassandra/net/MessagingService.java | 242 | // what the "current" is, so need to leverage MessagingService's field as it uses DatabaseDescriptor | COMMENT |
| MEDIUM | …g/apache/cassandra/transport/PipelineConfigurator.java | 184 | // Essentially just a Consumer<Channel> which may throw | COMMENT |
| LOW | …g/apache/cassandra/cql3/statements/CQL3CasRequest.java | 181 | // want this to be a problem (see #12867 in particular), so we simply return (the condition itself has | COMMENT |
| MEDIUM | …java/org/apache/cassandra/config/JMXServerOptions.java | 199 | // in the `cassandra.yaml`. Since the JMX SSL Config can also leverage it as per CASSANDRA-18508, password file | COMMENT |
| MEDIUM | …/org/apache/cassandra/auth/jmx/AuthorizationProxy.java | 254 | // robust, but we have no control over which Principals a given LoginModule | COMMENT |
| MEDIUM | …org/apache/cassandra/tcm/sequences/ReconfigureCMS.java | 341 | // topology change. Essentially ensuring that the pre- and post- change quorums overlap. | COMMENT |
| MEDIUM | …ava/org/apache/cassandra/tcm/membership/NodeState.java | 45 | // TODO: probably we can make these states even more nuanced, and track which step each node is on to have a simpler | COMMENT |
| MEDIUM | src/java/org/apache/cassandra/gms/HeartBeatState.java | 64 | // It is also known that negative version isn't allowed, so can leverage this to | COMMENT |
| LOW | …rg/apache/cassandra/db/compaction/CursorCompactor.java | 1313 | /** Takes over as winner without disturbing {@link #buffer}, which the caller has just set. */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | pylib/cqlshlib/cqlshmain.py | 73 | except ImportError: | CODE |
| HIGH | pylib/cqlshlib/cqlshmain.py | 83 | except AttributeError: | CODE |
| HIGH | pylib/cqlshlib/cqlshmain.py | 228 | except IOError: | CODE |
| HIGH | pylib/cqlshlib/cqlshmain.py | 2015 | except (OSError, ImportError, ValueError): | CODE |
| HIGH | pylib/cqlshlib/cqlshmain.py | 675 | except ImportError: | CODE |
| HIGH | pylib/cqlshlib/cqlshmain.py | 1931 | except IOError: | CODE |
| HIGH | pylib/cqlshlib/cqlshmain.py | 1942 | except IOError: | CODE |
| HIGH | pylib/cqlshlib/copyutil.py | 173 | except ValueError: | CODE |
| HIGH | pylib/cqlshlib/copyutil.py | 233 | except ValueError: | CODE |
| HIGH | pylib/cqlshlib/copyutil.py | 2027 | except ValueError: | CODE |
| HIGH | pylib/cqlshlib/test/ansi_colors.py | 144 | except ValueError: | CODE |
| HIGH | pylib/cqlshlib/test/test_cqlsh_output.py | 423 | except ImportError: | CODE |
| HIGH | pylib/cqlshlib/test/winpty.py | 48 | except Empty: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/ci/ci_parser.py | 157 | except Exception as e: | STRING |
| MEDIUM⚡ | .build/sh/ant-log-summary.py | 110 | print(f"Error: Log file '{args.log_file}' not found") | CODE |
| LOW⚡ | .build/sh/ant-log-summary.py | 112 | except Exception as e: | CODE |
| MEDIUM⚡ | .build/sh/ant-log-summary.py | 113 | print(f"Error reading log file: {e}") | CODE |
| MEDIUM⚡ | .build/sh/test-log-summary.py | 186 | print(f"Error: Log file '{args.log_file}' not found") | CODE |
| LOW⚡ | .build/sh/test-log-summary.py | 188 | except Exception as e: | CODE |
| MEDIUM⚡ | .build/sh/test-log-summary.py | 189 | print(f"Error reading log file: {e}") | CODE |
| MEDIUM | .build/run-ci.d/run_ci.py | 69 | print("Error: The required shared library 'lookup3.so' is missing.") | CODE |
| LOW | pylib/cqlshlib/cqlhandling.py | 307 | except Exception: | CODE |
| MEDIUM | pylib/cqlshlib/cqlshmain.py | 881 | def parse_for_select_meta(self, query_string): | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 431 | except Exception as e: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 787 | except Exception as e: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 876 | except Exception as err: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 936 | except Exception: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 944 | except Exception: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 1100 | except Exception: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 1261 | except Exception: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 2318 | except Exception: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 2323 | except Exception: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 2334 | except Exception: | CODE |
| LOW | pylib/cqlshlib/cqlshmain.py | 2339 | except Exception: | CODE |
| MEDIUM | pylib/cqlshlib/copyutil.py | 893 | def make_source(fname): | CODE |
| MEDIUM | pylib/cqlshlib/copyutil.py | 2023 | def convert_datetime(val, **_): | CODE |
| MEDIUM | pylib/cqlshlib/copyutil.py | 2484 | def make_statement(query, conv, chunk, batch, replicas): | CODE |
| MEDIUM | pylib/cqlshlib/copyutil.py | 2556 | def convert_row(r): | CODE |
| LOW⚡ | pylib/cqlshlib/copyutil.py | 2480 | except Exception as exc: | CODE |
| LOW⚡ | pylib/cqlshlib/copyutil.py | 2487 | except Exception as exc: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 143 | except Exception as e: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 1185 | except Exception as exc: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 1369 | except Exception as exc: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 1671 | except Exception as e: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 1742 | except Exception as e: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 2177 | except Exception as e: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 2400 | except Exception as exc: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 2559 | except Exception as err: | CODE |
| LOW | pylib/cqlshlib/copyutil.py | 2631 | except Exception as e: | CODE |
| LOW | pylib/cqlshlib/pylexotron.py | 149 | except Exception: | CODE |
| MEDIUM | pylib/cqlshlib/cql3handling.py | 926 | def ref_udf_name_completer(ctxt, cass): | CODE |
| LOW | pylib/cqlshlib/cql3handling.py | 690 | except Exception: | STRING |
| LOW | pylib/cqlshlib/cql3handling.py | 704 | except Exception: | STRING |
| LOW | pylib/cqlshlib/cql3handling.py | 722 | except Exception: | STRING |
| LOW | pylib/cqlshlib/cql3handling.py | 893 | except Exception: | STRING |
| LOW | pylib/cqlshlib/cql3handling.py | 906 | except Exception: | STRING |
| LOW | pylib/cqlshlib/cql3handling.py | 919 | except Exception: | STRING |
| LOW | pylib/cqlshlib/cql3handling.py | 929 | except Exception: | STRING |
| LOW | pylib/cqlshlib/cql3handling.py | 1555 | except Exception: | STRING |
| LOW | …de/skills/write-reproducer/references/test-patterns.md | 152 | except Exception as e: | CODE |
| LOW | doc/scripts/gen-antora-yml.py | 37 | except Exception as e: | CODE |
| LOW | doc/scripts/gen-antora-yml.py | 55 | except Exception: | CODE |
| MEDIUM⚡ | doc/scripts/extract-html-content.py | 76 | print(f"Error: Input file not found: {input_file}", file=sys.stderr) | CODE |
| LOW⚡ | doc/scripts/extract-html-content.py | 83 | except Exception as e: | CODE |
| MEDIUM⚡ | doc/scripts/extract-html-content.py | 84 | print(f"Error processing {input_file}: {e}", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …che/cassandra/io/compress/CompressionMetadataTest.java | 99 | // Step 1: Create a dictionary and add it to cache (simulating table with Zstd compression) | COMMENT |
| LOW | …che/cassandra/io/compress/CompressionMetadataTest.java | 117 | // Step 2: Open SSTable with dictionary (simulating CompressionMetadata) | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 139 | // Step 3: Schema change - close cache (simulating switch from Zstd to LZ4) | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 145 | // Step 4: Verify dictionary is still usable via CompressionMetadata | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 159 | // Step 5: Close CompressionMetadata (simulating SSTable being compacted away) | COMMENT |
| LOW⚡ | …che/cassandra/io/compress/CompressionMetadataTest.java | 164 | // Step 6: Dictionary is still usable because ZstdDictionaryCompressor cache holds a reference | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 340 | // Step 1: add new node as a write replica to all ranges it is gaining | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 359 | // Step 2: add new node as a read replica to the ranges it is gaining; remove old node from reads at the same ti | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 379 | // Step 3: finally remove the old node from writes | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 424 | // Step 1: Prepare Move, | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 438 | // Step 2: Start Move, add all potential owners to write quorums | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 460 | // Step 3: Mid Move, remove all nodes that are losing ranges from read quorums, add all nodes gaining ranges to | COMMENT |
| LOW | …cassandra/distributed/test/log/PlacementSimulator.java | 478 | // Step 4: Finish Move, remove all nodes that are losing ranges from write quorums | COMMENT |
| LOW⚡ | .claude/skills/tla-plus/scripts/check.sh | 18 | # Step 1: Translate PlusCal if the spec contains an algorithm | COMMENT |
| LOW⚡ | .claude/skills/tla-plus/scripts/check.sh | 25 | # Step 2: Parse with SANY | COMMENT |
| LOW⚡ | .claude/skills/tla-plus/scripts/check.sh | 30 | # Step 3: Run TLC | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1672 | # Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1674 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1743 | # Step 1: Set enabled=true and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra_latest.yaml | 1745 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1801 | # Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1803 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1879 | # Step 1: Set enabled=true and explicitly set optional=true. Restart all nodes | COMMENT |
| LOW⚡ | conf/cassandra.yaml | 1881 | # Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutual | COMMENT |
| LOW⚡ | src/java/org/apache/cassandra/tools/CMSOfflineTool.java | 197 | // Step 1: Default to the serialization version from the cluster metadata | COMMENT |
| LOW⚡ | src/java/org/apache/cassandra/tools/CMSOfflineTool.java | 200 | // Step 2: User-specified version takes precedence | COMMENT |
| LOW | src/java/org/apache/cassandra/tools/CMSOfflineTool.java | 213 | // Step 3: Current binary version must be able to handle the finalized version | COMMENT |
| LOW | …/org/apache/cassandra/index/sasi/disk/OnDiskIndex.java | 332 | // The save as with 'lower' but here we need to check if the upper is the last element of the block, | COMMENT |
| LOW | …apache/cassandra/service/FileSystemOwnershipCheck.java | 148 | // Step 1: Traverse the filesystem from each target dir upward, looking for marker files | COMMENT |
| LOW | …apache/cassandra/service/FileSystemOwnershipCheck.java | 200 | // Step 2: assert that the content of each file is identical | COMMENT |
| LOW | …apache/cassandra/service/FileSystemOwnershipCheck.java | 220 | // Step 3: validate the content of the properties from disk | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/ci/ci_parser.py | 204 | CODE | |
| LOW | .build/ci/cell_balance.py | 139 | CODE | |
| LOW | .build/sh/jmh-junit-report.py | 117 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 75 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 772 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 894 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1038 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1335 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1517 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1085 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1367 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1379 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1416 | CODE | |
| LOW | .build/run-ci.d/run_ci.py | 1417 | CODE | |
| LOW | pylib/cqlshlib/cqlhandling.py | 138 | CODE | |
| LOW | pylib/cqlshlib/cqlhandling.py | 180 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 2202 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 436 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 670 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 734 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 858 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 905 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 1143 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 1447 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 1798 | CODE | |
| LOW | pylib/cqlshlib/formatting.py | 297 | CODE | |
| LOW | pylib/cqlshlib/formatting.py | 184 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 210 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 677 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 806 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 1210 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 1268 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 1326 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 1909 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 2447 | CODE | |
| LOW | pylib/cqlshlib/copyutil.py | 1971 | CODE | |
| LOW | pylib/cqlshlib/pylexotron.py | 415 | CODE | |
| LOW | pylib/cqlshlib/cql3handling.py | 578 | CODE | |
| LOW | pylib/cqlshlib/cql3handling.py | 612 | CODE | |
| LOW | pylib/cqlshlib/test/ansi_colors.py | 153 | CODE | |
| LOW | pylib/cqlshlib/test/test_cqlsh_output.py | 619 | CODE | |
| LOW | pylib/cqlshlib/test/test_cqlsh_output.py | 779 | CODE | |
| LOW | pylib/cqlshlib/test/run_cqlsh.py | 191 | CODE | |
| LOW | pylib/cqlshlib/test/test_nodetool_completion.py | 150 | CODE | |
| LOW | .claude/skills/heatmap/heatmap.py | 185 | CODE | |
| LOW | .claude/skills/heatmap/heatmap.py | 223 | CODE | |
| LOW | .claude/skills/heatmap/heatmap.py | 396 | CODE | |
| LOW | formalise/accord/execution/tla/matrix.py | 374 | CODE | |
| LOW | formalise/accord/execution/tla/matrix.py | 475 | CODE | |
| LOW | formalise/accord/execution/tla/notify.py | 289 | CODE | |
| LOW | formalise/accord/execution/tla/notify.py | 358 | CODE | |
| LOW | doc/scripts/cqlprotodoc.py | 44 | CODE | |
| LOW | doc/scripts/convert_yaml_to_adoc.py | 60 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/git/install-git-defaults.sh | 89 | # make sure to use --git-common-dir and not --git-dir to support worktrees | COMMENT |
| LOW | .build/git/install-git-defaults.sh | 117 | # make sure to use --git-common-dir and not --git-dir to support worktrees | COMMENT |
| LOW | …d/git/git-hooks/post-checkout/100-update-submodules.sh | 29 | # In case the usage happens at a different layer, make sure to cd to the toplevel | COMMENT |
| LOW | …t/git-hooks/pre-commit/100-verify-submodules-pushed.sh | 58 | # In case the usage happens at a different layer, make sure to cd to the toplevel | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 64 | # initial_token allows you to specify tokens manually. While you can use it with | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 1082 | # you may want to adjust max_value_size accordingly. This should be positive and less than 2048. | COMMENT |
| MEDIUM | conf/cassandra.yaml | 61 | # initial_token allows you to specify tokens manually. While you can use it with | COMMENT |
| MEDIUM | conf/cassandra.yaml | 1100 | # you may want to adjust max_value_size accordingly. This should be positive and less than 2048. | COMMENT |
| MEDIUM | src/java/org/apache/cassandra/transport/Dispatcher.java | 522 | * It's worth noting that events are not generally fired as a direct response to a client request, | COMMENT |
| LOW | …/java/org/apache/cassandra/db/marshal/IntegerType.java | 442 | // Don't forget to add the first consumed value byte after determining whether leading zero should be added | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | .build/run-ci.d/run-ci-test.py | 138 | OSError('kubectl unavailable'), 'not JSON', '{}', '{"items": null}'] | CODE |
| HIGH | .build/run-ci.d/run_ci.py | 880 | # a queued item can carry "executable": null, so test the value and not the key | COMMENT |
| HIGH | pylib/cqlshlib/test/test_cqlsh_output.py | 933 | {{city: 'Chelyabinsk', address: '3rd street', zip: null}, {city: 'Chigirinsk', | STRING |
| HIGH | pylib/cqlshlib/test/test_cqlsh_output.py | 950 | {{country: null, number: '03'}, {country: '+7', number: null}} | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .build/sonar/sonar-setup-local.sh | 73 | # Create the access token for the project analysis | COMMENT |
| MEDIUM | test/conf/cassandra-mtls-backward-compatibility.yaml | 20 | # This file is used for testing mTLS authenticators | COMMENT |
| MEDIUM | test/conf/cassandra-mtls.yaml | 20 | # This file is used for testing mTLS authenticators | COMMENT |
| MEDIUM | conf/cassandra_latest.yaml | 10 | # This file is provided in two versions: | COMMENT |
| MEDIUM | conf/cassandra.yaml | 10 | # This file is provided in two versions: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/run-ci.d/run_ci.py | 915 | if node.get("placeholder"): | CODE |
| LOW | …ndra/io/compress/CompressedRandomAccessReaderTest.java | 242 | String CONTENT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam vitae."; | CODE |
| LOW | …ndra/io/compress/CompressedRandomAccessReaderTest.java | 242 | String CONTENT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam vitae."; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 333 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 333 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 390 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 390 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 462 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 462 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 532 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | …andra/utils/bytecomparable/ByteSourceSequenceTest.java | 532 | String stringValue = "Lorem ipsum dolor sit amet"; | CODE |
| LOW | test/resources/tokenization/lorem_ipsum.txt | 1 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna ali | CODE |
| LOW | test/resources/tokenization/lorem_ipsum.txt | 1 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna ali | CODE |
| LOW | …ache/cassandra/test/microbench/StringsEncodeBench.java | 49 | private String longText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| LOW | …ache/cassandra/test/microbench/StringsEncodeBench.java | 49 | private String longText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/docker/_prepopulate_maven_deps.sh | 36 | # Check if branch exists | COMMENT |
| LOW | .build/sh/ant-log-summary.py | 42 | # Check if build was successful first | COMMENT |
| LOW | pylib/cqlshlib/cqlshmain.py | 69 | # Check if tty first, as readline doesn't check and only cares about $TERM. | COMMENT |
| LOW | …aude/skills/write-reproducer/scripts/validate_repro.sh | 68 | # Check if the test failed (non-zero exit) | COMMENT |
| LOW | conf/cassandra-env.sh | 125 | # Set this to control the amount of arenas per-thread in glibc | COMMENT |
| LOW | conf/cassandra_latest.yaml | 1288 | # Set sstable_preemptive_open_interval to null for disabled which is equivalent to | COMMENT |
| LOW | conf/cassandra.yaml | 1315 | # Set sstable_preemptive_open_interval to null for disabled which is equivalent to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/ci/ci_parser.py | 34 | CODE | |
| LOW | .build/ci/junit_helpers.py | 30 | CODE | |
| LOW | .build/ci/junit_helpers.py | 30 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 23 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 28 | CODE | |
| LOW | pylib/cqlshlib/cqlshmain.py | 46 | CODE | |
| LOW | pylib/cqlshlib/cql3handling.py | 18 | CODE | |
| LOW | pylib/cqlshlib/test/test_cqlsh_output.py | 407 | CODE | |
| LOW | bin/cqlsh.py | 67 | CODE | |
| LOW | doc/scripts/gen-nodetool-docs.py | 20 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pylib/cqlshlib/cqlshmain.py | 268 | CODE | |
| LOW | pylib/cqlshlib/formatting.py | 62 | CODE | |
| LOW | pylib/cqlshlib/test/run_cqlsh.py | 244 | CODE | |
| LOW | pylib/cqlshlib/test/run_cqlsh.py | 284 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .build/ci/junit_helpers.py | 304 | def set_archive(self, name: str) -> None: | STRING |
| LOW | .build/ci/logging_helper.py | 94 | def set_loglevel(logger: logging.Logger, level: LogLevel) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …aude/skills/write-reproducer/scripts/validate_repro.sh | 4 | # Usage: | COMMENT |