AI Slop Code RIsk Monitor

facebook/rocksdb

A library that provides an embeddable, persistent key-value store for fast storage.

7.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for facebook/rocksdb, a C++ project with 32,179 GitHub stars. SynthScan examined 352,882 lines of code across 1293 source files, recording 2847 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 7.7 (Moderate 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.

7.7
Adjusted Signal
7.7
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
32.2K
Stars
C++
Language
352.9K
Lines of Code
1.3K
Files
2.8K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 30.0/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 3.8/100 · LOW

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

PR Review Velocity Impact 34.9/100 · MEDIUM

Which changes need focused human review? 2847 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 18MEDIUM 45LOW 2784

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2847 distinct pattern matches across 17 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.

Over-Commented Block2486 hits · 2176 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# Prerequisites for Windows:COMMENT
LOWCMakeLists.txt21#COMMENT
LOWoptions/options_helper.h1// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.COMMENT
LOWoptions/configurable_test.h1// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.COMMENT
LOWoptions/cf_options.h1// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.COMMENT
LOWoptions/cf_options.h301 bool memtable_whole_key_filtering;COMMENT
LOWoptions/configurable_helper.h1// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.COMMENT
LOWoptions/configurable_helper.h21class ConfigurableHelper {COMMENT
LOWoptions/configurable_helper.h41 // @return InvalidArgument If any of the values cannot be successfullyCOMMENT
LOWoptions/configurable_helper.h61 // @return NotSupported If the option was found but no rule for convertingCOMMENT
LOWoptions/configurable_helper.h81 // equivalent.COMMENT
LOWoptions/configurable_helper.h101 // equivalent.COMMENT
LOWoptions/configurable_helper.h121 // @param InvalidArgument If the name is valid for this object butCOMMENT
LOWoptions/configurable_helper.h141 // Internal method to list the option names for this object.COMMENT
LOWoptions/configurable_helper.h161COMMENT
LOWtools/trace_analyzer_tool.h1// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.COMMENT
LOWtools/regression_test.sh1#!/usr/bin/env bashCOMMENT
LOWtools/regression_test.sh21# TEST_PATH=/my/output/dir COMMIT_ID=abcdef ./tools/regression_test.shCOMMENT
LOWtools/regression_test.sh41# existsCOMMENT
LOWtools/regression_test.sh61# this feature only work for commits after 88acd93 or rocksdb versionCOMMENT
LOWtools/regression_test.sh81# HISTOGRAM: If 1, then the histogram feature on performance feature is on.COMMENT
LOWtools/tsan_suppressions.txt1# ThreadSanitizer suppressions for known third-party false positives.COMMENT
LOWtools/check_format_compatible.sh1#!/usr/bin/env bashCOMMENT
LOWtools/check_format_compatible.sh161COMMENT
LOWtools/check_format_compatible.sh381# General structure from here:COMMENT
LOWtools/run_leveldb.sh1#!/usr/bin/env bashCOMMENT
LOWtools/run_leveldb.sh21# Were list-of-threads specified as "1 2 4" then the tests in steps 2, 3 andCOMMENT
LOWtools/run_blob_bench.sh1#!/usr/bin/env bashCOMMENT
LOWtools/analyze_txn_stress_test.sh1#!/bin/bashCOMMENT
LOWtools/db_crashtest.py201# for simple:COMMENT
LOWtools/db_crashtest.py281 "stress_diagnostics_breadcrumb_entries": 256,COMMENT
LOWtools/db_crashtest.py861 "interval": 120,COMMENT
LOWtools/db_crashtest.py881 "remote_compaction_worker_threads": 0,COMMENT
LOWtools/db_crashtest.py1341 #COMMENT
LOWtools/db_crashtest.py1481 # deletion ingestion is off in the current run, because such filesCOMMENT
LOWtools/db_crashtest.py1501 # UDI now supports all operation types and all iteration directions.COMMENT
LOWtools/db_crashtest.py1561 or dest_params.get("manual_wal_flush_one_in", 0) > 0COMMENT
LOWtools/db_crashtest.py1801 # inconsistency when one CF has a successful flush during autoCOMMENT
LOWtools/run_flash_bench.sh1#!/usr/bin/env bashCOMMENT
LOWtools/run_flash_bench.sh21# Test output is written to $OUTPUT_DIR, currently /tmp/output. The performanceCOMMENT
LOWtools/run_flash_bench.sh41# do range queries.COMMENT
LOWtools/simulated_hybrid_file_system.h1// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.COMMENT
LOWtools/advisor/advisor/db_timeseries_parser.py61 returnCOMMENT
LOWtools/advisor/advisor/db_stats_fetcher.py61 else:COMMENT
LOWtools/advisor/advisor/db_options_parser.py341 # Trigger for an OptionCondition object is of the form:COMMENT
LOWtools/advisor/advisor/rules.ini1# Copyright (c) 2011-present, Facebook, Inc. All rights reserved.COMMENT
LOWtools/c_api_gen/c_base.h41*/COMMENT
LOWtools/c_api_gen/c_base.h581 const size_t* keys_list_sizes, char** values_list,COMMENT
LOWtools/cpu_corruption_injector/injector_telemetry.py1#!/usr/bin/env python3COMMENT
LOWtools/cpu_corruption_injector/injector_navigate.py21# THROUGH rocksdb's own code by default; these are the EXTRA, non-rocksdb librariesCOMMENT
LOWtools/cpu_corruption_injector/injector_navigate.py61# By default gdb hands that signal to db_stress, whose own handler forks a SECOND gdbCOMMENT
LOWtools/cpu_corruption_injector/injector_navigate.py121 # runner_execute's per-run timeout killpg's the whole gdb+db_stress processCOMMENT
LOW…u_corruption_injector/injector_critical_instruction.py21#COMMENT
LOW…u_corruption_injector/injector_critical_instruction.py41_CMP_TEST_RE = re.compile(r"^(cmp|test)[bwlq]?\b")COMMENT
LOWtools/block_cache_analyzer/block_cache_trace_analyzer.h1// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.COMMENT
LOWtools/block_cache_analyzer/block_cache_trace_analyzer.h161 // a block, and aggregates the information by block type, sst file, and columnCOMMENT
LOWtools/block_cache_analyzer/block_cache_trace_analyzer.h181 // Block Type UncompressionDict: Number of accesses: 2COMMENT
LOWtools/block_cache_analyzer/block_cache_trace_analyzer.h201 // Write the percentage of accesses break down by column family into a csvCOMMENT
LOWtools/block_cache_analyzer/block_cache_trace_analyzer.h221 //COMMENT
LOWtools/block_cache_analyzer/block_cache_trace_analyzer.h241 // "time,label_1_access_per_second,label_2_access_per_second,...,label_N_access_per_second"COMMENT
2426 more matches not shown…
Hyper-Verbose Identifiers146 hits · 129 pts
SeverityFileLineSnippetContext
LOW⚡tools/db_crashtest_test.py84 def register_expected_values_dir_cleanup(self, db_crashtest):CODE
LOW⚡tools/db_crashtest_test.py85 def cleanup_expected_values_dir():CODE
LOW⚡tools/db_crashtest_test.py94 def register_diagnostics_dir_cleanup(self, db_crashtest):CODE
LOW⚡tools/db_crashtest_test.py104 def load_fault_injection_log_parser(self):CODE
LOWtools/db_crashtest_test.py42def load_fault_injection_log_parser_module():CODE
LOWtools/db_crashtest_test.py132 def test_stress_cmd_env_defaults_tsan_suppressions(self):CODE
LOWtools/db_crashtest_test.py146 def test_stress_cmd_env_preserves_tsan_options(self):CODE
LOWtools/db_crashtest_test.py154 def test_generated_command_uses_async_db_api(self):CODE
LOWtools/db_crashtest_test.py168 def test_stress_diagnostics_directory_creation_failure_is_non_fatal(self):CODE
LOWtools/db_crashtest_test.py190 def test_stress_diagnostics_cleanup_failure_is_non_fatal(self):CODE
LOWtools/db_crashtest_test.py208 def test_stress_diagnostics_cleanup_preserves_unrelated_files(self):CODE
LOWtools/db_crashtest_test.py243 def test_stress_diagnostics_rejects_symlinked_auto_directory(self):CODE
LOWtools/db_crashtest_test.py269 def test_stress_diagnostics_pruning_keeps_recent_processes(self):CODE
LOWtools/db_crashtest_test.py315 def test_stress_diagnostics_pruning_ignores_explicit_directory(self):CODE
LOWtools/db_crashtest_test.py327 def test_stress_diagnostics_defaults_to_local_artifact_dir(self):CODE
LOWtools/db_crashtest_test.py350 def test_cf_consistency_randomizes_secondary(self):CODE
LOWtools/db_crashtest_test.py361 def test_skip_verifydb_disables_verification_knobs(self):CODE
LOWtools/db_crashtest_test.py379 def test_stress_diagnostics_disabled_does_not_allocate_dir(self):CODE
LOWtools/db_crashtest_test.py392 def test_stress_diagnostics_scan_witness_uses_independent_gate(self):CODE
LOWtools/db_crashtest_test.py408 def test_stress_diagnostics_paths_include_artifact_dir(self):CODE
LOWtools/db_crashtest_test.py423 def test_full_external_table_profile(self):CODE
LOWtools/db_crashtest_test.py525 def test_cache_and_write_buffer_size_multiplier_preserves_randomization(self):CODE
LOWtools/db_crashtest_test.py555 def test_wbm_flush_policy_coverage(self):CODE
LOWtools/db_crashtest_test.py579 def test_cross_db_wbm_policy_keeps_db_topology_stable(self):CODE
LOWtools/db_crashtest_test.py605 def test_cross_db_wbm_policy_does_not_force_two_dbs_when_disabled(self):CODE
LOWtools/db_crashtest_test.py622 def test_cache_and_write_buffer_size_multiplier_respects_write_buffer_minimum(CODE
LOWtools/db_crashtest_test.py639 def test_get_ev_parent_dir_preserves_existing_contents(self):CODE
LOWtools/db_crashtest_test.py652 def test_finalize_disables_test_batches_snapshots_when_disable_wal(self):CODE
LOWtools/db_crashtest_test.py670 def test_finalize_disables_test_batches_snapshots_for_blob_direct_write(self):CODE
LOWtools/db_crashtest_test.py688 def test_finalize_file_scoped_wal_fault_profile(self):CODE
LOWtools/db_crashtest_test.py757 def test_finalize_disables_ingest_wbwi_for_file_scoped_wal_faults(self):CODE
LOWtools/db_crashtest_test.py784 def test_auto_file_scoped_wal_faults_preserve_explicit_opt_outs(self):CODE
LOWtools/db_crashtest_test.py787 def choose_without_blob_profile(values):CODE
LOWtools/db_crashtest_test.py813 def test_auto_file_scoped_wal_faults_skip_batch_mode(self):CODE
LOWtools/db_crashtest_test.py818 def choose_without_blob_profile(values):CODE
LOWtools/db_crashtest_test.py834 def test_auto_file_scoped_wal_faults_skip_unsupported_inputs(self):CODE
LOWtools/db_crashtest_test.py837 def choose_without_blob_profile(values):CODE
LOWtools/db_crashtest_test.py864 def test_auto_file_scoped_wal_faults_select_eligible_profile(self):CODE
LOWtools/db_crashtest_test.py869 def choose_without_blob_profile(values):CODE
LOWtools/db_crashtest_test.py885 def test_finalize_disables_sqfc_range_queries_with_range_conversion(self):CODE
LOWtools/db_crashtest_test.py902 def test_finalize_enables_atomic_replace_ingestion_for_universal(self):CODE
LOWtools/db_crashtest_test.py927 def test_finalize_disables_atomic_replace_ingestion_when_incompatible(self):CODE
LOWtools/db_crashtest_test.py964 def test_sanitize_known_stderr_suppresses_only_known_sigterm_lines(self):CODE
LOWtools/db_crashtest_test.py984 def test_sanitize_known_stderr_suppresses_retryable_wait_cqe(self):CODE
LOWtools/db_crashtest_test.py1003 def test_sanitize_known_stderr_preserves_terminal_wait_cqe(self):CODE
LOWtools/db_crashtest_test.py1017 def test_sanitize_known_stderr_preserves_other_stderr(self):CODE
LOWtools/db_crashtest_test.py1037 def test_sanitize_known_stderr_requires_timeout_and_sigterm_marker(self):CODE
LOWtools/db_crashtest_test.py1056 def test_print_run_output_tolerates_read_executor_io_uring_init_failure(self):CODE
LOWtools/db_crashtest_test.py1079 def test_output_matches_no_space_catches_known_failure_strings(self):CODE
LOWtools/db_crashtest_test.py1104 def test_file_type_suffix_preserves_compound_suffixes(self):CODE
LOWtools/db_crashtest_test.py1114 def test_finalize_sanitizes_incompatible_flags_for_multi_db(self):CODE
LOWtools/db_crashtest_test.py1130 def test_finalize_preserves_flags_for_single_db(self):CODE
LOWtools/db_crashtest_test.py1146 def test_finalize_shrinks_blocks_readahead_and_cache_together(self):CODE
LOWtools/db_crashtest_test.py1167 def test_finalize_keeps_default_sizes_without_prefix_extractor(self):CODE
LOWtools/db_crashtest_test.py1187 def test_finalize_defaults_tolerate_non_injected_io_errors_for_remote_db(self):CODE
LOWtools/db_crashtest_test.py1198 def test_finalize_tolerates_non_injected_io_errors_for_remote_db(self):CODE
LOWtools/db_crashtest_test.py1215 def test_finalize_disables_tolerate_non_injected_io_errors_for_local_db(self):CODE
LOWtools/db_crashtest_test.py1231 def test_build_out_of_space_diagnostics_summarizes_directory_suffixes(self):CODE
LOWtools/db_crashtest_test.py1267 def test_liveness_params_keep_mixed_workload_and_enable_watchdog(self):CODE
LOWtools/db_crashtest_test.py1323 def test_liveness_command_passes_watchdog_flags_not_wrapper_duration(self):CODE
86 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHtools/db_crashtest.py3048except OSError:CODE
HIGHtools/gtest_parallel_repro.py139except ProcessLookupError:CODE
HIGHtools/c_api_gen/validate_generated_equivalence.py310except ValueError:CODE
HIGHtools/c_api_gen/validate_generated_equivalence.py271except ValueError:CODE
HIGHtools/cpu_corruption_injector/injector_navigate.py119except gdb.error:CODE
HIGHtools/cpu_corruption_injector/injector_navigate.py368except gdb.error:CODE
HIGHtools/cpu_corruption_injector/injector_navigate.py267except gdb.error:CODE
HIGHtools/cpu_corruption_injector/injector_navigate.py271except gdb.error:CODE
HIGHtools/cpu_corruption_injector/injector_navigate.py304except gdb.error:CODE
HIGHtools/cpu_corruption_injector/injector_navigate.py384except gdb.error:CODE
HIGHtools/cpu_corruption_injector/runner_execute.py171except ProcessLookupError:CODE
HIGHbuckifier/buckify_rocksdb.py383except Exception:CODE
HIGHbuild_tools/gtest_parallel.py624except IOError:CODE
HIGHbuild_tools/gtest_parallel.py80except OSError:CODE
HIGHbuild_tools/gtest_parallel.py395except ValueError:CODE
AI Slop Vocabulary21 hits · 60 pts
SeverityFileLineSnippetContext
LOWtools/benchmark.sh749 # doesn't output regular statistics then we'll just use the time command toCOMMENT
MEDIUMtools/advisor/advisor/ini_parser.py27 # A section header looks like: [Rule "my-new-rule"]. Essentially,COMMENT
MEDIUMtools/cpu_corruption_injector/runner_report.py37 # ERROR is a per-run harness failure, not a db_stress data outcome, and separateCOMMENT
MEDIUMtools/cpu_corruption_injector/injector_navigate.py146 # (diagnostic only; runner_execute scans gdb.log for harness deaths).COMMENT
MEDIUMutil/ribbon_alg.h95// By contrast Bloom filters utilize an "AND" construction: a query onlyCOMMENT
MEDIUMutil/ribbon_alg.h889// effectively utilize any size space (multiple of CoeffRow) for minimizingCOMMENT
MEDIUMinclude/rocksdb/merge_operator.h26// Essentially, a MergeOperator specifies the SEMANTICS of a merge, which onlyCOMMENT
MEDIUMinclude/rocksdb/memory_allocator.h65// Generate memory allocator which allocates through Jemalloc and utilizeCOMMENT
MEDIUMinclude/rocksdb/options.h1847 // competing with read and write operations during peak hours. Essentially, weCOMMENT
MEDIUMinclude/rocksdb/compression_type.h307 // Essentially specifies a minimum acceptable compression ratio. A block isCOMMENT
MEDIUMinclude/rocksdb/experimental.h250// * Point queries can utilize essentially any kind of filter by extractingCOMMENT
MEDIUMutilities/persistent_cache/persistent_cache_tier.h23// is a generic design and can leverage any storage medium -- disk/SSD/NVM/RAM.COMMENT
MEDIUMtable/block_based/filter_policy_internal.h200 // Essentially for testing only: configured millibits/keyCOMMENT
MEDIUMtable/block_based/filter_policy_internal.h202 // Essentially for testing only: legacy whole bits/keyCOMMENT
MEDIUMtable/block_based/filter_policy_internal.h246 // State for implementing optimize_filters_for_memory. Essentially, thisCOMMENT
LOWbuild_tools/gtest_parallel.py56# Before a SIGINT is seen, wait(p) will simply call p.wait() andCOMMENT
MEDIUMdb/c_test.c2635 // Essentially a fingerprint of full Bloom schema, format_version=5COMMENT
MEDIUMdb/c_test.c2638 // Essentially a fingerprint of Ribbon schemaCOMMENT
MEDIUMthird-party/gtest-1.8.1/fused-src/gtest/gtest.h9648// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUMthird-party/gtest-1.8.1/fused-src/gtest/gtest.h9721// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUMport/win/io_win.h304// we utilize the original buffer as an alignment buffer to write directly toCOMMENT
Deep Nesting56 hits · 54 pts
SeverityFileLineSnippetContext
LOWtools/db_crashtest_test.py1481CODE
LOWtools/benchmark_ci.py55CODE
LOWtools/run_clang_tidy.py156CODE
LOWtools/run_clang_tidy.py315CODE
LOWtools/run_clang_tidy.py435CODE
LOWtools/write_stress_runner.py25CODE
LOWtools/db_crashtest.py775CODE
LOWtools/db_crashtest.py802CODE
LOWtools/db_crashtest.py2794CODE
LOWtools/fault_injection_log_parser.py154CODE
LOWtools/gtest_parallel_repro.py563CODE
LOWtools/advisor/advisor/db_timeseries_parser.py47CODE
LOWtools/advisor/advisor/db_timeseries_parser.py98CODE
LOWtools/advisor/advisor/db_timeseries_parser.py123CODE
LOWtools/advisor/advisor/db_timeseries_parser.py167CODE
LOWtools/advisor/advisor/db_bench_runner.py57CODE
LOWtools/advisor/advisor/db_config_optimizer.py19CODE
LOWtools/advisor/advisor/db_config_optimizer.py54CODE
LOWtools/advisor/advisor/db_stats_fetcher.py65CODE
LOWtools/advisor/advisor/db_stats_fetcher.py92CODE
LOWtools/advisor/advisor/db_stats_fetcher.py282CODE
LOWtools/advisor/advisor/db_options_parser.py83CODE
LOWtools/advisor/advisor/db_options_parser.py144CODE
LOWtools/advisor/advisor/db_options_parser.py197CODE
LOWtools/advisor/advisor/db_options_parser.py228CODE
LOWtools/advisor/advisor/db_options_parser.py266CODE
LOWtools/advisor/advisor/db_options_parser.py284CODE
LOWtools/advisor/advisor/rule_parser.py58CODE
LOWtools/advisor/advisor/rule_parser.py120CODE
LOWtools/advisor/advisor/rule_parser.py222CODE
LOWtools/advisor/advisor/rule_parser.py361CODE
LOWtools/advisor/advisor/rule_parser.py429CODE
LOWtools/advisor/advisor/db_log_parser.py113CODE
LOWtools/c_api_gen/validate_generated_equivalence.py98CODE
LOWtools/c_api_gen/validate_generated_equivalence.py147CODE
LOWtools/c_api_gen/gen_roundtrip_tests.py82CODE
LOWtools/c_api_gen/gen_roundtrip_tests.py128CODE
LOWtools/c_api_gen/auto_simple_bindings.py1236CODE
LOWtools/block_cache_analyzer/block_cache_pysim.py1537CODE
LOWtools/block_cache_analyzer/block_cache_pysim.py1666CODE
LOWtools/block_cache_analyzer/block_cache_pysim.py121CODE
LOWtools/block_cache_analyzer/block_cache_pysim.py163CODE
LOWtools/block_cache_analyzer/block_cache_pysim.py460CODE
LOW…lock_cache_analyzer/block_cache_trace_analyzer_plot.py51CODE
LOW…lock_cache_analyzer/block_cache_trace_analyzer_plot.py93CODE
LOW…lock_cache_analyzer/block_cache_trace_analyzer_plot.py210CODE
LOW…lock_cache_analyzer/block_cache_trace_analyzer_plot.py261CODE
LOWbuckifier/buckify_rocksdb.py117CODE
LOWbuckifier/buckify_rocksdb.py161CODE
LOWbuild_tools/benchmark_log_tool.py117CODE
LOWbuild_tools/amalgamate.py71CODE
LOWbuild_tools/gtest_parallel.py640CODE
LOWbuild_tools/gtest_parallel.py705CODE
LOWbuild_tools/gtest_parallel.py384CODE
LOWbuild_tools/gtest_parallel.py714CODE
LOWbuild_tools/getdeps_fallback_mirror.py87CODE
Decorative Section Separators13 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUMtools/regression_test.sh99#==============================================================================COMMENT
MEDIUMtools/regression_test.sh101#==============================================================================COMMENT
MEDIUMtools/regression_test.sh120#==============================================================================COMMENT
MEDIUMtools/run_clang_tidy.py515 # ------------------------------------------------------------------COMMENT
MEDIUMtools/run_clang_tidy.py517 # ------------------------------------------------------------------COMMENT
MEDIUMtools/run_clang_tidy.py534 # ------------------------------------------------------------------COMMENT
MEDIUMtools/run_clang_tidy.py536 # ------------------------------------------------------------------COMMENT
MEDIUMtools/run_clang_tidy.py554 # ------------------------------------------------------------------COMMENT
MEDIUMtools/run_clang_tidy.py556 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tools/run_clang_tidy.py600 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tools/run_clang_tidy.py602 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tools/run_clang_tidy.py608 # ------------------------------------------------------------------COMMENT
MEDIUM⚡tools/run_clang_tidy.py610 # ------------------------------------------------------------------COMMENT
Structural Annotation Overuse29 hits · 44 pts
SeverityFileLineSnippetContext
LOWutil/compression.h627// NOTE: This class is not thread safe.COMMENT
LOWutil/compression.h669// NOTE: This class is not thread safe.COMMENT
LOWinclude/rocksdb/utilities/object_registry.h248 // NOTE: This function replaces the old ObjectLibrary::Register()COMMENT
LOWclaude_md/add_public_api.md28### Step 1: Define the C++ Public InterfaceCOMMENT
LOWclaude_md/add_public_api.md53### Step 2: Define Options Struct (If Needed)COMMENT
LOWclaude_md/add_public_api.md81### Step 3: Implement in DBImplCOMMENT
LOWclaude_md/add_public_api.md131### Step 4: Handle Special DB TypesCOMMENT
LOWclaude_md/add_public_api.md169### Step 5: Add C API BindingsCOMMENT
LOWclaude_md/add_public_api.md283### Step 6: Add Java BindingsCOMMENT
LOWclaude_md/add_public_api.md444### Step 7: Update Build FilesCOMMENT
LOWclaude_md/add_public_api.md454### Step 8: Add Release NotesCOMMENT
LOWclaude_md/add_public_api.md476### Step 9: Add TestsCOMMENT
LOWclaude_md/add_option.md51### Step 1: Define the Option in Public HeaderCOMMENT
LOWclaude_md/add_option.md69### Step 2: Add to Internal Options StructsCOMMENT
LOWclaude_md/add_option.md87### Step 3: Register for Serialization/DeserializationCOMMENT
LOWclaude_md/add_option.md108### Step 4: Update Options HelperCOMMENT
LOWclaude_md/add_option.md119### Step 5: Add to Options Settable TestCOMMENT
LOWclaude_md/add_option.md129### Step 6: Add db_stress SupportCOMMENT
LOWclaude_md/add_option.md153### Step 7: Add db_bench SupportCOMMENT
LOWclaude_md/add_option.md167### Step 8: Add Crash Test SupportCOMMENT
LOWclaude_md/add_option.md183### Step 9: Add Release NoteCOMMENT
LOWclaude_md/add_option.md197### Step 1: Define the Option in Public HeaderCOMMENT
LOWclaude_md/add_option.md225### Step 2: Register for Serialization in Table FactoryCOMMENT
LOWclaude_md/add_option.md266### Step 3: Add to Options Settable TestCOMMENT
LOWclaude_md/add_option.md277### Step 4: Add to Options TestCOMMENT
LOWclaude_md/add_option.md291### Step 5: Add db_stress SupportCOMMENT
LOWclaude_md/add_option.md324### Step 6: Add db_bench SupportCOMMENT
LOWclaude_md/add_option.md346### Step 7: Add Crash Test SupportCOMMENT
LOWclaude_md/add_option.md357### Step 8: Add Java API SupportCOMMENT
Self-Referential Comments10 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMtools/benchmark_ci.py94 # Create a symlink to the db_bench executableCOMMENT
MEDIUMtools/benchmark.sh784 # Define a set of benchmarks.COMMENT
MEDIUMtools/advisor/advisor/rule_parser_example.py23 # Create the Log STATS objectCOMMENT
MEDIUM⚡tools/advisor/advisor/db_bench_runner.py212 # Create the Log STATS objectCOMMENT
MEDIUM⚡tools/advisor/advisor/db_bench_runner.py214 # Create the PerfContext STATS objectCOMMENT
MEDIUM⚡tools/advisor/advisor/db_bench_runner.py222 # Create the ODS STATS objectCOMMENT
MEDIUMtools/advisor/advisor/db_config_optimizer.py70 # Create the updated configuration from the rule's suggestionsCOMMENT
MEDIUMtools/cpu_corruption_injector/injector_telemetry.py9# This module is the injector's OBSERVABILITY layer: it captures where a corruptionCOMMENT
MEDIUMbuckifier/targets_cfg.py8# This file is a Meta-specific integration for buck builds, so canCOMMENT
MEDIUMbuckifier/rocks_test_runner.sh3# Create a tmp directory for the test to useCOMMENT
Unused Imports34 hits · 34 pts
SeverityFileLineSnippetContext
LOWtools/db_crashtest_test.py10CODE
LOWtools/ldb_test.py11CODE
LOWtools/advisor/advisor/db_timeseries_parser.py9CODE
LOWtools/advisor/advisor/db_stats_fetcher.py11CODE
LOWtools/c_api_gen/validate_generated_equivalence.py20CODE
LOWtools/c_api_gen/regen_all.py8CODE
LOWtools/c_api_gen/check_api_compatibility.py29CODE
LOWtools/c_api_gen/gen_roundtrip_tests.py33CODE
LOWtools/c_api_gen/gen_roundtrip_tests.py36CODE
LOWtools/c_api_gen/verify_generated_up_to_date.py8CODE
LOWtools/c_api_gen/check_api_completeness.py26CODE
LOWtools/c_api_gen/generate_c_api.py18CODE
LOWtools/c_api_gen/auto_simple_bindings.py19CODE
LOWtools/cpu_corruption_injector/runner.py8CODE
LOWtools/cpu_corruption_injector/injector_telemetry.py27CODE
LOW…u_corruption_injector/runner_randomize_stress_flags.py10CODE
LOWtools/cpu_corruption_injector/runner_report.py8CODE
LOWtools/cpu_corruption_injector/injector.py10CODE
LOW…pu_corruption_injector/injector_register_corruption.py9CODE
LOWtools/cpu_corruption_injector/injector_navigate.py9CODE
LOWtools/cpu_corruption_injector/runner_execute.py8CODE
LOWtools/cpu_corruption_injector/runner_build.py8CODE
LOW…u_corruption_injector/injector_critical_instruction.py9CODE
LOW…n_injector/tests/test_injector_critical_instruction.py17CODE
LOWtools/block_cache_analyzer/block_cache_pysim_test.py8CODE
LOWtools/block_cache_analyzer/block_cache_pysim_test.py8CODE
LOWtools/block_cache_analyzer/block_cache_pysim_test.py8CODE
LOWtools/block_cache_analyzer/block_cache_pysim_test.py8CODE
LOWbuckifier/util.py7CODE
LOWbuckifier/util.py9CODE
LOWbuckifier/targets_builder.py4CODE
LOWbuckifier/targets_builder.py6CODE
LOWbuckifier/buckify_rocksdb.py5CODE
LOWbuckifier/buckify_rocksdb.py7CODE
Excessive Try-Catch Wrapping17 hits · 21 pts
SeverityFileLineSnippetContext
LOWtools/ldb_test.py90 except Exception:CODE
LOWtools/advisor/advisor/db_timeseries_parser.py184 except Exception as e:CODE
LOWtools/advisor/advisor/db_timeseries_parser.py200 except Exception as e:CODE
MEDIUM⚡tools/advisor/advisor/db_bench_runner.py160 print("Error: rmdir " + e.filename + " " + e.strerror)CODE
LOWtools/advisor/advisor/db_options_parser.py320 except Exception as e:CODE
LOWtools/advisor/advisor/db_options_parser.py339 except Exception as e:CODE
LOWtools/cpu_corruption_injector/runner.py234 except Exception: # noqa: BLE001 -- one run's crash is its own ERROR, never aborts the restCODE
LOWtools/cpu_corruption_injector/injector.py182 except Exception as exc: # noqa: BLE001CODE
LOWbuckifier/buckify_rocksdb.py383 except Exception:CODE
LOWbuild_tools/gtest_parallel.py632 except Exception:CODE
MEDIUMbuild_tools/gtest_parallel.py628def __read_test_times_file(fd):CODE
LOWbuild_tools/getdeps_fallback_mirror.py46 except Exception:CODE
LOWbuild_tools/getdeps_fallback_mirror.py57 except Exception as ex:CODE
LOWbuild_tools/getdeps_fallback_mirror.py72 except Exception:CODE
LOWbuild_tools/getdeps_fallback_mirror.py165 except Exception as ex:CODE
LOWbuild_tools/getdeps_fallback_mirror.py222 except Exception as ex:CODE
MEDIUMbuild_tools/getdeps_fallback_mirror.py69def file_size(path):CODE
Cross-Language Confusion3 hits · 12 pts
SeverityFileLineSnippetContext
HIGHtools/run_clang_tidy.py234 " mkdir build && cd build && cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..\n"CODE
HIGHtools/c_api_gen/gen_roundtrip_tests.py177 " CheckCondition(rt_len == 4 && rt_v != NULL && "CODE
HIGHbuckifier/util.py98 running `cmd1 && cmd2 && cmd3`STRING
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/generate_random_db.sh33# Check if deleterange command is supported by grepping ldb --helpCOMMENT
LOWtools/ldb_test.py855 # Check if null characters doesn't infer with output format.COMMENT
LOWbuild_tools/format-diff.sh109# Check if this script has already been added to pre-commit hook.COMMENT
LOWbuild_tools/format-diff.sh172 # Check if file is missing copyrightCOMMENT
LOWbuild_tools/check_progress.sh67 # Check if failed (exitval != 0 or signal != 0)COMMENT
LOWbuild_tools/check_progress.sh102# Check if tests are running (LOG file exists)COMMENT
LOWbuild_tools/getdeps_fallback_mirror.py134 # Check if already valid.COMMENT
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWtools/analyze_txn_stress_test.sh3# Usage:COMMENT
LOWutil/defer.h17// Usage example:COMMENT
LOWbuckifier/buckify_rocksdb.py21# Usage:COMMENT
LOWbuild_tools/rockstest.sh20# Example usage:COMMENT
LOWbuild_tools/rocksptest.sh26# Example usage:COMMENT
LOW.github/scripts/ccache-trim.sh4# Usage:COMMENT
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinclude/rocksdb/advanced_cache.h135 // "placeholder" cache entries with nullptr object.COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/cpu_corruption_injector/runner.py132def _setup_logging(report_dir: str) -> None:CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbuckifier/targets_builder.py33CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbuild_tools/gtest_parallel.py311 def run_task(self, task, timeout_per_test):CODE