The MongoDB Database
This report presents the forensic synthetic code analysis of mongodb/mongo, a C++ project with 28,471 GitHub stars. SynthScan v2.0 examined 10,263,811 lines of code across 38981 source files, recording 51778 pattern matches distributed across 27 syntactic categories. The overall adjusted score of 6.1 places this repository in the Low AI signal 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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.
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.
The scanner identified 51778 distinct pattern matches across 27 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 101 | # rapidyaml is broken on atlas distros with powercycle. The powercycle remote | COMMENT |
| LOW | pyproject.toml | 221 | # cryptography 41+ ships a Rust extension and PyPI carries no | COMMENT |
| LOW | pyproject.toml | 321 | # source — so uv records the tarball's sha256 in uv.lock and rules_pycross | COMMENT |
| LOW | modules_poc/mod_scanner.py | 101 | @staticmethod | COMMENT |
| LOW | modules_poc/mod_scanner.py | 681 | if ref.kind == CursorKind.OVERLOADED_DECL_REF: | COMMENT |
| LOW | modules_poc/mod_scanner.py | 701 | # at the internal declaration. Make sure that this isn't causing us to skip | COMMENT |
| LOW | modules_poc/cindex.py | 1 | # This local copy is modified as in https://github.com/llvm/llvm-project/pull/120590 | COMMENT |
| LOW | modules_poc/cindex.py | 821 | COMMENT | |
| LOW | modules_poc/cindex.py | 861 | ### | COMMENT |
| LOW | modules_poc/cindex.py | 941 | COMMENT | |
| LOW | modules_poc/cindex.py | 1021 | COMMENT | |
| LOW | modules_poc/cindex.py | 1041 | # pack. | COMMENT |
| LOW | modules_poc/cindex.py | 3021 | COMMENT | |
| LOW | modules_poc/modules.yaml | 1 | # This file defines the modules for the MongoDB project. | COMMENT |
| LOW | etc/performance_thresholds.yml | 1 | ######################################################################################################## | COMMENT |
| LOW | etc/performance_thresholds.yml | 21 | # bound_direction: {What the threshold direction should be. Must be one of upper or lower} | COMMENT |
| LOW | etc/extensions.yml | 1 | # mongo/etc/extensions.yml | COMMENT |
| LOW | etc/code_lockdown.yml | 41 | COMMENT | |
| LOW | etc/code_lockdown.yml | 61 | # count: 100 | COMMENT |
| LOW | etc/code_lockdown.yml | 81 | # Drill into the data using the <https://jira.mongodb.org/secure/Dashboard.jspa?selectPageId=33950|Jira Dashboar | COMMENT |
| LOW | etc/coverity.yml | 21 | # Enforces the Rule of Zero/Three/Five. MongoDB's class hierarchy | COMMENT |
| LOW | etc/coverity.yml | 41 | # produced only noise. | COMMENT |
| LOW | etc/coverity.yml | 61 | # --- Explicitly enabled checkers --- | COMMENT |
| LOW | etc/coverity.yml | 101 | # result without a null check. stat_threshold:50 requires at least 50% of | COMMENT |
| LOW | etc/coverity.yml | 121 | c-cpp-fnptr: true | COMMENT |
| LOW | etc/test_retrial.yml | 1 | # This file is used to tag JS tests for retry on failure that run in the mainline. | COMMENT |
| LOW | etc/test_retrial.yml | 21 | # in task_name: sharding_csrs_continuous_config_stepdown_WT | COMMENT |
| LOW | etc/test_retrial.yml | 41 | # | COMMENT |
| LOW | etc/test_lifecycle.yml | 1 | # This file is used to tag JS tests that run under resmoke.py. | COMMENT |
| LOW | etc/backports_required_for_multiversion_tests.yml | 1 | # This file is intended to track tests that should be denylisted from multiversion testing due to | COMMENT |
| LOW | etc/evergreen_lint.yml | 21 | # # source of pain: | COMMENT |
| LOW | etc/system_perf_soak.yml | 1 | # Config file for the sys-perf-soak Evergreen project. | COMMENT |
| LOW | etc/evergreen.yml | 1 | #################################################### | COMMENT |
| LOW | etc/evergreen.yml | 21 | # | COMMENT |
| LOW | etc/evergreen.yml | 41 | # - func: "cleanup environment" | COMMENT |
| LOW | etc/coverity_models/mongo_models.cpp | 1 | // Coverity model file for MongoDB-specific patterns. | COMMENT |
| LOW | etc/coverity_models/mongo_models.cpp | 41 | namespace mongo { | COMMENT |
| LOW | etc/coverity_models/mongo_models.cpp | 101 | // The model marks the output buffer as written (via __coverity_writeall__) so | COMMENT |
| LOW | etc/coverity_models/mongo_models.cpp | 161 | // OutOfLineExecutor::schedule — service executor callback dispatch | COMMENT |
| LOW | etc/coverity_models/mongo_models.cpp | 201 | Status s; | COMMENT |
| LOW | etc/coverity_models/mongo_security_directives.json | 1 | // Coverity Security Directives for MongoDB — C/C++ analysis | COMMENT |
| LOW | etc/coverity_models/mongo_security_directives.json | 21 | // - sensitive_operation — sink patterns | COMMENT |
| LOW | etc/coverity_models/mongo_security_directives.json | 41 | // | COMMENT |
| LOW | etc/coverity_models/extract_pw_rw_findings.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | etc/coverity_models/extract_pw_rw_findings.sh | 21 | # After suppression: | COMMENT |
| LOW | evergreen/bazel_test.sh | 41 | fi | COMMENT |
| LOW | evergreen/query_tester_test_repo_setup.sh | 1 | # This script is designed to clone a specific GitHub repository that contains server tests used by query_tester. | COMMENT |
| LOW | evergreen/prelude_mongo_task_generator.sh | 1 | function setup_mongo_task_generator { | COMMENT |
| LOW | evergreen/prelude_mongo_task_generator.sh | 21 | # popd | COMMENT |
| LOW | evergreen/resmoke_tests_execute_bazel.sh | 161 | # `bazel test` builds and runs in one command, so without this phase a build failure | COMMENT |
| LOW | evergreen/fetch_remote_test_results.sh | 1 | # Downloads bazel test results from remote executions and prepares them for Evergreen ingestion. | COMMENT |
| LOW | evergreen/generate_evergreen_bazelrc.sh | 61 | COMMENT | |
| LOW | evergreen/selinux_run_test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | evergreen/verify_extension_visibility_test.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | evergreen/verify_extension_visibility_test.sh | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| LOW | evergreen/verify_extension_visibility_test.sh | 201 | COMMENT | |
| LOW | evergreen/external_auth_azure_setup.sh | 41 | ssh -V | COMMENT |
| LOW | evergreen/verify_all_extensions_visibility.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | evergreen/jepsen_docker/list-append-sls-sharded.sh | 1 | DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" | COMMENT |
| LOW | evergreen/jepsen_docker/list-append-sls-rs.sh | 1 | DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)" | COMMENT |
| 37723 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | buildscripts/testdata/test.js | 1 | print("hello world"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 106 | print( | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 114 | print(`failed due to unretryable error: ${JSON.stringify(err)}`); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 119 | print(`Exhausted all retries, failing`); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 131 | print(`Establishing connection to "${MONGO_URI}"`); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 140 | print("executing find"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 145 | print("done executing find"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 150 | print("executing fsync"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 152 | print("done executing fsync. result:", JSON.stringify(result)); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 292 | print("done executing update"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 297 | print("executing delete"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 307 | print("done executing delete"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 312 | print("executing txn"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 356 | print( | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 365 | print("done executing txn"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 370 | print("executing dbcheck"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 373 | print(`running dbCheck on test.${coll}`); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 377 | print("done executing dbcheck"); | CODE |
| HIGH⚡ | …ithesis/test_composer/basic_js_commands/js/commands.js | 383 | print("Done executing replSetGetStatus. result:", JSON.stringify(result)); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 69 | print(`Received not OK result: ${JSON.stringify(result)}`); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 73 | print( | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 92 | print( | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 211 | print("done executing PIT read. result:", JSON.stringify(snapshotReadResult)); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 226 | print(`validating ${dbName}.${coll}...`); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 240 | print("executing aggregate"); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 271 | print("done executing aggregate"); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 276 | print("executing update"); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 333 | print("txn committed"); | CODE |
| HIGH | …ithesis/test_composer/basic_js_commands/js/commands.js | 340 | print( | CODE |
| HIGH | …oke_end2end/external_module_test/tests/another_test.js | 2 | print("External module test 2"); | CODE |
| HIGH | …smoke_end2end/external_module_test/tests/mongo_test.js | 26 | print("External module MongoDB test passed!"); | CODE |
| HIGH | …moke_end2end/external_module_test/tests/simple_test.js | 2 | print("External module test"); | CODE |
| HIGH | …tests/resmoke_end2end/testfiles/fixture_info_mongos.js | 4 | print("DEBUG BUILDINFO"); | CODE |
| HIGH | …smoke_end2end/testfiles/debugger/debugger_statement.js | 9 | print("Test Passed!"); | CODE |
| HIGH | …/resmoke_end2end/testfiles/debugger/simple_debugger.js | 10 | print("Test Passed!"); | CODE |
| HIGH⚡ | …_end2end/mongo_shell/tests/mongo_path_relative_test.js | 11 | print("Testing relative path imports..."); | CODE |
| HIGH⚡ | …_end2end/mongo_shell/tests/mongo_path_relative_test.js | 18 | print("SUCCESS: relative path import worked"); | CODE |
| HIGH⚡ | …_end2end/mongo_shell/tests/mongo_path_relative_test.js | 24 | print("SUCCESS: relative path load() worked"); | CODE |
| HIGH | …_end2end/mongo_shell/tests/mongo_path_relative_test.js | 40 | print("SUCCESS: relative path dynamic import() worked"); | CODE |
| HIGH | …_end2end/mongo_shell/tests/mongo_path_relative_test.js | 42 | print("All relative path tests passed!"); | CODE |
| HIGH⚡ | …oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js | 8 | print("Testing mixed path imports..."); | CODE |
| HIGH⚡ | …oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js | 10 | print("SUCCESS: MONGO_PATH import worked"); | CODE |
| HIGH⚡ | …oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js | 15 | print("SUCCESS: relative path load() worked"); | CODE |
| HIGH⚡ | …oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js | 20 | print("SUCCESS: MONGO_PATH dynamic import() worked"); | CODE |
| HIGH⚡ | …oke_end2end/mongo_shell/tests/mongo_path_mixed_test.js | 22 | print("All mixed path tests passed!"); | CODE |
| HIGH | …s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js | 9 | print("Testing top-level import with MONGO_PATH..."); | CODE |
| HIGH⚡ | …s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js | 20 | print("SUCCESS: top-level import found file in MONGO_PATH"); | CODE |
| HIGH⚡ | …s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js | 23 | print("Testing load() with MONGO_PATH..."); | CODE |
| HIGH⚡ | …s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js | 31 | print("SUCCESS: load() found file in MONGO_PATH"); | CODE |
| HIGH⚡ | …s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js | 34 | print("Testing dynamic import() with MONGO_PATH..."); | CODE |
| HIGH | …s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js | 46 | print("SUCCESS: dynamic import() found file in MONGO_PATH"); | CODE |
| HIGH | …s/resmoke_end2end/mongo_shell/tests/mongo_path_test.js | 48 | print("All MONGO_PATH tests passed (top-level import, load, and dynamic import)!"); | CODE |
| HIGH | …tests/aggregation/optimization/push_limit_into_sort.js | 53 | print("failed with limit=" + limit + " direction= " + direction); | CODE |
| HIGH | jstests/aggregation/expressions/iso_date_exprs.js | 25 | print("skipping test of " + date.tojson() + " because system doesn't support old dates"); | CODE |
| HIGH | jstests/aggregation/expressions/iso_date_exprs.js | 31 | print("skipping test of " + date.tojson() + " because it is outside of time_t range"); | CODE |
| HIGH | jstests/aggregation/expressions/rand.js | 7 | print("Generating test collection..."); | CODE |
| HIGH | jstests/aggregation/expressions/rand.js | 21 | print("Average: ", avg); | CODE |
| HIGH | …tests/aggregation/expressions/date_expr_before_1970.js | 5 | print("testing " + date); | CODE |
| HIGH | …tests/aggregation/expressions/date_expr_before_1970.js | 44 | print("skipping test of " + date.tojson() + " because system doesn't support old dates"); | CODE |
| HIGH | …tests/aggregation/expressions/date_expr_before_1970.js | 50 | print("skipping test of " + date.tojson() + " because it is outside of time_t range"); | CODE |
| 2098 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules_poc/browse.py | 236 | def add_mod_loc_mapping_nodes(node: TreeNode, usages: Usages, kind: str): | CODE |
| LOW | modules_poc/mod_scanner.py | 360 | def try_extract_file_level_visibility(c: Cursor) -> str | None: | CODE |
| LOW | modules_poc/private_headers.py | 47 | def get_all_paths_to_files_passing_filter( | CODE |
| LOW | modules_poc/private_headers.py | 159 | def add_mod_visibility_to_idl(idl_path: str, write_unless_dry: Callable) -> bool: | CODE |
| LOW⚡ | modules_poc/cindex.py | 2078 | def get_num_template_arguments(self): | CODE |
| LOW⚡ | modules_poc/cindex.py | 2082 | def get_template_argument_kind(self, num): | CODE |
| LOW⚡ | modules_poc/cindex.py | 2089 | def get_template_argument_type(self, num): | CODE |
| LOW⚡ | modules_poc/cindex.py | 2095 | def get_template_argument_value(self, num): | CODE |
| LOW⚡ | modules_poc/cindex.py | 2099 | def get_template_argument_unsigned_value(self, num): | CODE |
| LOW | modules_poc/cindex.py | 1583 | def is_converting_constructor(self): | CODE |
| LOW | modules_poc/cindex.py | 1611 | def is_copy_assignment_operator_method(self): | CODE |
| LOW | modules_poc/cindex.py | 1636 | def is_move_assignment_operator_method(self): | CODE |
| LOW | modules_poc/cindex.py | 1927 | def exception_specification_kind(self): | CODE |
| LOW | modules_poc/cindex.py | 2545 | def get_num_template_arguments(self): | CODE |
| LOW | modules_poc/cindex.py | 2548 | def get_template_argument_type(self, num): | CODE |
| LOW | modules_poc/cindex.py | 2686 | def get_exception_specification_kind(self): | CODE |
| LOW | modules_poc/cindex.py | 3706 | def write_main_file_to_stdout(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 14 | def test_validate_clang_tidy_setup_skips_unsupported_platforms(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 21 | def test_validate_clang_tidy_setup_accepts_expected_files(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 40 | def test_validate_clang_tidy_setup_rejects_missing_config(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 48 | def test_validate_clang_tidy_setup_rejects_missing_plugin(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 68 | def test_accepts_standard_arguments_entry(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 79 | def test_accepts_standard_command_entry(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 89 | def test_rejects_non_standard_keys(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 101 | def test_rejects_entries_with_both_command_and_arguments(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 113 | def test_selection_rejects_non_standard_compile_commands_json(self): | CODE |
| LOW | evergreen/validate_compile_commands_test.py | 134 | def test_ensure_compiledb_exists_builds_install_wiredtiger_too(self): | CODE |
| LOW | evergreen/validate_compile_commands.py | 53 | def _mongo_tidy_checks_supported_platform() -> bool: | CODE |
| LOW | evergreen/validate_compile_commands.py | 58 | def _validate_clang_tidy_setup(workspace_dir: str) -> None: | CODE |
| LOW | evergreen/validate_compile_commands.py | 95 | def _parse_repo_env_from_bazelrc(bazelrc_path: str, var_name: str) -> str | None: | CODE |
| LOW | evergreen/validate_compile_commands.py | 171 | def _maybe_add_windows_toolchain_env(base_env: dict[str, str], repo_root: str) -> dict[str, str]: | CODE |
| LOW | evergreen/validate_compile_commands.py | 266 | def _validate_compiledb_entry(entry: dict[str, Any], *, index: int) -> None: | CODE |
| LOW | evergreen/validate_compile_commands.py | 390 | def _determine_selection_count( | CODE |
| LOW | evergreen/validate_compile_commands.py | 473 | def _map_writable_output_path(out_root: str, original_path: str) -> str: | CODE |
| LOW | evergreen/validate_compile_commands.py | 530 | def _rewrite_output_paths_to_writable_dir( | CODE |
| LOW | evergreen/validate_compile_commands.py | 655 | def _ensure_parent_dirs_exist_for_outputs(args: list[str], cwd: str, repo_root: str) -> None: | CODE |
| LOW | evergreen/validate_compile_commands.py | 714 | def _select_entries_for_test_compile(path: str, n: int) -> tuple[int, list[dict[str, Any]]]: | CODE |
| LOW | evergreen/functions/upload_sbom_via_silkbomb.py | 17 | def get_changed_files_from_latest_commit(local_repo_path: str, branch_name: str = "master") -> dict: | CODE |
| LOW | evergreen/functions/code_coverage_data_process.py | 33 | def get_bazel_coverage_report_file() -> str: | CODE |
| LOW | x509/mkcert.py | 111 | def find_certificate_definition(name): | CODE |
| LOW | x509/mkcert.py | 383 | def authority_information_access(v, **_): | CODE |
| LOW | x509/mkcert.py | 706 | def read_certificate_generation_year(year_file): | CODE |
| LOW | bazel/workspace_status.py | 31 | def print_feature_flag_status(): | CODE |
| LOW | bazel/workspace_status.py | 72 | def print_evergreen_expansions(): | CODE |
| LOW | bazel/bazelisk.py | 107 | def decide_which_bazel_version_to_use(): | CODE |
| LOW | bazel/bazelisk.py | 146 | def resolve_version_label_to_number_or_commit(bazelisk_directory, version): | CODE |
| LOW | bazel/bazelisk.py | 253 | def determine_executable_filename_suffix(): | CODE |
| LOW | bazel/bazelisk.py | 276 | def get_supported_machine_archs(version, operating_system): | CODE |
| LOW | bazel/bazelisk.py | 303 | def normalized_machine_arch_name(): | CODE |
| LOW | bazel/bazelisk.py | 344 | def download_bazel_into_directory(version, is_commit, directory): | CODE |
| LOW | bazel/bazelisk.py | 469 | def prepend_directory_to_path(env, directory): | CODE |
| LOW | bazel/merge_tidy_configs.py | 54 | def check_options_list_to_map(value: Any) -> dict[str, Any]: | CODE |
| LOW | bazel/merge_tidy_configs.py | 64 | def merge_check_options_into_config( | CODE |
| LOW | bazel/merge_tidy_configs.py | 113 | def filter_and_sort_config_paths( | CODE |
| LOW | bazel/resmoke/resmoke_shim.py | 44 | def add_multiversion_exclude_tags(args): | CODE |
| LOW | bazel/resmoke/resmoke_shim.py | 89 | def copy_jstestfuzz_metadata_to_undeclared_outputs(): | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 309 | def _collect_network_io_metrics(self, metrics: dict[str, Any]): | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 483 | def _format_network_io_metrics(self, lines: list[str], sm: dict[str, Any]): | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 508 | def _format_process_tree_section(self, lines: list[str], snapshot: ResourceSnapshot): | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 595 | def start_periodic_monitoring(self): | CODE |
| 7663 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | modules_poc/modules.yaml | 1 | # This file defines the modules for the MongoDB project. | COMMENT |
| MEDIUM | etc/evergreen_timeouts.yml | 1 | # This file defines timeouts in evergreen that will override the default timeouts. | COMMENT |
| MEDIUM | etc/performance_thresholds.yml | 2 | # This file contains thresholds for performance tests run by resmoke. These correspond to # | COMMENT |
| MEDIUM | etc/test_retrial.yml | 1 | # This file is used to tag JS tests for retry on failure that run in the mainline. | COMMENT |
| MEDIUM | etc/test_lifecycle.yml | 1 | # This file is used to tag JS tests that run under resmoke.py. | COMMENT |
| MEDIUM | etc/backports_required_for_multiversion_tests.yml | 1 | # This file is intended to track tests that should be denylisted from multiversion testing due to | COMMENT |
| MEDIUM | etc/burn_in_tests.yml | 1 | # This file is used to exclude suites, tasks or tests from running in the burn_in_test task. | COMMENT |
| MEDIUM | evergreen/external_auth_gcp_setup.sh | 8 | # Create the config file, which will contain the GCE project/zone information along with | COMMENT |
| MEDIUM | evergreen/external_auth_gcp_setup.sh | 19 | # Create the SSH key file. Note that the SSH key has been base64 encoded and stored into an EVG | COMMENT |
| MEDIUM | evergreen/collect_bazel_debug_logs.sh | 70 | # Create the zip file | COMMENT |
| MEDIUM | evergreen/gen_supplementary_data.sh | 51 | # Create the final archive | COMMENT |
| MEDIUM | …green/functions/evergreen_api_credentials_configure.sh | 6 | # Create the Evergreen API credentials | COMMENT |
| MEDIUM | bazel/crates.toml | 1 | # This file is automatically @generated by Cargo. | COMMENT |
| MEDIUM | bazel/workspace_status.py | 8 | # This file is executed by Bazel prior to the build. Expect no packages to | COMMENT |
| MEDIUM | bazel/cargo_bindeps.toml | 1 | # This file is automatically @generated by Cargo. | COMMENT |
| MEDIUM | bazel/wrapper_hook/lint.py | 297 | # Create a new list of files that are in all_typed_files but not in typed_files_in_targets | STRING |
| MEDIUM | …ldscripts/evergreen_gen_streams_build_and_push_task.py | 16 | # This file is for generating the task that builds and pushes the streams docker image. | COMMENT |
| MEDIUM | buildscripts/bazel_burn_in.py | 171 | # Create the label "//jstests:foo.js" from jstests/foo.js | COMMENT |
| MEDIUM | buildscripts/github_merge_queue_metrics.py | 292 | # Create a span for each PR merge event | COMMENT |
| MEDIUM | buildscripts/clang_tidy_vscode.py | 39 | # This file is intended to document the configuration options available | COMMENT |
| MEDIUM | buildscripts/uv_sync.sh | 118 | # Create the venv up front and repoint py3 into it so the pip install | COMMENT |
| MEDIUM | buildscripts/compare_evergreen_versions.py | 203 | # Create a mapping of build_id to build_variant_name | COMMENT |
| MEDIUM | buildscripts/idl/generate_ifr_registry.py | 27 | # This file is regenerated by buildscripts/idl/generate_ifr_registry.py. | COMMENT |
| MEDIUM | buildscripts/idl/gen_dts.py | 196 | # Create the _gen.d.ts file if it doesn't exist. | COMMENT |
| MEDIUM | buildscripts/idl/gen_dts.py | 212 | # Create a Typescript definition from the symbol and write it to the file. | COMMENT |
| MEDIUM | buildscripts/idl/idl/compiler.py | 116 | # This function is fragile: | COMMENT |
| MEDIUM | buildscripts/idl/tests/test_binder.py | 46 | # Create a text wrap for common types. | COMMENT |
| MEDIUM | buildscripts/gdb/mongo.py | 835 | # The following block is roughly equivalent to this: | COMMENT |
| MEDIUM | buildscripts/sbom/install_endorctl.sh | 139 | ## Create an alias endorctl of the binary to ensure it is available in other directory | COMMENT |
| MEDIUM | buildscripts/sbom/generate_sbom.py | 66 | # Create an instance of the custom handler | COMMENT |
| MEDIUM | buildscripts/cost_model/ce_generate_data.py | 121 | # Create an array named 'chunkNames' with all chunk file names to be loaded. | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_sync_repo_with_copybara.py | 2125 | # Define the content for the Git configuration file | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_sync_repo_with_copybara.py | 2167 | # Define the content for the Git configuration file | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_sync_repo_with_copybara.py | 2171 | # Define a invalid branching off commit | COMMENT |
| MEDIUM | buildscripts/tests/test_sync_repo_with_copybara.py | 613 | # Create a mock private repository and get all commit hashes | COMMENT |
| MEDIUM | buildscripts/tests/test_sync_repo_with_copybara.py | 618 | # Create a mock public repository and pass the list of private commit hashes | COMMENT |
| MEDIUM | buildscripts/tests/test_sync_repo_with_copybara.py | 2101 | # Define the content for the Git configuration file | COMMENT |
| MEDIUM | buildscripts/tests/test_sync_repo_with_copybara.py | 6660 | "# This file is generated by buildscripts/copybara/generate_evergreen.py.", | CODE |
| MEDIUM⚡ | buildscripts/tests/test_legacy_commands_check.py | 59 | # This class is not a Command type and should not be mistaken for a Command type | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_legacy_commands_check.py | 65 | # This class is not a Command type and should not be mistaken for a Command type | COMMENT |
| MEDIUM | …/tests/resmoke_end2end/test_external_fixtures_hooks.py | 67 | # Create a _SingleJSTestCase with env_vars in config (not shell_options) | COMMENT |
| MEDIUM | …/tests/resmoke_end2end/test_external_fixtures_hooks.py | 89 | # Create a PyTestCase with env_vars in config | COMMENT |
| MEDIUM | …/tests/resmoke_end2end/test_external_fixtures_hooks.py | 105 | # Create a MatrixSuiteConfig | COMMENT |
| MEDIUM | …ipts/tests/resmoke_end2end/test_resmoke_js_debugger.py | 268 | # Create a test file that expects modified variables | COMMENT |
| MEDIUM | …sts/sbom_linter/inputs/kafka_missing_version_import.sh | 14 | # Create a temporary directory to clone and configure librdkafka | COMMENT |
| MEDIUM | …scripts/tests/sbom_linter/inputs/kafka_valid_import.sh | 14 | # Create a temporary directory to clone and configure librdkafka | COMMENT |
| MEDIUM | buildscripts/tests/resmokelib/core/test_programs.py | 28 | # Create a multiversion binary in a separate directory and look it up by its bare name. | COMMENT |
| MEDIUM | buildscripts/tests/resmokelib/testing/test_job.py | 242 | # Initialize the Job instance such that its setup_fixture() and teardown_fixture() methods | COMMENT |
| MEDIUM | …keconfig/suites/sharded_retryable_writes_downgrade.yml | 64 | # This file is testing resmoke's multiversion framework, not Server behavior | COMMENT |
| MEDIUM | …ipts/resmokeconfig/suites/change_streams_downgrade.yml | 224 | # This file is testing resmoke's multiversion framework, not Server behavior | COMMENT |
| MEDIUM | …s/resmokeconfig/matrix_suites/overrides/bulk_write.yml | 63 | # This file is an end to end test for both CSFLE and QE. CSFLE is not supported in bulk_write mode, | COMMENT |
| MEDIUM | …esmokeconfig/matrix_suites/generated_suites/OWNERS.yml | 1 | # This file is AUTO-GENERATED by 'buildscripts/resmoke.py generate-matrix-suites'. | COMMENT |
| MEDIUM | …dscripts/resmokeconfig/powercycle/powercycle_tasks.yml | 3 | # This file contains additional options to run the powercycle task with. | COMMENT |
| MEDIUM | …onfig/setup_multiversion/setup_multiversion_config.yml | 1 | # This file contains the list of all build variants running on *ALL* Evergreen mongo waterfalls. | COMMENT |
| MEDIUM | buildscripts/resmokelib/owners_generation.py | 185 | "# This file is AUTO-GENERATED by 'buildscripts/resmoke.py generate-matrix-suites'.\n" | CODE |
| MEDIUM | buildscripts/resmokelib/utils/autoloader.py | 30 | # Create a synthetic module for the parent package | COMMENT |
| MEDIUM | buildscripts/resmokelib/utils/otel_id_generator.py | 43 | # Create a separate Random instance to avoid interfering with other uses of random | COMMENT |
| MEDIUM | …ts/resmokelib/extensions/generate_extension_configs.py | 109 | # Create the output directory with restricted permissions so it is not world-writable. The | COMMENT |
| MEDIUM | buildscripts/resmokelib/run/__init__.py | 133 | # Create the resolved UUID directory eagerly so that | COMMENT |
| MEDIUM | …ripts/bazel_testbuilds/verify_resmoke_coredump_test.sh | 101 | # Create an expansions file that is like what will exist in the tests tasks. | COMMENT |
| 479 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pyproject.toml | 299 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyproject.toml | 301 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyproject.toml | 340 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | pyproject.toml | 342 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | evergreen/verify_extension_visibility_test.sh | 43 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | evergreen/verify_extension_visibility_test.sh | 51 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | evergreen/verify_extension_visibility_test.sh | 81 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | evergreen/verify_extension_visibility_test.sh | 90 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | evergreen/verify_extension_visibility_test.sh | 204 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | evergreen/verify_extension_visibility_test.sh | 214 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-sharded.sh | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-sharded.sh | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-sharded.sh | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-sharded.sh | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-rs.sh | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-rs.sh | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-rs.sh | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | evergreen/jepsen_docker/list-append-sls-rs.sh | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | bazel/auto_header/gen_all_headers.py | 313 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …approval-recency/tests/integration/test_integration.py | 43 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …approval-recency/tests/integration/test_integration.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …approval-recency/tests/integration/test_integration.py | 122 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …approval-recency/tests/integration/test_integration.py | 124 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …approval-recency/tests/integration/test_integration.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …approval-recency/tests/integration/test_integration.py | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | buildscripts/build_cargo_bazel_ppc64le.sh | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | buildscripts/idl/generate_ifr_registry.py | 33 | # -------------------- | COMMENT |
| MEDIUM | buildscripts/idl/generate_ifr_registry.py | 50 | # ----------- | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 45 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 47 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 65 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 67 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 126 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 128 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 136 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 138 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 149 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | buildscripts/tests/test_compiledb_posthook.py | 151 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …te_multi_op_sharded_collections_jscore_passthrough.yml | 42 | # ---------------------------------------- | COMMENT |
| MEDIUM | …te_multi_op_sharded_collections_jscore_passthrough.yml | 44 | # ---------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 57 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 62 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 95 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 99 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 129 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 133 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 163 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …nfig/matrix_suites/overrides/with_mongot_extension.yml | 167 | # --------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | buildscripts/resmokelib/owners_generation.py | 102 | # ── private helpers ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …index/geo/geo_strict_polygon_in_geometry_collection.js | 89 | // ── insert + query on unindexed collection ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …index/geo/geo_strict_polygon_in_geometry_collection.js | 124 | // ── insert into 2dsphere-indexed collection ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …index/geo/geo_strict_polygon_in_geometry_collection.js | 144 | // ── createIndex on collection that already has the document ───────────────────────────────────── | COMMENT |
| MEDIUM⚡ | jstests/replsets/nodes_prefer_primary_sync_source.js | 99 | // west ──────────▶ central ────────▶ eastCentral ───────────▶ east | COMMENT |
| MEDIUM⚡ | jstests/replsets/nodes_prefer_primary_sync_source.js | 103 | // ├──── 55 ms ──────┼───────────────────┘ │ | COMMENT |
| MEDIUM⚡ | jstests/replsets/nodes_prefer_primary_sync_source.js | 105 | // │ └──────────── 50 ms ─────────────────────┤ | COMMENT |
| MEDIUM⚡ | jstests/replsets/nodes_prefer_primary_sync_source.js | 107 | // └──────────────────────── 300 ms ──────────────────────────┘ | COMMENT |
| MEDIUM | …ore_sharding/ddl/timeseries_sharded_fixed_bucketing.js | 57 | // ── shardCollection behavior ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ore_sharding/ddl/timeseries_sharded_fixed_bucketing.js | 148 | // ── Global catalog — createCollection then shardCollection ──────────────────────────────────── | COMMENT |
| MEDIUM | …ore_sharding/ddl/timeseries_sharded_fixed_bucketing.js | 198 | // ── Global catalog — collMod bucketing change on a sharded collection ───────────────────────── | COMMENT |
| MEDIUM | …hird_party/mozjs/extract/js/src/util/SpecialCasing.txt | 27 | # ================================================================================ | COMMENT |
| 374 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules_poc/cindex.py | 51 | CODE | |
| LOW | modules_poc/cindex.py | 70 | CODE | |
| LOW | modules_poc/cindex.py | 76 | CODE | |
| LOW | bazel/merge_tidy_configs.py | 12 | CODE | |
| LOW | bazel/gpg_signer.py | 14 | CODE | |
| LOW | bazel/auto_header/ensure_fd.py | 14 | CODE | |
| LOW | …mongot_extension_signing_key/gpg_export_armored_key.py | 10 | CODE | |
| LOW | …ns/pr-approval-recency/validate_pr_approval_recency.py | 17 | CODE | |
| LOW | …ns/pr-approval-recency/validate_pr_approval_recency.py | 18 | CODE | |
| LOW | …ns/pr-approval-recency/validate_pr_approval_recency.py | 19 | CODE | |
| LOW | buildscripts/validate_mongocryptd.py | 5 | CODE | |
| LOW | buildscripts/validate_mongocryptd.py | 5 | CODE | |
| LOW | buildscripts/validate_mongocryptd.py | 5 | CODE | |
| LOW | buildscripts/pip_requirements.py | 43 | CODE | |
| LOW | buildscripts/lint_markdown_links.py | 113 | CODE | |
| LOW | buildscripts/evergreen_task_tags.py | 4 | CODE | |
| LOW | buildscripts/evergreen_task_tags.py | 4 | CODE | |
| LOW | buildscripts/evergreen_task_timeout.py | 4 | CODE | |
| LOW | buildscripts/bazel_spawn_pb2.py | 25 | CODE | |
| LOW | buildscripts/bazel_spawn_pb2.py | 26 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 10 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 11 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 12 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 13 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 14 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 15 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 16 | CODE | |
| LOW | buildscripts/idl/tests/context.py | 17 | CODE | |
| LOW | buildscripts/gdb/mongo.py | 104 | CODE | |
| LOW | buildscripts/util/oauth.py | 3 | CODE | |
| LOW | buildscripts/linter/git.py | 3 | CODE | |
| LOW | buildscripts/lldb/lldb_printers.py | 11 | CODE | |
| LOW | buildscripts/cost_model/database_instance.py | 5 | CODE | |
| LOW | buildscripts/cost_model/query_solution_tree.py | 5 | CODE | |
| LOW | buildscripts/cost_model/config.py | 5 | CODE | |
| LOW | buildscripts/cost_model/execution_tree_sbe.py | 5 | CODE | |
| LOW | buildscripts/cost_model/join_workload_execution.py | 5 | CODE | |
| LOW | buildscripts/cost_model/qsn_calibrator.py | 5 | CODE | |
| LOW | buildscripts/cost_model/execution_tree_classic.py | 4 | CODE | |
| LOW | buildscripts/cost_model/experiment.py | 3 | CODE | |
| LOW | buildscripts/cost_model/join_calibration_settings.py | 18 | CODE | |
| LOW | buildscripts/cost_model/data_generator.py | 5 | CODE | |
| LOW | buildscripts/cost_model/cost_estimator.py | 5 | CODE | |
| LOW | buildscripts/cost_model/workload_execution.py | 5 | CODE | |
| LOW | buildscripts/cost_model/random_generator.py | 5 | CODE | |
| LOW | buildscripts/cost_model/parameters_extractor_classic.py | 5 | CODE | |
| LOW | buildscripts/tests/test_todo_check.py | 3 | CODE | |
| LOW | buildscripts/tests/test_validate_mongocryptd.py | 3 | CODE | |
| LOW | buildscripts/tests/test_evergreen_task_tags.py | 3 | CODE | |
| LOW | buildscripts/tests/burn_in/test_burn_in.py | 3 | CODE | |
| LOW | buildscripts/tests/patch_builds/test_change_data.py | 3 | CODE | |
| LOW | buildscripts/tests/resmokelib/core/test_redirect.py | 3 | CODE | |
| LOW | buildscripts/tests/resmokelib/core/test_pipe.py | 3 | CODE | |
| LOW | buildscripts/timeouts/timeout.py | 3 | CODE | |
| LOW | buildscripts/monitor_build_status/jira_service.py | 1 | CODE | |
| LOW | buildscripts/monitor_build_status/cli.py | 1 | CODE | |
| LOW | …ldscripts/monitor_build_status/code_lockdown_config.py | 1 | CODE | |
| LOW | buildscripts/monitor_build_status/issue_report.py | 1 | CODE | |
| LOW | buildscripts/ciconfig/evergreen.py | 7 | CODE | |
| LOW | buildscripts/ciconfig/yaml_load.py | 46 | CODE | |
| 756 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules_poc/browse.py | 676 | CODE | |
| LOW | modules_poc/browse.py | 407 | CODE | |
| LOW | modules_poc/merge_decls.py | 42 | CODE | |
| LOW | modules_poc/merge_decls.py | 198 | CODE | |
| LOW | modules_poc/mod_scanner.py | 255 | CODE | |
| LOW | modules_poc/mod_scanner.py | 964 | CODE | |
| LOW | modules_poc/mod_scanner.py | 103 | CODE | |
| LOW | modules_poc/mod_mapping.py | 171 | CODE | |
| LOW | modules_poc/private_headers.py | 65 | CODE | |
| LOW | modules_poc/private_headers.py | 108 | CODE | |
| LOW | modules_poc/private_headers.py | 159 | CODE | |
| LOW | evergreen/fetch_optional_s3_targz.py | 72 | CODE | |
| LOW | evergreen/validate_compile_commands.py | 204 | CODE | |
| LOW | evergreen/validate_compile_commands.py | 329 | CODE | |
| LOW | evergreen/validate_compile_commands.py | 530 | CODE | |
| LOW | evergreen/validate_compile_commands.py | 763 | CODE | |
| LOW | x509/mkcert.py | 425 | CODE | |
| LOW | x509/mkcert.py | 532 | CODE | |
| LOW | x509/mkcert.py | 319 | CODE | |
| LOW | bazel/bazelisk.py | 107 | CODE | |
| LOW | bazel/bazelisk.py | 186 | CODE | |
| LOW | bazel/bazelisk.py | 408 | CODE | |
| LOW | bazel/bazelisk.py | 450 | CODE | |
| LOW | bazel/resmoke/resmoke_shim.py | 89 | CODE | |
| LOW | bazel/resmoke/derive_suite_selectors.py | 47 | CODE | |
| LOW | bazel/resmoke/derive_suite_selectors.py | 228 | CODE | |
| LOW | bazel/resmoke/resource_monitor.py | 45 | CODE | |
| LOW | bazel/resmoke/resource_monitor.py | 74 | CODE | |
| LOW | bazel/resmoke/download_historic_runtimes.py | 18 | CODE | |
| LOW | …zel/platforms/remote_execution_containers_generator.py | 20 | CODE | |
| LOW | bazel/auto_header/auto_header.py | 556 | CODE | |
| LOW | bazel/auto_header/auto_header.py | 570 | CODE | |
| LOW | bazel/auto_header/gen_all_headers.py | 16 | CODE | |
| LOW | bazel/auto_header/gen_all_headers.py | 57 | CODE | |
| LOW | bazel/auto_header/gen_all_headers.py | 204 | CODE | |
| LOW | bazel/install_rules/install_rules.py | 38 | CODE | |
| LOW | bazel/format/rules_lint_format_wrapper.py | 95 | CODE | |
| LOW | bazel/wrapper_hook/compiledb.py | 45 | CODE | |
| LOW | bazel/wrapper_hook/compiledb.py | 125 | CODE | |
| LOW | bazel/wrapper_hook/compiledb.py | 301 | CODE | |
| LOW | bazel/wrapper_hook/compiledb.py | 658 | CODE | |
| LOW | bazel/wrapper_hook/compiledb.py | 686 | CODE | |
| LOW | bazel/wrapper_hook/compiledb_postprocess.py | 45 | CODE | |
| LOW | bazel/wrapper_hook/lint_test.py | 50 | CODE | |
| LOW | bazel/wrapper_hook/lint_test.py | 77 | CODE | |
| LOW | bazel/wrapper_hook/lint_test.py | 211 | CODE | |
| LOW | bazel/wrapper_hook/wrapper_util.py | 16 | CODE | |
| LOW | bazel/wrapper_hook/wrapper_util.py | 90 | CODE | |
| LOW | bazel/wrapper_hook/wrapper_util.py | 111 | CODE | |
| LOW | bazel/wrapper_hook/plus_interface.py | 108 | CODE | |
| LOW | bazel/wrapper_hook/plus_interface.py | 144 | CODE | |
| LOW | bazel/wrapper_hook/plus_interface.py | 187 | CODE | |
| LOW | bazel/wrapper_hook/lint.py | 202 | CODE | |
| LOW | bazel/wrapper_hook/lint.py | 805 | CODE | |
| LOW | bazel/wrapper_hook/lint.py | 466 | CODE | |
| LOW | …ns/cc/mongo_linux/mongo_toolchain_version_generator.py | 87 | CODE | |
| LOW | buildscripts/benchmark_profiler.py | 86 | CODE | |
| LOW | buildscripts/config_diff.py | 112 | CODE | |
| LOW | buildscripts/bazel_burn_in.py | 389 | CODE | |
| LOW | buildscripts/github_merge_queue_metrics.py | 444 | CODE | |
| 498 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …kelib/testing/hooks/generate_and_check_perf_results.py | 982 | # Step 1: get the statistic type. | COMMENT |
| LOW⚡ | …kelib/testing/hooks/generate_and_check_perf_results.py | 988 | # Step 2: Get the thread count and name. | COMMENT |
| LOW⚡ | …kelib/testing/hooks/generate_and_check_perf_results.py | 997 | # Step 3: Remove any explicit iteration count from the base name. | COMMENT |
| LOW⚡ | jstests/query_golden/libs/plan_stability_utils.js | 434 | // JSON does not allow trailing commas, so we need to check if there are more fields after the "rows" field | COMMENT |
| LOW⚡ | jstests/query_golden/libs/plan_stability_utils.js | 443 | // JSON does not allow trailing commas, so we need to check if there are more fields after the "result" fiel | COMMENT |
| LOW⚡ | …ry_golden/test_inputs/simple_plan_stability_dataset.js | 24 | // Step 1: Calculate the normalization constant | COMMENT |
| LOW⚡ | …ry_golden/test_inputs/simple_plan_stability_dataset.js | 30 | // Step 2: Generate the Zipfian probabilities | COMMENT |
| LOW⚡ | …ry_golden/test_inputs/simple_plan_stability_dataset.js | 36 | // Step 3: Generate the output list based on probabilities | COMMENT |
| LOW⚡ | jstests/sharding/libs/proxy_protocol_server.py | 343 | # Step 1: Stop accepting new connections | COMMENT |
| LOW⚡ | jstests/sharding/libs/proxy_protocol_server.py | 351 | # Step 2: Close existing client connections gracefully | COMMENT |
| LOW⚡ | jstests/sharding/libs/proxy_protocol_server.py | 359 | # Step 3: Schedule abort as a safety fallback after 1 second | COMMENT |
| LOW | …tests/sharding/libs/set_allow_chunk_operations_util.js | 34 | // Step 1: config-server write. It is a retryable write, so use a fresh session. | COMMENT |
| LOW | …tests/sharding/libs/set_allow_chunk_operations_util.js | 57 | // Step 2: broadcast the command to every shard in the cluster. It must be a retryable write | COMMENT |
| LOW | …streams/change_stream_collection_v2_strict_whitebox.js | 242 | // Step 1: Move [10, MaxKey) to shard1 - partial, shard0 still has 2 chunks. | COMMENT |
| LOW | …streams/change_stream_collection_v2_strict_whitebox.js | 264 | // Step 2: Move [-10, 10) to shard2 -- partial, shard0 still has 1 chunk. Now 3 shards. | COMMENT |
| LOW | …streams/change_stream_collection_v2_strict_whitebox.js | 286 | // Step 3: Move [MinKey, -10) to shard1 -- full drain, shard0 has 0 chunks. | COMMENT |
| LOW | …e_streams/change_stream_database_v2_strict_whitebox.js | 245 | // Step 1: Move [10, MaxKey) to shard1 - placement refresh re-evaluates, cursors on shard0 + shard1. | COMMENT |
| LOW | …e_streams/change_stream_database_v2_strict_whitebox.js | 262 | // Step 2: Move [-10, 10) to shard2 - placement refresh, now 3 shards. | COMMENT |
| LOW | …e_streams/change_stream_database_v2_strict_whitebox.js | 279 | // Step 3: Move [MinKey, -10) to shard1 - all chunks off shard0, but shard0 is still | COMMENT |
| LOW | jstests/libs/crud_ops_to_bulk_write_lib.js | 272 | * The purpose of this function is to take a server response from a bulkWrite command and to | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 112 | // Step 1: For each state, compute shortest paths to all other states using BFS. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 115 | // Step 2: For each state, record unvisited actions. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 118 | // Step 3: Select starting state. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 123 | // Step 4: While there are unvisited actions. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 460 | // Step 1: Determine target shard key from action mapping. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 465 | // Step 2: Build collection context copy. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 469 | // Step 3: Pre-commands. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 531 | // Step 4: Main command. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 534 | // Step 5: Post-commands. | COMMENT |
| LOW | …query/prepare_constraint_validation_level_failpoint.js | 31 | // Step 1: start a non-conforming bypass write in a parallel shell; it will pause at the failpoint. | COMMENT |
| LOW⚡ | …query/prepare_constraint_validation_level_failpoint.js | 49 | // Step 2: wait for the write to pause (it now holds the collection IX lock). | COMMENT |
| LOW⚡ | …query/prepare_constraint_validation_level_failpoint.js | 52 | // Step 3: start the collMod in a parallel shell; it will wait for the X lock. | COMMENT |
| LOW | …query/prepare_constraint_validation_level_failpoint.js | 78 | // Step 4: start a second bypass write. The collMod X lock is already queued, so this write will | COMMENT |
| LOW | …query/prepare_constraint_validation_level_failpoint.js | 97 | // Step 5: release the failpoint so the first write can complete. | COMMENT |
| LOW | …hWithMongod/query/explain/explain_with_backup_plans.js | 116 | // Step 1: Verify the backup plan exists via queryPlanner explain. | COMMENT |
| LOW | …hWithMongod/query/explain/explain_with_backup_plans.js | 137 | // Step 2: Verify the backup plan is actually executed when the sort exceeds memory. | COMMENT |
| LOW⚡ | …pology/config_server_shard_registry_stale_secondary.js | 47 | // Step 1: Establish initial configTime. All config RS members are in sync. | COMMENT |
| LOW⚡ | …pology/config_server_shard_registry_stale_secondary.js | 56 | // Step 2: Stop replication on one secondary to make it stale. | COMMENT |
| LOW | …pology/config_server_shard_registry_stale_secondary.js | 72 | // Step 3: Isolate the config primary's RSM so the only reachable member is the stale secondary. | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 57 | // Step 1: Pause key generation on all config server nodes | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 64 | // Step 2: Delete existing keys to force regeneration | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 72 | // Step 3: Force a stepdown to re-initialize the KeyGenerator when primary comes back | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 80 | // Step 4: Enable fast refresh on config primary BEFORE getting the counter | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 85 | // Step 5: Get the counter before triggering key generation | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 89 | // Step 6: Re-enable key generation on all config server nodes | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 96 | // Step 7: Wait for key generation to complete | COMMENT |
| LOW⚡ | …on_control/deprioritization_stats_and_observability.js | 95 | // Step 1: ensure the statistic schema is correct. | COMMENT |
| LOW⚡ | …on_control/deprioritization_stats_and_observability.js | 102 | // Step 2: compare the statistics. The caller tries to assert compFunc(obj1, obj2). | COMMENT |
| LOW | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 43 | // Step 1: Pause just before generateSample() so that we can arm setYieldAllLocksHang after | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 56 | // Step 2: Wait for planning to complete (multikey = false in IndexScanNode). | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 59 | // Step 3: Arm the yield failpoint so we catch the first yield inside the sampling scan. | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 66 | // Step 4: Wait for the sampling scan to yield. | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 69 | // Step 5: Insert an array-valued document, making the compound index multikey on path 'a'. | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 73 | // Step 6: Release the yield. The scan resumes on a new snapshot that includes {a:[1,2,3]}. | COMMENT |
| LOW | …rty/mozjs/extract/js/src/frontend/DecoratorEmitter.cpp | 89 | // We need to check if the decorator returned undefined, a callable value, | COMMENT |
| LOW | …rty/mozjs/extract/js/src/frontend/DecoratorEmitter.cpp | 231 | // We need to check if the decorator returned undefined, a callable value, | COMMENT |
| LOW | …rty/mozjs/extract/js/src/frontend/DecoratorEmitter.cpp | 419 | // We need to check if the decorator returned undefined, a callable value, | COMMENT |
| LOW | src/third_party/mozjs/extract/js/src/wasm/WasmTypeDef.h | 860 | // We need to check if `superTypeDef` is one of `subTypeDef`s super types | COMMENT |
| LOW | src/third_party/mozjs/extract/js/src/vm/BigIntType.cpp | 2972 | // Step 4: If `mod >= 2**(bits - 1)`, return `mod - 2**bits`; otherwise, | COMMENT |
| LOW | …third_party/mozjs/extract/js/src/vm/AsyncIteration.cpp | 59 | // Step 1: Assert... | COMMENT |
| 216 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | etc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md | 255 | // Step 1: Find pattern A in the function — binds result in outer scope | COMMENT |
| LOW⚡ | etc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md | 258 | // Step 2: Derive additional context from result A | COMMENT |
| LOW⚡ | etc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md | 261 | // Step 3: Find pattern B in the SAME function — can use resultA and derived | COMMENT |
| LOW⚡ | etc/coverity_models/codexm/CODEXM_LESSONS_LEARNED.md | 265 | // Step 4: Connect A and B via symbol equality (list exists inherits outer scope) | COMMENT |
| LOW | docs/devcontainer/getting-started.md | 209 | ### Step 1: Clone Repository in Named Container Volume | COMMENT |
| LOW | docs/devcontainer/getting-started.md | 276 | ### Step 2: Verify Your Setup | COMMENT |
| LOW | docs/devcontainer/getting-started.md | 328 | ### Step 3: Understanding Your Environment | COMMENT |
| LOW | …fig/matrix_suites/overrides/rate_limiter_with_auth.yml | 15 | ### IMPORTANT: Don't override 'eval' in shell_options - use the 'eval:' key | COMMENT |
| LOW⚡ | …kelib/testing/hooks/generate_and_check_perf_results.py | 982 | # Step 1: get the statistic type. | COMMENT |
| LOW⚡ | …kelib/testing/hooks/generate_and_check_perf_results.py | 988 | # Step 2: Get the thread count and name. | COMMENT |
| LOW⚡ | …kelib/testing/hooks/generate_and_check_perf_results.py | 997 | # Step 3: Remove any explicit iteration count from the base name. | COMMENT |
| LOW⚡ | …ry_golden/test_inputs/simple_plan_stability_dataset.js | 24 | // Step 1: Calculate the normalization constant | COMMENT |
| LOW⚡ | …ry_golden/test_inputs/simple_plan_stability_dataset.js | 30 | // Step 2: Generate the Zipfian probabilities | COMMENT |
| LOW⚡ | …ry_golden/test_inputs/simple_plan_stability_dataset.js | 36 | // Step 3: Generate the output list based on probabilities | COMMENT |
| LOW | jstests/sharding/large_chunk.js | 19 | // Step 1 - Test moving a large chunk | COMMENT |
| LOW⚡ | jstests/sharding/libs/proxy_protocol_server.py | 343 | # Step 1: Stop accepting new connections | COMMENT |
| LOW⚡ | jstests/sharding/libs/proxy_protocol_server.py | 351 | # Step 2: Close existing client connections gracefully | COMMENT |
| LOW⚡ | jstests/sharding/libs/proxy_protocol_server.py | 359 | # Step 3: Schedule abort as a safety fallback after 1 second | COMMENT |
| LOW | …tests/sharding/libs/set_allow_chunk_operations_util.js | 34 | // Step 1: config-server write. It is a retryable write, so use a fresh session. | COMMENT |
| LOW | …tests/sharding/libs/set_allow_chunk_operations_util.js | 57 | // Step 2: broadcast the command to every shard in the cluster. It must be a retryable write | COMMENT |
| LOW | …streams/change_stream_collection_v2_strict_whitebox.js | 242 | // Step 1: Move [10, MaxKey) to shard1 - partial, shard0 still has 2 chunks. | COMMENT |
| LOW | …streams/change_stream_collection_v2_strict_whitebox.js | 264 | // Step 2: Move [-10, 10) to shard2 -- partial, shard0 still has 1 chunk. Now 3 shards. | COMMENT |
| LOW | …streams/change_stream_collection_v2_strict_whitebox.js | 286 | // Step 3: Move [MinKey, -10) to shard1 -- full drain, shard0 has 0 chunks. | COMMENT |
| LOW | …e_streams/change_stream_database_v2_strict_whitebox.js | 245 | // Step 1: Move [10, MaxKey) to shard1 - placement refresh re-evaluates, cursors on shard0 + shard1. | COMMENT |
| LOW | …e_streams/change_stream_database_v2_strict_whitebox.js | 262 | // Step 2: Move [-10, 10) to shard2 - placement refresh, now 3 shards. | COMMENT |
| LOW | …e_streams/change_stream_database_v2_strict_whitebox.js | 279 | // Step 3: Move [MinKey, -10) to shard1 - all chunks off shard0, but shard0 is still | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 112 | // Step 1: For each state, compute shortest paths to all other states using BFS. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 115 | // Step 2: For each state, record unvisited actions. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 118 | // Step 3: Select starting state. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 123 | // Step 4: While there are unvisited actions. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 460 | // Step 1: Determine target shard key from action mapping. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 465 | // Step 2: Build collection context copy. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 469 | // Step 3: Pre-commands. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 531 | // Step 4: Main command. | COMMENT |
| LOW⚡ | …nge_stream/change_stream_sharding_command_generator.js | 534 | // Step 5: Post-commands. | COMMENT |
| LOW | …query/prepare_constraint_validation_level_failpoint.js | 31 | // Step 1: start a non-conforming bypass write in a parallel shell; it will pause at the failpoint. | COMMENT |
| LOW⚡ | …query/prepare_constraint_validation_level_failpoint.js | 49 | // Step 2: wait for the write to pause (it now holds the collection IX lock). | COMMENT |
| LOW⚡ | …query/prepare_constraint_validation_level_failpoint.js | 52 | // Step 3: start the collMod in a parallel shell; it will wait for the X lock. | COMMENT |
| LOW | …query/prepare_constraint_validation_level_failpoint.js | 78 | // Step 4: start a second bypass write. The collMod X lock is already queued, so this write will | COMMENT |
| LOW | …query/prepare_constraint_validation_level_failpoint.js | 97 | // Step 5: release the failpoint so the first write can complete. | COMMENT |
| LOW | …hWithMongod/query/explain/explain_with_backup_plans.js | 116 | // Step 1: Verify the backup plan exists via queryPlanner explain. | COMMENT |
| LOW | …hWithMongod/query/explain/explain_with_backup_plans.js | 137 | // Step 2: Verify the backup plan is actually executed when the sort exceeds memory. | COMMENT |
| LOW⚡ | …pology/config_server_shard_registry_stale_secondary.js | 47 | // Step 1: Establish initial configTime. All config RS members are in sync. | COMMENT |
| LOW⚡ | …pology/config_server_shard_registry_stale_secondary.js | 56 | // Step 2: Stop replication on one secondary to make it stale. | COMMENT |
| LOW | …pology/config_server_shard_registry_stale_secondary.js | 72 | // Step 3: Isolate the config primary's RSM so the only reachable member is the stale secondary. | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 57 | // Step 1: Pause key generation on all config server nodes | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 64 | // Step 2: Delete existing keys to force regeneration | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 72 | // Step 3: Force a stepdown to re-initialize the KeyGenerator when primary comes back | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 80 | // Step 4: Enable fast refresh on config primary BEFORE getting the counter | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 85 | // Step 5: Get the counter before triggering key generation | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 89 | // Step 6: Re-enable key generation on all config server nodes | COMMENT |
| LOW⚡ | …ecution_control/keys_collection_non_deprioritizable.js | 96 | // Step 7: Wait for key generation to complete | COMMENT |
| LOW⚡ | …on_control/deprioritization_stats_and_observability.js | 95 | // Step 1: ensure the statistic schema is correct. | COMMENT |
| LOW⚡ | …on_control/deprioritization_stats_and_observability.js | 102 | // Step 2: compare the statistics. The caller tries to assert compFunc(obj1, obj2). | COMMENT |
| LOW | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 43 | // Step 1: Pause just before generateSample() so that we can arm setYieldAllLocksHang after | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 56 | // Step 2: Wait for planning to complete (multikey = false in IndexScanNode). | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 59 | // Step 3: Arm the yield failpoint so we catch the first yield inside the sampling scan. | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 66 | // Step 4: Wait for the sampling scan to yield. | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 69 | // Step 5: Insert an array-valued document, making the compound index multikey on path 'a'. | COMMENT |
| LOW⚡ | …/noPassthrough/query/cbr/ndv_estimate_multikey_race.js | 73 | // Step 6: Release the yield. The scan resumes on a new snapshot that includes {a:[1,2,3]}. | COMMENT |
| 209 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bazel/format/rules_lint_format_wrapper.py | 0 | query git to get a list of files in the repo from a diff. | STRING |
| HIGH | bazel/wrapper_hook/lint.py | 0 | query git to get a list of files in the repo from a diff. | STRING |
| HIGH | buildscripts/linter/git.py | 0 | query git to get a list of files in the repo from a diff. | STRING |
| HIGH | buildscripts/idl/tests/test_parser.py | 0 | feature_flags: featureflagtoaster: description: "make toast" cpp_varname: gtoaster fcv_gated: true | STRING |
| HIGH | buildscripts/idl/tests/test_generator.py | 0 | feature_flags: featureflagtoaster: description: "make toast" cpp_varname: gtoaster fcv_gated: true | STRING |
| HIGH | buildscripts/idl/tests/test_binder.py | 0 | feature_flags: featureflagtoaster: description: "make toast" cpp_varname: gtoaster fcv_gated: true | STRING |
| HIGH | buildscripts/tests/test_validate_mongocryptd.py | 0 | return a full name from a name relative to the test module"s name space. | STRING |
| HIGH | buildscripts/tests/burn_in/test_burn_in.py | 0 | return a full name from a name relative to the test module"s name space. | STRING |
| HIGH | buildscripts/tests/timeouts/test_timeout_service.py | 0 | return a full name from a name relative to the test module"s name space. | STRING |
| HIGH | buildscripts/tests/patch_builds/test_change_data.py | 0 | return a full name from a name relative to the test module"s name space. | STRING |
| HIGH | …ts/tests/resmokelib/hang_analyzer/test_process_list.py | 0 | return a full name from a name relative to the test module"s name space. | STRING |
| HIGH | buildscripts/tests/resmokelib/testing/test_executor.py | 0 | return a full name from a name relative to the test module"s name space. | STRING |
| HIGH | …nd/testfiles/test_fixture_env_vars_with_uds_replset.py | 0 | test that mongodb_fixture_type environment variable is set. | STRING |
| HIGH | …nd/testfiles/test_fixture_env_vars_with_uds_sharded.py | 0 | test that mongodb_fixture_type environment variable is set. | STRING |
| HIGH | …ke_end2end/testfiles/test_fixture_env_vars_with_uds.py | 0 | test that mongodb_fixture_type environment variable is set. | STRING |
| HIGH | …nd/testfiles/test_fixture_env_vars_with_uds_replset.py | 0 | test that mongodb_connection_string is still set even with uds. | STRING |
| HIGH | …nd/testfiles/test_fixture_env_vars_with_uds_sharded.py | 0 | test that mongodb_connection_string is still set even with uds. | STRING |
| HIGH | …ke_end2end/testfiles/test_fixture_env_vars_with_uds.py | 0 | test that mongodb_connection_string is still set even with uds. | STRING |
| HIGH | buildscripts/tests/resmokelib/testing/test_job.py | 0 | unit tests for the resmokelib.testing.executor module. | STRING |
| HIGH | …scripts/tests/resmokelib/testing/test_queue_element.py | 0 | unit tests for the resmokelib.testing.executor module. | STRING |
| HIGH | buildscripts/tests/resmokelib/testing/test_executor.py | 0 | unit tests for the resmokelib.testing.executor module. | STRING |
| HIGH | buildscripts/resmokelib/plugin.py | 0 | add parser options for this plugin. :param subparsers: argparse subparsers | STRING |
| HIGH | buildscripts/resmokelib/multiversion/__init__.py | 0 | add parser options for this plugin. :param subparsers: argparse subparsers | STRING |
| HIGH | buildscripts/resmokelib/discovery/__init__.py | 0 | add parser options for this plugin. :param subparsers: argparse subparsers | STRING |
| HIGH | …dscripts/resmokelib/testing/hooks/dbhash_background.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | …dscripts/resmokelib/testing/hooks/analyze_shard_key.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | buildscripts/resmokelib/testing/hooks/bghook.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | buildscripts/resmokelib/testing/hooks/secondary_lag.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | buildscripts/resmokelib/testing/hooks/change_streams.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | …testing/hooks/check_multikey_consistency_background.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | …scripts/resmokelib/testing/hooks/dbcheck_background.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | buildscripts/resmokelib/testing/hooks/background_job.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | …cripts/resmokelib/testing/hooks/reconfig_background.py | 0 | signal the background thread to exit, and wait until it does. | STRING |
| HIGH | …dscripts/resmokelib/testing/hooks/dbhash_background.py | 0 | instruct the background thread to run the dbcheck check while 'test' is also running. | STRING |
| HIGH | …testing/hooks/check_multikey_consistency_background.py | 0 | instruct the background thread to run the dbcheck check while 'test' is also running. | STRING |
| HIGH | …scripts/resmokelib/testing/hooks/dbcheck_background.py | 0 | instruct the background thread to run the dbcheck check while 'test' is also running. | STRING |
| HIGH | …dscripts/resmokelib/testing/hooks/dbhash_background.py | 0 | instruct the background thread to stop running reconfigs now that 'test' has finished running. | STRING |
| HIGH | …cripts/resmokelib/testing/hooks/validate_background.py | 0 | instruct the background thread to stop running reconfigs now that 'test' has finished running. | STRING |
| HIGH | buildscripts/resmokelib/testing/hooks/secondary_lag.py | 0 | instruct the background thread to stop running reconfigs now that 'test' has finished running. | STRING |
| HIGH | …scripts/resmokelib/testing/hooks/dbcheck_background.py | 0 | instruct the background thread to stop running reconfigs now that 'test' has finished running. | STRING |
| HIGH | …ipts/resmokelib/testing/hooks/fcv_upgrade_downgrade.py | 0 | instruct the background thread to stop running reconfigs now that 'test' has finished running. | STRING |
| HIGH | …cripts/resmokelib/testing/hooks/reconfig_background.py | 0 | instruct the background thread to stop running reconfigs now that 'test' has finished running. | STRING |
| HIGH | src/third_party/mozjs/extract/js/src/GeneratePrefs.py | 0 | \ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was not | STRING |
| HIGH | …ty/mozjs/extract/js/src/wasm/GenerateBuiltinModules.py | 0 | \ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was not | STRING |
| HIGH | …ty/mozjs/extract/js/src/jit/GenerateABIFunctionType.py | 0 | \ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was not | STRING |
| HIGH | …ird_party/mozjs/extract/js/src/jit/GenerateLIRFiles.py | 0 | \ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was not | STRING |
| HIGH | …party/mozjs/extract/js/src/jit/GenerateCacheIRFiles.py | 0 | \ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was not | STRING |
| HIGH | …ird_party/mozjs/extract/js/src/jit/GenerateMIRFiles.py | 0 | \ /* this source code form is subject to the terms of the mozilla public * license, v. 2.0. if a copy of the mpl was not | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_config02.py | 0 | create entries, and read back in a cursor: key=string, value=string | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_env01.py | 0 | create entries, and read back in a cursor: key=string, value=string | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_base03.py | 0 | create entries, and read back in a cursor: key=string, value=string | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_cursor04.py | 0 | create entries, and read back in a cursor: key=string, value=string | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_base05.py | 0 | create entries, and read back in a cursor: key=string, value=string | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_config04.py | 0 | create entries, and read back in a cursor: key=string, value=string | STRING |
| HIGH | …d_party/wiredtiger/test/suite/test_layered_stepup04.py | 0 | open a follower and apply the given checkpoint metadata. | STRING |
| HIGH | …party/wiredtiger/test/suite/test_prepare_discover10.py | 0 | open a follower and apply the given checkpoint metadata. | STRING |
| HIGH | …_party/wiredtiger/test/suite/test_layered_prepare09.py | 0 | open a follower and apply the given checkpoint metadata. | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_base03.py | 0 | return any additional configuration. this method may be overridden. | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_cursor04.py | 0 | return any additional configuration. this method may be overridden. | STRING |
| HIGH | …ird_party/wiredtiger/test/suite/test_cursor_tracker.py | 0 | return any additional configuration. this method may be overridden. | STRING |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules_poc/upload.py | 39 | except Exception as e: | CODE |
| MEDIUM | modules_poc/private_headers.py | 55 | print("Error: merged_decls.json not found. Run merge_decls.py first.") | CODE |
| LOW | modules_poc/private_headers.py | 154 | except Exception as e: | CODE |
| LOW | modules_poc/private_headers.py | 193 | except Exception as e: | CODE |
| MEDIUM | modules_poc/private_headers.py | 194 | print(f"Error modifying IDL {idl_path}: {e}") | CODE |
| LOW | evergreen/validate_compile_commands.py | 193 | except Exception as e: | CODE |
| LOW | evergreen/functions/upload_sbom_via_silkbomb.py | 36 | except Exception as e: | CODE |
| MEDIUM | evergreen/functions/upload_sbom_via_silkbomb.py | 37 | print(f"Error retrieving changed files: {e}") | CODE |
| MEDIUM | evergreen/functions/upload_sbom_via_silkbomb.py | 104 | print(f"Error during ECR authentication:\n--- STDERR ---\n{e.stderr}") | CODE |
| MEDIUM | evergreen/functions/upload_sbom_via_silkbomb.py | 112 | print(f"Error: '{container_command}' command not found.") | CODE |
| MEDIUM | evergreen/functions/upload_sbom_via_silkbomb.py | 204 | print(f"Error: SBOM file not found at path: {str(sbom_path.resolve())}") | CODE |
| LOW | evergreen/functions/upload_sbom_via_silkbomb.py | 262 | except Exception as e: | CODE |
| LOW | …s/security_reporting_scripts/upload_to_google_drive.py | 81 | except Exception as e: | CODE |
| MEDIUM | .devcontainer/s3_artifact_utils.py | 58 | print(f"Error querying S3: {e}", file=sys.stderr) | CODE |
| LOW | x509/mkcert.py | 898 | except Exception as e: | CODE |
| LOW | bazel/bazelisk.py | 85 | except Exception: | CODE |
| LOW | bazel/bazelisk.py | 399 | except Exception: | CODE |
| LOW | bazel/resmoke/resmoke_shim.py | 251 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resmoke_shim.py | 264 | except Exception as e: | CODE |
| LOW | bazel/resmoke/derive_suite_selectors.py | 86 | except Exception: | CODE |
| LOW | bazel/resmoke/derive_suite_selectors.py | 249 | except Exception as e: | CODE |
| LOW | bazel/resmoke/derive_suite_selectors.py | 316 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 191 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 232 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 245 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 256 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 284 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 306 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 322 | except Exception as e: | CODE |
| LOW | bazel/resmoke/resource_monitor.py | 341 | except Exception as e: | CODE |
| LOW⚡ | bazel/resmoke/resource_monitor.py | 628 | except Exception as e: | CODE |
| LOW⚡ | bazel/resmoke/resource_monitor.py | 630 | except Exception as e: | CODE |
| LOW | bazel/resmoke/download_historic_runtimes.py | 40 | except Exception: | CODE |
| LOW | bazel/auto_header/auto_header.py | 293 | except Exception: | CODE |
| LOW | bazel/auto_header/auto_header.py | 328 | except Exception: | CODE |
| LOW | bazel/auto_header/auto_header.py | 768 | except Exception as e: | STRING |
| LOW | bazel/auto_header/auto_header.py | 822 | except Exception as e: | STRING |
| MEDIUM | bazel/auto_header/auto_header.py | 284 | def _load_manifest_dirs() -> set[str]: | CODE |
| LOW | bazel/auto_header/gen_all_headers.py | 47 | except Exception: | CODE |
| LOW | bazel/auto_header/gen_all_headers.py | 62 | except Exception: | CODE |
| LOW | bazel/auto_header/gen_all_headers.py | 303 | except Exception as e: | CODE |
| LOW | bazel/auto_header/ensure_fd.py | 99 | except Exception: | CODE |
| LOW | bazel/auto_header/ensure_fd.py | 194 | except Exception: | CODE |
| MEDIUM | bazel/format/rules_lint_format_wrapper.py | 25 | print(f"Error running git command: {' '.join(command)}") | CODE |
| LOW⚡ | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 36 | except Exception: | CODE |
| LOW⚡ | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 43 | except Exception: | CODE |
| LOW⚡ | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 51 | except Exception: | CODE |
| LOW⚡ | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 54 | except Exception: | CODE |
| LOW⚡ | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 59 | except Exception: | CODE |
| LOW⚡ | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 64 | except Exception: | CODE |
| LOW⚡ | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 70 | except Exception: | CODE |
| LOW | bazel/wrapper_hook/generate_common_bes_bazelrc.py | 82 | except Exception: | CODE |
| LOW | bazel/wrapper_hook/wrapper_hook.py | 29 | except Exception: | CODE |
| LOW | bazel/wrapper_hook/wrapper_util.py | 72 | except Exception as _e: | CODE |
| LOW | bazel/wrapper_hook/wrapper_util.py | 85 | except Exception as _e: | CODE |
| LOW | bazel/wrapper_hook/wrapper_util.py | 104 | except Exception as _e: | CODE |
| LOW | bazel/wrapper_hook/wrapper_util.py | 129 | except Exception as _e: | CODE |
| LOW | bazel/wrapper_hook/plus_interface.py | 182 | except Exception as _: | CODE |
| LOW | bazel/wrapper_hook/flag_sync.py | 62 | except Exception: | CODE |
| MEDIUM | bazel/wrapper_hook/lint.py | 555 | print(f"Error running git command: {' '.join(command)}") | CODE |
| 333 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | modules_poc/cindex.py | 554 | """Helper class to facilitate token management. | STRING |
| MEDIUM | etc/evergreen_lint.yml | 34 | # paradigm is to source a script in the evergreen/ directory, or to add a | COMMENT |
| LOW | evergreen/jstestfuzz_run.sh | 50 | # just use 'meta_seed' itself for the seed. | COMMENT |
| LOW | buildscripts/check_for_noexcept.py | 176 | # to a line on the RHS. If it's not provided, we just use the start line of the snippet, | COMMENT |
| LOW | buildscripts/check_for_noexcept.py | 380 | # can only appear on the RHS. Snippets already on the RHS just use their own line. | COMMENT |
| MEDIUM | buildscripts/mongosymb.py | 76 | # TODO: make identifying mongo shared library directory more robust | COMMENT |
| MEDIUM | buildscripts/packager.py | 180 | # aforementioned rules, and prelease (above) adds a suffix later, | COMMENT |
| LOW | buildscripts/candle_wrapper.py | 10 | # If our args contain GENERATE_UPGRADE_CODE we need to generate it, otherwise we can just call candle | COMMENT |
| LOW | buildscripts/idl/idl/writer.py | 302 | # just use memcmp and compare with the trailing null byte. | COMMENT |
| LOW | buildscripts/sbom/endorctl_utils.py | 204 | # We want to just return the objects. In case we get an empty list, return a list | COMMENT |
| LOW | …ipts/bazel_rules_mongo/codeowners/parsers/owners_v1.py | 48 | # approver is email, just add as is | COMMENT |
| MEDIUM | …lica_sets_lag_oplog_application_jscore_passthrough.yml | 23 | # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked by | COMMENT |
| MEDIUM | …es/replica_sets_configsvr_param_jscore_passthrough.yml | 31 | # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked by | COMMENT |
| MEDIUM | …config/suites/replica_sets_jscore_passthrough_base.yml | 24 | # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked by | COMMENT |
| MEDIUM | …ites/magic_restore_replica_sets_jscore_passthrough.yml | 24 | # These tests utilize 'fsyncLock' and subsequently wait for an insert operation to be blocked by | COMMENT |
| MEDIUM | …ig/suites/sharding_csrs_continuous_config_stepdown.yml | 142 | # Temporarily denylisted until more robust | COMMENT |
| MEDIUM | …ig/suites/sharding_csrs_continuous_config_stepdown.yml | 188 | # setShardVersion is not robust during config server stepdown. | COMMENT |
| MEDIUM | …ig/suites/sharding_csrs_continuous_config_stepdown.yml | 190 | # Runs commands directly on the config server primary and is not robust to the primary changing. | COMMENT |
| LOW | buildscripts/ciconfig/evergreen.py | 38 | # Then we just set USERPROFILE and unset it after | COMMENT |
| LOW | buildscripts/resmokelib/suitesconfig.py | 200 | # information isn't present in the hierarchy, just return the suite as is. | COMMENT |
| MEDIUM | buildscripts/resmokelib/utils/jscomment.py | 9 | # TODO: use a more robust regular expression for matching tags | COMMENT |
| LOW | …ts/resmokelib/setup_multiversion/setup_multiversion.py | 164 | # If the cmdline version is already a semvar, just use that. | COMMENT |
| MEDIUM⚡ | jstests/core/index/wildcard/compound_wildcard_sort.js | 159 | // Sort with filter + appropriate projection can leverage index. | COMMENT |
| MEDIUM | jstests/core/query/cover_null_queries.js | 870 | // Now test case with a multikey index. We can't leverage the optimization here. | COMMENT |
| MEDIUM | jstests/core/query/type/type7.js | 1 | // SERVER-20332 make JS NumberLong more robust | COMMENT |
| MEDIUM | jstests/core/query/plan_cache/plan_cache_clear.js | 47 | // Essentially, this functions runs a query, and add its both to the query cache and to | COMMENT |
| MEDIUM | jstests/core/query/or/orc.js | 21 | // robust test. | COMMENT |
| MEDIUM | …lsets/initial_sync_check_initiating_set_oplog_entry.js | 15 | * # In the multiversion harness the lower-binary node would then apply oplog entries generated | COMMENT |
| MEDIUM | jstests/replsets/catchup_takeover_with_higher_config.js | 144 | // This test produces a rollback and the above is expected to be robust to the network error | COMMENT |
| MEDIUM | jstests/replsets/apply_ops_dropDatabase.js | 8 | * # dropDatabase can work in conjunction with other operations in 5.0. | COMMENT |
| MEDIUM | jstests/sharding/txn_two_phase_commit_killop.js | 215 | // If the commit coordination was not robust to killOp, then commitTransaction would fail | COMMENT |
| MEDIUM | jstests/sharding/txn_two_phase_commit_killop.js | 220 | // If deleting the coordinator doc was not robust to killOp, the document would still exist. | COMMENT |
| MEDIUM | …rding/query/change_streams/change_stream_no_orphans.js | 350 | // Essentially, this verifies that the operation before dropping the collection did not notify | COMMENT |
| MEDIUM | jstests/libs/replsettest.js | 1453 | // version then we cannot utilize failpoints below, since they may not be supported on older | COMMENT |
| MEDIUM | jstests/libs/override_methods/query/golden_overrides.js | 26 | // Initialize `printGolden` to have the same behavior as `print`. This is needed to utilize markdown | COMMENT |
| MEDIUM | jstests/libs/query/cbr_utils.js | 13 | // be robust to floating point rounding differences but detect large changes in estimation | COMMENT |
| MEDIUM | …s/server_catalog/check_metadata_consistency_helpers.js | 24 | // TODO SERVER-78117: Remove once checkMetadataConsistency command is robust to | COMMENT |
| MEDIUM | …assthroughWithMongod/query/cbr/cbr_elem_match_value.js | 60 | // the equivalent estimate on the index scan as our implementation is not robust to "double | COMMENT |
| MEDIUM⚡ | …sts/noPassthrough/prepare_conflict_metrics_tracking.js | 30 | // Establishing a baseline makes this test robust against prepare conflicts that may have occurred | COMMENT |
| MEDIUM | jstests/noPassthrough/admission/flow_control_logging.js | 25 | // Use a speedy no-op writer to avoid needing a robust background writer. | COMMENT |
| MEDIUM | …through/query/write_query_does_not_sleep_with_locks.js | 36 | // Defensive: this is the default, but set it explicitly so the test is robust | COMMENT |
| MEDIUM | …/queryStats/query_stats_disk_usage_nested_pipelines.js | 380 | // The query can leverage the index on each collection to examine only the matching | COMMENT |
| MEDIUM | jstests/noPassthrough/query/lookup/lookup_pushdown.js | 588 | // Build multiple compound indexes prefixed with the foreignField. We should utilize the index with | COMMENT |
| MEDIUM | src/third_party/s2/s2polygonbuilder.h | 34 | // computing seamless unions of polygons that have been cut into pieces. | COMMENT |
| MEDIUM | src/third_party/mozjs/include/js/UbiNode.h | 150 | // Analyses consuming ubi::Node graphs must be robust when presented with graphs | COMMENT |
| MEDIUM | …_party/mozjs/extract/mozglue/misc/PreXULSkeletonUI.cpp | 244 | // Note: this is specifically *not* a robust, multi-locale lowercasing | COMMENT |
| MEDIUM | src/third_party/mozjs/extract/js/public/UbiNode.h | 150 | // Analyses consuming ubi::Node graphs must be robust when presented with graphs | COMMENT |
| MEDIUM | src/third_party/mozjs/extract/js/src/frontend/Stencil.h | 78 | // execution. By decoupling from the GC and other runtime systems, robust | COMMENT |
| MEDIUM | …c/third_party/mozjs/extract/js/src/frontend/Parser.cpp | 2103 | // Functions with parameter expressions utilize the FunctionScope for vars | COMMENT |
| MEDIUM | src/third_party/mozjs/extract/js/src/vm/BigIntType.cpp | 438 | // Current callers don't pass in such large results, but let's be robust. | COMMENT |
| MEDIUM | …arty/mozjs/extract/js/src/devtools/rootAnalysis/CFG.js | 966 | // immediately for a call. But just to be robust to future uses: | COMMENT |
| LOW | src/third_party/mozjs/extract/js/src/jit/MIROps.yaml | 1560 | # specialized alias set for this so just use the default alias set similar to | COMMENT |
| LOW | …y/mozjs/extract/js/src/jit/GenerateAtomicOperations.py | 809 | # cell. (There is no `sub`; just add the negated value.) | STRING |
| MEDIUM | …rty/mozjs/extract/js/src/jit/BacktrackingAllocator.cpp | 257 | // Fundamentally, a LiveRange (often written just "range") is a request for | COMMENT |
| MEDIUM | …rty/mozjs/extract/js/src/jit/BacktrackingAllocator.cpp | 373 | // Fundamentally it is a container to hold all of the LiveRanges that together | COMMENT |
| MEDIUM | …party/mozjs/extract/js/src/jit/arm64/Assembler-arm64.h | 223 | // * On entry to C++ code, PSP == SP. Certainly it appears that all calls | COMMENT |
| MEDIUM | …mozjs/extract/js/src/jit/arm64/vixl/Simulator-vixl.cpp | 4308 | // arguments, this is very difficult to do in a robust and portable way. To | COMMENT |
| LOW | …hird_party/icu4c-57.1/source/common/unicode/platform.h | 60 | * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PRED | COMMENT |
| MEDIUM | src/third_party/icu4c-57.1/source/i18n/decNumberLocal.h | 46 | #define DECCHECK 0 /* 1 to enable robust checking */ | COMMENT |
| MEDIUM | …rty/boost/boost/atomic/detail/extra_fp_ops_generic.hpp | 95 | //! Negate implementation for IEEE 754 / IEC 559 floating point types. We leverage the fact that the sign bit is the mos | COMMENT |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | evergreen/validate_compile_commands.py | 151 | ["cmd.exe", "/d", "/c", f'call "{vcvarsall}" {arch} >nul && set'] | CODE |
| HIGH | bazel/gpg_signer.py | 38 | return subprocess.run(argv, check=True, stdout=null, stderr=null) | CODE |
| HIGH | bazel/symbol_checker/symbol_extractor.py | 64 | "undefined": sorted(undefined), | CODE |
| HIGH | bazel/resmoke/derive_suite_selectors.py | 282 | # A selector with no roots (missing, null, or an empty list — | COMMENT |
| HIGH | …mongot_extension_signing_key/gpg_export_armored_key.py | 34 | return subprocess.run(argv, check=True, stdout=null, stderr=null) | CODE |
| HIGH | buildscripts/idl/idl/cpp_types.py | 653 | return f"BSONBinData(tempCDR.data(), tempCDR.length(), {subtype})" | CODE |
| HIGH | buildscripts/idl/idl/generator.py | 2250 | if (request.validatedTenancyScope != boost::none && request.validatedTenancyScope->isFromAtlasProxy()) { | CODE |
| HIGH | buildscripts/idl/tests/test_generator.py | 10 | $ coverage run run_tests.py && coverage html | STRING |
| HIGH | buildscripts/gdb/mongo_printers.py | 1040 | gdb.parse_and_eval("$_mep_tmp.toString()") | CODE |
| HIGH | buildscripts/resmokelib/powercycle/setup/__init__.py | 77 | cmds = f'{cmds}; pushd $remote_dir && python3 -m pip install "uv==$(cat buildscripts/uv_version.txt)" && popd' | CODE |
| HIGH | buildscripts/resmokelib/powercycle/setup/__init__.py | 82 | cmds = f"{cmds}; pushd $remote_dir && UV_PROJECT_ENVIRONMENT=$VIRTUAL_ENV python3 -m uv sync --locked --all-grou | CODE |
| HIGH | …pts/resmokelib/powercycle/save_diagnostics/__init__.py | 84 | "core_files=$(/usr/bin/find -H . \\( -name '*.core' -o -name '*.mdmp' \\) 2> /dev/null)" | CODE |
| HIGH | …third_party/mozjs/extract/js/src/vm/make_opcode_doc.py | 47 | " python3 -m venv venv && . venv/bin/activate && pip3 install markdown", | CODE |
| HIGH | …ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py | 513 | for (size_t i = 0; i < mVariants.length();) { | STRING |
| HIGH | …ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py | 616 | if (!Language().EqualTo("sgn") && mVariants.length() == 0) { | STRING |
| HIGH | …ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py | 700 | if (mVariants.length() >= 2) { | STRING |
| HIGH | …ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py | 2867 | let dtf = new Intl.DateTimeFormat(undefined, {timeZone: map(linkName)}); | STRING |
| HIGH | …ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py | 2989 | let str = zdt.toString(); | STRING |
| HIGH | …ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py | 2991 | assertEq(m !== null, true, str); | STRING |
| HIGH | …ty/mozjs/extract/js/src/builtin/intl/make_intl_data.py | 3015 | assertEq(zdtLink.equals(zdtZone), true, `link=${link}, zone=${zone}`); | STRING |
| HIGH | …/python-subunit-1.4.4/python/subunit/progress_model.py | 48 | self.push() | CODE |
| HIGH⚡ | …unit-1.4.4/python/subunit/tests/test_progress_model.py | 73 | progress.push() | CODE |
| HIGH⚡ | …unit-1.4.4/python/subunit/tests/test_progress_model.py | 80 | progress.push() | CODE |
| HIGH⚡ | …unit-1.4.4/python/subunit/tests/test_progress_model.py | 89 | progress.push() | CODE |
| HIGH⚡ | …unit-1.4.4/python/subunit/tests/test_progress_model.py | 98 | progress.push() | CODE |
| HIGH⚡ | …unit-1.4.4/python/subunit/tests/test_progress_model.py | 107 | progress.push() | CODE |
| HIGH | …unit-1.4.4/python/subunit/tests/test_filter_to_disk.py | 44 | '{"details": ["fred"], "id": "foo", "start": null, ' | CODE |
| HIGH | …unit-1.4.4/python/subunit/tests/test_filter_to_disk.py | 45 | '"status": "success", "stop": null, "tags": ["tag"]}')) | CODE |
| HIGH | …nit-1.4.4/python/subunit/filter_scripts/subunit2gtk.py | 186 | self.progress_model.push() | CODE |
| HIGH⚡ | src/third_party/wiredtiger/test/suite/test_intpack.py | 113 | self.equals(forw[self.recno], i) | CODE |
| HIGH⚡ | src/third_party/wiredtiger/test/suite/test_intpack.py | 114 | self.equals(forw_idx[i], self.recno) | CODE |
| HIGH⚡ | src/third_party/wiredtiger/test/suite/test_intpack.py | 115 | self.equals(back[i], self.recno) | CODE |
| HIGH⚡ | src/third_party/wiredtiger/test/suite/test_intpack.py | 116 | self.equals(back_idx[self.recno], i) | CODE |
| HIGH | src/third_party/wiredtiger/test/suite/run.py | 231 | returning the first non-null value. If all values are null, | STRING |
| HIGH | src/third_party/wiredtiger/test/suite/test_autoclose.py | 100 | to be null, so we don't expect null checking. | STRING |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 172 | wiredtiger.WiredTigerError, lambda: c1.equals(c2), msg) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 174 | wiredtiger.WiredTigerError, lambda: c2.equals(c1), msg) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 179 | self.assertFalse(c1.equals(c2)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 180 | self.assertFalse(c2.equals(c1)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 182 | self.assertTrue(c1.equals(c2)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 183 | self.assertTrue(c2.equals(c1)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 190 | wiredtiger.WiredTigerError, lambda: cX.equals(c1), msg) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 193 | self.expected_exception, lambda: cX.equals(None), msg) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 195 | self.assertTrue(ix0_0.equals(ix0_1)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 198 | self.assertFalse(ix0_0.equals(ix0_1)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 202 | wiredtiger.WiredTigerError, lambda: c1.equals(ix0_0), msg) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 205 | wiredtiger.WiredTigerError, lambda: ixX_0.equals(ix0_0), msg) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 208 | wiredtiger.WiredTigerError, lambda: ix0_0.equals(ix1_0), msg) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 216 | self.assertFalse(c1.equals(c2)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 217 | self.assertFalse(c2.equals(c1)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 220 | self.assertTrue(c1.equals(c2)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 221 | self.assertTrue(c2.equals(c1)) | CODE |
| HIGH⚡ | …ird_party/wiredtiger/test/suite/test_cursor_compare.py | 229 | wiredtiger.WiredTigerError, lambda: cX.equals(c1), msg) | CODE |
| HIGH | …d_party/zstandard/zstd/tests/automated_benchmarking.py | 103 | os.system("cd ../ && make -j && cd tests") | CODE |
| HIGH | …standard/zstd/contrib/freestanding_lib/freestanding.py | 55 | Handles && and ||. | STRING |
| HIGH | src/mongo/mongo_config_header.py | 255 | int main(void) { return backtrace != nullptr && backtrace_symbols != nullptr && backtrace_symbols_fd != nullptr; | CODE |
| HIGH | src/mongo/db/fts/unicode/gen_casefold_map.py | 54 | return (mode == CaseFoldMode::kTurkish && codepoint == 'I') | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | buildscripts/idl/tests/test_generator.py | 1580 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | STRING |
| LOW⚡ | buildscripts/idl/tests/test_generator.py | 1580 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | STRING |
| LOW | buildscripts/idl/tests/test_generator.py | 1611 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | STRING |
| LOW | buildscripts/idl/tests/test_generator.py | 1611 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | STRING |
| LOW | buildscripts/idl/tests/test_binder.py | 2905 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | CODE |
| LOW | buildscripts/idl/tests/test_binder.py | 2905 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | CODE |
| LOW | buildscripts/idl/tests/test_binder.py | 2921 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | CODE |
| LOW | buildscripts/idl/tests/test_binder.py | 2921 | (Enable on transitional FCV): Lorem ipsum dolor sit amet | CODE |
| LOW | buildscripts/tests/sbom_linter/bom-1.5.schema.json | 439 | "examples": ["Acme Inc"] | CODE |
| LOW | buildscripts/tests/sbom_linter/bom-1.5.schema.json | 445 | "examples": ["Acme Inc"] | CODE |
| LOW | buildscripts/tests/sbom_linter/bom-1.5.schema.json | 494 | "examples": ["Acme Inc"] | CODE |
| LOW⚡ | buildscripts/tests/resmokelib/core/test_programs.py | 102 | _format_shell_vars(string_builder, ["dummy_key"], with_dot) | CODE |
| LOW⚡ | buildscripts/tests/resmokelib/core/test_programs.py | 103 | expected = ["dummy_key = new Object()", 'dummy_key["a.b"] = "c"'] | CODE |
| LOW⚡ | buildscripts/tests/resmokelib/core/test_programs.py | 108 | _format_shell_vars(string_builder, ["dummy_key"], without_dot) | CODE |
| LOW⚡ | buildscripts/tests/resmokelib/core/test_programs.py | 110 | "dummy_key = new Object()", | CODE |
| LOW⚡ | buildscripts/tests/resmokelib/core/test_programs.py | 111 | 'dummy_key["a"] = new Object()', | CODE |
| LOW⚡ | buildscripts/tests/resmokelib/core/test_programs.py | 112 | 'dummy_key["a"]["b"] = "c"', | CODE |
| LOW⚡ | …/testing/hooks/test_generate_and_check_perf_results.py | 704 | "github_token_mongo": "fake_token", | CODE |
| LOW⚡ | …/testing/hooks/test_generate_and_check_perf_results.py | 724 | "github_token_mongo": "fake_token", | CODE |
| LOW⚡ | …/testing/hooks/test_generate_and_check_perf_results.py | 760 | "github_token_mongo": "fake_token", | CODE |
| LOW⚡ | …/testing/hooks/test_generate_and_check_perf_results.py | 778 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 742 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 802 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 875 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 914 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1604 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1628 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1651 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1675 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1699 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1725 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1753 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1801 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1823 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1845 | "github_token_mongo": "fake_token", | CODE |
| LOW | …/testing/hooks/test_generate_and_check_perf_results.py | 1885 | "github_token_mongo": "fake_token", | CODE |
| LOW | buildscripts/tests/resmokelib/logging/test_loggers.py | 38 | logger = loggers.new_test_thread_logger("dummy_parent", "dummy_kind", "dummy_id") | CODE |
| LOW | …hange_streams/oplog_rewrite/projection_changes_type.js | 42 | computedProjection[fieldName] = {$literal: "dummy_value"}; | CODE |
| LOW | jstests/core/index/fts/fts_trailing_fields.js | 6 | assert.commandWorked(coll.insert({a: 2, b: "lorem ipsum"})); | CODE |
| LOW | jstests/core/index/fts/fts_trailing_fields.js | 16 | assert.commandWorked(coll.insert({a: 2, b: "lorem ipsum", c: {d: 3}})); | CODE |
| LOW⚡ | jstests/core/index/fts/fts_dotted_prefix_fields.js | 7 | coll.insert({a: {x: 1, y: 2}, b: {x: 3, y: 4}, words: "lorem ipsum dolor sit"}), | CODE |
| LOW⚡ | jstests/core/index/fts/fts_dotted_prefix_fields.js | 10 | coll.insert({a: {x: 1, y: 2}, b: {x: 5, y: 4}, words: "lorem ipsum dolor sit"}), | CODE |
| LOW⚡ | jstests/core/index/fts/fts_dotted_prefix_fields.js | 15 | coll.find({$text: {$search: "lorem ipsum"}, "a.x": 1, "a.y": 2, "b.x": 3, "b.y": 4}).itcount(), | CODE |
| LOW | jstests/replsets/stepdown_needs_electable_secondary.js | 75 | coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 1, wtimeout: timeout}}), | CODE |
| LOW | jstests/replsets/stepdown_needs_electable_secondary.js | 106 | coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 2, wtimeout: timeout}}), | CODE |
| LOW | jstests/replsets/stepdown_needs_electable_secondary.js | 126 | coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 3, wtimeout: timeout}}), | CODE |
| LOW | jstests/replsets/stepdown_needs_electable_secondary.js | 149 | coll.insert({"dummy_key": "dummy_val"}, {writeConcern: {w: 4, wtimeout: timeout}}), | CODE |
| LOW | jstests/replsets/stepdown_needs_majority.js | 53 | let dummy_doc = {"dummy_key": "dummy_val"}; | CODE |
| LOW | jstests/extensions/foo_and_bar_noops.js | 140 | {name: "John Doe", role: "author"}, | CODE |
| LOW | jstests/extensions/foo_and_bar_noops.js | 141 | {name: "Jane Doe", role: "editor"}, | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 911 | assert(false, "lorem ipsum"); | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 913 | {msg: "assert failed : lorem ipsum"}, | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 917 | assert(false, "lorem ipsum", kAttr); | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 919 | {msg: "assert failed : lorem ipsum", attr: {...kAttr}}, | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 942 | assert(false, "lorem ipsum", kAttr); | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 944 | {msg: "assert failed : lorem ipsum", attr: {...kAttr}}, | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 954 | assert.eq(5, 2 + 2, "lorem ipsum"); | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 962 | : lorem ipsum`, | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 967 | assert.eq(5, 2 + 2, "lorem ipsum", kAttr); | CODE |
| LOW⚡ | jstests/libs/assertions_core.js | 975 | : lorem ipsum`, | CODE |
| 139 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules_poc/private_headers.py | 268 | # Output results of modifying files. | COMMENT |
| LOW | evergreen/generate_core_analysis_task.sh | 5 | # Check if test failures exist before proceeding. This expansion is created in fetch_remote_test_results.sh. | COMMENT |
| LOW | evergreen/generate_core_analysis_task.sh | 12 | # Check if there are any core dumps present before proceeding. Presence of a core dump here | COMMENT |
| LOW | evergreen/fetch_remote_test_results.sh | 239 | # Check if any results were found | COMMENT |
| LOW | evergreen/collect_bazel_debug_logs.sh | 26 | # Check if zip command is available | COMMENT |
| LOW | evergreen/collect_bazel_debug_logs.sh | 64 | # Check if we have any files to zip | COMMENT |
| LOW | evergreen/prelude_venv.sh | 41 | # Check if site_packages is already in sys.path | COMMENT |
| LOW | evergreen/streams_build_js_engine.sh | 290 | # Check if we need to install Node.js (skip if already installed and correct version) | COMMENT |
| LOW | evergreen/prelude_python.sh | 8 | # Check if Python 3.10 is requested via Evergreen parameter | COMMENT |
| LOW | evergreen/prelude_python.sh | 18 | # Check if v5 toolchain exists - it requires Python 3.13 | COMMENT |
| LOW | evergreen/jepsen_docker/list-append.sh | 52 | # Check if the "1 successes" string is in the last five lines | COMMENT |
| LOW | evergreen/functions/run_diskstats.sh | 14 | # Check if vmstat -t is available. | COMMENT |
| LOW | evergreen/functions/run_diskstats.sh | 17 | # Check if vmstat -T d is available. | COMMENT |
| LOW | evergreen/functions/upload_sbom_via_silkbomb.py | 194 | # Check if branch name matches the branch filter regex | COMMENT |
| LOW | bazel/remote_execution_container/repin_dockerfiles.sh | 4 | # Check if we're running under Bazel | COMMENT |
| LOW | bazel/wrapper_hook/lint.py | 508 | # Check if library has source files (produces .so) | COMMENT |
| LOW | bazel/wrapper_hook/lint.py | 513 | # Check if srcs contains .cpp files | COMMENT |
| LOW | buildscripts/parse_test_xml.py | 8 | # Check if file exists and has content | COMMENT |
| LOW | buildscripts/github_merge_queue_metrics.py | 45 | # Check if the profile has sso_start_url configured | COMMENT |
| LOW | buildscripts/github_merge_queue_metrics.py | 121 | # Check if the SSO profile is configured | COMMENT |
| LOW | buildscripts/github_merge_queue_metrics.py | 403 | # Check if PR was added to merge queue but removed (not merged) | COMMENT |
| LOW | buildscripts/github_merge_queue_metrics.py | 545 | # Check if PR targets master | STRING |
| LOW | buildscripts/github_merge_queue_metrics.py | 569 | # Check if PR was added to merge queue but removed (not merged) | STRING |
| LOW | buildscripts/github_merge_queue_metrics.py | 700 | # Check if this PR was marked as skipped (e.g., non-master target branch) | STRING |
| LOW | buildscripts/compare_evergreen_versions.py | 745 | # Output results | COMMENT |
| LOW | buildscripts/idl/idl_check_compatibility.py | 1294 | # Check if a new field has been added to the parameters or type struct. | COMMENT |
| LOW | buildscripts/idl/idl/syntax.py | 220 | # Check if we are adding a duplicate first field name since that would | COMMENT |
| LOW | buildscripts/gdb/optimizer_printers.py | 339 | # Check if the tag is out of range for the set of types that we know about. | COMMENT |
| LOW | buildscripts/sbom/sbom_files_pr.py | 172 | # Check if base branch matches the branch filter regex | COMMENT |
| LOW | buildscripts/sbom/endorctl_scan.sh | 10 | # Set RUST_SETUP_DIR to the path of a directory containing .evergreen/install-dependencies.sh | COMMENT |
| LOW | buildscripts/sbom/install_endorctl.sh | 15 | # Check if installed | COMMENT |
| LOW | buildscripts/sbom/generate_sbom.py | 162 | # Check if there are any subfolders in the initial commit | COMMENT |
| LOW | buildscripts/sbom/generate_sbom.py | 543 | # Check if branch matches the branch filter regex | COMMENT |
| LOW | buildscripts/package_test/package_test.py | 699 | # Check if the path is within the test_external_root (buildscripts dir) | COMMENT |
| LOW | buildscripts/cost_model/qsn_costing_parameters.py | 85 | # Set strict to true, as these should always have the same tree structure. | COMMENT |
| LOW⚡ | buildscripts/tests/test_sync_repo_with_copybara.py | 2112 | # Check if the repository is only the MongoDB official repository | COMMENT |
| LOW | buildscripts/tests/test_sync_repo_with_copybara.py | 633 | # Check if the commit in the search result matches the last commit in the public repository | COMMENT |
| LOW | …/tests/resmoke_end2end/test_external_fixtures_hooks.py | 26 | # Set EXTERNAL_MODULE_ROOT to the test module directory | COMMENT |
| LOW | …/tests/resmoke_end2end/test_external_fixtures_hooks.py | 37 | # Set CONFIG_DIR to avoid errors | COMMENT |
| LOW | …ipts/tests/resmoke_end2end/test_resmoke_js_debugger.py | 160 | # Check if expected is in the command output or full buffer | COMMENT |
| LOW | buildscripts/tests/resmokelib/logging/test_handlers.py | 172 | # Close the file — this races with the flush thread's write. | COMMENT |
| LOW | buildscripts/patch_builds/change_data.py | 139 | # Read file contents | COMMENT |
| LOW | buildscripts/resmokelib/suitesconfig.py | 276 | # Check if is a named suite first for efficiency. | COMMENT |
| LOW | buildscripts/resmokelib/suitesconfig.py | 279 | # Check if is a path to a YAML file. | COMMENT |
| LOW | buildscripts/resmokelib/core/process.py | 139 | # Close file descriptors in the child process before executing the program. This prevents | COMMENT |
| LOW | …ts/resmokelib/hang_analyzer/gen_hang_analyzer_tasks.py | 303 | # Check if resmoke reported this core dump as a "boring one", in the BORING_CORE_DUMP_PIDS_FILE. | COMMENT |
| LOW | buildscripts/resmokelib/hang_analyzer/extractor.py | 860 | # Check if the files are already there. They would be on *SAN builds. | COMMENT |
| LOW | …/resmokelib/hang_analyzer/attach_core_analyzer_task.py | 77 | # Check if the core analysis is from the current execution or a previous one | COMMENT |
| LOW | buildscripts/resmokelib/utils/globstar.py | 50 | # Check if basename is exactly "**" (recursive wildcard) | COMMENT |
| LOW | buildscripts/resmokelib/utils/autoloader.py | 35 | # Set __path__ to make it a proper package that can contain submodules | COMMENT |
| LOW | buildscripts/resmokelib/utils/archival.py | 120 | # Check if there is sufficient space for the tgz file. | COMMENT |
| LOW | buildscripts/resmokelib/testing/hooks/maintenance.py | 214 | # Check if the thread is alive in case it has thrown an exception while running. | COMMENT |
| LOW | …mokelib/testing/hooks/drop_config_cache_collections.py | 229 | # Check if the thread is alive in case it has thrown an exception while running. | COMMENT |
| LOW | buildscripts/resmokelib/testing/hooks/initialsync.py | 131 | # Check if the initial sync node is in SECONDARY state. If it's been 'n' tests, then it | COMMENT |
| LOW | …s/resmokelib/testing/hooks/drop_sessions_collection.py | 179 | # Check if the thread is alive in case it has thrown an exception while running. | COMMENT |
| LOW | …cripts/resmokelib/testing/hooks/fuzz_runtime_stress.py | 145 | # Check if the thread is alive in case it has thrown an exception while running. | COMMENT |
| LOW | …dscripts/resmokelib/testing/hooks/add_remove_shards.py | 367 | # Check if the thread is alive in case it has thrown an exception while running. | COMMENT |
| LOW | buildscripts/resmokelib/testing/testcases/jstest.py | 91 | # Check if any test being run is a timeseries test | COMMENT |
| LOW | buildscripts/resmokelib/powercycle/powercycle.py | 382 | # Check if file download was completed. | COMMENT |
| LOW | buildscripts/resmokelib/powercycle/powercycle.py | 1223 | # Check if replica set has already been initialized | COMMENT |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/third_party/mozjs/include/mozilla/ModuloBuffer.h | 268 | // then, there are no other functions named "Poke" as requested in the | COMMENT |
| HIGH | src/third_party/boost/boost/system/config.hpp | 38 | // enable dynamic or static linking as requested --------------------------------------// | COMMENT |
| HIGH | …_party/boost/libs/timer/include/boost/timer/config.hpp | 18 | // enable dynamic or static linking as requested --------------------------------------// | COMMENT |
| HIGH | …include/boost/dynamic_bitset/detail/dynamic_bitset.hpp | 102 | // Automatically generated by GPTableGen.exe v.1.0 | COMMENT |
| HIGH | …bs/math/include_private/boost/math/tools/test_data.hpp | 516 | // Generate a set of test points as requested, try and generate points | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 27 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 51 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 72 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 96 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 119 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 140 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 161 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …umeric/ublas/include/boost/numeric/ublas/exception.hpp | 182 | // Inherit from standard exceptions as requested during review. | COMMENT |
| HIGH | …/libs/thread/include/boost/thread/detail/singleton.hpp | 20 | // a class on demand, then dish it out as requested. | COMMENT |
| HIGH | …/agg/change_stream_handle_topology_change_v2_stage.cpp | 1237 | // Opens and closes the cursors as requested in the reader context. If this throws, the | COMMENT |
| HIGH | …/agg/change_stream_handle_topology_change_v2_stage.cpp | 1280 | // Opens and closes the cursors as requested in the reader context. If this throws, the | COMMENT |
| HIGH | …/agg/change_stream_handle_topology_change_v2_stage.cpp | 1332 | // Opens and closes the cursors as requested in the reader context. If we catch a | COMMENT |
| HIGH | …/agg/change_stream_handle_topology_change_v2_stage.cpp | 1425 | // Opens and closes the cursors as requested in the reader context. If we catch a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | buildscripts/sbom/generate_sbom.py | 113 | self.project = self._repo.remotes.origin.config_reader.get("url") | CODE |
| CRITICAL⚡ | …/testing/hooks/test_generate_and_check_perf_results.py | 710 | mock_github_cls.return_value.get_repo.return_value.get_pull.assert_called_once_with(12345) | CODE |
| CRITICAL⚡ | …/testing/hooks/test_generate_and_check_perf_results.py | 766 | mock_github_cls.return_value.get_repo.return_value.get_pull.assert_called_once() | CODE |
| CRITICAL | jstests/auth/system_buckets_invalid_nss.js | 7 | assert.commandFailedWithCode(admin.system.buckets.system.buckets.foo.insert({x: 1}), [ | CODE |
| CRITICAL | jstests/auth/system_buckets_invalid_nss.js | 12 | assert.commandFailedWithCode(admin.system.buckets.system.buckets.foo.insert({x: 1}), [ | CODE |
| CRITICAL | jstests/sharding/create_system_session.js | 122 | const shardCatalogEntry = st.config.shard.catalog.collections.findOne({_id: kNs}); | CODE |
| CRITICAL | jstests/sharding/health_monitor/non_critical_facet.js | 56 | assert(result.faultInformation.facets.testObserver.description.includes("InternalError: test msg")); | CODE |
| CRITICAL | jstests/sharding/health_monitor/status_failure.js | 47 | result.faultInformation.facets.testObserver.description.includes( | CODE |
| CRITICAL | src/mongo/shell/data_consistency_checker.js | 619 | sourceInfo.options.storageEngine.wiredTiger.configString.replace( | CODE |
| CRITICAL | src/mongo/shell/data_consistency_checker.js | 627 | syncingInfo.options.storageEngine.wiredTiger.configString.replace( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | modules_poc/cindex.py | 4005 | def set_library_path(path: StrPath) -> None: | CODE |
| LOW | modules_poc/cindex.py | 4016 | def set_library_file(filename: StrPath) -> None: | CODE |
| LOW | modules_poc/cindex.py | 4027 | def set_compatibility_check(check_status: bool) -> None: | CODE |
| LOW | modules_poc/cindex.py | 4103 | __all__ = [ | CODE |
| LOW | buildscripts/install_bazel.py | 93 | def _set_bazel_permissions(binary_path: str) -> None: | CODE |
| LOW⚡ | buildscripts/sbom_linter.py | 47 | def update_component_attribute(self, component_name: str) -> None: | CODE |
| LOW | buildscripts/generate_bazel_spawn_pb2.py | 218 | def update_output(generated_path: Path, output_path: Path, check: bool) -> None: | CODE |
| LOW | buildscripts/util/oauth.py | 139 | def _set_response(self) -> None: | CODE |
| LOW | buildscripts/sbom/sbom_utils.py | 297 | def set_dependency_version(dependencies: list, meta_bom_ref: str, purl_version: str) -> None: | CODE |
| LOW | buildscripts/cost_model/database_instance.py | 14 | __all__ = ["DatabaseInstance", "Find"] | CODE |
| LOW | buildscripts/cost_model/database_instance.py | 56 | async def set_parameter(self, name: str, value: any) -> None: | CODE |
| LOW | buildscripts/cost_model/calibration_settings.py | 19 | __all__ = ["main_config", "distributions"] | CODE |
| LOW | buildscripts/cost_model/query_solution_tree.py | 10 | __all__ = ["Node", "build"] | CODE |
| LOW | buildscripts/cost_model/execution_tree_sbe.py | 12 | __all__ = ["Node", "build_execution_tree"] | CODE |
| LOW | buildscripts/cost_model/qsn_calibrator.py | 19 | __all__ = ["calibrate"] | CODE |
| LOW | buildscripts/cost_model/ce_generate_data.py | 26 | __all__ = [] | CODE |
| LOW | buildscripts/cost_model/start.py | 22 | __all__ = [] | CODE |
| LOW | buildscripts/cost_model/ce_data_settings.py | 22 | __all__ = ["database_config", "data_generator_config"] | CODE |
| LOW | buildscripts/cost_model/data_generator.py | 19 | __all__ = ["DataGenerator"] | CODE |
| LOW | buildscripts/cost_model/workload_execution.py | 16 | __all__ = ["execute"] | CODE |
| LOW | buildscripts/cost_model/random_generator.py | 16 | __all__ = ["RangeGenerator", "DataType", "RandomDistribution"] | CODE |
| LOW | buildscripts/resmokelib/__init__.py | 16 | __all__ = [ | CODE |
| LOW | buildscripts/resmokelib/core/__init__.py | 5 | __all__ = ["network", "programs"] | CODE |
| LOW | buildscripts/resmokelib/hang_analyzer/__init__.py | 6 | __all__ = ["dumper", "process", "process_list", "HangAnalyzerPlugin"] | CODE |
| LOW | buildscripts/resmokelib/discovery/__init__.py | 18 | __all__ = ["MultiversionService", "MongoReleases", "MongoVersion"] | CODE |
| LOW | buildscripts/resmokelib/utils/__init__.py | 15 | __all__ = ["archival"] | CODE |
| LOW | buildscripts/resmokelib/utils/dictionary.py | 157 | def set_dict_value(dict1: MutableMapping[str, Any], path: list[str], value: Any) -> None: | CODE |
| LOW | buildscripts/resmokelib/extensions/__init__.py | 26 | __all__ = [ | CODE |
| LOW | buildscripts/resmokelib/testing/__init__.py | 5 | __all__ = ["executor", "suite"] | CODE |
| LOW | buildscripts/resmokelib/testing/hooks/__init__.py | 11 | __all__ = ["make_hook"] | CODE |
| LOW | buildscripts/resmokelib/testing/testcases/__init__.py | 6 | __all__ = ["make_test_case"] | CODE |
| LOW | buildscripts/resmokelib/logging/__init__.py | 9 | __all__ = ["flush", "loggers"] | CODE |
| LOW | buildscripts/resmokelib/setup_multiversion/__init__.py | 5 | __all__ = ["SetupMultiversionPlugin"] | CODE |
| LOW | buildscripts/client/jiraclient.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | jstests/ocsp/lib/ocsp_mock.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | jstests/ocsp/lib/malformed_staple_server.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …third_party/mock_ocsp_responder/mock_ocsp_responder.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/third_party/wiredtiger/tools/wt_binary_decode.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hird_party/wiredtiger/tools/py_common/sqlite_format.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/third_party/wiredtiger/tools/py_common/disagg.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/third_party/wiredtiger/tools/py_common/snappy_util.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | …third_party/wiredtiger/tools/py_common/page_service.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | …third_party/wiredtiger/tools/py_common/btree_format.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/third_party/wiredtiger/tools/py_common/file_format.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW | …hird_party/wiredtiger/tools/py_common/mdb_log_parse.py | 41 | logger = logging.getLogger(__name__) | CODE |
| LOW | src/third_party/wiredtiger/tools/py_common/printer.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dtiger/test/3rdparty/iso8601-2.1.0/iso8601/__init__.py | 3 | __all__ = ["parse_date", "is_iso8601", "ParseError", "UTC", "FixedOffset"] | CODE |
| LOW | …edtiger/test/3rdparty/iso8601-2.1.0/iso8601/iso8601.py | 16 | __all__ = ["parse_date", "ParseError", "UTC", "FixedOffset"] | CODE |
| LOW | …t/3rdparty/discover-0.4.0-locally-modified/discover.py | 20 | __all__ = ['DiscoveringTestLoader', 'main', 'defaultTestLoader'] | CODE |
| LOW | …redtiger/test/3rdparty/extras-0.0.3/extras/__init__.py | 7 | __all__ = [ | CODE |
| LOW | …ger/test/3rdparty/testtools-2.7.1/testtools/runtest.py | 5 | __all__ = [ | CODE |
| LOW | …iger/test/3rdparty/testtools-2.7.1/testtools/compat.py | 5 | __all__ = [ | CODE |
| LOW | …er/test/3rdparty/testtools-2.7.1/testtools/testcase.py | 5 | __all__ = [ | CODE |
| LOW | …er/test/3rdparty/testtools-2.7.1/testtools/__init__.py | 5 | __all__ = [ | CODE |
| LOW | …ger/test/3rdparty/testtools-2.7.1/testtools/content.py | 5 | __all__ = [ | CODE |
| LOW | …iger/test/3rdparty/testtools-2.7.1/testtools/monkey.py | 5 | __all__ = [ | CODE |
| LOW | …r/test/3rdparty/testtools-2.7.1/testtools/testsuite.py | 5 | __all__ = [ | CODE |
| LOW | …y/testtools-2.7.1/testtools/twistedsupport/_runtest.py | 22 | __all__ = [ | CODE |
| LOW | …y/testtools-2.7.1/testtools/twistedsupport/__init__.py | 5 | __all__ = [ | CODE |
| LOW | …y/testtools-2.7.1/testtools/twistedsupport/_spinner.py | 9 | __all__ = [ | CODE |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | buildscripts/benchmark_profiler.py | 205 | # --- Evergreen task-level orchestration --- | COMMENT |
| MEDIUM | …esmokeconfig/suites/sharding_clustered_collections.yml | 12 | # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g. | COMMENT |
| MEDIUM | …ites/sharding_change_streams_ignore_removed_shards.yml | 24 | # This suite runs change streams as v2; v1-pinned tests use scaffolding (e.g. | COMMENT |
| MEDIUM | buildscripts/resmokeconfig/suites/sharding.yml | 11 | # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g. | COMMENT |
| MEDIUM | …scripts/resmokeconfig/suites/sharding_config_shard.yml | 10 | # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g. | COMMENT |
| MEDIUM | buildscripts/resmokeconfig/suites/sharding_auth.yml | 47 | # The default suite runs change streams as v2; v1-pinned tests use scaffolding (e.g. | COMMENT |
| MEDIUM | jstests/ssl/x509_client.js | 90 | // unless guardrails are explicitly overridden | COMMENT |
| MEDIUM | jstests/ssl/x509_client.js | 101 | // unless guardrails are explicitly overridden | COMMENT |
| MEDIUM | …party/testscenarios-0.4/lib/testscenarios/scenarios.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …dparty/testscenarios-0.4/lib/testscenarios/testcase.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …dparty/testscenarios-0.4/lib/testscenarios/__init__.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …/testscenarios-0.4/lib/testscenarios/tests/__init__.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …scenarios-0.4/lib/testscenarios/tests/test_testcase.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …cenarios-0.4/lib/testscenarios/tests/test_scenarios.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …ger/test/3rdparty/testscenarios-0.4/doc/test_sample.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …dtiger/test/3rdparty/testscenarios-0.4/doc/__init__.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …edtiger/test/3rdparty/testscenarios-0.4/doc/example.py | 2 | # dependency injection ('scenarios') by tests. | COMMENT |
| MEDIUM | …lude/opentelemetry/semconv/incubating/aws_attributes.h | 24 | href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">guardrail</a> helps | CODE |
| MEDIUM | src/mongo/db/pipeline/expression.h | 6551 | // We'll use this for guardrails around code we know shouldn't ever be called. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | etc/backports_required_for_multiversion_tests.yml | 5 | # Usage: | COMMENT |
| LOW | etc/coverity_models/extract_pw_rw_findings.sh | 35 | # Usage: | COMMENT |
| LOW | evergreen/bazel_test.sh | 1 | # Usage: | COMMENT |
| LOW | evergreen/bazel_run.sh | 1 | # Usage: | COMMENT |
| LOW | evergreen/retry_git.sh | 7 | # Usage: | COMMENT |
| LOW | evergreen/resmoke_tests_execute_bazel.sh | 3 | # Usage: | COMMENT |
| LOW | evergreen/get_all_resmoke_suite_configs.sh | 4 | # Usage: | COMMENT |
| LOW | evergreen/fetch_remote_test_results.sh | 3 | # Usage: | COMMENT |
| LOW | evergreen/gather_local_test_results.sh | 4 | # Usage: | COMMENT |
| LOW | evergreen/restore_git_history_and_tags.sh | 3 | # Usage: | COMMENT |
| LOW | evergreen/get_resmoke_suite_config.sh | 3 | # Usage: | COMMENT |
| LOW | evergreen/bazel_coverage.sh | 3 | # Usage: | COMMENT |
| LOW | evergreen/bazel_compile.sh | 1 | # Usage: | COMMENT |
| LOW | …n/functions/security_reporting_scripts/augment_sbom.sh | 4 | # Usage: | COMMENT |
| LOW | …orting_scripts/write_aws_creds_to_silkbomb_env_file.sh | 6 | # Usage: | COMMENT |
| LOW | bazel/config/generate_config_header.py | 3 | # Example usage: | COMMENT |
| LOW | …ripts/bazel_testbuilds/verify_resmoke_coredump_test.sh | 10 | # Usage: | COMMENT |
| LOW | …ipts/bazel_testbuilds/verify_unittest_coredump_test.sh | 9 | # Usage: | COMMENT |
| LOW | jstests/ssl/x509/mkcrl.sh | 15 | # Usage: | COMMENT |
| LOW | src/third_party/json-c/scripts/build_json_c_headers.sh | 7 | # Usage: | COMMENT |
| LOW | src/third_party/mozjs/include/js/UbiNode.h | 980 | // Example usage: | COMMENT |
| LOW | src/third_party/mozjs/extract/js/public/UbiNode.h | 980 | // Example usage: | COMMENT |
| LOW | …hird_party/mozjs/extract/js/src/devtools/plot-octane.R | 3 | # Usage: | COMMENT |
| LOW | …party/mozjs/extract/js/src/irregexp/import-irregexp.py | 18 | # Usage: | COMMENT |
| LOW | src/third_party/icu4c-57.1/source/common/rbbicst.pl | 7 | # Usage: | COMMENT |
| LOW | src/third_party/icu4c-57.1/source/common/ucase.cpp | 1074 | # Usage: | COMMENT |
| LOW | src/third_party/icu4c-57.1/source/i18n/regexcst.pl | 10 | # Usage: | COMMENT |
| LOW | …eams/include/boost/iostreams/detail/select_by_size.hpp | 24 | // Example usage: | COMMENT |
| LOW | …/libs/math/tools/bessel_derivative_append_negative.cpp | 11 | // Usage example: | COMMENT |
| LOW | …_party/boost/libs/predef/tools/ci/linux-cxx-install.sh | 3 | # Usage: | COMMENT |
| LOW | …arty/boost/libs/predef/tools/ci/macos-xcode-install.sh | 3 | # Usage: | COMMENT |
| LOW | src/third_party/wiredtiger/wt_config_header.py | 3 | # Example usage: | COMMENT |
| LOW | src/third_party/wiredtiger/wt_version_header.py | 3 | # Example usage: | COMMENT |
| LOW | …/third_party/wiredtiger/test/suite/test_timestamp22.py | 58 | # Usage: | COMMENT |
| LOW | src/third_party/rnp/scripts/build_rnp_headers.sh | 8 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | buildscripts/packager.py | 150 | # and want DEB packages to match, make sure to update pversion() | COMMENT |
| LOW | buildscripts/packager.py | 186 | # this format and want RPM packages to match make sure you change | COMMENT |
| LOW | src/third_party/mozjs/include/js/CompileOptions.h | 254 | // WARNING: When adding new fields, don't forget to add them to | COMMENT |
| LOW | src/third_party/mozjs/include/js/CompileOptions.h | 347 | // WARNING: When adding new fields, don't forget to add them to | COMMENT |
| LOW | …c/third_party/mozjs/extract/js/public/CompileOptions.h | 254 | // WARNING: When adding new fields, don't forget to add them to | COMMENT |
| LOW | …c/third_party/mozjs/extract/js/public/CompileOptions.h | 347 | // WARNING: When adding new fields, don't forget to add them to | COMMENT |
| LOW | …ird_party/mozjs/extract/js/src/wasm/WasmCodegenTypes.h | 1720 | // If you add fields, don't forget to update its `clear` and `empty` methods. | COMMENT |
| LOW | …tract/js/src/jit/riscv64/SharedICHelpers-riscv64-inl.h | 63 | // Note: when making changes here, don't forget to update | COMMENT |
| LOW | …tract/js/src/jit/loong64/SharedICHelpers-loong64-inl.h | 65 | // Note: when making changes here, don't forget to update | COMMENT |
| LOW | …/src/jit/mips-shared/SharedICHelpers-mips-shared-inl.h | 65 | // Note: when making changes here, don't forget to update | COMMENT |
| MEDIUM | …ird_party/mozjs/extract/js/src/builtin/ShadowRealm.cpp | 112 | // creation. It's worth noting that the newGlobal callback | COMMENT |
| MEDIUM | …/third_party/icu4c-57.1/source/i18n/unicode/dtfmtsym.h | 63 | * DateFormatSymbols object, they can feel free to modify the date-time | COMMENT |
| MEDIUM | …/third_party/icu4c-57.1/source/i18n/unicode/dtitvinf.h | 142 | * they can feel free to modify it as necessary. | COMMENT |
| LOW | …clude/boost/spirit/home/x3/nonterminal/detail/rule.hpp | 256 | // X3 developer note: don't forget to sync this implementation with x3::guard | COMMENT |
| LOW | …pirit/include/boost/spirit/home/x3/auxiliary/guard.hpp | 61 | // X3 developer note: don't forget to sync this implementation with x3::detail::rule_parser | COMMENT |
| MEDIUM | …s/detail/hypergeometric_1F1_addition_theorems_on_z.hpp | 250 | // I'm unable to find any situation where this series isn't divergent and therefore | COMMENT |
| MEDIUM | …/odeint/include/boost/numeric/odeint/stepper/euler.hpp | 7 | be used for demonstration purposes. | CODE |
| MEDIUM | …/odeint/include/boost/numeric/odeint/stepper/euler.hpp | 110 | * for real applications. It is only useful for demonstration purposes. Step size control is not provided but | COMMENT |
| LOW | …tiger/test/cppsuite/src/component/workload_manager.cpp | 115 | * Don't forget to delete the config we created earlier. While we do pass the config into | COMMENT |
| LOW | …third_party/wiredtiger/test/cppsuite/src/main/test.cpp | 137 | /* Don't forget to delete. */ | COMMENT |
| LOW | src/third_party/wiredtiger/src/include/tsan_suppress.h | 20 | * we don't forget to properly fix them later and to highlight that this is only a temporary | COMMENT |
| LOW | src/third_party/wiredtiger/src/btree/bt_handle.c | 1267 | * have been set. Don't forget to update the API documentation if you | COMMENT |
| MEDIUM | …y/IntelRDFPMathLib20U1/LIBRARY/float128/dpml_ux_trig.c | 111 | ** As mentioned earlier, the overall design of the the trig routines is | CODE |
| MEDIUM | src/mongo/util/executor_stats_test.cpp | 204 | * follow the same semantics as mentioned earlier in `ExecutorStatsTest::WaitTime`. | COMMENT |
| LOW | …/mongo/db/repl/initial_sync/collection_cloner_test.cpp | 923 | // test is to make sure we don't forget to request the _next_ resume token when resuming a query. | COMMENT |
| MEDIUM | src/mongo/db/index_builds/index_build_interceptor.cpp | 195 | // SERVER-39705: It's worth noting that a document may not generate any keys, but be | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …y/mozjs/extract/js/src/builtin/intl/CommonFunctions.js | 440 | // In this implementation, localeData is a function, not an object. | COMMENT |
| HIGH⚡ | src/third_party/boost/boost/container/string.hpp | 544 | //! In this implementation, basic_string has performance characteristics very similar to | COMMENT |
| HIGH⚡ | src/third_party/boost/boost/container/string.hpp | 548 | //! In this implementation, begin(), | COMMENT |
| HIGH⚡ | src/third_party/boost/boost/container/string.hpp | 550 | //! In this implementation, iterators are only invalidated by member functions that | COMMENT |
| HIGH | src/mongo/db/admission/README.md | 61 | of a [Token Bucket](https://en.wikipedia.org/wiki/Token_bucket). In this implementation, the token | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | evergreen/functions/upload_sbom_via_silkbomb.py | 128 | CODE | |
| LOW | …s/security_reporting_scripts/upload_to_google_drive.py | 15 | CODE | |
| LOW | bazel/wrapper_hook/compiledb.py | 658 | CODE | |
| LOW | buildscripts/mongosymb.py | 199 | CODE | |
| LOW | buildscripts/utils.py | 63 | CODE | |
| LOW | buildscripts/gdb/mongo_printers.py | 996 | CODE | |
| LOW | …/tests/resmoke_end2end/test_resmoke_external_module.py | 49 | CODE | |
| LOW | buildscripts/resmokelib/selector.py | 479 | CODE | |
| LOW | buildscripts/resmokelib/selector.py | 649 | CODE | |
| LOW | buildscripts/resmokelib/testing/hooks/stepdown.py | 35 | CODE | |
| LOW | …dscripts/resmokelib/testing/hooks/add_remove_shards.py | 53 | CODE | |
| LOW | …esmokelib/generate_fuzz_config/mongo_fuzzer_configs.py | 422 | CODE | |
| LOW | …ts/resmokelib/setup_multiversion/setup_multiversion.py | 81 | CODE | |
| LOW | …third_party/mock_ocsp_responder/mock_ocsp_responder.py | 96 | CODE | |
| LOW | src/third_party/wiredtiger/tools/wt-mcp/server.py | 1418 | CODE | |
| LOW | …edtiger/test/3rdparty/testtools-2.7.1/testtools/run.py | 126 | CODE | |
| LOW | …y/testtools-2.7.1/testtools/twistedsupport/_runtest.py | 79 | CODE | |
| LOW | …dparty/testtools-2.7.1/testtools/testresult/doubles.py | 219 | CODE | |
| LOW | …/3rdparty/testtools-2.7.1/testtools/testresult/real.py | 365 | CODE | |
| LOW | …/3rdparty/testtools-2.7.1/testtools/testresult/real.py | 481 | CODE | |
| LOW | …/3rdparty/testtools-2.7.1/testtools/testresult/real.py | 821 | CODE | |
| LOW | …/3rdparty/testtools-2.7.1/testtools/testresult/real.py | 1840 | CODE | |
| LOW | …ty/python-subunit-1.4.4/python/subunit/test_results.py | 448 | CODE | |
| LOW | …ty/python-subunit-1.4.4/python/subunit/test_results.py | 592 | CODE | |
| LOW | …ty/python-subunit-1.4.4/python/subunit/test_results.py | 734 | CODE | |
| LOW | …est/3rdparty/python-subunit-1.4.4/python/subunit/v2.py | 113 | CODE | |
| LOW | …est/3rdparty/python-subunit-1.4.4/python/subunit/v2.py | 150 | CODE | |
| LOW | …unit-1.4.4/python/subunit/tests/test_test_protocol2.py | 320 | CODE | |
| LOW | …unit-1.4.4/python/subunit/tests/test_test_protocol2.py | 329 | CODE | |
| LOW | …third_party/wiredtiger/test/suite/hooks/hook_disagg.py | 323 | CODE | |
| LOW | …third_party/wiredtiger/test/suite/hooks/hook_tiered.py | 190 | CODE | |
| LOW | …third_party/wiredtiger/test/suite/hooks/hook_tiered.py | 241 | CODE | |
| LOW | src/third_party/wiredtiger/test/suite/helpers/wttest.py | 173 | CODE | |
| LOW | …ery/query_tester/tests/selfTests/testlib/test_utils.py | 69 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | buildscripts/jepsen_report.py | 71 | Given a List of strings representing jepsen log file split by newlines, return the ParserOutput struct. Args: | STRING |
| HIGH | …ules_mongo/codeowners/check_github_codeowner_errors.py | 23 | Execute a GraphQL query against GitHub's API with retry logic. Args: query: The GraphQL query string | STRING |
| HIGH | buildscripts/resmokelib/suitesconfig.py | 590 | Get a dictionary of all overrides from multiple directories keyed by override name. Parses override files from | STRING |
| HIGH | buildscripts/resmokelib/suitesconfig.py | 655 | Get a dictionary of all suite mapping configurations from multiple directories. Collects and validates all matr | STRING |
| HIGH | buildscripts/resmokelib/suitesconfig.py | 707 | Get the mapping file path and suite directory for a given suite name. Searches all configured suite directories | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | buildscripts/generate_result_tasks.py | 289 | CODE | |
| MEDIUM | buildscripts/generate_result_tasks.py | 290 | CODE | |
| MEDIUM | buildscripts/generate_result_tasks.py | 291 | CODE | |
| MEDIUM | buildscripts/generate_result_tasks.py | 294 | CODE | |
| MEDIUM | buildscripts/generate_result_tasks.py | 299 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/third_party/icu4c-57.1/source/i18n/rbnf.cpp | 1357 | // TODO: implement UParseError | COMMENT |
| LOW | src/third_party/icu4c-57.1/source/i18n/rematch.cpp | 3908 | // TODO: implement transparent bounds. Ticket #6067 | COMMENT |
| LOW | src/third_party/icu4c-57.1/source/i18n/rematch.cpp | 5416 | // TODO: implement transparent bounds. Ticket #6067 | COMMENT |
| LOW | …er/test/3rdparty/testtools-2.7.1/testtools/testcase.py | 558 | # TODO: implement with matchers. | COMMENT |
| LOW | …uery/compiler/optimizer/cost_based_ranker/ce_utils.cpp | 48 | // TODO: implement operator*= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …test/evergreen/code_coverage/parallel_code_coverage.py | 39 | def run_task(index, task): | CODE |
| LOW | …/3rdparty/testtools-2.7.1/testtools/testresult/real.py | 474 | def do_something(): | STRING |