Repository Analysis

apache/cassandra

Open source transactional distributed database. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure without compromising performance.

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of apache/cassandra, a Java project with 9,919 GitHub stars. SynthScan v2.0 examined 1,518,224 lines of code across 6750 source files, recording 1294 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
9.9K
Stars
Java
Language
1.5M
Lines of Code
6.8K
Files
1.3K
Pattern Hits
2026-07-14
Scan Date
0.04
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 227HIGH 58MEDIUM 90LOW 919

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1294 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators227 hits · 2765 pts
SeverityFileLineSnippetContext
CRITICAL.build/checkstyle.xml85 <property name="message" value="Avoid Instant.now() for time, should use org.apache.cassandra.util.FBUtilities.nowCODE
CRITICAL…t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java516 assertArrayEquals(values.toArray(), simpleStmt.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOCODE
CRITICAL…t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java683 assertArrayEquals(simpleStmt1.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOptions.DEFAULT.geCODE
CRITICAL…t/unit/org/apache/cassandra/fqltool/FQLReplayTest.java684 simpleStmt2.getValues(com.datastax.driver.core.ProtocolVersion.fromInt(QueryOptions.DEFAULT.geCODE
CRITICAL…fqltool/src/org/apache/cassandra/fqltool/FQLQuery.java257 return new FullQueryLogger.Batch(org.apache.cassandra.cql3.statements.BatchStatement.Type.valueOf(batchType.CODE
CRITICAL…resources/org/apache/cassandra/stress/graph/graph.html33},cur:function(){var a=Zb.propHooks[this.prop];return a&&a.get?a.get(this):Zb.propHooks._default.get(this)},run:functionCODE
CRITICAL…pache/cassandra/io/sstable/StressCQLSSTableWriter.java676 Directories directories = new Directories(tableMetadata, directoryList.stream().map(f -> new Directories.DatCODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java500 List<Generator> regularColumns = com.google.common.collect.Lists.newArrayList(metadata.regularAndStaticColumns()CODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java521 List<ColumnMetadata> allColumns = com.google.common.collect.Lists.newArrayList(metadata.allColumnsInSelectOrder(CODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java566 Set<com.datastax.driver.core.ColumnMetadata> keyColumns = com.google.common.collect.Sets.newHashSet(CODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java567 Set<com.datastax.driver.core.ColumnMetadata> allColumns = com.google.common.collect.Sets.newHashSet(CODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java572 com.google.common.collect.Sets.SetView diff = com.google.common.collect.Sets.difference(allColumCODE
CRITICAL…ess/src/org/apache/cassandra/stress/StressProfile.java752 Set<com.datastax.driver.core.ColumnMetadata> keyColumns = com.google.common.collect.Sets.newHashSet(tableMetCODE
CRITICAL…org/apache/cassandra/stress/generate/values/Lists.java54 return com.google.common.collect.Lists.newArrayList(Arrays.copyOf(buffer, size));CODE
CRITICAL…pache/cassandra/transport/ProtocolNegotiationTest.java171 if (requestedVersion.toInt() > org.apache.cassandra.transport.ProtocolVersion.CURRENT.asInt())CODE
CRITICAL…/unit/org/apache/cassandra/transport/TlsTestUtils.java214 com.datastax.driver.core.Cluster.Builder builder = com.datastax.driver.core.Cluster.builder()CODE
CRITICAL…st/unit/org/apache/cassandra/cql3/ViewComplexTest.java220 List<UntypedResultSet.Row> baseData = com.google.common.collect.Lists.newArrayList(iter);CODE
CRITICAL…st/unit/org/apache/cassandra/cql3/ViewComplexTest.java221 List<UntypedResultSet.Row> viewData = com.google.common.collect.Lists.newArrayList(viewIter);CODE
CRITICALtest/unit/org/apache/cassandra/cql3/ViewTest.java661 action = "org.apache.cassandra.cql3.ViewTest.blockViewBuild.countDown();")CODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java500 org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassanCODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java518 org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassanCODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java576 org.apache.cassandra.cql3.ResultSet.Flag.of(CODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java598 org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassandra.cql3.ResuCODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java624 if (org.apache.cassandra.cql3.ResultSet.Flag.contains(resultFlags, org.apache.cassandra.cql3.ResultSet.Flag.METACODE
CRITICAL…/org/apache/cassandra/cql3/PreparedStatementsTest.java640 assertEquals(org.apache.cassandra.cql3.ResultSet.Flag.of(org.apache.cassandra.cql3.ResultSet.Flag.GLOBAL_TABLES_CODE
CRITICAL…it/org/apache/cassandra/cql3/PstmtPersistenceTest.java208 action = "org.apache.cassandra.cql3.PstmtPersistenceTest.preparedStatementLoadTimestamps.put($key, CODE
CRITICAL…it/org/apache/cassandra/cql3/PstmtPersistenceTest.java213 action = "org.apache.cassandra.cql3.PstmtPersistenceTest.preparedStatementRemoveTimestamps.put($keyCODE
CRITICAL…it/org/apache/cassandra/cql3/PstmtPersistenceTest.java309 action = "org.apache.cassandra.cql3.PstmtPersistenceTest.nextPageReadQuery($this.query, $pageSize)")CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java405 com.datastax.driver.core.ProtocolVersion.fromInt(version.asInt());CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java815 builder = builder.withProtocolVersion(com.datastax.driver.core.ProtocolVersion.fromInt(version.asInt()));CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java1667 statement = statement.setConsistencyLevel(com.datastax.driver.core.ConsistencyLevel.valueOf(consistency.name()))CODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java1960 com.datastax.driver.core.ProtocolVersion version = com.datastax.driver.core.ProtocolVersion.fromInt(protocolVersCODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java2077 com.datastax.driver.core.ProtocolVersion version = com.datastax.driver.core.ProtocolVersion.fromInt(getDefaultVeCODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java2532 com.google.common.collect.Sets.SetView<List<ByteBuffer>> extra = com.google.common.collect.Sets.difference(actuaCODE
CRITICALtest/unit/org/apache/cassandra/cql3/CQLTester.java2533 com.google.common.collect.Sets.SetView<List<ByteBuffer>> missing = com.google.common.collect.Sets.difference(expCODE
CRITICAL…dra/cql3/validation/entities/UFIdentificationTest.java345 Set<String> expected = com.google.common.collect.Sets.newHashSet(function);CODE
CRITICAL…dra/cql3/validation/entities/UFIdentificationTest.java346 Set<String> actual = com.google.common.collect.Sets.newHashSet(Iterables.transform(stmt.getFunctions(),CODE
CRITICAL…dra/cql3/validation/entities/UFIdentificationTest.java348 assertTrue(com.google.common.collect.Sets.symmetricDifference(expected, actual).isEmpty());CODE
CRITICAL…dra/cql3/validation/entities/UFIdentificationTest.java354 return String.format(template, com.google.common.collect.Lists.asList(tableName, params).toArray());CODE
CRITICAL…cassandra/cql3/validation/entities/UFSecurityTest.java124 " org.apache.cassandra.utils.vint.VIntCoding.computeUnsignedVIntSize(0L); return 0d;" +CODE
CRITICAL…cassandra/cql3/validation/entities/UFVerifierTest.java163 assertEquals(new HashSet<>(Collections.singletonList("call to org.apache.cassandra.config.DatabaseDescriptor.getCODE
CRITICAL…st/unit/org/apache/cassandra/dht/BootStrapperTest.java127 action = "org.apache.cassandra.dht.BootStrapperTest.nonOptimizationHit.set(true)"),CODE
CRITICAL…st/unit/org/apache/cassandra/dht/BootStrapperTest.java131 action = "org.apache.cassandra.dht.BootStrapperTest.optimizationHit.set(true)") })CODE
CRITICAL…pache/cassandra/io/sstable/format/ColumnIndexTest.java127 action = "org.apache.cassandra.io.sstable.format.ColumnIndexTest.setRTBMLastInIndexBlock(CODE
CRITICAL…pache/cassandra/io/sstable/format/ColumnIndexTest.java133 action = "org.apache.cassandra.io.sstable.format.ColumnIndexTest.setRTBMLastInIndexBlock(CODE
CRITICAL…assandra/io/sstable/format/bti/LoadingBuilderTest.java50 action = "org.apache.cassandra.io.sstable.format.bti.LoadingBuilderTest.preloadsMap.put($1.path(), $3)")CODE
CRITICALtest/unit/org/apache/cassandra/utils/RangeTreeTest.java705 btree = org.apache.cassandra.utils.btree.IntervalBTree.update(btree, BTree.singleton(new Item(range.start(),CODE
CRITICAL…ache/cassandra/schema/SchemaStatementWarningsTest.java56 action = "org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarn()"),CODE
CRITICAL…ache/cassandra/schema/SchemaStatementWarningsTest.java61 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL…ache/cassandra/schema/SchemaStatementWarningsTest.java66 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL…ache/cassandra/schema/SchemaStatementWarningsTest.java82 action = "org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarn()"),CODE
CRITICAL…ache/cassandra/schema/SchemaStatementWarningsTest.java87 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL…ache/cassandra/schema/SchemaStatementWarningsTest.java92 action = "return org.apache.cassandra.schema.SchemaStatementWarningsTest.addWarnToList($!CODE
CRITICAL…che/cassandra/schema/TupleTypesRepresentationTest.java153 // "org.apache.cassandra.db.marshal.UserType(ks,6d635f756474,61:org.apache.cassandra.db.marshal.UTF8Type,62:oCOMMENT
CRITICAL…che/cassandra/schema/TupleTypesRepresentationTest.java210 // "org.apache.cassandra.db.marshal.ListType(org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandraCOMMENT
CRITICAL…che/cassandra/schema/TupleTypesRepresentationTest.java226 // "org.apache.cassandra.db.marshal.SetType(org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandra.COMMENT
CRITICAL…che/cassandra/schema/TupleTypesRepresentationTest.java242 // "org.apache.cassandra.db.marshal.MapType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.dbCOMMENT
CRITICAL…che/cassandra/schema/TupleTypesRepresentationTest.java145 "org.apache.cassandra.db.marshal.TupleType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.CODE
CRITICAL…che/cassandra/schema/TupleTypesRepresentationTest.java160 "org.apache.cassandra.db.marshal.FrozenType(org.apache.cassandra.db.marshal.UserType(ks,665f756474,61:org.apCODE
CRITICAL…che/cassandra/schema/TupleTypesRepresentationTest.java167 "org.apache.cassandra.db.marshal.ListType(org.apache.cassandra.db.marshal.UTF8Type)",CODE
167 more matches not shown…
Over-Commented Block534 hits · 388 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWTESTING.md1<!--COMMENT
LOWbuild-shaded-dtest-jar.sh1#!/bin/bashCOMMENT
LOWCONTRIBUTING.md1<!--COMMENT
LOW.build/run-tests.sh1#!/bin/bashCOMMENT
LOW.build/build-artifacts.sh1#!/bin/sh -eCOMMENT
LOW.build/build-jars.sh1#!/bin/sh -eCOMMENT
LOW.build/run-python-dtests.sh1#!/bin/bashCOMMENT
LOW.build/check-code.sh1#!/bin/sh -eCOMMENT
LOW.build/rat-include-accord.sh1#!/usr/bin/env bashCOMMENT
LOW.build/docker/_build-debian.sh1#!/bin/bashCOMMENT
LOW.build/docker/_docker_run.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-redhat.sh1#!/bin/bashCOMMENT
LOW.build/docker/run-tests.sh1#!/bin/bashCOMMENT
LOW.build/docker/_docker_init_tests.sh1#!/bin/bashCOMMENT
LOW.build/docker/_set_java.sh1#!/bin/bash -eCOMMENT
LOW.build/docker/build-artifacts.sh1#!/bin/bashCOMMENT
LOW.build/docker/_create_user.sh1#!/bin/bashCOMMENT
LOW.build/docker/_build-redhat.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-docs.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-debian.sh1#!/bin/bashCOMMENT
LOW.build/docker/build-jars.sh1#!/bin/bashCOMMENT
LOW.build/docker/_copy_ccm_repositories.sh1#!/bin/bashCOMMENT
LOW.build/docker/_prepopulate_maven_deps.sh1#!/bin/bashCOMMENT
LOW.build/docker/check-code.sh1#!/bin/shCOMMENT
LOW.build/ci/requirements.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/ci/ci_parser.py1#!/usr/bin/env python3COMMENT
LOW.build/ci/junit_helpers.py1#!/usr/bin/env python3COMMENT
LOW.build/ci/generate-test-report.sh1#!/bin/sh -eCOMMENT
LOW.build/ci/generate-ci-summary.sh1#!/bin/sh -eCOMMENT
LOW.build/ci/generate-ci-summary.sh21# For example:COMMENT
LOW.build/ci/precommit_check.sh1#!/bin/bashCOMMENT
LOW.build/ci/logging.sh1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/ci/logging_helper.py1#!/usr/bin/env python3COMMENT
LOW.build/sh/change-submodule-accord.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sh/bump-accord.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sh/ant-log-summary.py1#!/usr/bin/env python3COMMENT
LOW.build/sh/change-submodule.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sh/development-switch.sh1#!/usr/bin/env bashCOMMENT
LOW.build/sonar/sonar-report.sh1#!/bin/bashCOMMENT
LOW.build/sonar/sonar-setup-local.sh1#COMMENT
LOW.build/run-ci.d/run-ci-test.py1#!/usr/bin/env pythonCOMMENT
LOW.build/run-ci.d/requirements.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.build/run-ci.d/run_ci.py1#!/usr/bin/env pythonCOMMENT
LOW.build/git/install-git-defaults.sh1#!/usr/bin/env bashCOMMENT
LOW…d/git/git-hooks/post-checkout/100-update-submodules.sh1#!/usr/bin/env bashCOMMENT
LOW…t/git-hooks/pre-commit/100-verify-submodules-pushed.sh1#!/usr/bin/env bashCOMMENT
LOW…t/git-hooks/pre-commit/100-verify-submodules-pushed.sh41COMMENT
LOWide/nbproject/update-netbeans-classpaths.sh1#!/bin/bashCOMMENT
LOWtools/cqlstress-counter-example.yaml1#COMMENT
LOWtools/cqlstress-counter-example.yaml41# The min and max only apply to text and blob typesCOMMENT
LOWtools/cqlstress-example.yaml1#COMMENT
LOWtools/cqlstress-example.yaml41 ival int,COMMENT
LOWtools/cqlstress-insanity-example.yaml1#COMMENT
LOWtools/cqlstress-insanity-example.yaml41 fval float,COMMENT
LOWtools/bin/cassandra.in.sh1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…pache/cassandra/stress/generate/PartitionIterator.java181COMMENT
LOWpylib/requirements.txt1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpylib/cassandra-cqlsh-tests.sh1#!/bin/bashCOMMENT
LOWpylib/setup.py1#!/usr/bin/env python3COMMENT
474 more matches not shown…
Synthetic Comment Markers56 hits · 205 pts
SeverityFileLineSnippetContext
HIGH.circleci/config_template.yml3329 # Run each test class as many times as requested.COMMENT
HIGH.circleci/config_template.yml3502 # Run the test target as many times as requested collecting the exit code,COMMENT
HIGH.circleci/config.yml3172 # Run the test target as many times as requested collecting the exit code,COMMENT
HIGH.circleci/config.yml4237 # Run the test target as many times as requested collecting the exit code,COMMENT
HIGH.circleci/config.yml56 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml56 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml442 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml442 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1486 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1486 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1808 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml1808 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2420 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2420 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2732 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2732 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2897 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml2897 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3394 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3394 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3707 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml3707 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4599 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4599 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4883 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4883 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4975 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml4975 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5246 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5246 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5647 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml5647 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6356 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6356 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6670 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml6670 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7031 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7031 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7123 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml7123 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8370 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8370 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8931 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml8931 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9096 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9096 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9273 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9273 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9438 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9438 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9616 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9616 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9841 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9841 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9932 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
HIGH.circleci/config.yml9932 command: "set -x\nexport PATH=$JAVA_HOME/bin:$PATH\ntime mv ~/cassandra /tmp\ncd /tmp/cassandra\nif [ -d ~/dtestCODE
Hyper-Verbose Identifiers169 hits · 143 pts
SeverityFileLineSnippetContext
LOW.build/sh/ant-log-summary.py72def extract_compilation_errors(content):CODE
LOW.build/run-ci.d/run-ci-test.py79 def test_trigger_jenkins_build(self, mock_wait_for_build_number, mock_build_job):CODE
LOW.build/run-ci.d/run-ci-test.py92 def test_delete_remote_junit_files(self, mock_stream):CODE
LOW.build/run-ci.d/run-ci-test.py98 def test_cleanup_and_maybe_teardown(self, mock_run):CODE
LOW.build/run-ci.d/run-ci-test.py103 def test_helm_installation_lock(self, mock_flock):CODE
LOW.build/run-ci.d/run_ci.py310def ensure_job_parameters_visible(server: jenkins.Jenkins, job_name: str):CODE
LOW.build/run-ci.d/run_ci.py329def ensure_cassandra_job_parameters_visible(server: jenkins.Jenkins):CODE
LOW.build/run-ci.d/run_ci.py440 def get_first_node_provider_id() -> Optional[str]:CODE
LOW.build/run-ci.d/run_ci.py620def delete_remote_junit_files(k8s_client, pod_name: str, kube_ns: str, base_job_name: str, build_number: int):CODE
LOW.build/run-ci.d/run_ci.py628def download_results_and_print_summary(k8s_client, pod_name: str, kube_ns: str, build_number: int, ip: str, args):CODE
LOW.build/run-ci.d/run_ci.py675 def print_results_summary_console(local_console_log):CODE
LOW.build/run-ci.d/run_ci.py692 def print_results_summary_ci_summary(ci_summary_file):CODE
LOW.build/run-ci.d/run_ci.py780def cleanup_and_maybe_teardown(kubeconfig: Optional[str], kubecontext: Optional[str], kube_ns: str, tear_down: bool):CODE
LOWpylib/cqlshlib/authproviderhandling.py26def _warn_for_plain_text_security(config_file, provider_settings):CODE
LOWpylib/cqlshlib/authproviderhandling.py123 def get_auth_provider_settings(conf_file):CODE
LOWpylib/cqlshlib/cqlshhandling.py266def complete_source_quoted_filename(ctxt, cqlsh):STRING
LOWpylib/cqlshlib/cqlshhandling.py300def complete_copy_column_names(ctxt, cqlsh):STRING
LOWpylib/cqlshlib/tracing.py98def datetime_from_utc_to_local(utc_datetime):CODE
LOWpylib/cqlshlib/util.py92def get_file_encoding_bomsize(filename):CODE
LOWpylib/cqlshlib/cqlshmain.py223def show_warning_without_quoting_line(message, category, filename, lineno, file=None, line=None):CODE
LOWpylib/cqlshlib/cqlshmain.py490 def get_materialized_view_names(self, ksname=None):CODE
LOWpylib/cqlshlib/cqlshmain.py1044 def print_formatted_result_vertically(self, formatted_names, formatted_values, row_count_offset):CODE
LOWpylib/cqlshlib/cqlshmain.py1282 def print_keyspace_element_names(self, keyspace, names):CODE
LOWpylib/cqlshlib/cqlshmain.py2165 def deserialize_date_fallback_int(byts, protocol_version):STRING
LOWpylib/cqlshlib/formatting.py260def format_python_formatted_type(val, colormap, color, quote=False):CODE
LOWpylib/cqlshlib/formatting.py297def format_floating_point_type(val, colormap, float_precision, decimal_sep=None, thousands_sep=None, **_):CODE
LOWpylib/cqlshlib/formatting.py335def format_integer_with_thousands_sep(val, thousands_sep=','):CODE
LOWpylib/cqlshlib/formatting.py471def number_of_extra_bytes_to_read(b):CODE
LOWpylib/cqlshlib/copyutil.py2487 def make_statement_with_failures(query, conv, chunk, batch, replicas):CODE
LOWpylib/cqlshlib/copyutil.py2495 def make_counter_batch_statement(self, query, conv, batch, replicas):CODE
LOWpylib/cqlshlib/copyutil.py1887 def _get_primary_key_statement(parent, table_meta):CODE
LOWpylib/cqlshlib/copyutil.py2186 def get_null_primary_key_message(self, idx):CODE
LOWpylib/cqlshlib/copyutil.py2193 def get_row_partition_key_values_fcn(self):CODE
LOWpylib/cqlshlib/copyutil.py2204 def serialize_value_not_prepared(n, v):CODE
LOWpylib/cqlshlib/copyutil.py2302 def replica_is_not_overloaded(r):CODE
LOWpylib/cqlshlib/copyutil.py2512 def make_prepared_batch_statement(self, query, _, batch, replicas):CODE
LOWpylib/cqlshlib/copyutil.py2529 def make_non_prepared_batch_statement(self, query, _, batch, replicas):CODE
LOWpylib/cqlshlib/pylexotron.py137 def try_registered_completion(ctxt, symname, completions):CODE
LOWpylib/cqlshlib/cql3handling.py458def prop_val_mapkey_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py466def prop_val_mapval_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py474def prop_val_mapender_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py963def select_group_column_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py973def relation_token_word_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py978def relation_token_subject_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py984def select_relation_lhs_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1135def update_counterop_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1142def update_counter_inc_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1151def update_listadder_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1168def update_indexbracket_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1178def update_udt_field_dot_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1185def assignment_udt_field_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1209def condition_indexbracket_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1219def condition_udt_field_dot_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1226def condition_udt_field_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1391def create_cf_composite_primary_key_keyword_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1396def create_cf_composite_primary_key_paren_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py1401def create_cf_composite_primary_key_comma_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py497def ks_prop_val_mapkey_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py516def ks_prop_val_mapval_completer(ctxt, cass):STRING
LOWpylib/cqlshlib/cql3handling.py526def ks_prop_val_mapender_completer(ctxt, cass):STRING
109 more matches not shown…
Structural Annotation Overuse59 hits · 113 pts
SeverityFileLineSnippetContext
LOW…che/cassandra/io/compress/CompressionMetadataTest.java99 // Step 1: Create a dictionary and add it to cache (simulating table with Zstd compression)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java117 // Step 2: Open SSTable with dictionary (simulating CompressionMetadata)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java139 // Step 3: Schema change - close cache (simulating switch from Zstd to LZ4)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java145 // Step 4: Verify dictionary is still usable via CompressionMetadataCOMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java159 // Step 5: Close CompressionMetadata (simulating SSTable being compacted away)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java164 // Step 6: Dictionary is still usable because ZstdDictionaryCompressor cache holds a referenceCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java340 // Step 1: add new node as a write replica to all ranges it is gainingCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java359 // Step 2: add new node as a read replica to the ranges it is gaining; remove old node from reads at the same tiCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java379 // Step 3: finally remove the old node from writesCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java424 // Step 1: Prepare Move,COMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java438 // Step 2: Start Move, add all potential owners to write quorumsCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java460 // 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.java478 // Step 4: Finish Move, remove all nodes that are losing ranges from write quorumsCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md13### Step 1: Identify the Abstraction LevelCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md22### Step 2: Map Code Constructs to TLA+COMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md40### Step 3: Write the SpecCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md151### Step 1: Write a Minimal SpecCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md154### Step 2: Run with Small ConstantsCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md162### Step 3: Look for These SymptomsCOMMENT
LOW…de/skills/tla-plus/references/patterns/code-to-spec.md172### Step 4: Translate Error Trace to Code PathCOMMENT
LOW.claude/skills/tla-plus/scripts/check.sh18# Step 1: Translate PlusCal if the spec contains an algorithmCOMMENT
LOW.claude/skills/tla-plus/scripts/check.sh25# Step 2: Parse with SANYCOMMENT
LOW.claude/skills/tla-plus/scripts/check.sh30# Step 3: Run TLCCOMMENT
LOW.claude/skills/heatmap/SKILL.md27### Step 1: Determine the repository path and scopeCOMMENT
LOW.claude/skills/heatmap/SKILL.md37### Step 2: Run repo-level heatmapCOMMENT
LOW.claude/skills/heatmap/SKILL.md47### Step 3: Cross-reference with the task contextCOMMENT
LOW.claude/skills/heatmap/SKILL.md62### Step 4: Run line-level heatmap on top candidatesCOMMENT
LOW.claude/skills/heatmap/SKILL.md72### Step 5: Identify hot zonesCOMMENT
LOW.claude/skills/heatmap/SKILL.md85### Step 6: Produce the review focus listCOMMENT
LOW.claude/skills/heatmap/SKILL.md100### Step 7: Deep reviewCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md44### Step 1: Identify the Change TypeCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md52### Step 2: Understand the Before StateCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md57### Step 3: Understand the After StateCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md62### Step 4: Analyze the TransitionCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md68### Step 5: Visualize Before/AfterCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md75### Step 6: Deep ReasoningCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md87### Step 1: Identify PurposeCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md92### Step 2: Map the StructureCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md99### Step 3: Trace Key WorkflowsCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md106### Step 4: Identify State & TransitionsCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md112### Step 5: Analyze InteractionsCOMMENT
LOW…kills/patch-explainer/references/analysis_framework.md118### Step 6: Deep ReasoningCOMMENT
LOWconf/cassandra_latest.yaml1643# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra_latest.yaml1645# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra_latest.yaml1714# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra_latest.yaml1716# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra_latest.yaml1515# WARNING: This legacy snitch has been deprecated and is scheduled to be removed in a futureCOMMENT
LOWconf/cassandra.yaml1761# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra.yaml1763# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra.yaml1839# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra.yaml1841# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra.yaml1558# WARNING: This snitch is deprecated and it is scheduled to be removedCOMMENT
LOWconf/cassandra.yaml1631# WARNING: This legacy snitch has been deprecated and is scheduled to be removed in a futureCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java197 // Step 1: Default to the serialization version from the cluster metadataCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java200 // Step 2: User-specified version takes precedenceCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java213 // Step 3: Current binary version must be able to handle the finalized versionCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java148 // Step 1: Traverse the filesystem from each target dir upward, looking for marker filesCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java200 // Step 2: assert that the content of each file is identicalCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java220 // Step 3: validate the content of the properties from diskCOMMENT
Modern AI Meta-Vocabulary31 hits · 92 pts
SeverityFileLineSnippetContext
MEDIUM…andra/tools/nodetool/GuardrailsConfigCommandsTest.java102 // it would be quite cumbersome to test all guardrails are settable, so we willCOMMENT
MEDIUM…/guardrails/GuardrailMinimumReplicationFactorTest.java89 // filtering out non-guardrails produced warningsCOMMENT
MEDIUM…/guardrails/GuardrailMaximumReplicationFactorTest.java72 // filtering out non-guardrails produced warningsCOMMENT
MEDIUM…/GuardrailDataDiskUsageKeyspaceWideProtectionTest.java78 // create a regular user, since the default superuser is excluded from guardrailsCOMMENT
MEDIUM…istributed/test/guardrails/GuardrailDiskUsageTest.java88 // create a regular user, since the default superuser is excluded from guardrailsCOMMENT
MEDIUM…andra/distributed/test/guardrails/GuardrailTester.java71 // create a regular user, since the default superuser is excluded from guardrailsCOMMENT
MEDIUM.claude/skills/targeted-review/SKILL.md255## Pitfalls and guardrailsCOMMENT
MEDIUMconf/cassandra_latest.yaml2347# Configures the disk usage guardrails to block all writes to a keyspace if any node which replicates that keyspaceCOMMENT
MEDIUMconf/cassandra_latest.yaml2371# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2376# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2403# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2408# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra_latest.yaml2505# An operator can use special "unknown" and "unset" entries for both guardrails with a placeholder version.COMMENT
MEDIUMconf/cassandra.yaml2573# Configures the disk usage guardrails to block all writes to a keyspace if any node which replicates that keyspaceCOMMENT
MEDIUMconf/cassandra.yaml2597# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2602# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2623# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2628# # package name org.apache.cassandra.db.guardrails is prepended.COMMENT
MEDIUMconf/cassandra.yaml2745# An operator can use special "unknown" and "unset" entries for both guardrails with a placeholder version.COMMENT
MEDIUM…/cassandra/tools/nodetool/GuardrailsConfigCommand.java97 // TODO for now remove custom guardrailsCOMMENT
MEDIUM…c/java/org/apache/cassandra/cql3/RowUpdateBuilder.java258 else if (cql3Type.equals(CQL3Type.Native.TEXT)) // text and varchar size specific guardrailsCODE
MEDIUM…ssandra/cql3/statements/schema/AlterViewStatement.java59 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…sandra/cql3/statements/schema/CreateViewStatement.java129 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…sandra/cql3/statements/schema/AlterTableStatement.java114 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…andra/cql3/statements/schema/AlterSchemaStatement.java115 // Cache our ClientState for use by guardrailsCOMMENT
MEDIUM…andra/cql3/statements/schema/AlterSchemaStatement.java185 // Such failures may be dependent on the specific node's config (for things like guardrails/memtableCOMMENT
MEDIUM…andra/cql3/statements/schema/CreateIndexStatement.java134 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…andra/cql3/statements/schema/CreateIndexStatement.java180 // guardrails to limit number of secondary indexes per table.COMMENT
MEDIUM…ssandra/cql3/statements/schema/AlterTypeStatement.java130 // save the query state to use it for guardrails validation in #applyCOMMENT
MEDIUM…/org/apache/cassandra/service/StorageServiceMBean.java1285 // warning thresholds will be replaced by equivalent guardrailsCOMMENT
MEDIUM…ssandra/service/accord/txn/AccordUpdateParameters.java84 // For the time being, guardrails are disabled for Accord queries.COMMENT
Verbosity Indicators31 hits · 59 pts
SeverityFileLineSnippetContext
LOW…che/cassandra/io/compress/CompressionMetadataTest.java99 // Step 1: Create a dictionary and add it to cache (simulating table with Zstd compression)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java117 // Step 2: Open SSTable with dictionary (simulating CompressionMetadata)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java139 // Step 3: Schema change - close cache (simulating switch from Zstd to LZ4)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java145 // Step 4: Verify dictionary is still usable via CompressionMetadataCOMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java159 // Step 5: Close CompressionMetadata (simulating SSTable being compacted away)COMMENT
LOW…che/cassandra/io/compress/CompressionMetadataTest.java164 // Step 6: Dictionary is still usable because ZstdDictionaryCompressor cache holds a referenceCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java340 // Step 1: add new node as a write replica to all ranges it is gainingCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java359 // Step 2: add new node as a read replica to the ranges it is gaining; remove old node from reads at the same tiCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java379 // Step 3: finally remove the old node from writesCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java424 // Step 1: Prepare Move,COMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java438 // Step 2: Start Move, add all potential owners to write quorumsCOMMENT
LOW…cassandra/distributed/test/log/PlacementSimulator.java460 // 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.java478 // Step 4: Finish Move, remove all nodes that are losing ranges from write quorumsCOMMENT
LOW.claude/skills/tla-plus/scripts/check.sh18# Step 1: Translate PlusCal if the spec contains an algorithmCOMMENT
LOW.claude/skills/tla-plus/scripts/check.sh25# Step 2: Parse with SANYCOMMENT
LOW.claude/skills/tla-plus/scripts/check.sh30# Step 3: Run TLCCOMMENT
LOWconf/cassandra_latest.yaml1643# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra_latest.yaml1645# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra_latest.yaml1714# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra_latest.yaml1716# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra.yaml1761# Step 1: Set internode_encryption=<dc|rack|all> and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra.yaml1763# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWconf/cassandra.yaml1839# Step 1: Set enabled=true and explicitly set optional=true. Restart all nodesCOMMENT
LOWconf/cassandra.yaml1841# Step 2: Set optional=false (or remove it) and if you generated truststores and want to use mutualCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java197 // Step 1: Default to the serialization version from the cluster metadataCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java200 // Step 2: User-specified version takes precedenceCOMMENT
LOWsrc/java/org/apache/cassandra/tools/CMSOfflineTool.java213 // Step 3: Current binary version must be able to handle the finalized versionCOMMENT
LOW…/org/apache/cassandra/index/sasi/disk/OnDiskIndex.java332 // 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.java148 // Step 1: Traverse the filesystem from each target dir upward, looking for marker filesCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java200 // Step 2: assert that the content of each file is identicalCOMMENT
LOW…apache/cassandra/service/FileSystemOwnershipCheck.java220 // Step 3: validate the content of the properties from diskCOMMENT
Excessive Try-Catch Wrapping49 hits · 58 pts
SeverityFileLineSnippetContext
LOW.build/ci/ci_parser.py157 except Exception as e:STRING
MEDIUM.build/sh/ant-log-summary.py109 print(f"Error: Log file '{args.log_file}' not found")CODE
LOW.build/sh/ant-log-summary.py111 except Exception as e:CODE
MEDIUM.build/sh/ant-log-summary.py112 print(f"Error reading log file: {e}")CODE
MEDIUM.build/run-ci.d/run_ci.py61 print("Error: The required shared library 'lookup3.so' is missing.")CODE
LOWpylib/cqlshlib/cqlhandling.py307 except Exception:CODE
MEDIUMpylib/cqlshlib/cqlshmain.py881def parse_for_select_meta(self, query_string):CODE
LOWpylib/cqlshlib/cqlshmain.py431 except Exception as e:CODE
LOWpylib/cqlshlib/cqlshmain.py787 except Exception as e:CODE
LOWpylib/cqlshlib/cqlshmain.py876 except Exception as err:CODE
LOWpylib/cqlshlib/cqlshmain.py917 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py925 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py1081 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py1242 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2299 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2304 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2315 except Exception:CODE
LOWpylib/cqlshlib/cqlshmain.py2320 except Exception:CODE
MEDIUMpylib/cqlshlib/copyutil.py893def make_source(fname):CODE
MEDIUMpylib/cqlshlib/copyutil.py2018def convert_datetime(val, **_):CODE
MEDIUMpylib/cqlshlib/copyutil.py2479def make_statement(query, conv, chunk, batch, replicas):CODE
MEDIUMpylib/cqlshlib/copyutil.py2551def convert_row(r):CODE
LOWpylib/cqlshlib/copyutil.py2475 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py2482 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py143 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py1185 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py1367 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py1666 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py1737 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py2172 except Exception as e:CODE
LOWpylib/cqlshlib/copyutil.py2395 except Exception as exc:CODE
LOWpylib/cqlshlib/copyutil.py2554 except Exception as err:CODE
LOWpylib/cqlshlib/copyutil.py2626 except Exception as e:CODE
LOWpylib/cqlshlib/pylexotron.py149 except Exception:CODE
MEDIUMpylib/cqlshlib/cql3handling.py924def ref_udf_name_completer(ctxt, cass):CODE
LOWpylib/cqlshlib/cql3handling.py690 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py704 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py722 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py891 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py904 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py917 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py927 except Exception:STRING
LOWpylib/cqlshlib/cql3handling.py1553 except Exception:STRING
LOW…de/skills/write-reproducer/references/test-patterns.md152 except Exception as e:CODE
LOWdoc/scripts/gen-antora-yml.py37 except Exception as e:CODE
LOWdoc/scripts/gen-antora-yml.py55 except Exception:CODE
MEDIUMdoc/scripts/extract-html-content.py76 print(f"Error: Input file not found: {input_file}", file=sys.stderr)CODE
LOWdoc/scripts/extract-html-content.py83 except Exception as e:CODE
MEDIUMdoc/scripts/extract-html-content.py84 print(f"Error processing {input_file}: {e}", file=sys.stderr)CODE
AI Slop Vocabulary22 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUM.build/ci/ci_parser.py50# TODO: Change this paradigm to a full "input dir translates into output file", where output file includes some uuidSTRING
MEDIUM.build/ci/logging_helper.py52 # Some decorations to match the paradigm used in some other .sh filesCOMMENT
LOW.build/ci/logging_helper.py80 # Don't want color escape characters in our file logging, so we just use the string rather than the whole formatterCOMMENT
MEDIUMpylib/cqlshlib/cql3handling.py1341 # Definitely some of these aren't valid for ordering, but I'm not sureSTRING
MEDIUM…unit/org/apache/cassandra/cql3/ast/CreateIndexDDL.java43//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.java142 // .close(), and .isOpen() are "final", so need to leverage implCloseChannelCOMMENT
MEDIUMtest/burn/org/apache/cassandra/net/Verifier.java1139 // TODO: this should be robust to re-ordering; should perhaps extract a common mCOMMENT
MEDIUM…ed/org/apache/cassandra/distributed/impl/Instance.java1333 // helps map the location... the reason we can't leverage here is the timeout logic is higher up, soCOMMENT
MEDIUM…ache/cassandra/test/microbench/StringsEncodeBench.java75 int size = cb.capacity() - cb.writerIndex(); // leverage the pre-calculated encodeSizeCODE
MEDIUM…ache/cassandra/test/microbench/StringsEncodeBench.java108 int size = cb.capacity() - cb.writerIndex(); // leverage the pre-calculated encodeSizeCODE
MEDIUMconf/cassandra_latest.yaml14# This version is provided to facilitate pain-free upgrades for existingCOMMENT
MEDIUMconf/cassandra_latest.yaml2014# each write which may be lower in order to facilitate availability.COMMENT
MEDIUMconf/cassandra.yaml14# This version is provided to facilitate pain-free upgrades for existingCOMMENT
MEDIUMconf/cassandra.yaml2157# each write which may be lower in order to facilitate availability.COMMENT
MEDIUMsrc/java/org/apache/cassandra/net/MessagingService.java242 // what the "current" is, so need to leverage MessagingService's field as it uses DatabaseDescriptorCOMMENT
MEDIUM…g/apache/cassandra/transport/PipelineConfigurator.java184 // Essentially just a Consumer<Channel> which may throwCOMMENT
LOW…g/apache/cassandra/cql3/statements/CQL3CasRequest.java181 // want this to be a problem (see #12867 in particular), so we simply return (the condition itself hasCOMMENT
MEDIUM…java/org/apache/cassandra/config/JMXServerOptions.java199 // in the `cassandra.yaml`. Since the JMX SSL Config can also leverage it as per CASSANDRA-18508, password fileCOMMENT
MEDIUM…/org/apache/cassandra/auth/jmx/AuthorizationProxy.java254 // robust, but we have no control over which Principals a given LoginModuleCOMMENT
MEDIUM…org/apache/cassandra/tcm/sequences/ReconfigureCMS.java333 // topology change. Essentially ensuring that the pre- and post- change quorums overlap.COMMENT
MEDIUM…ava/org/apache/cassandra/tcm/membership/NodeState.java45 // TODO: probably we can make these states even more nuanced, and track which step each node is on to have a simplerCOMMENT
MEDIUMsrc/java/org/apache/cassandra/gms/HeartBeatState.java64 // It is also known that negative version isn't allowed, so can leverage this toCOMMENT
Decorative Section Separators18 hits · 54 pts
SeverityFileLineSnippetContext
MEDIUM.claude/skills/heatmap/heatmap.py40# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py42# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py62# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py64# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py89# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py91# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py148# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py150# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py173# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py175# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py210# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py212# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py282# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py284# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py440# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py442# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py524# ═══════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM.claude/skills/heatmap/heatmap.py526# ═══════════════════════════════════════════════════════════════════════════════COMMENT
Deep Nesting42 hits · 32 pts
SeverityFileLineSnippetContext
LOW.build/ci/ci_parser.py204CODE
LOW.build/run-ci.d/run_ci.py67CODE
LOW.build/run-ci.d/run_ci.py385CODE
LOW.build/run-ci.d/run_ci.py628CODE
LOW.build/run-ci.d/run_ci.py795CODE
LOW.build/run-ci.d/run_ci.py418CODE
LOW.build/run-ci.d/run_ci.py675CODE
LOW.build/run-ci.d/run_ci.py692CODE
LOWpylib/cqlshlib/cqlhandling.py138CODE
LOWpylib/cqlshlib/cqlhandling.py180CODE
LOWpylib/cqlshlib/cqlshmain.py2183CODE
LOWpylib/cqlshlib/cqlshmain.py436CODE
LOWpylib/cqlshlib/cqlshmain.py670CODE
LOWpylib/cqlshlib/cqlshmain.py734CODE
LOWpylib/cqlshlib/cqlshmain.py858CODE
LOWpylib/cqlshlib/cqlshmain.py905CODE
LOWpylib/cqlshlib/cqlshmain.py1124CODE
LOWpylib/cqlshlib/cqlshmain.py1428CODE
LOWpylib/cqlshlib/cqlshmain.py1779CODE
LOWpylib/cqlshlib/formatting.py297CODE
LOWpylib/cqlshlib/formatting.py184CODE
LOWpylib/cqlshlib/copyutil.py210CODE
LOWpylib/cqlshlib/copyutil.py677CODE
LOWpylib/cqlshlib/copyutil.py806CODE
LOWpylib/cqlshlib/copyutil.py1210CODE
LOWpylib/cqlshlib/copyutil.py1268CODE
LOWpylib/cqlshlib/copyutil.py1324CODE
LOWpylib/cqlshlib/copyutil.py1904CODE
LOWpylib/cqlshlib/copyutil.py2442CODE
LOWpylib/cqlshlib/copyutil.py1966CODE
LOWpylib/cqlshlib/pylexotron.py415CODE
LOWpylib/cqlshlib/cql3handling.py578CODE
LOWpylib/cqlshlib/cql3handling.py612CODE
LOWpylib/cqlshlib/test/ansi_colors.py153CODE
LOWpylib/cqlshlib/test/test_cqlsh_output.py619CODE
LOWpylib/cqlshlib/test/test_cqlsh_output.py713CODE
LOWpylib/cqlshlib/test/run_cqlsh.py191CODE
LOW.claude/skills/heatmap/heatmap.py185CODE
LOW.claude/skills/heatmap/heatmap.py223CODE
LOW.claude/skills/heatmap/heatmap.py396CODE
LOWdoc/scripts/cqlprotodoc.py44CODE
LOWdoc/scripts/convert_yaml_to_adoc.py60CODE
Slop Phrases10 hits · 22 pts
SeverityFileLineSnippetContext
LOW.build/git/install-git-defaults.sh89 # make sure to use --git-common-dir and not --git-dir to support worktreesCOMMENT
LOW.build/git/install-git-defaults.sh117 # make sure to use --git-common-dir and not --git-dir to support worktreesCOMMENT
LOW…d/git/git-hooks/post-checkout/100-update-submodules.sh29 # In case the usage happens at a different layer, make sure to cd to the toplevelCOMMENT
LOW…t/git-hooks/pre-commit/100-verify-submodules-pushed.sh58 # In case the usage happens at a different layer, make sure to cd to the toplevelCOMMENT
MEDIUMconf/cassandra_latest.yaml64# initial_token allows you to specify tokens manually. While you can use it withCOMMENT
MEDIUMconf/cassandra_latest.yaml1053# you may want to adjust max_value_size accordingly. This should be positive and less than 2048.COMMENT
MEDIUMconf/cassandra.yaml61# initial_token allows you to specify tokens manually. While you can use it withCOMMENT
MEDIUMconf/cassandra.yaml1068# you may want to adjust max_value_size accordingly. This should be positive and less than 2048.COMMENT
MEDIUMsrc/java/org/apache/cassandra/transport/Dispatcher.java521 * 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.java442 // Don't forget to add the first consumed value byte after determining whether leading zero should be addedCOMMENT
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUM.build/sonar/sonar-setup-local.sh73# Create the access token for the project analysisCOMMENT
MEDIUMtest/conf/cassandra-mtls-backward-compatibility.yaml20# This file is used for testing mTLS authenticatorsCOMMENT
MEDIUMtest/conf/cassandra-mtls.yaml20# This file is used for testing mTLS authenticatorsCOMMENT
MEDIUMconf/cassandra_latest.yaml10# This file is provided in two versions:COMMENT
MEDIUMconf/cassandra.yaml10# This file is provided in two versions:COMMENT
Fake / Example Data14 hits · 14 pts
SeverityFileLineSnippetContext
LOW…ndra/io/compress/CompressedRandomAccessReaderTest.java242 String CONTENT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam vitae.";CODE
LOW…ndra/io/compress/CompressedRandomAccessReaderTest.java242 String CONTENT = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam vitae.";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java334 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java334 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java391 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java391 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java463 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java463 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java533 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOW…andra/utils/bytecomparable/ByteSourceSequenceTest.java533 String stringValue = "Lorem ipsum dolor sit amet";CODE
LOWtest/resources/tokenization/lorem_ipsum.txt1"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOWtest/resources/tokenization/lorem_ipsum.txt1"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOW…ache/cassandra/test/microbench/StringsEncodeBench.java49 private String longText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididuntCODE
LOW…ache/cassandra/test/microbench/StringsEncodeBench.java49 private String longText = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididuntCODE
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOW.build/docker/_prepopulate_maven_deps.sh36 # Check if branch existsCOMMENT
LOW.build/sh/ant-log-summary.py42 # Check if build was successful firstCOMMENT
LOWpylib/cqlshlib/cqlshmain.py69 # Check if tty first, as readline doesn't check and only cares about $TERM.COMMENT
LOW…aude/skills/write-reproducer/scripts/validate_repro.sh68 # Check if the test failed (non-zero exit)COMMENT
LOWconf/cassandra-env.sh124# Set this to control the amount of arenas per-thread in glibcCOMMENT
LOWconf/cassandra_latest.yaml1259# Set sstable_preemptive_open_interval to null for disabled which is equivalent toCOMMENT
LOWconf/cassandra.yaml1283# Set sstable_preemptive_open_interval to null for disabled which is equivalent toCOMMENT
Unused Imports10 hits · 10 pts
SeverityFileLineSnippetContext
LOW.build/ci/ci_parser.py34CODE
LOW.build/ci/junit_helpers.py30CODE
LOW.build/ci/junit_helpers.py30CODE
LOWpylib/cqlshlib/cqlshmain.py23CODE
LOWpylib/cqlshlib/cqlshmain.py28CODE
LOWpylib/cqlshlib/cqlshmain.py46CODE
LOWpylib/cqlshlib/cql3handling.py18CODE
LOWpylib/cqlshlib/test/test_cqlsh_output.py407CODE
LOWbin/cqlsh.py67CODE
LOWdoc/scripts/gen-nodetool-docs.py20CODE
Cross-Language Confusion2 hits · 5 pts
SeverityFileLineSnippetContext
HIGHpylib/cqlshlib/test/test_cqlsh_output.py867 {{city: 'Chelyabinsk', address: '3rd street', zip: null}, {city: 'Chigirinsk',STRING
HIGHpylib/cqlshlib/test/test_cqlsh_output.py884 {{country: null, number: '03'}, {country: '+7', number: null}}STRING
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpylib/cqlshlib/cqlshmain.py268CODE
LOWpylib/cqlshlib/formatting.py62CODE
LOWpylib/cqlshlib/test/run_cqlsh.py244CODE
LOWpylib/cqlshlib/test/run_cqlsh.py284CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.build/ci/junit_helpers.py304 def set_archive(self, name: str) -> None:STRING
LOW.build/ci/logging_helper.py94def set_loglevel(logger: logging.Logger, level: LogLevel) -> None:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…aude/skills/write-reproducer/scripts/validate_repro.sh4# Usage:COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…rg/apache/cassandra/db/compaction/CursorCompactor.java125 // TODO: implement partial range readerCOMMENT