Repository Analysis

apple/foundationdb

FoundationDB - the open source, distributed, transactional key-value store

3.9 Likely human-written View on GitHub
3.9
Adjusted Score
3.9
Raw Score
100%
Time Factor
2026-05-30
Last Push
16,357
Stars
C++
Language
681,180
Lines of Code
2176
Files
2059
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 15HIGH 75MEDIUM 85LOW 1884

Pattern Findings

2059 matches across 18 categories. Click a row to expand file-level details.

Over-Commented Block1229 hits · 1170 pts
SeverityFileLineSnippet
LOWCMakeLists.txt1#
LOWpackaging/make_public.py1#!/usr/bin/env python3
LOWpackaging/docker/sidecar.py1#!/usr/bin/env python3
LOWpackaging/docker/fdb_single.bash1#!/usr/bin/env bash
LOWpackaging/docker/sidecar_test.py1#!/usr/bin/env python3
LOWpackaging/docker/fdb.bash1#!/bin/bash
LOWpackaging/docker/entrypoint.bash1#!/bin/bash
LOW…-credentials-fetcher/fdb-aws-s3-credentials-fetcher.go1// fdb-aws-s3-credentials-fetcher.go
LOWpackaging/docker/samples/python/docker-compose.yml1# docker-compose.yaml
LOWpackaging/docker/samples/python/app/server.py1# server.py
LOWpackaging/docker/samples/python/app/requirements.txt1# requirements.txt
LOWpackaging/docker/samples/python/app/start.bash1#! /bin/bash
LOWpackaging/docker/samples/golang/docker-compose.yml1# docker-compose.yaml
LOWpackaging/docker/samples/golang/app/start.bash1#!/bin/bash
LOWpackaging/docker/samples/golang/app/main.go1// main.go
LOWpackaging/docker/samples/local/stop.bash1#! /bin/bash
LOWpackaging/docker/samples/local/start.bash1#! /bin/bash
LOWpackaging/docker/samples/local/docker-compose.yml1# docker-compose.yaml
LOWpackaging/docker/kubernetes/test_config.yaml1# statefulset.yaml
LOWdesign/fdb-coroutines-internals.md461 // ... elsewhere, someone will call p.send(42)
LOWdesign/fdb-coroutines-internals.md481 // The send fires callbacks synchronously on that call stack.)
LOWdocumentation/tutorial/play.actor.cpp21#include "fdbclient/NativeAPI.actor.h"
LOWdocumentation/tutorial/play_network.actor.cpp21#include "fdbclient/NativeAPI.actor.h"
LOWdocumentation/tutorial/play_network.actor.cpp41/// Usage below
LOWdocumentation/tutorial/print_in_order.actor.cpp21#include "fmt/format.h"
LOWdocumentation/tutorial/make_h2o.actor.cpp21#include "fmt/format.h"
LOWdocumentation/tutorial/make_h2o.actor.cpp41// this file other than main(), read the problem description above,
LOWdocumentation/tutorial/dining_philosophers.actor.cpp21#include "fmt/format.h"
LOWdocumentation/tutorial/tutorial.actor.cpp21
LOWdocumentation/sphinx/conf.py1# -*- coding: utf-8 -*-
LOWdocumentation/sphinx/conf.py81
LOWdocumentation/sphinx/conf.py101# add_function_parentheses = True
LOWdocumentation/sphinx/conf.py141# The name of an image file (relative to this directory) to place at the top
LOWdocumentation/sphinx/conf.py221]
LOWdocumentation/sphinx/extensions/brokenrole.py1#
LOWdocumentation/sphinx/extensions/relativelink.py1#
LOWdocumentation/coro_tutorial/tutorial.cpp21#include "fmt/format.h"
LOWlayers/taskbucket/__init__.py1#
LOWlayers/taskbucket/test.py1#!/usr/bin/python
LOWlayers/bulkload/bulk.py1#
LOWlayers/compressedColumn/compressedColumn.py1#
LOWlayers/pubsub/pubsub_orig.py1#
LOWlayers/pubsub/pubsub_simpledoc.py1#
LOWlayers/pubsub/pubsub_example.py1#
LOWlayers/pubsub/remotesend.py1#!/usr/bin/python -u
LOWlayers/pubsub/ps_tutorial.py1#!/usr/bin/python -i
LOWlayers/pubsub/ps_test.py1#!/usr/bin/python -i
LOWlayers/pubsub/ps_prompt.py1#!/usr/bin/python -i
LOWlayers/pubsub/remotesubscribe.py1#!/usr/bin/python -u
LOWlayers/pubsub/remotesubscribe.py61#
LOWlayers/pubsub/pubsub.py1#
LOWlayers/pubsub/remoteload.py1#!/usr/bin/python -u
LOWlayers/containers/vector.py1#
LOWlayers/containers/vector.py61
LOWlayers/containers/treap.py1#
LOWlayers/containers/set.py1#
LOWlayers/containers/highcontention/queue.py1#
LOWfdbrpc/Base64Decode.cpp21#include <string_view>
LOWfdbrpc/actorFuzz.py1#
LOWfdbrpc/Base64Decode.h21#ifndef BASE64_DECODE_H
1169 more matches not shown…
Cross-Language Confusion69 hits · 396 pts
SeverityFileLineSnippet
HIGHlayers/containers/vector.py72# vector.push(1)
HIGHlayers/containers/vector.py129 vector.push(1)
HIGHlayers/containers/vector.py408 vector.push(3)
HIGHlayers/containers/vector.py425 vector.push('Foo')
HIGHlayers/containers/vector.py534 vector.push(i)
HIGHlayers/containers/highcontention/queue.py299 queue.push(db, 10)
HIGHlayers/containers/highcontention/queue.py300 queue.push(db, 8)
HIGHlayers/containers/highcontention/queue.py301 queue.push(db, 6)
HIGHlayers/containers/highcontention/queue.py309 queue.push(db, 5)
HIGHlayers/containers/highcontention/queue.py326 queue.push(db, i)
HIGHlayers/containers/highcontention/queue.py334 queue.push(db, '%d.%d' % (id, i))
HIGHbindings/python/tests/tester.py204 inst.push(op_tuple[1])
HIGHbindings/python/tests/tester.py206 inst.stack.push(*self.stack[0])
HIGHbindings/python/tests/tester.py216 inst.push(a - b)
HIGHbindings/python/tests/tester.py219 inst.push(a + b)
HIGHbindings/python/tests/tester.py222 inst.stack.push(old_idx, item)
HIGHbindings/python/tests/tester.py228 inst.push(inst.tr.on_error(inst.pop()))
HIGHbindings/python/tests/tester.py240 inst.push(b"RESULT_NOT_PRESENT")
HIGHbindings/python/tests/tester.py242 inst.push(f)
HIGHbindings/python/tests/tester.py246 inst.push(b"GOT_ESTIMATED_RANGE_SIZE")
HIGHbindings/python/tests/tester.py250 inst.push(b"GOT_RANGE_SPLIT_POINTS")
HIGHbindings/python/tests/tester.py255 inst.push(result)
HIGHbindings/python/tests/tester.py257 inst.push(prefix)
HIGHbindings/python/tests/tester.py259 inst.push(strinc(prefix))
HIGHbindings/python/tests/tester.py351 inst.push(b"RESULT_NOT_PRESENT")
HIGHbindings/python/tests/tester.py355 inst.push(b"RESULT_NOT_PRESENT")
HIGHbindings/python/tests/tester.py358 inst.push(b"SET_CONFLICT_RANGE")
HIGHbindings/python/tests/tester.py361 inst.push(b"SET_CONFLICT_RANGE")
HIGHbindings/python/tests/tester.py364 inst.push(b"SET_CONFLICT_KEY")
HIGHbindings/python/tests/tester.py367 inst.push(b"SET_CONFLICT_KEY")
HIGHbindings/python/tests/tester.py371 inst.push(inst.tr.commit())
HIGHbindings/python/tests/tester.py378 inst.push(b"GOT_COMMITTED_VERSION")
HIGHbindings/python/tests/tester.py381 inst.push(b"GOT_APPROXIMATE_SIZE")
HIGHbindings/python/tests/tester.py383 inst.push(inst.tr.get_versionstamp())
HIGHbindings/python/tests/tester.py387 inst.push(fdb.tuple.pack(tuple(items)))
HIGHbindings/python/tests/tester.py396 inst.push(b"ERROR: NONE")
HIGHbindings/python/tests/tester.py402 inst.push(b"OK")
HIGHbindings/python/tests/tester.py403 inst.push(packed)
HIGHbindings/python/tests/tester.py406 inst.push(b"ERROR: NONE")
HIGHbindings/python/tests/tester.py408 inst.push(b"ERROR: MULTIPLE")
HIGHbindings/python/tests/tester.py411 inst.push(fdb.tuple.pack((i,)))
HIGHbindings/python/tests/tester.py418 inst.push(fdb.tuple.pack(item))
HIGHbindings/python/tests/tester.py423 inst.push(r.start)
HIGHbindings/python/tests/tester.py424 inst.push(r.stop)
HIGHbindings/python/tests/tester.py435 inst.push(fdb.tuple.SingleFloat(f))
HIGHbindings/python/tests/tester.py439 inst.push(d)
HIGHbindings/python/tests/tester.py443 inst.push(f_bytes)
HIGHbindings/python/tests/tester.py447 inst.push(d_bytes)
HIGHbindings/python/tests/tester.py456 inst.push(b"WAITED_FOR_EMPTY")
HIGHbindings/python/tests/tester.py465 inst.stack.push(
HIGHbindings/python/tests/tester.py119 self.stack.push(self.index, val)
HIGHbindings/python/tests/tester.py145 inst.push(fdb.tuple.pack(tuple(kvs)))
HIGHbindings/python/tests/tester.py303 inst.push(b"GOT_READ_VERSION")
HIGHbindings/python/tests/tester.py312 inst.push(b"RESULT_NOT_PRESENT")
HIGHbindings/python/tests/tester.py329 inst.push(b"RESULT_NOT_PRESENT")
HIGHbindings/python/tests/tester.py339 inst.push(b"RESULT_NOT_PRESENT")
HIGHbindings/python/tests/directory_extension.py188 inst.push(fdb.tuple.pack(tuple(result)))
HIGHbindings/python/tests/directory_extension.py200 inst.push(1)
HIGHbindings/python/tests/directory_extension.py202 inst.push(0)
HIGHbindings/python/tests/directory_extension.py205 inst.push(directory.pack(key_tuple))
9 more matches not shown…
Hallucination Indicators15 hits · 170 pts
SeverityFileLineSnippet
CRITICALfdbserver/clustercontroller/ClusterController.h309 .detail("NotExcludedMachine", !excludedMachines.contains(it.second.details.interf.locality.zoneId()))
CRITICALfdbserver/clustercontroller/ClusterController.h311 (includeDCs.size() == 0 || includeDCs.contains(it.second.details.interf.locality.dcId())))
CRITICALfdbserver/clustercontroller/ClusterController.h321 !excludedMachines.contains(it.second.details.interf.locality.zoneId()) &&
CRITICALfdbserver/clustercontroller/ClusterController.h322 (includeDCs.size() == 0 || includeDCs.contains(it.second.details.interf.locality.dcId())) &&
CRITICALfdbserver/clustercontroller/ClusterController.h337 !excludedMachines.contains(it.second.details.interf.locality.zoneId()) &&
CRITICALfdbserver/clustercontroller/ClusterController.h338 (includeDCs.size() == 0 || includeDCs.contains(it.second.details.interf.locality.dcId())) &&
CRITICALfdbserver/clustercontroller/ClusterController.h369 (!dcId.present() || it.second.details.interf.locality.dcId() == dcId.get())) {
CRITICALfdbserver/clustercontroller/ClusterController.h1459 it.second.details.interf.locality.dcId() != clusterControllerDcId) {
CRITICALfdbserver/clustercontroller/ClusterController.h1483 it.second.details.interf.locality.dcId() == dcId) {
CRITICALfdbserver/clustercontroller/ClusterController.h1527 it.second.details.interf.locality.dcId() == dcId &&
CRITICALfdbserver/clustercontroller/ClusterController.h1664 result.insert(it.second.details.interf.locality.dcId());
CRITICALfdbserver/clustercontroller/ClusterController.actor.cpp2010 it.second.details.interf.locality.dcId(), self->changingDcIds.get().second.get());
CRITICALfdbserver/clustercontroller/ClusterController.actor.cpp2070 it.second.details.interf.locality.dcId(),
CRITICALfdbserver/clustercontroller/ClusterController.actor.cpp2687 req.broadcastInfo.push_back(it.second.details.interf.updateServerDBInfo.getEndpoint());
CRITICALfdbserver/clustercontroller/ClusterController.actor.cpp3010 it.second.details.interf.coordinationPing.send(message);
Excessive Try-Catch Wrapping146 hits · 154 pts
SeverityFileLineSnippet
LOWpackaging/make_public.py44 except Exception as e:
LOWpackaging/docker/sidecar.py505 except Exception as ex:
LOWpackaging/docker/sidecar.py538 except Exception as ex:
LOWtests/TestRunner/fdb_test_runner/binary_download.py115 except Exception as e:
LOWtests/TestRunner/fdb_test_runner/upgrade_test.py254 except Exception:
LOWtests/TestRunner/fdb_test_runner/upgrade_test.py290 except Exception as e:
MEDIUMtests/TestRunner/fdb_test_runner/upgrade_test.py291 print("Error while reading output pipe", e)
LOWtests/TestRunner/fdb_test_runner/upgrade_test.py328 except Exception:
LOWtests/TestRunner/fdb_test_runner/upgrade_test.py347 except Exception:
MEDIUMtests/TestRunner/fdb_test_runner/upgrade_test.py280def output_pipe_reader(self):
LOWtests/TestRunner/fdb_test_runner/local_cluster.py73 except Exception:
LOWtests/TestRunner/fdb_test_runner/TestRunner.py181 except Exception as e:
MEDIUMtests/TestRunner/fdb_test_runner/TestRunner.py178def process_line(self, line, linenr):
LOWtests/python_tests/__init__.py123 except Exception:
MEDIUMtests/python_tests/python_correctness.py137def run_test(self):
MEDIUMtests/python_tests/python_correctness.py197def test_callback(self, future):
LOWtests/python_tests/python_correctness.py229 except Exception:
LOWtests/python_tests/python_correctness.py239 except Exception:
LOWtests/python_tests/python_correctness.py246 except Exception:
LOWtests/python_tests/python_correctness.py256 except Exception:
LOWtests/python_tests/python_correctness.py264 except Exception:
LOWtests/python_tests/python_correctness.py271 except Exception:
LOWtests/python_tests/python_correctness.py278 except Exception:
LOWtests/python_tests/python_correctness.py287 except Exception:
LOWtests/python_tests/python_correctness.py294 except Exception:
LOWtests/python_tests/python_correctness.py303 except Exception:
LOWtests/python_tests/python_correctness.py310 except Exception:
LOWtests/python_tests/python_correctness.py317 except Exception:
LOWtests/python_tests/python_correctness.py326 except Exception:
LOWtests/python_tests/python_correctness.py333 except Exception:
LOWtests/python_tests/python_correctness.py362 except Exception:
LOWtests/python_tests/python_correctness.py369 except Exception:
LOWtests/python_tests/python_correctness.py376 except Exception:
LOWtests/python_tests/python_correctness.py436 except Exception:
LOWtests/python_tests/python_correctness.py443 except Exception:
LOWtests/python_tests/python_correctness.py451 except Exception:
LOWtests/python_tests/python_correctness.py142 except Exception:
LOWtests/python_tests/python_correctness.py155 except Exception:
LOWtests/python_tests/python_correctness.py202 except Exception:
LOWtests/python_tests/python_correctness.py216 except Exception:
LOWtests/python_tests/python_correctness.py351 except Exception:
LOWtests/python_tests/python_correctness.py388 except Exception:
LOWtests/python_tests/python_correctness.py402 except Exception:
LOWtests/python_tests/python_correctness.py419 except Exception:
LOWtests/python_tests/python_correctness.py463 except Exception:
LOWtests/python_tests/python_correctness.py476 except Exception:
LOWtests/python_tests/python_correctness.py486 except Exception:
LOWtests/python_tests/python_correctness.py651 except Exception:
LOWtests/python_tests/ryw_benchmark.py57 except Exception:
LOWtests/python_tests/ryw_benchmark.py65 except Exception:
LOWtests/python_tests/ryw_benchmark.py105 except Exception:
MEDIUMtests/python_tests/ryw_benchmark.py52def run_test(self):
LOWtests/python_tests/python_performance.py69 except Exception:
LOWtests/python_tests/python_performance.py77 except Exception:
LOWtests/python_tests/python_performance.py151 except Exception:
MEDIUMtests/python_tests/python_performance.py64def run_test(self):
MEDIUMcontrib/prx.py26 print(f"Error running subprocess [{' '.join(command)}]:\n{output}", file=sys.stderr)
LOWcontrib/joshua_logtool.py162 except Exception as e:
LOWcontrib/joshua_logtool.py218 except Exception as e:
LOWcontrib/joshua_logtool.py270 except Exception as e:
86 more matches not shown…
Hyper-Verbose Identifiers181 hits · 152 pts
SeverityFileLineSnippet
LOWpackaging/make_public.py38def getOrValidateAddress(address):
LOWpackaging/docker/sidecar_test.py89 def test_get_check_hash_no_found(self):
LOWpackaging/docker/sidecar_test.py103 def test_get_check_hash_nested(self):
LOWpackaging/docker/sidecar_test.py114 def test_get_check_hash_outside(self):
LOWpackaging/docker/sidecar_test.py121 def test_get_is_present_no_found(self):
LOWpackaging/docker/sidecar_test.py133 def test_get_is_present_nested(self):
LOWpackaging/docker/sidecar_test.py142 def test_get_check_is_present(self):
LOWlayers/pubsub/pubsub_orig.py72def key_for_feed_subscriber_count(feed):
LOWlayers/pubsub/pubsub_orig.py76def key_for_feed_message_count(feed):
LOWlayers/pubsub/pubsub_orig.py84def prefix_for_feed_subscribers(feed):
LOWlayers/pubsub/pubsub_orig.py104def key_for_inbox_subscription_count(inbox):
LOWlayers/pubsub/pubsub_orig.py108def key_for_inbox_subscription(inbox, feed):
LOWlayers/pubsub/pubsub_orig.py112def prefix_for_inbox_subscriptions(inbox):
LOWlayers/pubsub/pubsub_orig.py151def _create_subscription_internal(tr, feed, inbox):
LOWlayers/pubsub/pubsub_simpledoc.py50def _create_feed_and_inbox_internal(metadata):
LOWlayers/pubsub/pubsub_simpledoc.py57def _create_subscription_internal(feed, inbox):
LOWlayers/pubsub/pubsub_simpledoc.py85def _get_feed_messages_internal(feed, limit):
LOWlayers/pubsub/pubsub_simpledoc.py119def _get_inbox_subscriptions_internal(inbox, limit):
LOWlayers/pubsub/pubsub_simpledoc.py129def _get_inbox_messages_internal(inbox, limit):
LOWlayers/pubsub/pubsub_example.py66def get_and_print_inbox_messages(inbox, limit=10):
LOWlayers/pubsub/pubsub.py259def get_and_print_inbox_messages(inbox, limit=10):
LOWlayers/containers/set.py160 def symmetric_difference_update(self, tr, t): # s ^ t
LOWlayers/containers/highcontention/queue.py321def queue_single_client_example(db):
LOWlayers/containers/highcontention/queue.py347def queue_multi_client_example(db):
LOWtests/TestRunner/fdb_test_runner/binary_download.py140 def copy_clientlib_from_local_repo(self, version):
LOWtests/TestRunner/fdb_test_runner/local_cluster.py462 def authz_public_key_conf_string(self):
LOWtests/TestRunner/fdb_test_runner/local_cluster.py495 def get_all_servers_from_status(self):
LOWtests/TestRunner/fdb_test_runner/local_cluster.py499 def get_coordinators_from_status(self):
LOWtests/TestRunner/fdb_test_runner/local_cluster.py557 def wait_for_coordinator_update(self, timeout=CLUSTER_UPDATE_TIMEOUT_SEC):
LOWtests/python_tests/__init__.py57 def multi_version_description(self):
LOWtests/python_tests/python_correctness.py500 def compare_database_to_memory(self, db, store):
LOWtests/python_tests/python_correctness.py668 def correctness_set_transactional(self, tr, data):
LOWtests/python_tests/python_correctness.py694 def correctness_get_transactional(self, tr, keys):
LOWtests/python_tests/python_correctness.py720 def correctness_get_range_transactional(self, tr, key1, key2, data=None):
LOWtests/python_tests/python_correctness.py738 def correctness_get_prefix_transactional(self, tr, prefix):
LOWtests/python_tests/python_correctness.py773 def correctness_get_key_transactional(self, tr, key_selectors):
LOWtests/python_tests/python_correctness.py807 def correctness_clear_transactional(self, tr, cleared_keys):
LOWtests/python_tests/python_correctness.py824 def correctness_clear_range_transactional(self, tr, key1, key2):
LOWtests/python_tests/python_correctness.py841 def correctness_clear_prefix_transactional(self, tr, prefixes):
LOWtests/python_tests/ryw_benchmark.py140 def run_single_clear_get_range(self, tr, count=100):
LOWtests/python_tests/ryw_benchmark.py150 def run_clear_range_get_range(self, tr, count=100):
LOWtests/python_tests/ryw_benchmark.py160 def run_interleaved_sets_gets(self, tr, count=10000):
LOWcontrib/convert.py13def find_version_for_timestamp(tr, timestamp, start):
LOWcontrib/convert.py40def find_timestamp_for_version(tr, version):
LOWcontrib/ddsketch_compare.py37def relative_entropy_symmetric(dd1, dd2):
LOWcontrib/prx.py118 def get_commits_from_merge_hash(merge: str) -> List[str]:
LOWcontrib/pkg_tester/test_fdb_pkgs.py92def ubuntu_image_with_fdb_helper(versioned: bool) -> Iterator[Optional[Image]]:
LOWcontrib/pkg_tester/test_fdb_pkgs.py142def ubuntu_image_with_fdb_versioned() -> Iterator[Optional[Image]]:
LOWcontrib/pkg_tester/test_fdb_pkgs.py146def centos_image_with_fdb_helper(versioned: bool) -> Iterator[Optional[Image]]:
LOWcontrib/pkg_tester/test_fdb_pkgs.py191def centos_image_with_fdb_versioned() -> Iterator[Optional[Image]]:
LOWcontrib/pkg_tester/test_fdb_pkgs.py323def test_execstack_permissions_libfdb_c(linux_container: Container, snapshot):
LOWcontrib/joshua_stats/stats.py64def get_speedup_long_simulation_time(filepath, threshold):
LOWcontrib/joshua_stats/stats.py180def draw_speedup_long_physical_time(speedups, do_y_log_scale, threshold, label):
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py445 def _check_and_adjust_chunk_cache_size(self):
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py464 def get_key_prefix_for_version_stamp(self, version_stamp):
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py470 def find_version_for_timestamp(self, tr, timestamp, start):
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py525 def build_client_transaction_info(v):
LOW…iling_analyzer/transaction_profiling_analyzer_tests.py36 def test_two_non_overlapping_desc(self):
LOW…iling_analyzer/transaction_profiling_analyzer_tests.py42 def test_two_non_overlapping_asc(self):
LOWcontrib/local_cluster/binding_test.py279def _log_cluster_lines_with_severity(
121 more matches not shown…
Verbosity Indicators92 hits · 139 pts
SeverityFileLineSnippet
LOWfdbclient/StorageCheckpoint.cpp92 // Step 1: Calculate target size and required padding
LOWfdbclient/StorageCheckpoint.cpp100 // Step 2: Build the footer
LOWfdbclient/StorageCheckpoint.cpp108 // Step 3: Assemble the final serialized checkpoint
LOWfdbclient/StorageCheckpoint.cpp134 // Step 1: Extract footer and parse padding size
LOWfdbclient/StorageCheckpoint.cpp145 // Step 2: Calculate original payload size
LOWfdbclient/StorageCheckpoint.cpp150 // Step 3: Extract and return the original payload
LOWtests/TestRunner/fdb_test_runner/local_cluster.py600 # Step 1: add new servers
LOWtests/TestRunner/fdb_test_runner/local_cluster.py617 # Step 2: change coordinators
LOWtests/TestRunner/fdb_test_runner/local_cluster.py630 # Step 3: exclude old servers from the cluster, i.e. move out their data
LOWtests/TestRunner/fdb_test_runner/local_cluster.py639 # Step 4: remove the old servers
LOWfdbbackup/tests/s3_backup_bulkdump_bulkload.sh268 # Step 1: Restore with prefix using traditional rangefile mode (keep the data)
LOWfdbbackup/tests/s3_backup_bulkdump_bulkload.sh276 # Step 2: Clear normalKeys (original data)
LOWfdbbackup/tests/s3_backup_bulkdump_bulkload.sh283 # Step 3: Restore to normalKeys
LOWfdbbackup/tests/s3_backup_bulkdump_bulkload.sh301 # Step 4: Run audit to compare BulkLoad-restored (normalKeys) vs traditional-restored (prefix)
LOWfdbbackup/tests/s3_backup_bulkdump_bulkload.sh310 # Step 5: Clean up the prefixed validation data
LOWcontrib/joshua_logtool.py124 # Step 1: Find log files
LOWcontrib/joshua_logtool.py225 # Step 2: Determine ensemble ID
LOWcontrib/joshua_logtool.py237 # Step 3: Create tar archive
LOWcontrib/joshua_logtool.py254 # Step 4: Upload to FDB
LOWcontrib/metadata_audit/check_krm_corruption.py1035 # Step 3: Compare
LOWcontrib/metadata_audit/check_krm_corruption.py948 # Step 1: Get serverList entries from FDB
LOWcontrib/metadata_audit/check_krm_corruption.py1016 # Step 2: Get running storage servers from fdbcli status
LOWcontrib/metadata_audit/check_krm_corruption.py1274 # Step 4: Try to match by first 8 bytes (fdbcli only shows first half of UID)
LOWcontrib/metadata_audit/check_krm_corruption.py1313 # Step 5: Try to match by address (only if prefix match failed)
LOWcontrib/metadata_audit/check_krm_corruption.py1361 # Step 6: Scan serverKeys to find full UIDs
LOWcontrib/metadata_audit/check_krm_corruption.py2562 # Step 1: Build map from keyServers - what ranges are assigned to which servers
LOWcontrib/metadata_audit/check_krm_corruption.py2587 # Step 2: Build map from serverKeys - what ranges each server claims
LOWcontrib/metadata_audit/check_krm_corruption.py2623 # Step 3: Compare - for each keyServers range, check serverKeys agrees
LOWcontrib/metadata_audit/check_krm_corruption.py2705 # Step 1: Build complete map of what each server claims to own from serverKeys
LOWcontrib/metadata_audit/check_krm_corruption.py2743 # Step 2: For each keyServers range, check that all listed servers claim it
LOWcontrib/metadata_audit/check_krm_corruption.py2808 # Step 3: Find orphan serverKeys - servers that claim ranges but aren't in keyServers
LOWcontrib/metadata_audit/check_krm_corruption.py4570 2. We need to check if ANY server has the shard before removing
LOWfdbserver/storageserver/storageserver.actor.cpp7689 // Step 1: Download files to localRoot
LOWfdbserver/storageserver/storageserver.actor.cpp7729 // Step 2: Do byte sampling locally if the remote byte sampling file is not valid nor existing
LOWfdbserver/storageserver/storageserver.actor.cpp7752 // Step 3: Build LocalRecord used by ShardedRocksDB KVStore when injecting data
LOWfdbserver/storageserver/storageserver.actor.cpp7794 // Step 4: Update the moveInShard phase
LOWfdbserver/core/BulkDumpUtil.cpp122 // Step 1: Clean up local folder
LOWfdbserver/core/BulkDumpUtil.cpp125 // Step 2: Dump data to file
LOWfdbserver/core/BulkDumpUtil.cpp135 // Step 3: Dump sample to file
LOWfdbserver/core/BulkDumpUtil.cpp144 // Step 4: Generate manifest file
LOWfdbserver/core/BackupPartitionMap.cpp50 // Step 1: Collect shard sizes
LOWfdbserver/core/BackupPartitionMap.cpp76 // Step 2: Partition the shards
LOWfdbserver/core/BulkLoadUtil.cpp344 // Step 1: Generate local file set based on remote file set by replacing the remote root to the local root.
LOWfdbserver/core/BulkLoadUtil.cpp352 // Step 2: Download remote file set to local folder
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp243 // Step 1: find all valid teams from team collection
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp286 // Step 2: Conduct Power-of-D-Choice to select a team
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5164 // Step 1: Create machineLocalityMap which will be used in building machine team
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5169 // Step 2: Get least used machines from which we choose machines as a machine team
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5204 // Step 3: Create a representative process for each machine.
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5228 // Step 4: Reuse Policy's selectReplicas() to create team for the representative process.
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5275 // Step 5: Restore machine from its representative process team and get the machine team
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5625 // Step 1: Choose 1 least used server and then choose 1 least used machine team from the server
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5647 // Step 2: Randomly pick 1 server from each machine in the chosen machine team to form a server team
LOWfdbserver/datadistributor/DDTeamCollection.actor.cpp5711 // Step 4: Add the server team
LOWfdbserver/datadistributor/DataDistribution.cpp1189 // Step 1: persist bulk load task phase as triggered
LOWfdbserver/datadistributor/DataDistribution.cpp1203 // Step 2: submit the task to in-memory task map, which (1) turns off shard boundary change;
LOWfdbserver/datadistributor/DataDistribution.cpp1209 // Step 3: create bulk load shard and trigger data move and wait for task completion
LOWfdbserver/datadistributor/DataDistribution.cpp1626 // Step 1: Get manifest metadata by downloading the manifest file
LOWfdbserver/datadistributor/DataDistribution.cpp1631 // Step 2: Check if the task has been created
LOWfdbserver/datadistributor/DataDistribution.cpp1640 // Step 3: Trigger bulkload task which is handled by bulkload task engine
32 more matches not shown…
Deep Nesting141 hits · 122 pts
SeverityFileLineSnippet
LOWpackaging/docker/sidecar.py419
LOWpackaging/docker/sidecar.py480
LOWpackaging/docker/sidecar.py509
LOWdocumentation/sphinx/extensions/rubydomain.py114
LOWdocumentation/sphinx/extensions/rubydomain.py355
LOWdocumentation/sphinx/extensions/rubydomain.py499
LOWdocumentation/sphinx/extensions/rubydomain.py619
LOWlayers/compressedColumn/compressedColumn.py58
LOWlayers/compressedColumn/compressedColumn.py103
LOWlayers/compressedColumn/compressedColumn.py195
LOWlayers/containers/treap.py81
LOWfdbrpc/actorFuzz.py144
LOWfdbclient/vexillographer/vexillographer.py176
LOWtests/TestRunner/fdb_test_runner/tmp_cluster.py70
LOWtests/TestRunner/fdb_test_runner/local_cluster.py702
LOWcontrib/ctest_to_joshua.py32
LOWcontrib/commit_debug.py103
LOWcontrib/commit_debug.py62
LOWcontrib/convert.py40
LOWcontrib/inline_fdb_backtraces.py11
LOWcontrib/apiversioner.py126
LOWcontrib/apiversioner.py199
LOWcontrib/apiversioner.py287
LOWcontrib/joshua_logtool.py108
LOWcontrib/joshua_logtool.py368
LOWcontrib/lint.py187
LOWcontrib/pkg_tester/test_fdb_pkgs.py205
LOWcontrib/grv_proxy_model/grv_test.py68
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py942
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py323
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py503
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py810
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py840
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py1152
LOW…iling_analyzer/transaction_profiling_analyzer_tests.py113
LOWcontrib/local_cluster/binding_test.py279
LOWcontrib/local_cluster/lib/fdb_process.py163
LOWcontrib/metadata_audit/repair_coalesce.py247
LOWcontrib/metadata_audit/restore_metadata.py173
LOWcontrib/metadata_audit/restore_metadata.py279
LOWcontrib/metadata_audit/check_krm_corruption.py134
LOWcontrib/metadata_audit/check_krm_corruption.py356
LOWcontrib/metadata_audit/check_krm_corruption.py554
LOWcontrib/metadata_audit/check_krm_corruption.py615
LOWcontrib/metadata_audit/check_krm_corruption.py824
LOWcontrib/metadata_audit/check_krm_corruption.py918
LOWcontrib/metadata_audit/check_krm_corruption.py1470
LOWcontrib/metadata_audit/check_krm_corruption.py1722
LOWcontrib/metadata_audit/check_krm_corruption.py1914
LOWcontrib/metadata_audit/check_krm_corruption.py2318
LOWcontrib/metadata_audit/check_krm_corruption.py2432
LOWcontrib/metadata_audit/check_krm_corruption.py2551
LOWcontrib/metadata_audit/check_krm_corruption.py2684
LOWcontrib/metadata_audit/check_krm_corruption.py2857
LOWcontrib/metadata_audit/check_krm_corruption.py2960
LOWcontrib/metadata_audit/check_krm_corruption.py3128
LOWcontrib/metadata_audit/check_krm_corruption.py3222
LOWcontrib/metadata_audit/check_krm_corruption.py3615
LOWcontrib/metadata_audit/check_krm_corruption.py3895
LOWcontrib/metadata_audit/check_krm_corruption.py4232
81 more matches not shown…
Redundant / Tautological Comments57 hits · 75 pts
SeverityFileLineSnippet
LOWlayers/containers/vector.py364 # Check if the new end of the vector was being sparsely represented
LOWlayers/containers/highcontention/queue.py231 # Check if there are other people waiting to be popped. If so, we
LOWfdbclient/tests/mocks3_fixture.sh109 # Check if the process is still running
LOWfdbclient/tests/mocks3_fixture.sh174 # Check if process exists before trying to kill
LOWfdbclient/tests/mocks3_fixture.sh195 # Check if it survived kill -9 (should be impossible)
LOWfdbclient/tests/tests_common.sh137# Check if test data should be preserved (PRESERVE_TEST_DATA=1)
LOWfdbclient/tests/fdb_cluster_fixture.sh24 # Check if we're taking too long
LOWfdbclient/tests/s3client_test.sh18 # Check if test data should be preserved (common function from tests_common.sh)
LOWfdbclient/tests/s3client_test.sh247 # Check if command succeeded and output matches expected patterns
LOWfdbclient/tests/bulkload_test.sh27 # Check if test data should be preserved (common function from tests_common.sh)
LOWfdbclient/tests/aws_fixture.sh153# Check if curl is installed
LOWfdbclient/tests/aws_fixture.sh158# Check if curl is installed
LOWfdbclient/tests/aws_fixture.sh163# Check if jq is installed.
LOWtests/TestRunner/fdb_test_runner/binary_download.py60 # Check if the binaries for the given version are available in the local old binaries repository
LOWtests/TestRunner/fdb_test_runner/local_cluster.py568 # Check if the cluster file was successfully updated too
LOWfdbbackup/tests/backup_tests_common.sh194 # Check if backup is restorable (differential state) or completed
LOWfdbbackup/tests/backup_tests_common.sh250 # Check if BulkDump snapshot exists (look for bulkDumpJobId in describe output)
LOWfdbbackup/tests/backup_tests_common.sh267 # Check if backup already completed (no need to discontinue)
LOWfdbbackup/tests/backup_tests_common.sh344 # Check if restore completed
LOWfdbbackup/tests/backup_tests_common.sh352 # Check if restore failed (be specific - "LastError: None" contains "Error" so avoid false positives)
LOWfdbbackup/tests/blob_backup_restore_test.sh32 # Check if test data should be preserved (common function from tests_common.sh)
LOWfdbbackup/tests/s3_backup_bulkdump_bulkload.sh52 # Check if test data should be preserved (common function from tests_common.sh)
LOWcontrib/joshua_logtool.py152 # Check if we should include app logs from the log directory itself
LOWcontrib/metadata_audit/check_krm_corruption.py1043 # Check if mismatch is due to UID length difference (8 vs 16 bytes)
LOWcontrib/metadata_audit/check_krm_corruption.py1048 # Print results
LOWcontrib/metadata_audit/check_krm_corruption.py158 # Check if this looks like a versioned value (starts with 0x0FDB...)
LOWcontrib/metadata_audit/check_krm_corruption.py163 # Check if it's a valid FDB protocol version (starts with 0x0FDB00...)
LOWcontrib/metadata_audit/check_krm_corruption.py300 # Check if this version supports shard metadata
LOWcontrib/metadata_audit/check_krm_corruption.py1155 # Check if 4 bytes before could be an IP
LOWcontrib/metadata_audit/check_krm_corruption.py1157 # Check if it looks like a valid private/CGNAT IP
LOWcontrib/metadata_audit/check_krm_corruption.py1284 # Check if running UIDs (8 bytes) match the first 8 bytes of serverList UIDs
LOWcontrib/metadata_audit/check_krm_corruption.py1401 # Check if any serverKeys UIDs match running servers (by 8-byte prefix)
LOWcontrib/metadata_audit/check_krm_corruption.py1445 # Check if serverKeys UIDs match serverList UIDs
LOWcontrib/metadata_audit/check_krm_corruption.py1581 # Check if expected server is in the list
LOWcontrib/metadata_audit/check_krm_corruption.py2377 # Check if this is a blog shard
LOWcontrib/metadata_audit/check_krm_corruption.py2426 # Check if keyServers is completely empty
LOWcontrib/metadata_audit/check_krm_corruption.py2476 # Check if server exists
LOWcontrib/metadata_audit/check_krm_corruption.py2497 # Check if it's a blog range
LOWcontrib/metadata_audit/check_krm_corruption.py2503 # Check if this spans the full keyspace (very wrong!)
LOWcontrib/metadata_audit/check_krm_corruption.py2545 # Check if same as previous
LOWcontrib/metadata_audit/check_krm_corruption.py2647 # Check if any of this server's ranges overlap with [start_key, end_key)
LOWcontrib/metadata_audit/check_krm_corruption.py2774 # Check if this server claims to own this range in serverKeys
LOWcontrib/metadata_audit/check_krm_corruption.py2785 # Check if any of the server's ranges overlap with [prev_key, user_key)
LOWcontrib/metadata_audit/check_krm_corruption.py3014 # Check if it's a blog shard (\xff\x02)
LOWcontrib/metadata_audit/check_krm_corruption.py4061 # Check if this server is in the keyServers entry
LOWcontrib/metadata_audit/check_krm_corruption.py4078 # Check if this server is missing THIS specific range
LOWcontrib/metadata_audit/check_krm_corruption.py5345 # Check if orphan ranges cover the keyspace
LOWcontrib/metadata_audit/check_krm_corruption.py5467 # Check if stale serverKeys entries will cause wrong_shard_server
LOWcontrib/metadata_audit/check_krm_corruption.py5480 # Check if stale serverKeys entries will cause wrong_shard_server
LOWcontrib/TestHarness2/analyze_determinism_failure.py328 # Check if Run 2 has roughly 2x the events
LOWcontrib/TestHarness2/test_harness/run.py657 # Check if we're running with an old binary (restarting test with non-current binary)
LOWcontrib/TestHarness2/test_harness/run.py803 # Check if we need to look for config in trace files
LOWcontrib/TestHarness2/test_harness/run.py1128 # Check if we should preserve logs on failure
LOWcontrib/Joshua/scripts/correctnessTest.sh156 # Check if test failed by parsing XML output
LOWcontrib/Joshua/scripts/correctnessTest.sh276# Check if stdout file is empty and generate fallback if needed
LOWcontrib/Joshua/scripts/correctnessTest.sh295 # Check if test actually failed
LOWcontrib/Joshua/scripts/localClusterStart.sh106 # Display message
Self-Referential Comments19 hits · 55 pts
SeverityFileLineSnippet
MEDIUMpackaging/docker/kubernetes/test_config.yaml20# This file provides an example of using a statefulset to launch FDB processes
MEDIUMdocumentation/sphinx/conf.py5# This file is execfile()d with the current directory set to its containing dir.
MEDIUMlayers/compressedColumn/compressedColumn.py194 # This function is not fully transactional. Each compressed block will be created in a transaction
MEDIUMlayers/pubsub/pubsub_example.py46# Create the specified numbers of feeds and inboxes. Subscribe each inbox to a
MEDIUMlayers/pubsub/ps_tutorial.py53# Create a single feed (for Alice)
MEDIUMlayers/pubsub/ps_tutorial.py56# Create an inbox for Bob
MEDIUMlayers/pubsub/pubsub.py239# Create the specified numbers of feeds and inboxes. Subscribe each inbox to a
MEDIUMfdbclient/ClusterConnectionFile.cpp153 "# DO NOT EDIT!\n# This file is auto-generated, it is not to be edited by hand\n" +
MEDIUMfdbclient/include/fdbclient/SimpleIni.h50 -# Define the appropriate symbol for the converter you wish to use and
MEDIUMfdbclient/tests/tests_common.sh28 # Create a more robust watchdog that tries multiple kill strategies
MEDIUMfdbclient/tests/s3client_test.sh40# This function handles the case where TLS_CA_FILE might be empty
MEDIUMfdbclient/tests/s3client_test.sh850 # Create an empty blob credentials file (MockS3Server uses simple auth)
MEDIUMtests/TestRunner/fdb_test_runner/upgrade_test.py109 # Create a directory for external client libraries for MVC and fill it
MEDIUMcontrib/Joshua/scripts/localClusterStart.sh17# Initialize the variables
MEDIUMcontrib/Joshua/scripts/localClusterStart.sh28 # Define a random ip address and port on localhost
MEDIUMcontrib/Joshua/scripts/localClusterStart.sh118# Create the directories used by the server.
MEDIUMcontrib/Joshua/scripts/localClusterStart.sh166# Create a cluster file for the local cluster.
MEDIUMbindings/bindingtester/run_binding_tester.sh92 # Create the file, if not present
MEDIUMbindings/bindingtester/run_binding_tester.sh242# Initialize the variables
AI Slop Vocabulary18 hits · 48 pts
SeverityFileLineSnippet
MEDIUMfdbrpc/FlowTransport.cpp77// Certainly this applies to FDB messages. So we should refer to FDB
MEDIUMfdbclient/RESTClient.h67 // RESTConnectionPool is used to leverage cached connection if any for 'host:service' pair. API then leverage
MEDIUMfdbclient/StorageServerInterface.cpp24// Fundamentally it is just about comparing replies. Where they came from is incidental.
MEDIUMfdbclient/tests/tests_common.sh28 # Create a more robust watchdog that tries multiple kill strategies
LOWcontrib/metadata_audit/check_krm_corruption.py1567 # Simple midpoint - just use start key + a byte
LOWcontrib/metadata_audit/fdb/tuple.py615 # Booleans, UUIDs, integers, and Versionstamps can just use standard comparison.
MEDIUMcontrib/stacktrace/stacktrace.amalgamation.cpp412// are not defined as such in any file). To utilize the following
MEDIUMcontrib/rapidxml/manual.html90 Note that RapidXml performs no decoding - strings returned by name() and value() functions will contain text encoded us
MEDIUMcontrib/rapidxml/manual.html90 Note that RapidXml performs no decoding - strings returned by name() and value() functions will contain text encoded us
MEDIUMcontrib/rapidxml/manual.html90 Note that RapidXml performs no decoding - strings returned by name() and value() functions will contain text encoded us
MEDIUMcontrib/Joshua/scripts/correctnessTest.sh267# Execute Python test harness
LOWbindings/python/fdb/tuple.py615 # Booleans, UUIDs, integers, and Versionstamps can just use standard comparison.
MEDIUMfdbserver/core/QuietDatabase.cpp200// This is not robust in the face of a TLog failure
MEDIUM…core/include/fdbserver/core/AccumulativeChecksumUtil.h82 uint16_t acsIndex; // Essentially, this is the ID of commit proxy
MEDIUMfdbserver/datadistributor/DDTeamCollection.actor.cpp2419 // utilize the disk of other active SS
MEDIUMfdbserver/workloads/S3ClientWorkload.cpp112 // Uses S3BlobStoreEndpoint::fromString() for robust URL parsing (similar to
MEDIUMflow/include/flow/ThreadHelper.actor.h904// implementation for memory management error handling though. Essentially a future that's returned from a synchronous
MEDIUMflow/include/flow/WipedString.h83// NOTE: This class intentionally diverged from Standalone<StringRef> for more robust preservation of
Unused Imports47 hits · 46 pts
SeverityFileLineSnippet
LOWlayers/taskbucket/__init__.py26
LOWtests/TestRunner/fdb_test_runner/authz_util.py1
LOWtests/TestRunner/fdb_test_runner/local_cluster.py5
LOWcontrib/convert.py5
LOWcontrib/apiversioner.py27
LOWcontrib/joshua_logtool.py18
LOWcontrib/grv_proxy_model/grv_test.py27
LOWcontrib/grv_proxy_model/grv_test.py31
LOWcontrib/grv_proxy_model/rate_model.py21
LOWcontrib/joshua_stats/stats.py4
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py40
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py43
LOW…n_profiling_analyzer/transaction_profiling_analyzer.py634
LOWcontrib/metadata_audit/repair_coalesce.py36
LOWcontrib/metadata_audit/check_krm_corruption.py98
LOWcontrib/metadata_audit/fdb/fdboptions.py22
LOWcontrib/TestHarness2/analyze_determinism_failure.py14
LOWcontrib/TestHarness2/test_harness/run.py1
LOWcontrib/TestHarness2/test_harness/config.py1
LOWcontrib/TestHarness2/test_harness/results.py1
LOWcontrib/TestHarness2/test_harness/summarize.py1
LOWcontrib/TestHarness2/test_harness/fdb.py1
LOWcontrib/TestHarness2/test_harness/app.py5
LOWcontrib/TestHarness2/test_harness/joshua.py1
LOWfdbcli/tests/fdbcli_tests.py3
LOWbindings/python/tests/tester.py22
LOWbindings/python/tests/unit_tests.py23
LOWbindings/bindingtester/tests/scripted.py28
LOWbindings/bindingtester/tests/tuple.py21
LOWbindings/bindingtester/tests/tuple.py22
LOWbindings/bindingtester/tests/tuple.py28
LOWbindings/bindingtester/tests/tuple.py29
LOWbindings/bindingtester/tests/test_util.py24
LOWbindings/bindingtester/tests/test_util.py30
LOWbindings/bindingtester/tests/api.py29
LOWbindings/bindingtester/tests/directory.py28
LOWbindings/bindingtester/tests/directory_hca.py26
LOWbindings/bindingtester/tests/directory_hca.py28
LOWbindings/bindingtester/tests/directory_hca.py28
LOWflow/actorcompiler_py/parse_tree.py1
LOWflow/actorcompiler_py/actor_compiler.py1
LOWflow/actorcompiler_py/actor_compiler.py5
LOWflow/actorcompiler_py/actor_parser.py1
LOWflow/actorcompiler_py/actor_parser.py7
LOWflow/actorcompiler_py/actor_parser.py7
LOWflow/actorcompiler_py/errors.py1
LOWflow/actorcompiler_py/__main__.py5
Decorative Section Separators13 hits · 42 pts
SeverityFileLineSnippet
MEDIUMcontrib/metadata_audit/check_krm_corruption.py2822# =============================================================================
MEDIUMcontrib/metadata_audit/check_krm_corruption.py2824# =============================================================================
MEDIUMcontrib/metadata_audit/check_krm_corruption.py2844# =============================================================================
MEDIUMcontrib/metadata_audit/check_krm_corruption.py5491 # ================================================================
MEDIUMcontrib/metadata_audit/check_krm_corruption.py5493 # ================================================================
MEDIUMbindings/c/test/fdb_c_client_config_tests.py180 # ----------------------------
MEDIUMbindings/c/test/fdb_c_client_config_tests.py182 # ----------------------------
MEDIUMbindings/c/test/fdb_c_client_config_tests.py131 # ----------------------------
MEDIUMbindings/c/test/fdb_c_client_config_tests.py133 # ----------------------------
MEDIUMbindings/c/test/fdb_c_client_config_tests.py265 # ----------------------------
MEDIUMbindings/c/test/fdb_c_client_config_tests.py267 # ----------------------------
MEDIUMbindings/c/test/fdb_c_client_config_tests.py817 # ---------------
MEDIUMbindings/c/test/fdb_c_client_config_tests.py819 # ---------------
Dead Code18 hits · 36 pts
SeverityFileLineSnippet
MEDIUMcontrib/metadata_audit/fdb/impl.py1199
MEDIUMcontrib/metadata_audit/fdb/impl.py1206
MEDIUMcontrib/metadata_audit/fdb/impl.py1240
MEDIUMcontrib/metadata_audit/fdb/impl.py1248
MEDIUMcontrib/metadata_audit/fdb/impl.py1256
MEDIUMcontrib/metadata_audit/fdb/impl.py1264
MEDIUMcontrib/metadata_audit/fdb/impl.py1272
MEDIUMcontrib/metadata_audit/fdb/impl.py1280
MEDIUMcontrib/metadata_audit/fdb/impl.py1288
MEDIUMbindings/python/fdb/impl.py1199
MEDIUMbindings/python/fdb/impl.py1206
MEDIUMbindings/python/fdb/impl.py1240
MEDIUMbindings/python/fdb/impl.py1248
MEDIUMbindings/python/fdb/impl.py1256
MEDIUMbindings/python/fdb/impl.py1264
MEDIUMbindings/python/fdb/impl.py1272
MEDIUMbindings/python/fdb/impl.py1280
MEDIUMbindings/python/fdb/impl.py1288
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippet
HIGHcontrib/metadata_audit/fdb/locality.py0documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html
HIGHcontrib/metadata_audit/fdb/__init__.py0documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html
HIGHbindings/python/fdb/locality.py0documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html
HIGHbindings/python/fdb/__init__.py0documentation for this api can be found at https://apple.github.io/foundationdb/api-python.html
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippet
HIGHdesign/data-distributor-internals.md191# Alternative View -- AI-generated for FDB 7.3
HIGHdesign/AI-generated/README.md1# AI-generated FDB code overview
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippet
LOWfdbrpc/include/fdbrpc/FlowGrpc.h92// ## Usage:
LOWfdbclient/tests/mocks3_fixture.sh6# Usage:
LOWfdbbackup/tests/blob_backup_restore_test.sh16# Usage:
LOWfdbbackup/tests/s3_backup_bulkdump_bulkload.sh42# Usage:
LOWcontrib/metadata_audit/metadata-audit.sh8# Usage:
LOWcontrib/stacktrace/stacktrace.amalgamation.cpp246// Example usage:
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWfdbrpc/FlowTransport.cpp2121 // with a few reliable ones. Don't forget to delref the new PacketBuffers since they are unsent.
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWlayers/taskbucket/__init__.py419 def perform_action(self, tr, taskDict):