AI Slop Code Risk Monitor

DataDog/datadog-agent

SlopCodeMonitor badge for DataDog/datadog-agent Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Main repository for Datadog Agent

2.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for DataDog/datadog-agent, a Go project with 3,771 GitHub stars. SynthScan examined 3,679,823 lines of code across 22844 source files, recording 8469 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 2.9 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.9
Adjusted Signal
2.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
3.8K
Stars
Go
Language
3.7M
Lines of Code
22.8K
Files
8.5K
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 10.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 4.5/100 · LOW

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

PR Review Velocity Impact 13.1/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 17HIGH 120MEDIUM 558LOW 7774

Directory Score Breakdown

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

Pattern Findings

The scanner identified 8469 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block5019 hits · 4972 pts
SeverityFileLineSnippetContext
LOW.lychee.toml21 # Generated by the `repo` macro, which resolves every path against the working tree whileCOMMENT
LOW.copyright-overrides.yml1# this file contains overrides for the automatic determination of copyrightCOMMENT
LOWmise.toml1[settings]COMMENT
LOWflakes.yaml1# * Here is the file format:COMMENT
LOWomnibus/config/software/datadog-agent.rb121 conf_dir = "#{install_dir}/etc/datadog-agent"COMMENT
LOWomnibus/lib/project_extension.rb181 expose :inspect_binaryCOMMENT
LOWpackaging/aix/agent-data-plane-wrapper.sh1#!/bin/shCOMMENT
LOWpackaging/aix/sitecustomize.py1# AIX: best-effort preload of libc++abi.a with RTLD_GLOBAL.COMMENT
LOWpackaging/aix/build.sh1#!/bin/shCOMMENT
LOWpackaging/aix/package.sh81#COMMENT
LOWpackaging/aix/package.sh121 done < "$SCRIPT_DIR/gen.template.in"COMMENT
LOWpackaging/aix/clean.sh1#!/bin/shCOMMENT
LOWpackaging/aix/agent-wrapper.sh1#!/bin/shCOMMENT
LOWpackaging/aix/stages/08-checks-base.sh61# ─── Step 1: Install datadog-checks-base ──────────────────────────────────────COMMENT
LOWpackaging/aix/stages/00-checkout.sh41trap cleanup EXITCOMMENT
LOWpackaging/aix/stages/03-rtloader.sh61# -DPython3_INCLUDE_DIR : staging path (where headers are during the build)COMMENT
LOWpackaging/aix/stages/03-rtloader.sh121# SystemError: initialization of _datetime did not return an extension moduleCOMMENT
LOWpackaging/aix/stages/03-rtloader.sh141eval "$LINK_CMD_FIXED"COMMENT
LOWpackaging/aix/stages/03-rtloader.sh161# The LIBPATH baked into the rtloader .so files (via CMAKE_INSTALL_RPATH) alreadyCOMMENT
LOWpackaging/aix/stages/07-pydantic.sh101#COMMENT
LOWpackaging/aix/stages/10-strip-bytecode.sh41log "Stripping debug info from .so files under $EMBEDDED_DESTDIR/lib"COMMENT
LOWpackaging/aix/stages/10-strip-bytecode.sh61# extensions such as ibm_db. Linux/macOS omnibus packages also ship theseCOMMENT
LOWpackaging/aix/stages/04-agent.sh61# and link against the .so files we built in Stage 03.COMMENT
LOWpackaging/aix/stages/02-python.sh121if grep -q 'libintl\.h' Python/gettext.c 2>/dev/null; thenCOMMENT
LOWpackaging/aix/stages/02-python.sh141# (2) Implement the PyThread_tss_t fallback in Python/pystate.cCOMMENT
LOWpackaging/aix/stages/02-python.sh361 log "INFO: _initializing parent re-import not found in Lib/importlib/_bootstrap.py — patch not needed."COMMENT
LOWpackaging/aix/stages/02-python.sh381# (thread_local/__thread), which hits the same AIX local-exec/shared-libraryCOMMENT
LOWpackaging/aix/stages/02-python.sh401# (python3.13, libpython3.13.so, and every C extension .so built in later stages).COMMENT
LOWpackaging/aix/stages/11-assemble.sh61COMMENT
LOWpackaging/aix/stages/11-assemble.sh81mkdir -p "$STAGING_CONFD"COMMENT
LOWpackaging/aix/stages/11-assemble.sh181fiCOMMENT
LOWpackaging/aix/stages/01-native-libs.sh101}COMMENT
LOWpackaging/aix/stages/01-native-libs.sh261 curl -fSL -o "$TARBALL" "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz"COMMENT
LOWpackaging/aix/stages/01-native-libs.sh521# /usr/lib/libiconv.a uses member shr4_64.o (different name), so it cannotCOMMENT
LOWpackaging/aix/stages/06-python-extensions.sh121#COMMENT
LOWpackaging/aix/stages/06-python-extensions.sh181# ensure it links against our bundled libxml2 and libxslt from Stage 1.COMMENT
LOWpackaging/aix/stages/06-python-extensions.sh201# flags like -fPIC, -ffunction-sections, -maix64COMMENT
LOWpackaging/aix/stages/09-integrations.sh81# Discover every check in the pinned integrations-core checkout whoseCOMMENT
LOWpackaging/aix/lib/env.sh1# shellcheck shell=shCOMMENT
LOWpackaging/aix/lib/env.sh21COMMENT
LOWcmd/dogstatsd/windows_resources/version.h1COMMENT
LOWcmd/process-agent/windows_resources/version.h1COMMENT
LOWcmd/iot-agent/docs.go1// Unless explicitly stated otherwise all files in this repository are licensedCOMMENT
LOWcmd/security-agent/windows_resources/version.h1COMMENT
LOWcmd/serverless-init/docs.go1// Unless explicitly stated otherwise all files in this repository are licensedCOMMENT
LOWcmd/serverless-init/main.go81// fits within the tightest supported platform grace window. Platform defaults:COMMENT
LOWcmd/serverless-init/main.go101COMMENT
LOWcmd/serverless-init/main.go121 // exceeds this. Four shutdown phases run, each independentlyCOMMENT
LOWcmd/serverless-init/main.go141// forwarder, DogStatsD server and demultiplexer read at Fx-construction time.COMMENT
LOWcmd/serverless-init/main.go181 // did before this bundle replaced it. Left unset, the serializer would useCOMMENT
LOWcmd/serverless-init/main.go201 // All bounded by aggregator_stop_timeout / forwarder_stop_timeout. It onlyCOMMENT
LOWcmd/serverless-init/main.go261 // LoadDatadog again with the real Fx-injected components; that isCOMMENT
LOWcmd/serverless-init/main.go281 // configureTags) are picked up. Env-based DD_TAGS / DD_EXTRA_TAGS workCOMMENT
LOWcmd/serverless-init/main.go301 // (matching Core Agent behavior) but stay quiet because nothing producesCOMMENT
LOWcmd/serverless-init/main.go401 // time-sampler workers during step 5's demux drain.COMMENT
LOWcmd/serverless-init/trace/span_modifier_setter_test.go1// Unless explicitly stated otherwise all files in this repository are licensedCOMMENT
LOWcmd/serverless-init/lifecycle/forwarder.go61// NewForwarder constructs a Forwarder targeting 127.0.0.1:<port>. The forwardTimeoutCOMMENT
LOWcmd/serverless-init/lifecycle/forwarder.go101// (bounded by dialCheckTimeout), then forwards the request bounded by timeoutCOMMENT
LOWcmd/serverless-init/lifecycle/server.go1// Unless explicitly stated otherwise all files in this repository are licensedCOMMENT
LOWcmd/serverless-init/lifecycle/server.go21// - /suspend — VM is about to be snapshotted/frozen.COMMENT
4959 more matches not shown…
Hyper-Verbose Identifiers1565 hits · 1648 pts
SeverityFileLineSnippetContext
LOWomnibus/python-scripts/pre_tests.py40 def test_pre_with_empty_files(self):CODE
LOWomnibus/python-scripts/pre_tests.py72 def test_pre_falls_back_to_legacy_tmp(self):CODE
LOWomnibus/python-scripts/pre_tests.py102 def test_pre_falls_back_to_install_directory(self):CODE
LOWomnibus/python-scripts/pre_tests.py129 def test_pre_no_baseline_first_install_returns_zero(self):CODE
LOWomnibus/python-scripts/pre_tests.py154 def test_pre_no_baseline_on_upgrade_returns_error(self):CODE
LOWomnibus/python-scripts/pre_tests.py188 def test_pre_with_populated_pre_file(self):CODE
LOWomnibus/python-scripts/packages_tests.py21 def test_create_python_installed_packages_file(self):CODE
LOWomnibus/python-scripts/packages_tests.py43 def test_create_diff_installed_packages_file(self):CODE
LOWomnibus/python-scripts/packages_tests.py80 def test_run_command_success_returns_zero_rc(self):CODE
LOWomnibus/python-scripts/packages_tests.py87 def test_run_command_failure_returns_nonzero_rc(self):CODE
LOW⚡omnibus/python-scripts/packages_tests.py101 def test_install_datadog_package_succeeds_on_first_attempt(self):CODE
LOW⚡omnibus/python-scripts/packages_tests.py107 def test_install_datadog_package_succeeds_on_retry(self):CODE
LOW⚡omnibus/python-scripts/packages_tests.py114 def test_install_datadog_package_raises_after_two_failures(self):CODE
LOWomnibus/python-scripts/packages_tests.py128 def test_install_diff_packages_file_collects_failures(self):CODE
LOWomnibus/python-scripts/packages_tests.py159 def test_install_diff_packages_file_succeeds_silently(self):CODE
LOW⚡omnibus/python-scripts/packages.py99def pre_python_installed_packages_file(directory):CODE
LOW⚡omnibus/python-scripts/packages.py105def post_python_installed_packages_file(directory):CODE
LOW⚡omnibus/python-scripts/packages.py111def diff_python_installed_packages_file(directory):CODE
LOW⚡omnibus/python-scripts/packages.py117def requirements_agent_release_file(directory):CODE
LOW⚡omnibus/python-scripts/packages.py123def check_file_owner_system_windows(filename):CODE
LOWomnibus/python-scripts/packages.py146def check_all_files_owner_system_windows(directory):CODE
LOWomnibus/python-scripts/packages.py167def create_python_installed_packages_file(filename):CODE
LOWomnibus/python-scripts/packages.py183def create_diff_installed_packages_file(directory, old_file, new_file):CODE
LOWomnibus/python-scripts/packages.py242def install_dependency_package(pip, package):CODE
LOWomnibus/python-scripts/packages.py264def install_diff_packages_file(install_directory, filename, exclude_filename):CODE
LOWomnibus/python-scripts/post_tests.py35 def test_post_with_empty_files(self):CODE
LOWomnibus/python-scripts/post_tests.py77 def test_datadog_integration_vs_python_package_installation(self, mock_instalL_dependency, mock_install_datadog):CODE
LOWomnibus/python-scripts/post_tests.py115 def test_excluded_packages_are_skipped(self, mock_load_requirements, mock_instalL_dependency, mock_install_datadog):CODE
LOWomnibus/python-scripts/post_tests.py162 def test_post_returns_one_when_restore_fails(self):CODE
LOWomnibus/lib/project_extension.rb72 def normalize_path_tree_permissions(root)CODE
LOWomnibus/lib/project_extension.rb82 def normalize_path_permissions(path)CODE
LOWomnibus/lib/project_extension.rb287 def staged_extra_package_source(source)CODE
LOWomnibus/lib/project_extension.rb325 def shared_external_directory_entry(path, filepath)CODE
LOWomnibus/lib/fips.rb39def fips_check_binary_for_expected_symbol(path)CODE
LOW…mands/usm/debug_scripts/usm_leak_detector/validator.py34def _validate_across_all_namespaces(conn: ConnTuple, connection_index: Dict[int, ConnectionIndex]) -> Tuple[bool, str]:CODE
LOWtasks/fakeintake.py90def _check_version_not_bumped_off_main(ctx, branch: str):CODE
LOWtasks/k8s_versions.py573def update_kind_versions_file(_, versions_file=VERSIONS_FILE):CODE
LOWtasks/host_profiler.py30def _get_profiler_agent_version(ctx):CODE
LOWtasks/host_profiler.py143def _get_agent_module_version(ctx: Context, module: str) -> str:CODE
LOWtasks/install_tasks.py110def install_rust_license_tool(ctx):CODE
LOWtasks/quality_gates.py55def _print_quality_gates_report(verdicts: list[GateVerdict]):CODE
LOWtasks/release.py83def _get_module_pseudo_version(ctx, module, commit):CODE
LOWtasks/macos.py77def list_runner_active_versions(ctx, lang):CODE
LOWtasks/files_inventory.py70def _compare_inventory_reports(parent_inventory_report, current_inventory_report) -> tuple[bool, str]:CODE
LOWtasks/files_inventory.py125def _inventory_changes_to_comment(added, removed, changed):CODE
LOWtasks/selinux.py18def compile_system_probe_policy_file(CODE
LOWtasks/build_tags.py170def build_tags_codegen_payload() -> dict[str, object]:CODE
LOWtasks/build_tags.py191def compute_build_tags_for_flavor(CODE
LOWtasks/build_tags.py306def compute_config_build_tags(CODE
LOWtasks/kmt.py188def gen_config_from_ci_pipeline(CODE
LOWtasks/kmt.py1036def compute_package_dependencies(ctx: Context, packages: list[str], build_tags: list[str]) -> dict[str, set[str]]:CODE
LOWtasks/renovate.py63def _parse_top_level_namespace(text: str) -> dict:CODE
LOWtasks/fuzz_infra.py32def get_slack_channel_for_directory(directory_path: str) -> str:CODE
LOWtasks/anomalydetection.py954def _load_completed_bayesian_report(CODE
LOWtasks/anomalydetection.py984def _bayesian_evaluation_inputs(CODE
LOWtasks/anomalydetection.py1603def _validate_ddeval_scenario_filter(eval_backend: str, scenarios: str) -> bool:CODE
LOWtasks/anomalydetection.py1625def _ddeval_experiment_config(CODE
LOWtasks/anomalydetection.py1791def _parse_ddeval_workflow_result(stdout: str) -> dict[str, object]:CODE
LOWtasks/anomalydetection.py1806def _parse_ddeval_workflow_id(stdout: str) -> str | None:CODE
LOWtasks/anomalydetection.py1815def _parse_ddeval_workflow_run_id(stdout: str) -> str | None:CODE
1505 more matches not shown…
Decorative Section Separators397 hits · 1178 pts
SeverityFileLineSnippetContext
MEDIUMomnibus/config/projects/agent.rb132# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/agent.rb134# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/agent.rb214# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/agent.rb216# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/agent-binaries.rb39# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/agent-binaries.rb41# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/agent-binaries.rb66# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/agent-binaries.rb68# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/installer.rb93# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/installer.rb95# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/installer.rb145# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/installer.rb147# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/iot-agent.rb53 # ------------------------------------COMMENT
MEDIUMomnibus/config/projects/iot-agent.rb55 # ------------------------------------COMMENT
MEDIUMomnibus/config/projects/iot-agent.rb93# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/iot-agent.rb95# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/iot-agent.rb136# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/iot-agent.rb138# ------------------------------------COMMENT
MEDIUM⚡omnibus/config/projects/dogstatsd.rb73# ------------------------------------COMMENT
MEDIUM⚡omnibus/config/projects/dogstatsd.rb75# ------------------------------------COMMENT
MEDIUM⚡omnibus/config/projects/dogstatsd.rb82 # ------------------------------------COMMENT
MEDIUM⚡omnibus/config/projects/dogstatsd.rb84 # ------------------------------------COMMENT
MEDIUMomnibus/config/projects/eudm.rb53# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/eudm.rb55# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/eudm.rb69# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/eudm.rb71# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/ddot.rb73# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/ddot.rb75# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/ddot.rb100# ------------------------------------COMMENT
MEDIUMomnibus/config/projects/ddot.rb102# ------------------------------------COMMENT
MEDIUMomnibus/lib/ostools.rb1# ------------------------------------COMMENT
MEDIUMomnibus/lib/ostools.rb3# ------------------------------------COMMENT
MEDIUM⚡packaging/aix/setup-host.sh36# ── Preflight ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/aix/setup-host.sh41# ── Step 1: grow /opt ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/aix/setup-host.sh50# ── Step 2: AIX Toolbox packages ─────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/setup-host.sh65# ── Step 3: Go toolchain at /opt/go ───────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/setup-host.sh81# ── Step 4: Python deps for the `tasks` invoke namespace ─────────────────────COMMENT
MEDIUMpackaging/aix/setup-host.sh104# ── Step 5: gotestsum (no Bazel on AIX) ──────────────────────────────────────COMMENT
MEDIUMpackaging/aix/setup-host.sh122# ── Step 5b: Rust SDKs (build/packaging) ─────────────────────────────────────COMMENT
MEDIUMpackaging/aix/setup-host.sh155# ── Step 5c: IBM MQ Client (build/packaging) ──────────────────────────────────COMMENT
MEDIUMpackaging/aix/setup-host.sh174# ── Step 6: verify ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/build.sh33# ── Source shared environment ─────────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/build.sh48# ── Bootstrap embedded symlink ────────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/build.sh61# ── Build-specific prerequisite: Rust SDK ───────────────────────────────────COMMENT
MEDIUMpackaging/aix/build.sh77# ── Bootstrap build directories ───────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/build.sh83# ── Stage list ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/build.sh100# ── Helper: run one stage script ──────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/build.sh121# ── Main ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/package.sh34# ─── Step 1: Pre-flight — verify staging tree is assembled ────────────────────COMMENT
MEDIUMpackaging/aix/package.sh125# ─── Step 3: Run mkinstallp to generate the BFF ───────────────────────────────COMMENT
MEDIUMpackaging/aix/package.sh144# ─── Step 4: Copy BFF to final artifact name ──────────────────────────────────COMMENT
MEDIUM⚡packaging/aix/clean.sh56# ── Remove stage sentinels ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/aix/clean.sh65# ── Remove staging tree ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/aix/clean.sh75# ── Remove build logs ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packaging/aix/clean.sh81# ── Remove temporary packaging files ──────────────────────────────────────────COMMENT
MEDIUM⚡packaging/aix/clean.sh84# ── Wheel cache ────────────────────────────────────────────────────────────────COMMENT
MEDIUMpackaging/aix/stages/08-checks-base.sh61# ─── Step 1: Install datadog-checks-base ──────────────────────────────────────COMMENT
MEDIUMpackaging/aix/stages/08-checks-base.sh74# ─── Step 1b: Install datadog-checks-base [deps] extra packages ───────────────COMMENT
MEDIUMpackaging/aix/stages/08-checks-base.sh113# ─── Step 2: Freeze installed state to constraints file ───────────────────────COMMENT
MEDIUMpackaging/aix/stages/00-checkout.sh43# ─── Step 1: Validate agent source tree ───────────────────────────────────────COMMENT
337 more matches not shown…
Structural Annotation Overuse249 hits · 447 pts
SeverityFileLineSnippetContext
LOW⚡packaging/aix/stages/03-rtloader.sh134# Step 1: Re-run the cmake ExportImportList (export symbols file generation)COMMENT
LOW⚡packaging/aix/stages/03-rtloader.sh138# Step 2: Re-run the link command, substituting .so with .a for libpython${PYTHON_MAJ_MIN}COMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py83 # Step 1: Get eBPF backendCOMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py90 # Step 2: List eBPF mapsCOMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py101 # Step 3: Check ConnTuple-keyed maps (unless --pid-only)COMMENT
LOW…subcommands/usm/debug_scripts/usm_leak_detector/cli.py134 # Step 4: Check PID-keyed maps (unless --conn-tuple-only)COMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py156 # Step 5: Print reports (PID-keyed first, then ConnTuple-keyed)COMMENT
LOWtasks/quality_gates.py247 # Step 1: Fetch PR metrics from DatadogCOMMENT
LOW⚡tasks/quality_gates.py266 # Step 2: Identify gates with size increase (not just failing gates)COMMENT
LOW⚡tasks/quality_gates.py283 # Step 3: Fetch main branch headroom (for gates with size increase)COMMENT
LOW⚡tasks/quality_gates.py292 # Step 4: Load current configs and index gates by which file defines themCOMMENT
LOW⚡tasks/quality_gates.py301 # Step 5: Calculate and apply new thresholds for gates with size increaseCOMMENT
LOWtasks/quality_gates.py335 # Step 6: Write updated configsCOMMENT
LOW⚡tasks/release.py348 # Step 2: Update internal module dependenciesCOMMENT
LOW⚡tasks/release.py352 # Step 3: Branch out, commit change, push branchCOMMENT
LOW⚡tasks/release.py489 # Step 1: Update release entriesCOMMENT
LOW⚡tasks/release.py495 # Step 2: Update internal module dependenciesCOMMENT
LOW⚡tasks/release.py500 # Step 3: Run tidy taskCOMMENT
LOW⚡tasks/release.py504 # Step 4: branch out, push branch, then add, and create signed commit with Github APICOMMENT
LOW⚡tasks/release.py787 # Step 1: Lead Time for Changes dataCOMMENT
LOW⚡tasks/release.py793 # Step 2: Agent stability dataCOMMENT
LOW⚡tasks/release.py803 # Step 3: Code changesCOMMENT
LOWtasks/release.py309 # Step 1: PreparationCOMMENT
LOWtasks/release.py381 # Step 4: Add release changelog preludesCOMMENT
LOWtasks/release.py398 # Step 5: Push branch and create PRCOMMENT
LOWtasks/release.py467 # Step 0: checksCOMMENT
LOWtasks/release.py550 # Step 5 - Send a slack messageCOMMENT
LOWtasks/release.py616 # Step 0: checksCOMMENT
LOWtasks/release.py639 # Step 1: Tag versionsCOMMENT
LOWtasks/release.py661 # Step 2: Run the RC pipelineCOMMENT
LOW⚡tasks/notes.py49 # Step 1 - generate the changelogsCOMMENT
LOWtasks/notes.py73 # Step 2 - commit changesCOMMENT
LOWtasks/notes.py101 # Step 3 - Push and create PRCOMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go67 // Step 1: fetch current VM state. Returns '{}' when the VM does not exist.COMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go80 // Step 2: parse the state JSON in Go and decide what shell command to run.COMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go102 // Step 3: execute the action (launch / start / no-op).COMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go115 // Step 4: fetch the final VM info JSON. This resource also owns the delete.COMMENT
LOW…/new-e2e/tests/usm/windows_remote_service_tags_test.go149 // Step 1: send 1000 connections to site A (port 8081), hold 20s, then verify.COMMENT
LOW…/new-e2e/tests/usm/windows_remote_service_tags_test.go166 // Step 2: send 1000 connections to site B (port 8082).COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go116 // Step 1: create statefulset without spot label — all pods go on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go126 // Step 2: opt in to spot scheduling.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go129 // Step 3: expect rebalancing to converge to 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go260 // Step 1: opt in — wait for 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go270 // Step 2: remove spot label to opt out, then restart to replace existing pods.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go274 // Step 3: all pods should land on on-demand without the spot-assigned label.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go129 // Step 1: create deployment without spot label — all pods go on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go139 // Step 2: opt in to spot scheduling.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go142 // Step 3: expect rebalancing to converge to 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go236 // Step 1: opt in — wait for 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go246 // Step 2: remove spot label to opt out, then restart to replace existing pods.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go250 // Step 3: all pods should land on on-demand without the spot-assigned label.COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go419 // Step 1: Clean up any existing dd-agent user/groupCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go427 // Step 2: Set up NSS extrausersCOMMENT
LOWtest/new-e2e/tests/installer/unix/package_agent_test.go499 // Step 3: Verify that getent can find the user/group (confirming NSS is working)COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go514 // Step 4: Install the agentCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go518 // Step 5: Verify no new entries were added to /etc/passwd or /etc/groupCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go525 // Step 6: Verify the agent is installed and runningCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go145 // Step 1: install the agent via the standard install scriptCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go150 // Step 2: remove the agent package while keeping config files.COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go163 // Step 3: move datadog.yaml out of the way so the reinstall has no yaml.COMMENT
189 more matches not shown…
Excessive Try-Catch Wrapping216 hits · 261 pts
SeverityFileLineSnippetContext
LOWomnibus/python-scripts/post.py43 except Exception as e:CODE
MEDIUMomnibus/python-scripts/post.py44 print(f"Error: {e}")CODE
MEDIUMomnibus/python-scripts/packages.py84 print(f"Error: {e.stderr}")CODE
LOW⚡omnibus/python-scripts/packages.py95 except Exception as e:CODE
MEDIUM⚡omnibus/python-scripts/packages.py96 print(f"Error parsing specifier: {e}")CODE
LOWomnibus/python-scripts/pre.py75 except Exception as e:CODE
MEDIUMomnibus/python-scripts/pre.py76 print(f"Error: {e}")CODE
LOWpackaging/aix/sitecustomize.py24except Exception:CODE
MEDIUM⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py86 print("Error: No eBPF backend available. Install bpftool or ensure system-probe is accessible.",CODE
MEDIUM⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py94 print("Error: Could not list eBPF maps.", file=sys.stderr)CODE
LOW…sm/debug_scripts/usm_leak_detector/subprocess_utils.py28 except Exception:CODE
LOW…sm/debug_scripts/usm_leak_detector/subprocess_utils.py149 except Exception:CODE
LOW…ripts/usm_leak_detector/backends/bpftool_downloader.py68 except Exception as e:CODE
LOW…ripts/usm_leak_detector/backends/bpftool_downloader.py155 except Exception as e:CODE
LOWcmd/ai_prompt_logger/scripts/test_host.py106 except Exception as e:CODE
LOWtasks/k8s_versions.py339 except Exception as e:CODE
LOWtasks/kind_node_image.py128 except Exception as e:CODE
MEDIUMtasks/kind_node_image.py129 print(f"Error building image {tag}: {e}")CODE
LOWtasks/quality_gates.py74 except Exception:CODE
LOWtasks/virustotal.py73 except Exception as e:CODE
LOWtasks/virustotal.py92 except Exception as e:CODE
LOWtasks/virustotal.py118 except Exception as e:CODE
LOWtasks/virustotal.py331 except Exception as e:CODE
LOWtasks/kmt.py461 except Exception as e:CODE
LOWtasks/kmt.py625 except Exception as e:CODE
LOWtasks/kmt.py2012 except Exception as e:CODE
LOWtasks/kmt.py1648 except Exception:STRING
LOWtasks/renovate.py86 except Exception:CODE
LOWtasks/renovate.py477 except Exception:CODE
LOWtasks/systray.py109 except Exception as e:CODE
LOWtasks/fuzz_infra.py65 except Exception as e:CODE
LOWtasks/fuzz_infra.py110 except Exception as e:CODE
LOWtasks/anomalydetection.py201 except Exception as e:CODE
LOWtasks/anomalydetection.py598 except Exception as e:CODE
LOWtasks/anomalydetection.py882 except Exception as e:CODE
LOWtasks/anomalydetection.py1238 except Exception:CODE
LOWtasks/anomalydetection.py1405 except Exception as e:CODE
LOWtasks/collector.py177 except Exception as e:CODE
LOWtasks/collector.py188 except Exception as e:CODE
LOWtasks/collector.py218 except Exception as e:CODE
LOWtasks/collector.py249 except Exception as e:CODE
LOWtasks/collector.py266 except Exception as e:CODE
LOW⚡tasks/new_e2e_tests.py1391 except Exception as e:CODE
LOW⚡tasks/new_e2e_tests.py1401 except Exception as e:CODE
LOWtasks/new_e2e_tests.py76 except Exception:CODE
LOWtasks/new_e2e_tests.py456 except Exception as e:CODE
LOWtasks/new_e2e_tests.py1237 except Exception as e:CODE
LOWtasks/new_e2e_tests.py1461 except Exception as e:CODE
LOWtasks/new_e2e_tests.py1573 except Exception:CODE
LOWtasks/new_e2e_tests.py1611 except Exception as e:CODE
LOWtasks/new_e2e_tests.py1683 except Exception as e:CODE
LOWtasks/new_e2e_tests.py1697 except Exception as e:CODE
LOW⚡tasks/notify.py198 except Exception:CODE
LOW⚡tasks/notify.py205 except Exception:CODE
LOW⚡tasks/notify.py215 except Exception:CODE
LOWtasks/notify.py269 except Exception as e:CODE
MEDIUMtasks/notify.py270 print(f'Error closing issue {issue["key"]}: {e}', file=sys.stderr)CODE
LOWtasks/coverage.py199 except Exception as e:CODE
MEDIUM⚡tasks/notes.py46 print(f"Error: invalid version: {new_version_int}")CODE
MEDIUM⚡tasks/notes.py58 print("Error: You have uncommitted change, please commit or stash before using update_changelog")CODE
156 more matches not shown…
Verbosity Indicators132 hits · 256 pts
SeverityFileLineSnippetContext
LOW⚡packaging/aix/stages/03-rtloader.sh134# Step 1: Re-run the cmake ExportImportList (export symbols file generation)COMMENT
LOW⚡packaging/aix/stages/03-rtloader.sh138# Step 2: Re-run the link command, substituting .so with .a for libpython${PYTHON_MAJ_MIN}COMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py83 # Step 1: Get eBPF backendCOMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py90 # Step 2: List eBPF mapsCOMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py101 # Step 3: Check ConnTuple-keyed maps (unless --pid-only)COMMENT
LOW…subcommands/usm/debug_scripts/usm_leak_detector/cli.py134 # Step 4: Check PID-keyed maps (unless --conn-tuple-only)COMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py156 # Step 5: Print reports (PID-keyed first, then ConnTuple-keyed)COMMENT
LOWtasks/quality_gates.py247 # Step 1: Fetch PR metrics from DatadogCOMMENT
LOW⚡tasks/quality_gates.py266 # Step 2: Identify gates with size increase (not just failing gates)COMMENT
LOW⚡tasks/quality_gates.py283 # Step 3: Fetch main branch headroom (for gates with size increase)COMMENT
LOW⚡tasks/quality_gates.py292 # Step 4: Load current configs and index gates by which file defines themCOMMENT
LOW⚡tasks/quality_gates.py301 # Step 5: Calculate and apply new thresholds for gates with size increaseCOMMENT
LOWtasks/quality_gates.py335 # Step 6: Write updated configsCOMMENT
LOW⚡tasks/release.py348 # Step 2: Update internal module dependenciesCOMMENT
LOW⚡tasks/release.py352 # Step 3: Branch out, commit change, push branchCOMMENT
LOW⚡tasks/release.py489 # Step 1: Update release entriesCOMMENT
LOW⚡tasks/release.py495 # Step 2: Update internal module dependenciesCOMMENT
LOW⚡tasks/release.py500 # Step 3: Run tidy taskCOMMENT
LOW⚡tasks/release.py504 # Step 4: branch out, push branch, then add, and create signed commit with Github APICOMMENT
LOW⚡tasks/release.py787 # Step 1: Lead Time for Changes dataCOMMENT
LOW⚡tasks/release.py793 # Step 2: Agent stability dataCOMMENT
LOW⚡tasks/release.py803 # Step 3: Code changesCOMMENT
LOWtasks/release.py309 # Step 1: PreparationCOMMENT
LOWtasks/release.py381 # Step 4: Add release changelog preludesCOMMENT
LOWtasks/release.py398 # Step 5: Push branch and create PRCOMMENT
LOWtasks/release.py467 # Step 0: checksCOMMENT
LOWtasks/release.py616 # Step 0: checksCOMMENT
LOWtasks/release.py639 # Step 1: Tag versionsCOMMENT
LOWtasks/release.py661 # Step 2: Run the RC pipelineCOMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go67 // Step 1: fetch current VM state. Returns '{}' when the VM does not exist.COMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go80 // Step 2: parse the state JSON in Go and decide what shell command to run.COMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go102 // Step 3: execute the action (launch / start / no-op).COMMENT
LOWtest/e2e-framework/resources/local/vm/multipass/vm.go115 // Step 4: fetch the final VM info JSON. This resource also owns the delete.COMMENT
LOWtest/e2e-framework/components/datadog/agent/package.go110 // If we're on Windows, we need to check if the pipeline ID is in the package name, this is a workaround to avoid an COMMENT
LOW…/new-e2e/tests/usm/windows_remote_service_tags_test.go149 // Step 1: send 1000 connections to site A (port 8081), hold 20s, then verify.COMMENT
LOW…/new-e2e/tests/usm/windows_remote_service_tags_test.go166 // Step 2: send 1000 connections to site B (port 8082).COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go116 // Step 1: create statefulset without spot label — all pods go on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go126 // Step 2: opt in to spot scheduling.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go129 // Step 3: expect rebalancing to converge to 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go260 // Step 1: opt in — wait for 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go270 // Step 2: remove spot label to opt out, then restart to replace existing pods.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/statefulset_test.go274 // Step 3: all pods should land on on-demand without the spot-assigned label.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go129 // Step 1: create deployment without spot label — all pods go on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go139 // Step 2: opt in to spot scheduling.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go142 // Step 3: expect rebalancing to converge to 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go236 // Step 1: opt in — wait for 6 spot / 4 on-demand.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go246 // Step 2: remove spot label to opt out, then restart to replace existing pods.COMMENT
LOW⚡test/new-e2e/tests/autoscaling/spot/deployment_test.go250 // Step 3: all pods should land on on-demand without the spot-assigned label.COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go419 // Step 1: Clean up any existing dd-agent user/groupCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go427 // Step 2: Set up NSS extrausersCOMMENT
LOWtest/new-e2e/tests/installer/unix/package_agent_test.go499 // Step 3: Verify that getent can find the user/group (confirming NSS is working)COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go514 // Step 4: Install the agentCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go518 // Step 5: Verify no new entries were added to /etc/passwd or /etc/groupCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_agent_test.go525 // Step 6: Verify the agent is installed and runningCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go145 // Step 1: install the agent via the standard install scriptCOMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go150 // Step 2: remove the agent package while keeping config files.COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go163 // Step 3: move datadog.yaml out of the way so the reinstall has no yaml.COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go166 // Step 4: reinstall via the package manager with DD_OTELCOLLECTOR_ENABLED=true.COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go185 // Step 5: otel-config.yaml must exist and contain the api_key and site from env vars.COMMENT
LOW⚡test/new-e2e/tests/installer/unix/package_ddot_test.go192 // Step 6: restore datadog.yaml and append the otelcollector activation stanza.COMMENT
72 more matches not shown…
AI Slop Vocabulary79 hits · 245 pts
SeverityFileLineSnippetContext
LOW.golangci.yml40 # note that if it's just for a single file, you can just add `//nolint:depguard` before the importCOMMENT
LOWomnibus/config/software/installer.rb68 # When the diffs go away, we delete the package job and just use this one.COMMENT
MEDIUMcmd/system-probe/subcommands/usm/netstat_linux.go91 // Read TCP connections using procnet package (provides robust parsing and PID/FD mapping)COMMENT
MEDIUMcmd/otel-agent/subcommands/run/command.go345// TODO: this would be much better if we could leverage traceconfig.Module, whichCOMMENT
MEDIUMcmd/otel-agent/subcommands/run/command.go362// this is the current workaround to leverage it.COMMENT
MEDIUMtasks/worktree.py74 """Enters the worktree environment in order to invoke tasks in this context.STRING
MEDIUMtasks/omnibus.py329 # Individual developers are still able to leverage the cache by providingCOMMENT
LOWtasks/unit_tests/schema_codegen_tests.py267 # Scalar elements just return NoneCOMMENT
MEDIUMtasks/debugging/dump.py152 # launch windbg and delveCOMMENT
LOWtasks/kernel_matrix_testing/infra.py22 # warnings about changed host keys. We need the combination of both options, if we just setCOMMENT
MEDIUMtasks/libs/common/utils.py395 # if you want to be able to use the delve debugger.COMMENT
MEDIUMtasks/libs/dynamic_test/jev/pr_context.py92 # Current branch, robust to the detached-HEAD CI checkouts where rev-parseCOMMENT
MEDIUM.gitlab/test/dynamic_test/jev_dyntest_evaluate.yml2# evaluate-index task and DynTestEvaluator harness as the coverage-basedCOMMENT
MEDIUMtest/e2e-framework/testing/e2e/suite.go580 // goroutine terminates, so it is robust to Goexit/panic during setup. The cleanupCalledCOMMENT
MEDIUM…2e/tests/anomalydetection/anomalydetection_nix_test.go246 batchSize = 20 // count=20 vs baseline count=1 → 20x step change; robustCODE
MEDIUM…w-e2e/tests/anomalydetection/scorer_helper_nix_test.go23// OnSeverityTransition fired — which is robust and consistent with the rest ofCOMMENT
MEDIUM…ternal/anomalydetection/testbench/ui/package-lock.json4056 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUM…malydetection/observer/impl/metrics_detector_scanmw.go38// changepoint detector that's robust to distribution shape.COMMENT
MEDIUM…malydetection/observer/impl/metrics_detector_scanmw.go299 // Check robust deviation at best split.COMMENT
MEDIUM…ection/observer/impl/metrics_detector_holt_residual.go102 // 16 entries gives a robust median.COMMENT
MEDIUM…ection/observer/impl/metrics_detector_holt_residual.go107// HoltResidualDetector fires when a Holt forecast residual exceeds a robustCOMMENT
MEDIUM…ction/observer/impl/metrics_detector_tukey_biweight.go58// biweight robust to "one historical glitch followed by a real shift later".COMMENT
MEDIUM…ction/observer/impl/metrics_detector_tukey_biweight.go66 // Default: 80, enough context for a robust local baseline without makingCOMMENT
MEDIUM…ction/observer/impl/metrics_detector_tukey_biweight.go316// "robust-to-historical-outlier" test case.COMMENT
MEDIUM…ction/observer/impl/metrics_detector_tukey_biweight.go330 // (b) Initial robust location/scale: median + 1.4826·MAD. The MAD scalingCOMMENT
MEDIUMcomp/logs-library/pipeline/provider.go38 // SenderConcurrency via config options should utilize the endpoint's BatchMaxConcurrentSend override instead.COMMENT
MEDIUMcomp/core/agenttelemetry/impl/sender.go561 // message/payload contains multiples metrics for a single index of tag set. EssentiallyCOMMENT
MEDIUM…eta/collectors/internal/kubeapiserver/kubeapiserver.go183// to utilize namespace labels for target and remote policy matching, and toCOMMENT
MEDIUMcomp/core/profiler/impl/profiler.go218// to utilize this provider over time, which will require additional plumbing. ForCOMMENT
MEDIUMcomp/core/flare/types/types.go38// Return 0 from this function to utilize the default timeout instead.COMMENT
MEDIUMcomp/core/flare/types/types.go56// are strongly encouraged to utilize the NewProvider or NewProviderWithTimeout functions instead.COMMENT
MEDIUMcomp/logs/streamlogs/impl/streamlogs.go153// to utilize this provider over time, which will require additional plumbing.COMMENT
MEDIUM…ission/mutate/autoinstrumentation/language_versions.go91// wishes to utilize the default version found in languageVersions.COMMENT
MEDIUMpkg/clusteragent/autoscaling/workload/external/tls.go46 // Create a certificate manager that will reload the certificate periodically for seamless updatesCOMMENT
MEDIUMpkg/clusteragent/clusterchecks/ksm_sharding.go111 // We use the same defaults for sharding to provide a seamless experienceCOMMENT
MEDIUMpkg/gpu/safenvml/lib.go591 // found, to make it more convenient and robust, without users having toCOMMENT
MEDIUMpkg/util/containerd/containerd_util.go56// ContainerdItf is the interface implementing a subset of methods that leverage the Containerd api.COMMENT
MEDIUMpkg/util/scrubber/yaml_scrubber_test.go1334 // This is more robust than string comparison since YAML formatting can varyCOMMENT
MEDIUMpkg/util/fxutil/test.go87// This function does *not* leverage fxtest.App because we want to beCOMMENT
MEDIUMpkg/config/model/types.go299 // The following helpers are legacy and should no longer be used. Instead leverage the one aboveCOMMENT
MEDIUMpkg/security/ebpf/probes/all.go194// AllBPFForEachMapElemProgramFunctions returns the list of programs that leverage the bpf_for_each_map_elem helperCOMMENT
MEDIUMpkg/network/go/goversion/version.go7// delve debuggerCOMMENT
MEDIUMpkg/network/go/goversion/version.go16// GoVersion is just a wrapper around go-delve's goversion.GoVersion that alsoCOMMENT
MEDIUM⚡pkg/network/go/asmscan/scan.go82// - https://github.com/go-delve/delve/pull/2704/files#diff-fb7b7a020e32bf8bf477c052ac2d2857e7e587478be6039aebc7135c6584COMMENT
MEDIUM⚡pkg/network/go/asmscan/scan.go83// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/breakpoints.go#L86-L95COMMENT
MEDIUM⚡pkg/network/go/asmscan/scan.go84// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/breakpoints.go#L374COMMENT
MEDIUM⚡pkg/network/go/asmscan/scan.go114// - https://github.com/go-delve/delve/pull/2704/files#diff-fb7b7a020e32bf8bf477c052ac2d2857e7e587478be6039aebc7135c6584COMMENT
MEDIUM⚡pkg/network/go/asmscan/scan.go115// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/breakpoints.go#L86-L95COMMENT
MEDIUM⚡pkg/network/go/asmscan/scan.go116// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/breakpoints.go#L374COMMENT
MEDIUMpkg/network/go/dwarfutils/compile_unit.go25// This struct is based on github.com/go-delve/delve/pkg/proc.*compileUnit:COMMENT
MEDIUMpkg/network/go/dwarfutils/compile_unit.go26// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/bininfo.go#L436COMMENT
MEDIUMpkg/network/go/dwarfutils/compile_unit.go40// This implementation is based on github.com/go-delve/delve/pkg/proc.(*BinaryInfo).findCompileUnit:COMMENT
MEDIUMpkg/network/go/dwarfutils/compile_unit.go41// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/bininfo.go#L1115COMMENT
MEDIUMpkg/network/go/dwarfutils/type_finder.go19// It wraps github.com/go-delve/delve/pkg/dwarf/godwarfCOMMENT
MEDIUMpkg/network/go/dwarfutils/locexpr/exec.go45// This implementation is based on github.com/go-delve/delve/pkg/proc.(*BinaryInfo).Location:COMMENT
MEDIUMpkg/network/go/dwarfutils/locexpr/exec.go46// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/bininfo.go#L1062COMMENT
MEDIUMpkg/network/go/bininspect/types.go143 // - https://github.com/go-delve/delve/pull/2704#issuecomment-944374511COMMENT
MEDIUM⚡pkg/network/go/bininspect/newproc.go140// This implementation is based on github.com/go-delve/delve/pkg/proc.(*BinaryInfo).setGStructOffsetElf:COMMENT
MEDIUM⚡pkg/network/go/bininspect/newproc.go141// - https://github.com/go-delve/delve/blob/75bbbbb60cecda0d65c63de7ae8cb8b8412d6fc3/pkg/proc/bininfo.go#L1413COMMENT
MEDIUM⚡pkg/network/go/bininspect/newproc.go144 // This is a bit arcane. Essentially:COMMENT
19 more matches not shown…
Cross-Language Confusion39 hits · 229 pts
SeverityFileLineSnippetContext
HIGH⚡tasks/quality_gates.py258 print(color_message(" - Update your branch: git fetch origin main && git rebase origin/main", "cyan"))CODE
HIGHtasks/anomalydetection.py221 f"bin/anomalydetection-testbench --scenarios-dir {scenarios_dir}{flags} & ( cd internal/anomalydetection/tesCODE
HIGH⚡tasks/notify.py69 # "job1": {"consecutive_failures": 2, "jobs_info": [{"id": null, "failing": false, "commit": "abcdef42"}, {"COMMENT
HIGH⚡tasks/notify.py70 # "job2": {"consecutive_failures": 0, "cumulative_failures": [{"id": 314618, "failing": true, "commit": "abcCOMMENT
HIGH⚡tasks/installer.py143if command -v dpkg >/dev/null && dpkg -s datadog-agent >/dev/null 2>&1; thenSTRING
HIGH⚡tasks/installer.py144 "${sudo_cmd[@]+"${sudo_cmd[@]}"}" datadog-agent purge >/dev/null 2>&1 || trueSTRING
HIGH⚡tasks/installer.py145 "${sudo_cmd[@]+"${sudo_cmd[@]}"}" dpkg --purge datadog-agent >/dev/null 2>&1 || trueSTRING
HIGH⚡tasks/installer.py147elif command -v rpm >/dev/null && rpm -q datadog-agent >/dev/null 2>&1; thenSTRING
HIGH⚡tasks/installer.py148 "${sudo_cmd[@]+"${sudo_cmd[@]}"}" datadog-agent purge >/dev/null 2>&1 || trueSTRING
HIGH⚡tasks/installer.py149 "${sudo_cmd[@]+"${sudo_cmd[@]}"}" rpm -e datadog-agent >/dev/null 2>&1 || trueSTRING
HIGHtasks/setup.py249 ctx.run('brew update && brew upgrade ddtool', hide=True)CODE
HIGHtasks/devcontainer.py164 "git config --global --unset url.ssh://git@github.com/.insteadOf || true"CODE
HIGHtasks/devcontainer.py167 " && dda inv -- -e install-tools && dda inv -- -e deps"CODE
HIGHtasks/devcontainer.py252 " && helm repo add datadog https://helm.datadoghq.com && helm repo update"CODE
HIGH⚡tasks/e2e_framework/aws/integrations/_lab_tasks.py99 "-H 'X-aws-ec2-metadata-token-ttl-seconds: 60' --max-time 2 2>/dev/null || true); "CODE
HIGH⚡tasks/e2e_framework/aws/integrations/_lab_tasks.py102 "http://169.254.169.254/latest/meta-data/instance-id || hostname -f 2>/dev/null || hostname; "CODE
HIGH⚡tasks/e2e_framework/aws/integrations/_lab_tasks.py103 "else hostname -f 2>/dev/null || hostname; fi"CODE
HIGHtasks/e2e_framework/aws/integrations/_lab_tasks.py270 "sudo systemctl restart datadog-agent || sudo service datadog-agent restart",CODE
HIGH⚡tasks/unit_tests/gitlab_api_tests.py450 diff = f'diff --git a/{file} b/{file}\nindex 561eb1a201..5e43218090 100644\n--- a/{file}\n+++ b/{file}\n@@ -1,4 CODE
HIGH⚡tasks/unit_tests/gitlab_api_tests.py457 diff = f'diff --git a/{file} b/{file}\nindex 561eb1a201..5e43218090 100644\n--- a/{file}\n+++ b/{file}\n@@ -1,4 CODE
HIGH⚡tasks/unit_tests/gitlab_api_tests.py464 diff = f'diff --git a/{file} b/{file}\nindex 561eb1a201..5e43218090 100644\n--- a/{file}\n+++ b/{file}\n@@ -1,4 CODE
HIGH⚡tasks/unit_tests/gitlab_api_tests.py471 diff = f'diff --git a/{file} b/{file}\nindex 561eb1a201..5e43218090 100644\n--- a/{file}\n+++ b/{file}\n@@ -1,4 CODE
HIGH⚡tasks/unit_tests/gitlab_api_tests.py478 diff = f'diff --git a/{file} b/{file}\nindex 561eb1a201..5e43218090 100644\n--- a/{file}\n+++ b/{file}\n@@ -1,4 CODE
HIGH⚡tasks/unit_tests/gitlab_api_tests.py486 diff = f'diff --git a/{file} b/{file}\nindex 561eb1a201..5e43218090 100644\n--- a/{file}\n+++ b/{file}\n@@ -1,4 CODE
HIGH⚡tasks/unit_tests/experimental_gates_tests.py607 created_by="RUN apt-get update && apt-get install -y wget",CODE
HIGH⚡tasks/unit_tests/experimental_gates_tests.py613 self.assertEqual(layer_info.created_by, "RUN apt-get update && apt-get install -y wget")CODE
HIGHtasks/unit_tests/par_legacy_startup_template_tests.py133 kill -0 "$pid" 2>/dev/null && exit 0 || exit 1CODE
HIGHtasks/unit_tests/par_legacy_startup_template_tests.py133 kill -0 "$pid" 2>/dev/null && exit 0 || exit 1CODE
HIGH⚡tasks/unit_tests/releasenotes_linter_tests.py296 """Empty (null) sections should produce a warning."""STRING
HIGH⚡tasks/unit_tests/linter_tests.py36 " - DD_API_KEY=$(aws ssm get-parameter --region us-east-1 --name $API_KEY_ORG2 --with-decryption --queCODE
HIGHtasks/kernel_matrix_testing/compiler.py440 f"cp /root/.bashrc {self.compiler_home}/.bashrc && chown {self.compiler_uid}:{self.compiler_gid} {self.cCODE
HIGHtasks/kernel_matrix_testing/compiler.py443 self.exec("mkdir ~/.cargo && touch ~/.cargo/env", user=self.compiler_user)CODE
HIGHtasks/kernel_matrix_testing/gdb.py73 ctx.run(f"cd {gdb_paths.kernel_source} && make defconfig && make scripts_gdb")CODE
HIGHtasks/libs/ciproviders/github_api.py654 "Please run `brew update && brew upgrade ddtool`."CODE
HIGHtasks/libs/linter/releasenotes.py316 message=f"Section '{section}' is empty (null). Remove it or add content.",CODE
HIGHtasks/libs/common/auth.py25 else "`ddtool auth token` returned an invalid token, it might be due to ddtool outdated. Please run `brew updateCODE
HIGHtasks/libs/common/go.py72 with timed("go mod download && go mod tidy"):CODE
HIGHtasks/libs/releasing/notes.py88 ctx.run(f"cat {changelog_file} >> /tmp/new_changelog.rst && mv /tmp/new_changelog.rst {changelog_file}")CODE
HIGHpkg/gohai/cpu/from-lscpu-arm.py38 //go:build linux && arm64STRING
Deep Nesting230 hits · 216 pts
SeverityFileLineSnippetContext
LOWomnibus/python-scripts/post.py13CODE
LOWomnibus/python-scripts/packages.py183CODE
LOWomnibus/python-scripts/packages.py264CODE
LOWomnibus/python-scripts/packages.py305CODE
LOWomnibus/python-scripts/pre.py44CODE
LOW…ommands/usm/debug_scripts/usm_leak_detector/network.py89CODE
LOW…ommands/usm/debug_scripts/usm_leak_detector/network.py138CODE
LOW…sm/debug_scripts/usm_leak_detector/subprocess_utils.py32CODE
LOW…bug_scripts/usm_leak_detector/backends/system_probe.py117CODE
LOW…/debug_scripts/usm_leak_detector/backends/streaming.py15CODE
LOW…ripts/usm_leak_detector/backends/bpftool_downloader.py87CODE
LOWtasks/install_tasks.py47CODE
LOWtasks/quality_gates.py79CODE
LOWtasks/pre_commit.py26CODE
LOWtasks/pre_commit.py48CODE
LOWtasks/pre_commit.py30CODE
LOWtasks/release.py93CODE
LOWtasks/release.py849CODE
LOWtasks/release.py889CODE
LOWtasks/macos.py109CODE
LOWtasks/agent_ci_api.py38CODE
LOWtasks/kmt.py188CODE
LOWtasks/kmt.py629CODE
LOWtasks/kmt.py1069CODE
LOWtasks/kmt.py1238CODE
LOWtasks/kmt.py1555CODE
LOWtasks/kmt.py1631CODE
LOWtasks/kmt.py1722CODE
LOWtasks/kmt.py1869CODE
LOWtasks/kmt.py2129CODE
LOWtasks/kmt.py2221CODE
LOWtasks/kmt.py2444CODE
LOWtasks/owners.py42CODE
LOWtasks/winbuild.py68CODE
LOWtasks/renovate.py168CODE
LOWtasks/renovate.py486CODE
LOWtasks/renovate.py528CODE
LOWtasks/test_core.py105CODE
LOWtasks/test_core.py72CODE
LOWtasks/fuzz_infra.py167CODE
LOWtasks/anomalydetection.py2210CODE
LOWtasks/collector.py80CODE
LOWtasks/collector.py132CODE
LOWtasks/collector.py172CODE
LOWtasks/collector.py196CODE
LOWtasks/collector.py300CODE
LOWtasks/collector.py383CODE
LOWtasks/new_e2e_tests.py383CODE
LOWtasks/new_e2e_tests.py824CODE
LOWtasks/new_e2e_tests.py992CODE
LOWtasks/new_e2e_tests.py1085CODE
LOWtasks/new_e2e_tests.py1372CODE
LOWtasks/new_e2e_tests.py1410CODE
LOWtasks/new_e2e_tests.py1554CODE
LOWtasks/new_e2e_tests.py1718CODE
LOWtasks/notify.py140CODE
LOWtasks/go_deps.py143CODE
LOWtasks/testwasher.py219CODE
LOWtasks/testwasher.py155CODE
LOWtasks/installer.py162CODE
170 more matches not shown…
Empty Error Handlers38 hits · 190 pts
SeverityFileLineSnippetContext
HIGHpackaging/aix/sitecustomize.py24except Exception:CODE
HIGH…ommands/usm/debug_scripts/usm_leak_detector/network.py132except (FileNotFoundError, OSError, PermissionError):CODE
HIGH…sm/debug_scripts/usm_leak_detector/subprocess_utils.py23except (OSError, PermissionError):CODE
HIGH…sm/debug_scripts/usm_leak_detector/subprocess_utils.py28except Exception:CODE
HIGH…sm/debug_scripts/usm_leak_detector/subprocess_utils.py141except (IOError, OSError):CODE
HIGH…sm/debug_scripts/usm_leak_detector/subprocess_utils.py107except (IOError, OSError):CODE
HIGH…bug_scripts/usm_leak_detector/backends/system_probe.py50except (FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGH…bug_scripts/usm_leak_detector/backends/system_probe.py94except (ValueError, IndexError):CODE
HIGH…ripts/usm_leak_detector/backends/bpftool_downloader.py112except (subprocess.TimeoutExpired, OSError):CODE
HIGH…sm/debug_scripts/usm_leak_detector/backends/bpftool.py40except (FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGH…sm/debug_scripts/usm_leak_detector/backends/bpftool.py63except (FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGHtasks/renovate.py86except Exception:CODE
HIGHtasks/anomalydetection.py348except json.JSONDecodeError:CODE
HIGHtasks/pipeline.py419except SlackApiError:CODE
HIGHtasks/cluster_agent.py149except FileExistsError:CODE
HIGHtasks/licenses.py337except KeyError:CODE
HIGHtasks/omnibus.py83except FileNotFoundError:CODE
HIGHtasks/tools/clang_format.py274except AttributeError:CODE
HIGHtasks/e2e_framework/setup/aws.py408except FileNotFoundError:CODE
HIGHtasks/e2e_framework/setup/setup.py52except Exception:CODE
HIGHtasks/e2e_framework/aws/integrations/_lab_tasks.py110except Exception:CODE
HIGHtasks/unit_tests/par_legacy_startup_template_tests.py217except ProcessLookupError:CODE
HIGHtasks/unit_tests/docs_repo_links_tests.py48except OSError:CODE
HIGHtasks/unit_tests/static_quality_gates/gates_tests.py715except OSError:CODE
HIGHtasks/unit_tests/static_quality_gates/gates_tests.py719except OSError:CODE
HIGHtasks/kernel_matrix_testing/tool.py107except KeyError:CODE
HIGHtasks/libs/ciproviders/github_api.py27except ImportError:CODE
HIGHtasks/libs/notify/jira_failing_tests.py16except ImportError:CODE
HIGHtasks/libs/linter/gitlab.py459except UnicodeDecodeError:CODE
HIGHtasks/libs/common/utils.py155except (NotImplementedError, OSError, ValueError):CODE
HIGHtasks/commands/interface.py35except ValueError:CODE
HIGH…2e/tests/discovery/testdata/provision/python/server.py68except KeyboardInterrupt:CODE
HIGHbazel/rules/go_mod_tidy_all/go_mod_tidy_all.py24except ProcessLookupError:CODE
HIGHdeps/cpython/distrusted_spki_check.py33except ssl.SSLWantReadError:CODE
HIGHDockerfiles/agent/test_image_contents.py71except FileNotFoundError:CODE
HIGHpkg/gohai/cpu/from-lscpu-arm.py30except StopIteration:CODE
HIGHpkg/config/legacy/testdata/config.py443except ConfigParser.NoOptionError:CODE
HIGHpkg/config/legacy/testdata/config.py379except Exception:CODE
Unused Imports186 hits · 183 pts
SeverityFileLineSnippetContext
LOWomnibus/python-scripts/packages_tests.py2CODE
LOWomnibus/python-scripts/packages_tests.py3CODE
LOWomnibus/python-scripts/packages_tests.py5CODE
LOWomnibus/python-scripts/packages_tests.py9CODE
LOWomnibus/python-scripts/post_tests.py4CODE
LOWomnibus/python-scripts/post_tests.py6CODE
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py5CODE
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py6CODE
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py7CODE
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py8CODE
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py9CODE
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py9CODE
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py9CODE
LOWtasks/k8s_versions.py8CODE
LOWtasks/virustotal.py1CODE
LOWtasks/build_tags.py12CODE
LOWtasks/kmt.py1CODE
LOWtasks/code_review.py1CODE
LOWtasks/claude.py7CODE
LOWtasks/renovate.py21CODE
LOWtasks/test_core.py1CODE
LOWtasks/new_e2e_tests.py5CODE
LOWtasks/notify.py1CODE
LOWtasks/vscode.py7CODE
LOWtasks/testwasher.py1CODE
LOWtasks/setup.py5CODE
LOWtasks/ai_sandbox.py9CODE
LOWtasks/ebpf.py1CODE
LOWtasks/system_probe.py1CODE
LOWtasks/go.py5CODE
LOWtasks/bazel.py1CODE
LOWtasks/gotest.py5CODE
LOWtasks/python_version.py9CODE
LOWtasks/modules.py1CODE
LOWtasks/gpu.py1CODE
LOWtasks/security_agent.py1CODE
LOWtasks/github_tasks.py1CODE
LOWtasks/linter.py3CODE
LOWtasks/update_go.py1CODE
LOWtasks/buildimages.py1CODE
LOWtasks/gitlab_helpers.py3CODE
LOWtasks/e2e_framework/aws/integrations/_lab_tasks.py8CODE
LOWtasks/e2e_framework/aws/integrations/dell_powerflex.py7CODE
LOWtasks/e2e_framework/aws/integrations/lustre.py8CODE
LOWtasks/unit_tests/notify_tests.py1CODE
LOWtasks/unit_tests/github_tasks_tests.py1CODE
LOWtasks/unit_tests/renovate_tests.py1CODE
LOWtasks/unit_tests/release_tests.py1CODE
LOWtasks/unit_tests/kmt_tests.py13CODE
LOWtasks/unit_tests/kmt_tests.py14CODE
LOWtasks/unit_tests/code_review_tests.py1CODE
LOWtasks/unit_tests/modules_tests.py1CODE
LOWtasks/unit_tests/libs/notify/alerts_tests.py1CODE
LOWtasks/unit_tests/libs/utof/test_failure_parser.py12CODE
LOWtasks/unit_tests/libs/utof/e2e_converter_tests.py8CODE
LOWtasks/debugging/__init__.py1CODE
LOWtasks/debugging/__init__.py2CODE
LOWtasks/debugging/__init__.py3CODE
LOWtasks/static_quality_gates/metrics.py1CODE
LOWtasks/static_quality_gates/thresholds.py1CODE
126 more matches not shown…
Hallucination Indicators17 hits · 170 pts
SeverityFileLineSnippetContext
CRITICAL…ce-agent/test/testsuite/testdata/trace_with_rates.json114 "error.stack": "java.lang.InterruptedException: Thread interrupted for external calls timeout.\n\tat com.datadog.eCODE
CRITICAL…agent/test/testsuite/testdata/trace_without_rates.json121 "error.stack":"java.lang.InterruptedException: Thread interrupted for external calls timeout.\n\tat com.datadogCODE
CRITICALcomp/core/gui/impl/views/private/js/jquery-3.5.1.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALcomp/syntheticstestscheduler/impl/worker.go408 SubType: strings.ToLower(string(w.testCfg.cfg.Config.Request.GetSubType())),CODE
CRITICALpkg/clusteragent/autoscaling/cluster/controller.go220 knp.Spec.Template.Spec.NodeClassRef = targetNp.Spec.Template.Spec.NodeClassRef.DeepCopy()CODE
CRITICALpkg/clusteragent/autoscaling/cluster/controller.go273 desired.Spec.Template.Spec.NodeClassRef = datadogNp.Spec.Template.Spec.NodeClassRef.DeepCopy()CODE
CRITICALpkg/security/tests/accept_test.go70 assert.Equal(t, "127.0.0.1", event.Accept.Addr.IPNet.IP.String(), "wrong address")CODE
CRITICALpkg/security/tests/accept_test.go86 assert.Equal(t, "127.0.0.1", event.Accept.Addr.IPNet.IP.String(), "wrong address")CODE
CRITICALpkg/security/tests/accept_test.go171 assert.Equal(t, "127.0.0.1", event.Accept.Addr.IPNet.IP.String(), "wrong address")CODE
CRITICALpkg/security/tests/accept_test.go195 assert.Equal(t, "::1", event.Accept.Addr.IPNet.IP.String(), "wrong address")CODE
CRITICALpkg/security/tests/accept_test.go214 assert.Equal(t, "::1", event.Accept.Addr.IPNet.IP.String(), "wrong address")CODE
CRITICALpkg/security/security_profile/ad.go303 if !ad.Profile.Metadata.CGroupContext.CGroupPathKey.IsNull() {CODE
CRITICALpkg/security/security_profile/ad.go350 if !ad.Profile.Metadata.CGroupContext.CGroupPathKey.IsNull() {CODE
CRITICAL…ks/cluster/orchestrator/transformers/k8s/deployment.go37 deploy.MaxUnavailable = d.Spec.Strategy.RollingUpdate.MaxUnavailable.String()CODE
CRITICAL…ks/cluster/orchestrator/transformers/k8s/deployment.go40 deploy.MaxSurge = d.Spec.Strategy.RollingUpdate.MaxSurge.String()CODE
CRITICAL…cks/cluster/orchestrator/transformers/k8s/daemonset.go45 daemonSet.Spec.MaxUnavailable = ds.Spec.UpdateStrategy.RollingUpdate.MaxUnavailable.String()CODE
CRITICALpkg/logs/tokenizer/tokenizer_benchmark_test.go55 {"StackTrace", []byte(`javax.servlet.ServletException: Request processing failed; nested exception is java.lang.NullPoCODE
Self-Referential Comments52 hits · 154 pts
SeverityFileLineSnippetContext
MEDIUMmodules.yml1# This file contains the go modules configuration.COMMENT
MEDIUMomnibus/config/software/datadog-agent-finalize.rb105 # Create the installer symlink if the file doesn't already existCOMMENT
MEDIUMpackaging/aix/stages/02-python.sh446# Create the runtime-path symlink BEFORE make so that the baked-in -blibpathCOMMENT
MEDIUM⚡packaging/aix/stages/02-python.sh521# Create a version-agnostic symlink so Go code can link with -lpython3 insteadCOMMENT
MEDIUM⚡packaging/aix/lib/env.sh7# This file is sourced, never executed directly. Callers control set -e/set -u.COMMENT
MEDIUMpackaging/aix/lib/env.sh210# Create the sentinel file that marks STAGE_NAME as complete.COMMENT
MEDIUMcmd/agent/macos/install_mac_os_v1.sh360# The following block covers both cases so that we have tbe username we want in the real_user variable.COMMENT
MEDIUMtasks/msi.py283 # Create a MSI build cmd, not the full MSISTRING
MEDIUMtasks/ebpf.py630 # Define the complexity level for all assembly instructionsCOMMENT
MEDIUMtasks/pipeline.py558 # Create a new main and push itCOMMENT
MEDIUMtasks/pipeline.py567 # Create a PR towards this new branch and adds it to the merge queueCOMMENT
MEDIUMtasks/windows_dev_env.py92 # Create the Windows development environment.COMMENT
MEDIUM⚡tasks/components.py657 # Create the root folder. We temporary set the umask to 0 to prevent 'os.makedirs' from giving wrong permissions to COMMENT
MEDIUM⚡tasks/components.py669 # Create the components framework common files from predefined templatesCOMMENT
MEDIUMtasks/unit_tests/components_tests.py12 # Create a temporary directory of the source directory to allowCOMMENT
MEDIUMtasks/unit_tests/experimental_gates_tests.py182 # Create a temporary config fileCOMMENT
MEDIUMtasks/unit_tests/experimental_gates_tests.py331 # Create a sample report with regular files and symlinksCOMMENT
MEDIUMtasks/unit_tests/experimental_gates_tests.py817 # Create a temporary config fileCOMMENT
MEDIUMtasks/unit_tests/experimental_gates_tests.py964 # Create a sample reportCOMMENT
MEDIUMtasks/unit_tests/url_tests.py44 # Create a context mock with run methodCOMMENT
MEDIUMtasks/unit_tests/url_tests.py110 # Create a context mock with run methodCOMMENT
MEDIUMtasks/unit_tests/url_tests.py166 # Create a context mockCOMMENT
MEDIUMtasks/unit_tests/url_tests.py203 # Create a context mockCOMMENT
MEDIUMtasks/unit_tests/url_tests.py244 # Create a context mock with run methodCOMMENT
MEDIUMtasks/unit_tests/url_tests.py279 # Create a context mockCOMMENT
MEDIUMtasks/unit_tests/libs/common/s3_test.py20 # Create a temporary file for testingCOMMENT
MEDIUMtasks/unit_tests/libs/common/s3_test.py90 # Create a temporary directory for testingCOMMENT
MEDIUMtasks/unit_tests/libs/dynamic_test/backend_test.py42 # Create a mock JSON file that will be "downloaded"COMMENT
MEDIUMtasks/static_quality_gates/gates_reporter.py93 # Create a lookup for gate statesCOMMENT
MEDIUMtasks/kernel_matrix_testing/vmconfig.py235 # Create a new entry for this architectureCOMMENT
MEDIUMtasks/libs/ciproviders/github_api.py420 # Create a commit from the given tree, see details in https://github.com/orgs/community/discussions/50055STRING
MEDIUMtasks/libs/ciproviders/ci_config.py9# This file is used to set exceptions for jobs that do not require needs or rulesCOMMENT
MEDIUMtasks/libs/pipeline/github_jira_map.yaml1# This file contains a mapping of DataDog Github teams to JIRA projects.COMMENT
MEDIUMtasks/libs/pipeline/github_slack_map.yaml1# This file contains a mapping of DataDog Github teams to slack channels.COMMENT
MEDIUMtasks/libs/common/gomodules.py34# This file contains the go modules configuration.COMMENT
MEDIUMtasks/libs/releasing/version.py155## The following functions aim at returning the correct version to use for a givenCOMMENT
MEDIUM.gitlab/test/integration_test/otel.yml71 # Create a buildx builder, see .ddot_byoc_build_cache_setup for the rationale behind this.COMMENT
MEDIUM…tInstaller/CustomActions.Tests/WriteConfigUnitTests.cs119# Define a single property so that the YAML loader doesn'tCOMMENT
MEDIUM.agents/skills/follow-pr/scripts/create_devenv.sh8# Create a unique IDCOMMENT
MEDIUMbazel/tools/generate_module_bazel.py29 """# This file is generated. Do not hand edit.""",STRING
MEDIUMbazel/rules/macos/codesign/sign_jar_macos.sh33# Create a temporary directory for unpackingCOMMENT
MEDIUMDockerfiles/agent/secrets-helper/test_readsecret.py48 # Create a sensitive file and symlink it in the allowed folderCOMMENT
MEDIUM.dda/extend/pythonpath/lab/providers/__init__.py23 # Create the resourceSTRING
MEDIUM.dda/extend/commands/gh/cherry_pick_pr/__init__.py80# Create a new working treeCOMMENT
MEDIUM.dda/extend/commands/gh/cherry_pick_pr/__init__.py84# Create a new branchCOMMENT
MEDIUM.dda/extend/commands/gh/cherry_pick_pr/__init__.py100 # Create the backport PRCOMMENT
MEDIUMpkg/network/usm/testutil/iis_helper.go50# Create the IIS siteCOMMENT
MEDIUMpkg/network/protocols/redis/testdata/runner.sh6# Create a directory to store the configuration filesCOMMENT
MEDIUMpkg/network/protocols/postgres/testdata/runner.sh6# Create a directory to store the configuration filesCOMMENT
MEDIUMpkg/network/protocols/postgres/testdata/runner.sh9# Define the paths to the configuration filesCOMMENT
MEDIUMpkg/network/protocols/mysql/testdata/runner.sh6# Create a directory to store the configuration filesCOMMENT
MEDIUMpkg/compliance/dbconfig/loader_test.go837# This file is read on server startup and when the server receives a SIGHUPCOMMENT
Docstring Block Structure30 hits · 150 pts
SeverityFileLineSnippetContext
HIGH…sm/debug_scripts/usm_leak_detector/subprocess_utils.py39 Run a subprocess with timeout using select() instead of sleep(). This avoids the seccomp issue where nanosleepSTRING
HIGHtasks/anomalydetection.py519 Runs the observer F1 eval: replays scenarios, scores Gaussian F1. The main score is a metric between 0 and 1, STRING
HIGHtasks/python_version.py195 Fetch SHA256 hash for Python source tarball using SBOM file. Args: version: Python version string (e.gSTRING
HIGHtasks/static_quality_gates/experimental_gates.py646 Measure an artifact using the configured processor. Args: ctx: Invoke context for running STRING
HIGHtasks/static_quality_gates/experimental_gates.py1096 Measure a package artifact and generate a comprehensive report. Args: ctx: Invoke context STRING
HIGHtasks/static_quality_gates/experimental_gates.py1157 Measure a Docker image and generate a comprehensive report. Args: ctx: Invoke context for STRING
HIGHtasks/static_quality_gates/gates.py257 Measure an artifact's on-wire and on-disk sizes. Args: ctx: Invoke context for running comSTRING
HIGHtasks/static_quality_gates/gates.py516 Execute the quality gate. Args: ctx: Invoke context Returns: GateResuSTRING
HIGHtasks/static_quality_gates/gates.py634 Create a quality gate with the appropriate measurement strategy. Args: gate_name: TechnicaSTRING
HIGHtasks/static_quality_gates/gates.py659 Create the appropriate artifact measurer based on gate name. Args: gate_name: Technical gaSTRING
HIGHtasks/static_quality_gates/gates.py680 Create all quality gates from one or more configuration files. Args: config_path: Path (orSTRING
HIGHtasks/libs/ciproviders/gitlab_api.py413Will iterate over all jobs in all files for the given states. Args: only_leaves: If True, will retuSTRING
HIGHtasks/libs/ciproviders/gitlab_api.py571Will iterate over all jobs in all files for the given states. Args: only_leaves: If True, will retuSTRING
HIGHtasks/libs/common/bazel_query.py17Run a Bazel query with --output=streamed_jsonproto and yield matching objects. Each line of the stream is a JSON-enSTRING
HIGHtasks/libs/common/s3.py11 Upload a file to S3 using boto3. Args: file_path: Local path to the file to upload s3_path: S3STRING
HIGHtasks/libs/common/s3.py83 Download a folder from S3 to a specified local path. Args: s3_path: S3 path (bucket name and key) STRING
HIGHtasks/libs/common/s3.py168 List all direct subfolders of a given S3 path, that contains a file with the given filename. The list is sortedSTRING
HIGHtasks/libs/dynamic_test/backend.py40Upload a DynamicTestIndex to the backend storage. The implementation should: 1. Serialize the index to STRING
HIGHtasks/libs/dynamic_test/backend.py62Retrieve a DynamicTestIndex from the backend storage. The implementation should: 1. Locate the stored iSTRING
HIGHtasks/libs/dynamic_test/indexer.py55Build and return a DynamicTestIndex from the configured data source. This method should: 1. Process theSTRING
HIGHtasks/libs/dynamic_test/executor.py81Find and load the best available index for the given commit. Searches through available indexed commits to findSTRING
HIGHdocs/dev/checks/builtins/_util.md20Run an external process and return the output. NOTE: If unicode is passed to any of the params accepting it, the STRING
HIGHdocs/dev/checks/builtins/tagger.md31Get tags for an entity. Args: id (string): entity identifier. cardinality (int): constant representSTRING
HIGHdocs/dev/checks/builtins/datadog_agent.md29Get an item from the Agent configuration store. Args: key (string or unicode): the key of the Agent config STRING
HIGHdocs/dev/checks/builtins/datadog_agent.md75Log a message through the agent logger. Args: message (string or unicode): the log message. log_levSTRING
HIGHdocs/dev/checks/builtins/datadog_agent.md90Send external host tags (internal feature, never ever use it). Args: tags (list): a list of external tags wSTRING
HIGHdocs/dev/checks/builtins/containers.md22Returns whether a container is excluded per name and image. NOTE: If unicode is passed to any of the params acceptiSTRING
HIGHdocs/dev/checks/builtins/aggregator.md35Submit a metric to the aggregator. NOTE: If unicode is passed to any of the params accepting it, the string is STRING
HIGHdocs/dev/checks/builtins/aggregator.md60Submit a service check to the aggregator. NOTE: If unicode is passed to any of the params accepting it, the strSTRING
HIGHdocs/dev/checks/builtins/aggregator.md85Submit an event to the aggregator. NOTE: If unicode is passed to any of the params accepting it, the string is STRING
AI Structural Patterns78 hits · 72 pts
SeverityFileLineSnippetContext
LOWtasks/package.py125CODE
LOWtasks/package.py193CODE
LOWtasks/release.py170CODE
LOWtasks/release.py231CODE
LOWtasks/agent_ci_api.py38CODE
LOWtasks/dogstatsd.py31CODE
LOWtasks/kmt.py131CODE
LOWtasks/kmt.py188CODE
LOWtasks/kmt.py843CODE
LOWtasks/kmt.py1342CODE
LOWtasks/kmt.py1467CODE
LOWtasks/kmt.py2358CODE
LOWtasks/kmt.py2603CODE
LOWtasks/secret_generic_connector.py26CODE
LOWtasks/anomalydetection.py116CODE
LOWtasks/anomalydetection.py229CODE
LOWtasks/anomalydetection.py505CODE
LOWtasks/anomalydetection.py759CODE
LOWtasks/anomalydetection.py1141CODE
LOWtasks/anomalydetection.py1834CODE
LOWtasks/anomalydetection.py2210CODE
LOWtasks/cws_instrumentation.py30CODE
LOWtasks/new_e2e_tests.py383CODE
LOWtasks/go_deps.py507CODE
LOWtasks/trace_agent.py30CODE
LOWtasks/installer.py30CODE
LOWtasks/ai_sandbox.py48CODE
LOWtasks/pipeline.py129CODE
LOWtasks/cluster_agent.py29CODE
LOWtasks/agent.py57CODE
LOWtasks/agent.py358CODE
LOWtasks/agent.py461CODE
LOWtasks/agent.py723CODE
LOWtasks/system_probe.py182CODE
LOWtasks/system_probe.py225CODE
LOWtasks/system_probe.py315CODE
LOWtasks/go.py48CODE
LOWtasks/gotest.py176CODE
LOWtasks/gotest.py624CODE
LOWtasks/gotest.py1476CODE
LOWtasks/modules.py290CODE
LOWtasks/security_agent.py362CODE
LOWtasks/omnibus.py119CODE
LOWtasks/omnibus.py235CODE
LOWtasks/omnibus.py407CODE
LOWtasks/github_tasks.py241CODE
LOWtasks/linter.py75CODE
LOWtasks/linter.py435CODE
LOWtasks/process_agent.py26CODE
LOWtasks/gitlab_helpers.py181CODE
LOWtasks/e2e_framework/deploy.py38CODE
LOWtasks/e2e_framework/tool.py257CODE
LOWtasks/e2e_framework/azure/vm.py43CODE
LOWtasks/e2e_framework/azure/aks.py27CODE
LOWtasks/e2e_framework/setup/setup.py107CODE
LOWtasks/e2e_framework/gcp/vm.py50CODE
LOWtasks/e2e_framework/gcp/openshift.py29CODE
LOWtasks/e2e_framework/gcp/gke.py37CODE
LOWtasks/e2e_framework/aws/kind.py37CODE
LOWtasks/e2e_framework/aws/deploy.py16CODE
18 more matches not shown…
Redundant / Tautological Comments43 hits · 62 pts
SeverityFileLineSnippetContext
LOW…s/usm/debug_scripts/usm_leak_detector/map_discovery.py25 # Check if this is a target map (handle kernel name truncation)COMMENT
LOW…s/usm/debug_scripts/usm_leak_detector/pid_validator.py88 # Check if this is a target map (handle kernel name truncation)COMMENT
LOW…s/usm/debug_scripts/usm_leak_detector/pid_validator.py140 # Check if we've already validated this PIDCOMMENT
LOW⚡…subcommands/usm/debug_scripts/usm_leak_detector/cli.py151 # Check if we found anythingCOMMENT
LOW…sm/debug_scripts/usm_leak_detector/subprocess_utils.py94 # Check if process finished firstCOMMENT
LOWcmd/agent/macos/install_mac_os_v1.sh263 # Check if the version is a classic release version or a pre-release versionCOMMENT
LOWcmd/agent/macos/install_mac_os_v1.sh529 # Check if this user has per-user installationsCOMMENT
LOWcmd/agent/macos/install_mac_os_v1.sh560 # Check if any socket files existCOMMENT
LOWtasks/k8s_versions.py525 # Check if there are new versions to processCOMMENT
LOWtasks/skaffold.py192 # Check if Skaffold is installedCOMMENT
LOWtasks/kmt.py268 # Check if this test is already included in some parent testCOMMENT
LOWtasks/new_e2e_tests.py1491 # Check if it's an absolute path firstCOMMENT
LOWtasks/new_e2e_tests.py1495 # Check if it's a file in the output directoryCOMMENT
LOWtasks/coverage.py291 # Check if the mode is the same in both files.COMMENT
LOWtasks/msi.py139 # Check if wix is installed globallySTRING
LOWtasks/gotest.py990 # Check if the package is in the target list of the module we want to test.COMMENT
LOWtasks/gotest.py1317 # Check if the module is in the target list of the modules we want to testCOMMENT
LOWtasks/gotest.py1321 # Check if the package is in the target list of the module we want to testCOMMENT
LOWtasks/python_version.py73 # Check if update is neededCOMMENT
LOWtasks/modules.py401 # Check if any go.mod files were modifiedSTRING
LOWtasks/e2e_framework/setup/setup.py533 # Check if aws creds are validCOMMENT
LOWtasks/e2e_framework/setup/gcp.py53# Check if gke-gcloud-auth-plugin is installed and install it if notCOMMENT
LOWtasks/e2e_framework/aws/gensim_eks.py221 # Check if cluster is reachableCOMMENT
LOWtasks/unit_tests/releasenotes_linter_tests.py17# Check if docutils is available for tests that depend on itCOMMENT
LOWtasks/static_quality_gates/experimental_gates.py828 # Check if this is OCI format (has index.json and oci-layout)COMMENT
LOWtasks/static_quality_gates/experimental_gates.py974 # Check if this is OCI formatCOMMENT
LOWtasks/static_quality_gates/pr_comment.py204 # Check if this is a blocking or non-blocking failureSTRING
LOWtasks/kernel_matrix_testing/compiler.py333 # Check if the image existsCOMMENT
LOWtasks/kernel_matrix_testing/vmconfig.py225 # Check if image is available locallyCOMMENT
LOWtasks/kernel_matrix_testing/vmconfig.py253 # Check if image is up to date using hash comparisonCOMMENT
LOWtasks/kernel_matrix_testing/infra.py328 # Check if it's a key name that's there in the agentCOMMENT
LOWtasks/libs/pipeline/tools.py363 # Check if old job already in notification list, to append retry messageCOMMENT
LOWtasks/libs/types/types.py127 # Check if we have to match tagsCOMMENT
LOWtasks/libs/types/types.py142 # Check if the job tags match any possible combination of the dependency tagsCOMMENT
LOWtasks/libs/testing/e2e.py60 # Check if candidate_test is a leaf testCOMMENT
LOWtasks/libs/common/s3.py217 # Check if there are more pagesCOMMENT
LOWtasks/libs/common/datadog_api.py153 # Check if there are more pagesCOMMENT
LOWtasks/libs/owners/linter.py178 # Check if root is matching the pattern, without "./" at the beginingCOMMENT
LOWtasks/libs/owners/linter.py189 # Check if the file path matches any of the regex patternsCOMMENT
LOW.gitlab/test/functional_test/regression_detector.yml108 # Check if image exists for the baseline SHA, walking backwards on theCOMMENT
LOWtest/e2e-framework/scenarios/aws/gensim-eks/run.go749# Check if all images are already cached in ECR under the hash tag.COMMENT
LOW.github/workflows/upgrade-python-patch-version.yml49 # Check if files were modifiedCOMMENT
LOW.dda/extend/pythonpath/lab/providers/local/kind.py111 # Check if kind is installedCOMMENT
Fake / Example Data54 hits · 56 pts
SeverityFileLineSnippetContext
LOWpackaging/aix/package.sh99 # Files like "Lorem ipsum.txt" and "launcher manifest.xml" (setuptools vendor docs)COMMENT
LOW…cret-generic-connector/backend/hashicorp/vault_test.go487 _, _ = w.Write([]byte(`{"auth":{"client_token":"fake-token"}}`))CODE
LOW…cret-generic-connector/backend/hashicorp/vault_test.go518 assert.Equal(t, "fake-token", vb.Client.Token())CODE
LOWtasks/system_probe.py1263 ctx.run(f"mkdir -p {output_dir}/dummy_data")CODE
LOWtasks/unit_tests/issue_tests.py20 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py71 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py103 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py134 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py165 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py191 'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token',CODE
LOWtasks/unit_tests/issue_tests.py231 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py277 {'PR_REQUESTED_TEAMS': '[{"slug": "team1"}]', 'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py324 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOWtasks/unit_tests/issue_tests.py367 {'SLACK_DATADOG_AGENT_BOT_TOKEN': 'fake-token'},CODE
LOW⚡tasks/unit_tests/gitlab_api_tests.py697 mock_response.json.return_value = {'token': 'fake-token'}CODE
LOW⚡tasks/unit_tests/gitlab_api_tests.py713 self.assertEqual(get_gitlab_token(ctx), 'fake-token')CODE
LOW…e/tests/agent-log-pipelines/k8s-logs/long_line_log.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOW…e/tests/agent-log-pipelines/k8s-logs/long_line_log.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqCODE
LOW…alydetection-run-gensim-scenario-on-vm/scripts/test.sh121printf 'DD_API_KEY=dummy-key\nDD_APP_KEY=dummy-app\n' > "$workspace/env"CODE
LOW…alydetection-run-gensim-scenario-on-vm/scripts/test.sh136if grep -q dummy-key "$CALLS"; then echo "credential leaked into SSH script" >&2; exit 1; fiCODE
LOWcomp/core/gui/impl/views/private/js/purify.min.js2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
LOWdoc/guidelines/docs.md95 Lorem ipsum ...CODE
LOWdoc/guidelines/docs.md104 Lorem ipsum ...CODE
LOWpkg/obfuscate/sql_test.go919 "* SELECT * FROM fake_data(1, 2, 3);",CODE
LOWpkg/obfuscate/sql_test.go920 "* SELECT * FROM fake_data ( ? )",CODE
LOWpkg/serializer/metrics_test.go526 cfg.SetInTest("api_key", "fake-key")CODE
LOWpkg/serializer/metrics_endpoint_payloads_test.go39 cfg.SetInTest("api_key", "fake-key")CODE
LOWpkg/serializer/metrics_endpoint_payloads_test.go40 cfg.SetInTest("additional_endpoints", map[string][]string{secondary: {"fake-key"}, empty: {"fake-key"}, noMatch: {"fCODE
LOWpkg/trace/api/tracer_flare_test.go62 writer.WriteField("email", "test@test.com")CODE
LOWpkg/trace/api/tracer_flare_test.go135 assert.Equal(t, "test@test.com", req.FormValue("email"))CODE
LOW…ateactionrunner/bundle-support/enrich_actions_types.go14 Placeholder string `json:"placeholder"`CODE
LOW…actionrunner/credentials/resolver/http_domains_test.go50 for _, pattern := range []string{"", "*", "https://example.com", "example.com:443", "example.com/path", "user@example.cCODE
LOWpkg/util/scrubber/yaml_scrubber_test.go88 "email": "user@example.com",CODE
LOWpkg/util/scrubber/yaml_scrubber_test.go94 "email": "user@example.com",CODE
LOWpkg/util/scrubber/json_scrubber_test.go38 input: []byte(`{"user": {"password": "secret", "email": "user@example.com"}}`),CODE
LOWpkg/util/scrubber/json_scrubber_test.go39 expected: []byte(`{"user": {"password": "********", "email": "user@example.com"}}`),CODE
LOWpkg/util/cloudproviders/cloudfoundry/cfclient_test.go26 fakeCCToken = "fake-token"CODE
LOWpkg/config/utils/metrics_endpoint_routing_test.go23 https://secondary.example/Path: [fake-key]CODE
LOWpkg/config/remote/service/service_test.go192 AppKey: "fake_key",CODE
LOWpkg/security/secl/model/model_helpers_unix.go349 "placeholder",CODE
LOWpkg/template/html/attr.go98 "placeholder": contentTypePlain,CODE
LOW…ector/corechecks/agentprofiling/agentprofiling_test.go120 check := createTestCheck(t, "100MB", 50, "TICKET-123", "user@example.com", true)CODE
LOW…ector/corechecks/agentprofiling/agentprofiling_test.go125 assert.Equal(t, "user@example.com", check.instance.UserEmail)CODE
LOW…ector/corechecks/agentprofiling/agentprofiling_test.go198 userEmail: "user@example.com",CODE
LOW…ector/corechecks/agentprofiling/agentprofiling_test.go252 instance: &Config{TicketID: "TICKET-123", UserEmail: "user@example.com"},CODE
LOW…ector/corechecks/agentprofiling/agentprofiling_test.go261user_email: "user@example.com"`)CODE
LOW…em/windowscertificate/windows_certificate_tags_test.go207 EmailAddresses: []string{"admin@example.com"},CODE
LOW…g/opentelemetry-mapping-go/otlp/rum/rum_traces_test.go43 "email": "test@test.com",CODE
LOW…g/opentelemetry-mapping-go/otlp/rum/rum_traces_test.go79 assert.Equal(t, "test@test.com", usrEmail.AsString())CODE
LOWpkg/opentelemetry-mapping-go/otlp/rum/rum_test.go213 m.PutStr("name", "John Doe")CODE
LOWpkg/opentelemetry-mapping-go/otlp/rum/rum_test.go228 "name": "John Doe",CODE
LOW…pentelemetry-mapping-go/otlp/attributes/source_test.go1142 "ec2.tag.kubernetes.io/cluster/clustername": "dummy_value",CODE
LOW…entelemetry-mapping-go/otlp/attributes/ec2/ec2_test.go83 "ec2.tag.kubernetes.io/cluster/clustername": "dummy_value",CODE
LOWpkg/process/metadata/workloadmeta/grpc_test.go35 cfg.SetInTest("process_config.language_detection.grpc_port", "lorem ipsum")CODE
Magic Placeholder Names7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH.agents/skills/injector-dev/SKILL.md43 export DD_API_KEY="<your-api-key>"CODE
HIGHdoc/tutorials/dev/lab/index.md41export E2E_API_KEY=your_api_keyCODE
HIGHdoc/tutorials/dev/lab/index.md50 apiKey: your_api_keyCODE
HIGHDockerfiles/manifests/agent.yaml30 - {name: DD_API_KEY, value: <YOUR_API_KEY>}CODE
HIGHDockerfiles/manifests/agent.yaml30 - {name: DD_API_KEY, value: <YOUR_API_KEY>}CODE
HIGHDockerfiles/manifests/agent-kubelet-only.yaml23 value: <YOUR_API_KEY>CODE
HIGHDockerfiles/manifests/agent-kubelet-only.yaml23 value: <YOUR_API_KEY>CODE
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtasks/cluster_agent_helpers.py0clean up and refresh cluster agent's assets and config filesSTRING
HIGHtasks/cluster_agent_cloudfoundry.py0clean up and refresh cluster agent's assets and config filesSTRING
HIGHtasks/cluster_agent.py0clean up and refresh cluster agent's assets and config filesSTRING
HIGHtasks/e2e_framework/azure/common.py0returns the deploy job name within the datadog agent repo that creates images used in create-vmSTRING
HIGHtasks/e2e_framework/gcp/common.py0returns the deploy job name within the datadog agent repo that creates images used in create-vmSTRING
HIGHtasks/e2e_framework/aws/common.py0returns the deploy job name within the datadog agent repo that creates images used in create-vmSTRING
Modern Structural Boilerplate14 hits · 14 pts
SeverityFileLineSnippetContext
LOW…m/debug_scripts/usm_leak_detector/backends/__init__.py11__all__ = [CODE
LOWtasks/k8s_versions.py215 def set_kubernetes_image(self, job_name: str, kubernetes_image: KindKubernetesImage) -> None:CODE
LOWtasks/k8s_versions.py399def _set_github_output(name: str, value: str) -> None:CODE
LOWtasks/kind_node_image.py87def _set_github_output(name: str, value: str) -> None:CODE
LOWtasks/e2e_framework/aws/integrations/_lab_tasks.py29__all__ = ["build_collection", "build_kube_collection"]CODE
LOWtasks/debugging/gitlab_artifacts.py35 def _set_text_property(self, attr: str, value: str) -> None:CODE
LOWtasks/libs/ciproviders/github_api.py33__all__ = ["GithubAPI"]CODE
LOWtasks/libs/ciproviders/github_api.py373 def update_review_complexity_labels(self, pr_id: int, new_label: str) -> None:STRING
LOWtasks/libs/linter/gitlab_exceptions.py47 def set_linter_name(self, linter_name: str) -> None:CODE
LOWtasks/libs/linter/gitlab_exceptions.py163 def set_linter_name(self, linter_name: str) -> None:CODE
LOWtasks/libs/testing/utof/__init__.py17__all__ = [CODE
LOWtasks/libs/testing/utof/go/parser/__init__.py19__all__ = [CODE
LOWtasks/libs/testing/utof/go/e2e/__init__.py5__all__ = [CODE
LOW…2e/tests/discovery/testdata/provision/python/server.py7logger = logging.getLogger(__name__)CODE
Example Usage Blocks8 hits · 12 pts
SeverityFileLineSnippetContext
LOWpackaging/aix/build.sh4# Usage:COMMENT
LOWpackaging/aix/clean.sh18# Usage:COMMENT
LOW.gitlab/.pre/common/shared.yml29# Usage:COMMENT
LOW…amework/components/activedirectory/active_directory.go52// Example usage:COMMENT
LOW…k/components/datadog/agentparams/msi/install_params.go30// Example usage:COMMENT
LOWtest/e2e-framework/components/iis/component.go46// Example usage:COMMENT
LOW…explain-lading-config/scripts/resolve-lading-config.sh7# Usage:COMMENT
LOWcomp/core/flare/builder/builder.go47 // Usage example:COMMENT
Slop Phrases5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtasks/protobuf.py33 print("Generation complete and new files were updated, don't forget to commit and push")CODE
LOW…etection/observer/impl/log_tagged_pattern_clusterer.go22 // Warning: Don't forget to update functions parsing tags when adding new fieldsCOMMENT
LOWpkg/security/resolvers/sbom/resolver.go345 // don't forget to set the refresher to nil otherwise it generates a memleakCOMMENT
MEDIUMpkg/template/text/doc.go463constant. Here is a simple example:CODE
MEDIUMpkg/compliance/dbconfig/loader_test.go1751# initial_token allows you to specify tokens manually. While you can use # it withCOMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/new-e2e/tests/ha-agent/haagent_test.go79// TODO: Add test for Agent behaviour when receiving RC HA_AGENT messagesCOMMENT
LOW…orkdevice/profile/profiledefinition/validation_test.go950// TODO: Add test for ValidateEnrichMetricTagsCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtasks/unit_tests/e2e_stacks_tests.py82 def run_task(self, job_status, pipeline_jobs):CODE
LOWtasks/unit_tests/e2e_internet_access_tests.py49 def test_function(self):CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMinternal/anomalydetection/testbench/ui/README.md39├── bench.go # Scenario loading and analysis orchestrationCODE