AI Slop Code Risk Monitor

zephyrproject-rtos/zephyr

SlopCodeMonitor badge for zephyrproject-rtos/zephyr Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zephyrproject-rtos/zephyr, a C project with 16,965 GitHub stars. SynthScan examined 5,421,511 lines of code across 32166 source files, recording 20209 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 3.4 (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.

3.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
17.0K
Stars
C
Language
5.4M
Lines of Code
32.2K
Files
20.2K
Pattern Hits
2026-10-31
Scan Date
0.00
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 14.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 2.5/100 · LOW

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

PR Review Velocity Impact 18.1/100 · LOW

Which changes need focused human review? 20209 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 2HIGH 140MEDIUM 392LOW 19675

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 20209 distinct pattern matches across 22 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 Block17050 hits · 14423 pts
SeverityFileLineSnippetContext
LOWREUSE.toml41#COMMENT
LOWCMakeLists.txt1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWCMakeLists.txt41# details.COMMENT
LOWCMakeLists.txt61#COMMENT
LOWCMakeLists.txt201elseif(CONFIG_STACK_CANARIES_EXPLICIT)COMMENT
LOWCMakeLists.txt741 set_property(TARGET app_version_h PROPERTY APP_VERSION_CUSTOMIZATION ${APP_VERSION_CUSTOMIZATION})COMMENT
LOWMAINTAINERS.yml1# This file contains information on who maintains what. It is parsed byCOMMENT
LOWMAINTAINERS.yml21# The area contains deprecated or legacy code that has beenCOMMENT
LOWMAINTAINERS.yml41# If a path or glob pattern ends in a '/', it matches all files withinCOMMENT
LOWMAINTAINERS.yml61# files-regex-exclude:COMMENT
LOWMAINTAINERS.yml81# - <file path>COMMENT
LOWMAINTAINERS.yml101# used for assignment as normal.COMMENT
LOWMAINTAINERS.yml121# are the ones used in test case definitions, and in test suite definitions inCOMMENT
LOWMAINTAINERS.yml141# to an area to classify it as one.COMMENT
LOWMAINTAINERS.yml161#COMMENT
LOWMAINTAINERS.yml181#COMMENT
LOWzephyr-env.sh1#COMMENT
LOWwest.yml1# The west manifest file for upstream Zephyr.COMMENT
LOWmisc/llext_edk/CMakeLists.txt1# Copyright 2025 Arduino SACOMMENT
LOWdts/binding-template.yaml1# The contents of this file have been moved to the documentation.COMMENT
LOWdts/bindings/binding-types.txt1# SPDX-FileCopyrightText: Copyright (c) 2025 The Linux FoundationCOMMENT
LOWdts/bindings/vendor-prefixes.txt1# SPDX-FileCopyrightText: Copyright (c) 2026 The Linux FoundationCOMMENT
LOWdts/bindings/wifi/zephyr,wifi-hwsim.yaml21 # MAC address configuration (local-mac-address, zephyr,random-mac-address,COMMENT
LOWdts/bindings/pwm/renesas,rx-mtu-pwm.yaml1# Copyright (c) 2025 Renesas Electronics CorporationCOMMENT
LOWdts/bindings/pwm/renesas,rx-mtu-pwm.yaml21 // | | MTU2.TGRB | | MTIOC2B |COMMENT
LOWdts/bindings/usb/uac2/zephyr,uac2.yaml1# Copyright (c) 2023 Nordic Semiconductor ASACOMMENT
LOWdts/bindings/adc/gd,gd32-adc.yaml1# Copyright (c) 2022 BrainCo Inc.COMMENT
LOWdts/bindings/dma/atmel,sam0-dmac.yaml21# The 2nd cell defines the peripheral trigger which is the source of the transfer.COMMENT
LOWdts/bindings/dma/microchip,dmac-g2-dma.yaml41 and ch4+ share the remaining IRQ(s).COMMENT
LOWdts/bindings/dma/microchip,dmac-g2-dma.yaml61# /* Configure DMA channels for async operation */COMMENT
LOWdts/bindings/dma/microchip,dmac-g3-dma.yaml41# DMAC instance.COMMENT
LOWdts/bindings/dma/microchip,xec-dmac.yaml41# The 1st cell specifies the DMAC channel to be used for the data transfer.COMMENT
LOWdts/bindings/dma/snps,designware-dma-axi.yaml21 const: 1COMMENT
LOWdts/bindings/dma/microchip,dmac-g1-dma.yaml61# #dma-cells : Must be <2>.COMMENT
LOWdts/bindings/mtd/jedec,jesd216.yaml1# Copyright (c) 2018 Peter Bigot Consulting, LLCCOMMENT
LOWdts/bindings/mtd/jedec,spi-nor-common.yaml1# Copyright (c) 2018 Peter Bigot Consulting, LLCCOMMENT
LOWdts/bindings/gpio/nxp,pca_series.yaml1# Copyright 2024 NXPCOMMENT
LOWdts/bindings/clock/nuvoton,m4-pll-clock.yaml21# TODO: Bypass controlCOMMENT
LOWdts/arm/broadcom/valkyrie-irq.h1/* SPDX-License-Identifier: Apache-2.0 */COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h21#define SPI_RESERVED6_9 227COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h41#define IRQ_APB_LS2_PINS_BUS 207COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h61#define MIIM_PAUSE_SCAN_STATUS_CHANGE 187COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h81#define SPI_RESERVED5_7 167COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h101#define SRAM_TZC_INTERRUPT 147COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h121#define PAXB1_MSIX_INTR13 127COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h141#define PAXB1_GIC_INTR0 107COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h161#define PAXB0_GIC_INTR4 87COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h181#define SSIM0_AFBC_IRQ_CONFIG_SWAP 67COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h201#define PCIE1_INB_PERSTB_EVENT 47COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h221#define RESERVED_27 27COMMENT
LOWdts/arm/broadcom/valkyrie-irq.h241#define MCU_TIMER_INTR 7COMMENT
LOWdts/arm/infineon/cat1a/legacy/pinctrl_cypress_psoc6.h21#define HSIOM_SEL_amuxb 5COMMENT
LOWdrivers/tee/optee/optee_smc.h21#define OPTEE_SMC_64 U(0x40000000)COMMENT
LOWdrivers/tee/optee/optee_smc.h41COMMENT
LOWdrivers/tee/optee/optee_msg.h21 *****************************************************************************/COMMENT
LOWdrivers/tee/optee/optee_msg.h341#define OPTEE_MSG_CMD_REGISTER_SHM U(4)COMMENT
LOWdrivers/usb_c/tcpc/ps8xxx.c1/*COMMENT
LOWdrivers/usb_c/tcpc/rt1715.c1/*COMMENT
LOWdrivers/usb_c/tcpc/fusb307.h1/*COMMENT
LOWdrivers/usb_c/tcpc/fusb307.h21#define FUSB307_REG_GPIO2_CFG 0xA5COMMENT
16990 more matches not shown…
Hyper-Verbose Identifiers1476 hits · 1309 pts
SeverityFileLineSnippetContext
LOWsoc/intel/intel_adsp/tools/cavstool.py770def debug_slot_offset_by_type(the_type, timeout_s=0.2):CODE
LOWsoc/intel/intel_adsp/tools/cavstool.py836def read_from_shell_memwindow_winstream(last_seq):CODE
LOWsoc/intel/intel_adsp/tools/cavstool.py848def write_to_shell_memwindow_winstream():CODE
LOWsoc/sifli/sf32/gen_ftab.py134def _build_image_descriptions(sec_index: int, code_size: int) -> bytes:CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py259def _check_firmware_header_offset(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py299def _set_spi_flash_maximum_clock(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py418def _set_error_detection_configuration(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py442def _set_firmware_load_start_address(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py505def _set_firmware_entry_point(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py560def _set_firmware_crc_start_and_size(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py712def _set_firmware_header_crc_signature(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py748def _set_firmware_image_crc_signature(output, ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py824def _merge_file_with_bt_header(ecst_args):CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py952def _exit_with_failure_delete_file(output, message):CODE
LOWsoc/nuvoton/npcm/common/esiost/esiost.py177def _set_firmware_load_start_address(output, esiost_args):CODE
LOWsoc/nuvoton/npcm/common/esiost/esiost.py266def _set_firmware_entry_point(output, esiost_args):CODE
LOWsoc/nuvoton/npcm/common/esiost/esiost.py450def _set_firmware_segment_hash(output, esiost_args):CODE
LOWsoc/nuvoton/npcm/common/esiost/esiost.py544def _exit_with_failure_delete_file(output, message):CODE
LOWsoc/infineon/cat1b/cyw20829/gen_app_header.py48def generate_platform_headers(CODE
LOWsoc/silabs/silabs_siwx91x/siwx91x_clock_tree_report.py369def find_external_xtal_khz_pin(managers: list[edtlib.Node]) -> int | None:CODE
LOWsoc/silabs/silabs_siwx91x/siwx91x_clock_tree_report.py430def apply_xtal_khz_supplemental_nodes(node: TreeNode) -> None:CODE
LOWsoc/silabs/silabs_siwx91x/siwx91x_clock_tree_report.py435def apply_aon_ref_lf_children(nodes: list[TreeNode]) -> None:CODE
LOWsoc/silabs/silabs_siwx91x/siwx91x_clock_tree_report.py475def append_gate_only_children(proc_node: TreeNode, gate_names: list[str]) -> None:CODE
LOWinclude/zephyr/drivers/lora.h431 * @typedef lora_api_recv_duty_cycle_async()COMMENT
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_kconfig.py25def test_depends_on_suggests_gating_symbols(load_kconf):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_kconfig.py30def test_only_dt_dep_yields_no_suggestions(load_kconf):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_kconfig.py39def test_select_condition_detected(load_kconf):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_kconfig.py44def test_imply_condition_detected(load_kconf):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_kconfig.py49def test_no_substring_false_positive(load_kconf):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_disabled.py16def test_headline_reports_file_and_line(make_edt):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_disabled.py22def test_lists_dependent_nodes(make_edt):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_disabled.py29def test_no_dependents_when_unreferenced(make_edt):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_disabled.py34def test_chosen_reference_reported(make_edt):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_disabled.py39def test_alias_reference_reported(make_edt):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_disabled.py49def test_main_end_to_end_disabled(make_edt, make_pickle, run_analyzer):CODE
LOWtests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py85def test_toolchain_regex_detection(monkeypatch, stderr_line, expected_symbol):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py113def test_success_runs_no_analysis(monkeypatch):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py121def test_no_edt_pickle_no_analysis(monkeypatch):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py129def test_compiler_output_replayed(monkeypatch, capsys):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py143def test_rc_passthrough_with_analysis(monkeypatch):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py151def test_no_double_dash_fallback(monkeypatch):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py157def test_no_double_dash_strips_wrapper_options(monkeypatch):CODE
LOW⚡tests/misc/dtdoctor/unit/test_dtdoctor_wrapper.py165def test_end_to_end_real_processes(make_edt, make_pickle, tmp_path):CODE
LOWtests/misc/dtdoctor/unit/test_dtdoctor_enabled.py24def test_suggests_gating_kconfig_options(make_edt, kconfig_env):CODE
LOWtests/misc/dtdoctor/unit/test_dtdoctor_enabled.py48def test_missing_zephyr_base_handled(make_edt, monkeypatch):CODE
LOWtests/misc/dtdoctor/unit/test_dtdoctor_enabled.py55def test_main_end_to_end_enabled(make_edt, make_pickle, run_analyzer, kconfig_env):CODE
LOWtests/misc/dtdoctor/unit/test_dtdoctor_cli.py20def test_symbol_embedded_in_text_accepted(make_edt, make_pickle, run_analyzer):CODE
LOWtests/misc/dtdoctor/unit/test_dtdoctor_cli.py28def test_unknown_ordinal_reports_error(make_edt, make_pickle, run_analyzer):CODE
LOWtests/misc/dtdoctor/e2e/test_dtdoctor.py70def test_analyzer_reports_disabled_node(edt, edt_pickle):CODE
LOWtests/misc/dtdoctor/e2e/test_dtdoctor.py81def test_analyzer_reports_enabled_node_without_driver(edt, edt_pickle):CODE
LOWtests/misc/dtdoctor/e2e/test_dtdoctor.py89def test_wrapper_diagnoses_compile_error(CODE
LOWtests/misc/dtdoctor/e2e/test_dtdoctor.py111def test_wrapper_diagnoses_link_error(compile_cmd, edt_pickle, cc, tmp_path):CODE
LOW…it_priorities/validate_check_init_priorities_output.py45def normalize_initlevel_output(line):CODE
LOW⚡…ment/software_bill_of_materials/verify_spdx_content.py207 def test_version_matches_the_tree(self, zephyr_package, zephyr_version):CODE
LOW⚡…ment/software_bill_of_materials/verify_spdx_content.py213 def test_cpe_matches_the_tree(self, zephyr_package, zephyr_version):CODE
LOW⚡…ment/software_bill_of_materials/verify_spdx_content.py223 def test_app_sources_package_exists(self, app_doc):CODE
LOW⚡…ment/software_bill_of_materials/verify_spdx_content.py427 def test_packages_have_valid_spdx_ids(self, build_doc):CODE
LOW⚡…ment/software_bill_of_materials/verify_spdx_content.py434 def test_has_multiple_relationship_types(self, build_doc):CODE
LOW⚡…ment/software_bill_of_materials/verify_spdx_content.py441 def test_has_external_document_refs(self, build_doc):CODE
LOW⚡…ment/software_bill_of_materials/verify_spdx_content.py446 def test_app_package_excludes_generated_files(self, build_doc):CODE
1416 more matches not shown…
Decorative Section Separators269 hits · 705 pts
SeverityFileLineSnippetContext
MEDIUMREUSE.toml33# -----------------------------------------------------------------------------COMMENT
MEDIUMREUSE.toml35# -----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt505# ==========================================================================COMMENT
MEDIUMCMakeLists.txt512# ==========================================================================COMMENT
MEDIUMdts/bindings/adc/ti,ads126x-common.yaml9 # ------------------------------------------------------------------COMMENT
MEDIUMdts/bindings/adc/ti,ads126x-common.yaml11 # ------------------------------------------------------------------COMMENT
MEDIUMdts/bindings/adc/ti,ads126x-common.yaml26 # ------------------------------------------------------------------COMMENT
MEDIUMdts/bindings/adc/ti,ads126x-common.yaml28 # ------------------------------------------------------------------COMMENT
MEDIUMsoc/nordic/nrf71/uicr/gen_uicr/gen_uicr.py19# ── Field table ──────────────────────────────────────────────────────COMMENT
MEDIUM…tooth/ll/edtt/tests_scripts/_controller_tests_inner.sh7# =========================COMMENT
MEDIUM…tooth/ll/edtt/tests_scripts/_controller_tests_inner.sh13# ---------------------COMMENT
MEDIUM…tooth/ll/edtt/tests_scripts/_controller_tests_inner.sh29# ----------------COMMENT
MEDIUM…flite-micro/magic_wand/train/data_augmentation_test.py15# ==============================================================================COMMENT
MEDIUM…odules/tflite-micro/magic_wand/train/data_load_test.py15# ==============================================================================COMMENT
MEDIUM…dules/tflite-micro/magic_wand/train/data_split_test.py15# ==============================================================================COMMENT
MEDIUM…les/tflite-micro/magic_wand/train/data_prepare_test.py15# ==============================================================================COMMENT
MEDIUM…les/tflite-micro/magic_wand/train/data_split_person.py16# ==============================================================================COMMENT
MEDIUM…es/modules/tflite-micro/magic_wand/train/train_test.py15# ==============================================================================COMMENT
MEDIUM…es/modules/tflite-micro/magic_wand/train/data_split.py16# ==============================================================================COMMENT
MEDIUM…flite-micro/magic_wand/train/data_split_person_test.py15# ==============================================================================COMMENT
MEDIUMsamples/modules/tflite-micro/magic_wand/train/train.py15# ==============================================================================COMMENT
MEDIUM…les/tflite-micro/magic_wand/train/data_augmentation.py15# ==============================================================================COMMENT
MEDIUM…/modules/tflite-micro/magic_wand/train/data_prepare.py16# ==============================================================================COMMENT
MEDIUM…les/modules/tflite-micro/magic_wand/train/data_load.py15# ==============================================================================COMMENT
MEDIUMsamples/modules/tflite-micro/tflm_ethosu/CMakeLists.txt58# -----------------------------------------------------------------------------COMMENT
MEDIUMsamples/modules/tflite-micro/tflm_ethosu/CMakeLists.txt60# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/dts/python-devicetree/src/devicetree/edtlib.py33# --------------------COMMENT
MEDIUMscripts/tracing/trace_viewer.py630# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/tracing/trace_viewer.py632# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/tracing/trace_viewer.py795# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/tracing/trace_viewer.py797# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/tracing/trace_viewer.py863# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/tracing/trace_viewer.py865# --------------------------------------------------------------------------COMMENT
MEDIUMscripts/west_commands/tests/test_nrf.py75 # -------------------------------------------------------------------------COMMENT
MEDIUMscripts/west_commands/tests/test_nrf.py124 # -------------------------------------------------------------------------COMMENT
MEDIUMscripts/west_commands/tests/test_nrf.py175 # -------------------------------------------------------------------------COMMENT
MEDIUMscripts/west_commands/tests/test_nrf.py221 # -------------------------------------------------------------------------COMMENT
MEDIUMscripts/west_commands/tests/test_nrf.py267 # -------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py1219# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py1221# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py1447# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py1449# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py1639 # ------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py1641 # ------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py2067# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py2069# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py2813# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py2815# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py2817# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py3355# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡scripts/ci/test_plan_v2.py3357# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py113# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py128# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py130# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py189# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py191# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py226# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py228# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/ci/test_plan_v2.py276# ---------------------------------------------------------------------------COMMENT
209 more matches not shown…
Deep Nesting416 hits · 365 pts
SeverityFileLineSnippetContext
LOWcmake/sca/polyspace/polyspace-print-console.py15CODE
LOWsoc/intel/intel_ish/utils/build_ish_firmware_v1p1.py141CODE
LOWsoc/intel/intel_ish/utils/build_ish_firmware.py56CODE
LOWsoc/intel/intel_adsp/tools/cavstool.py882CODE
LOWsoc/intel/intel_adsp/tools/remote-fw-service.py128CODE
LOWsoc/intel/intel_adsp/tools/remote-fw-service.py199CODE
LOWsoc/mediatek/mt8xxx/common/adsp/mtk_adsp_load.py314CODE
LOWsoc/mediatek/mt8xxx/common/adsp/gen_img.py59CODE
LOWsoc/microchip/mec/common/spigen/mec_spi_gen.py311CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst_args.py125CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py299CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py370CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py651CODE
LOWsoc/nuvoton/npcx/common/ecst/ecst.py824CODE
LOWsoc/nuvoton/npcm/common/esiost/esiost.py177CODE
LOWsoc/nuvoton/npcm/common/esiost/esiost_args.py78CODE
LOWsoc/silabs/silabs_sim3/sim3u/gen_crossbar_config.py245CODE
LOWsoc/silabs/silabs_sim3/sim3u/gen_crossbar_config.py83CODE
LOWsoc/silabs/silabs_sim3/sim3u/gen_crossbar_config.py220CODE
LOW…ion_development/software_bill_of_materials/conftest.py102CODE
LOWtests/net/lib/lwm2m/interop/pytest/leshan.py253CODE
LOWtests/net/lib/lwm2m/interop/pytest/leshan.py270CODE
LOWtests/net/lib/lwm2m/interop/pytest/leshan.py445CODE
LOW…lib/mdns_responder_offload/pytest/test_mdns_offload.py38CODE
LOW…ocket/tls_configurations/pytest/test_app_vs_openssl.py15CODE
LOW…oot/mcuboot_multiple_keys/pytest/test_multiple_keys.py113CODE
LOW…s/logging/dictionary/pytest/test_logging_dictionary.py161CODE
LOW…/bluetooth/classic/l2cap_c/pytest/test_l2cap_common.py44CODE
LOW…sts/bluetooth/classic/rfcomm_c/pytest/test_rfcomm_c.py41CODE
LOW…ts/bluetooth/classic/rfcomm_c/pytest/rfcomm_utility.py58CODE
LOW…ts/bluetooth/classic/rfcomm_c/pytest/rfcomm_utility.py249CODE
LOWtests/bluetooth/classic/bumble/common/bt_sim_link.py17CODE
LOW…s/bluetooth/classic/bumble/common/bt_sim_controller.py60CODE
LOWtests/bluetooth/classic/gap_c/pytest/test_gap_c.py29CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py327CODE
LOWtests/bluetooth/classic/smp_sc_only/pytest/test_smp.py62CODE
LOWtests/bluetooth/classic/a2dp_sink/pytest/test_a2dp.py74CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py75CODE
LOW…ts/bluetooth/classic/rfcomm_s/pytest/rfcomm_utility.py261CODE
LOW…sts/bluetooth/classic/rfcomm_s/pytest/test_rfcomm_s.py36CODE
LOWtests/bluetooth/classic/smp_bonding/pytest/test_smp.py54CODE
LOW…s/bluetooth/classic/smp_key_persist/pytest/test_smp.py43CODE
LOW…s/bluetooth/classic/smp_key_persist/pytest/test_smp.py89CODE
LOW…/bluetooth/classic/l2cap_s/pytest/test_l2cap_common.py44CODE
LOWtests/bluetooth/classic/a2dp_source/pytest/test_a2dp.py73CODE
LOWtests/bluetooth/classic/gap_s/pytest/test_gap_s.py29CODE
LOWtests/bluetooth/classic/smp_general/pytest/test_smp.py142CODE
LOWtests/bluetooth/classic/sdp_s/pytest/test_sdp.py92CODE
LOWtests/bluetooth/classic/sdp_s/pytest/test_sdp.py318CODE
LOWsamples/net/zperf/scripts/zperf_regression.py121CODE
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py129CODE
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py269CODE
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py364CODE
LOW…dules/tflite-micro/magic_wand/train/data_split_test.py45CODE
LOW…les/tflite-micro/magic_wand/train/data_split_person.py41CODE
LOW…es/modules/tflite-micro/magic_wand/train/data_split.py51CODE
LOW…les/tflite-micro/magic_wand/train/data_augmentation.py43CODE
LOW…/modules/tflite-micro/magic_wand/train/data_prepare.py46CODE
LOWarch/x86/gen_mmu.py685CODE
LOWscripts/list_shields.py67CODE
356 more matches not shown…
Empty Error Handlers49 hits · 245 pts
SeverityFileLineSnippetContext
HIGHsoc/intel/intel_adsp/tools/cavstool_client.py119except KeyboardInterrupt:CODE
HIGH…lib/mdns_responder_offload/pytest/test_mdns_offload.py53except OSError:CODE
HIGH…s/bluetooth/classic/bumble/common/bt_sim_controller.py78except asyncio.CancelledError:CODE
HIGH…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py157except Exception:CODE
HIGH…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py385except Exception:CODE
HIGHsamples/boards/nordic/coresight_stm/pytest/test_stm.py183except FileNotFoundError:CODE
HIGHsamples/boards/nordic/coresight_stm/pytest/test_stm.py216except subprocess.TimeoutExpired:CODE
HIGHscripts/gen_gcov_files.py56except Exception:CODE
HIGHscripts/zephyr_module.py619except WestNotFound:CODE
HIGHscripts/tracing/trace_capture_usb.py92except KeyboardInterrupt:CODE
HIGH…t-twister-harness/src/twister_harness/helpers/shell.py111except TwisterHarnessTimeoutException:CODE
HIGHscripts/pylib/twister/twisterlib/runner.py2225except IndexError:CODE
HIGHscripts/pylib/twister/twisterlib/consolemonitor.py249except (OSError, ValueError, KeyError):CODE
HIGHscripts/pylib/twister/twisterlib/handlers.py1444except (ProcessLookupError, psutil.NoSuchProcess):CODE
HIGHscripts/pylib/twister/twisterlib/handlers.py1447except OSError:CODE
HIGHscripts/pylib/twister/twisterlib/handlers.py1380except FileNotFoundError:CODE
HIGHscripts/pylib/twister/twisterlib/handlers.py1498except psutil.NoSuchProcess:CODE
HIGHscripts/pylib/twister/twisterlib/handlers.py1134except psutil.NoSuchProcess:CODE
HIGHscripts/pylib/twister/twisterlib/jobserver.py204except BlockingIOError:CODE
HIGHscripts/west_commands/build.py330except IndexError:CODE
HIGHscripts/west_commands/zcmake.py111except ValueError:CODE
HIGHscripts/west_commands/runners/openocd.py26except ImportError:CODE
HIGHscripts/west_commands/runners/core.py243except ValueError:CODE
HIGHscripts/ci/test_plan_v2.py2062except Exception: # noqa: BLE001CODE
HIGHscripts/ci/test_plan_v2.py893except Exception: # noqa: BLE001CODE
HIGHscripts/ci/test_plan_v2.py1197except Exception: # noqa: BLE001CODE
HIGHscripts/ci/test_plan_v2.py1437except Exception: # noqa: BLE001CODE
HIGHscripts/ci/test_plan_v2.py1763except Exception: # noqa: BLE001CODE
HIGHscripts/ci/test_plan_v2.py2996except Exception: # noqa: BLE001CODE
HIGHscripts/ci/test_plan_v2.py3018except Exception: # noqa: BLE001CODE
HIGHscripts/ci/test_plan_v2.py1152except Exception: # noqa: BLE001CODE
HIGHscripts/ci/check_maintainer_changes.py189except OSError:CODE
HIGHscripts/ci/check_compliance.py3198except EndTest:CODE
HIGHscripts/ci/doxygen_toplevel_groups.py72except ValueError:CODE
HIGHscripts/kconfig/guiconfig.py294except (subprocess.SubprocessError, OSError) as _:CODE
HIGHscripts/kconfig/kconfiglib.py6541except Exception:CODE
HIGHscripts/kconfig/kconfiglib.py1024except ImportError:CODE
HIGHscripts/kconfig/menuconfig.py3176except curses.error:CODE
HIGHscripts/kconfig/menuconfig.py3207except curses.error:CODE
HIGHscripts/kconfig/menuconfig.py3214except curses.error:CODE
HIGHscripts/kconfig/menuconfig.py3221except curses.error:CODE
HIGHscripts/kconfig/menuconfig.py3228except curses.error:CODE
HIGHscripts/kconfig/menuconfig.py3235except curses.error:CODE
HIGHscripts/kconfig/menuconfig.py612except curses.error:CODE
HIGHscripts/kconfig/menuconfig.py3154except curses.error:CODE
HIGHscripts/tests/twister/test_testsuite.py280except AttributeError:CODE
HIGHscripts/tests/twister/test_testsuite.py295except AttributeError:CODE
HIGHscripts/logging/dictionary/database_gen.py400except UnicodeDecodeError:CODE
HIGHscripts/logging/dictionary/database_gen.py389except KeyError:CODE
Cross-Language Confusion44 hits · 232 pts
SeverityFileLineSnippetContext
HIGHsoc/microchip/mec/common/spigen/mec_spi_gen.py427 print("SHA-384 digest (paddedFW || ec_info_block || cosig)")CODE
HIGHtests/drivers/can/host/pytest/test_can.py72 if not tx.equals(rx, timestamp_delta=None, check_channel=False, check_direction=False):CODE
HIGHscripts/gen_test_matrix_dashboard.py135 th.classList.toggle('asc', th.dataset.k === sortKey && sortDir === 1);CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1354 or1 = < (0 || 0) >;CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1355 or2 = < (0 || 1) >;CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1356 or3 = < (1 || 0) >;CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1357 or4 = < (1 || 1) >;CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1358 and1 = < (0 && 0) >;CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1359 and2 = < (0 && 1) >;CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1360 and3 = < (1 && 0) >;CODE
HIGH⚡scripts/dts/python-devicetree/tests/test_dtlib.py1361 and4 = < (1 && 1) >;CODE
HIGH⚡scripts/kconfig/kconfiglib.py4169 properties. For example, 'default A && B if C || D' is represented asCODE
HIGH⚡scripts/kconfig/kconfiglib.py4169 properties. For example, 'default A && B if C || D' is represented asCODE
HIGH⚡scripts/kconfig/kconfiglib.py4178 For example, 'select A if B && C' is represented as (A, (AND, B, C)). IfCODE
HIGH⚡scripts/kconfig/kconfiglib.py6276 split_expr( A && B , OR ) -> [A && B]CODE
HIGH⚡scripts/kconfig/kconfiglib.py6277 split_expr( A || B , OR ) -> [A, B]CODE
HIGH⚡scripts/kconfig/kconfiglib.py6278 split_expr( A || B , AND ) -> [A || B]CODE
HIGH⚡scripts/kconfig/kconfiglib.py6279 split_expr( A || B || (C && D) , OR ) -> [A, B, C && D]CODE
HIGH⚡scripts/kconfig/kconfiglib.py6279 split_expr( A || B || (C && D) , OR ) -> [A, B, C && D]CODE
HIGH⚡scripts/kconfig/kconfiglib.py6282 split_expr( A || (B && (C || D)) , OR ) -> [A, B && (C || D)]CODE
HIGH⚡scripts/kconfig/kconfiglib.py6286 split_expr( (A || B) || C , OR ) -> [A, B, C]CODE
HIGH⚡scripts/kconfig/kconfiglib.py6287 split_expr( A || (B || C) , OR ) -> [A, B, C]CODE
HIGHscripts/kconfig/kconfiglib.py1951 which has the value y, then eval_string("y && (FOO || BAR)") returnsCODE
HIGHscripts/kconfig/kconfiglib.py1960 the C implementation. m is rewritten to 'm && MODULES', soCODE
HIGHscripts/kconfig/kconfiglib.py4037 (A, !A, A && B, A || B).CODE
HIGHscripts/kconfig/kconfiglib.py4037 (A, !A, A && B, A || B).CODE
HIGHscripts/kconfig/kconfiglib.py4152 If the symbol is undefined, the location is given as "(undefined)".CODE
HIGHscripts/kconfig/kconfiglib.py4195 Gotcha: 1 and 2 above will be represented as (undefined) Symbols ratherCODE
HIGHscripts/kconfig/kconfiglib.py5218 example, 'default A if B && C' is represented as (A, (AND, B, C)). IfCODE
HIGH⚡scripts/kconfig/kconfiglib.py185 tristate "foo" if A && B && C && DSTRING
HIGH⚡scripts/kconfig/kconfiglib.py186 default y if A && B && CSTRING
HIGH⚡scripts/kconfig/kconfiglib.py190In this example, A && B && C && D (the prompt condition) needs to be non-n forSTRING
HIGH⚡scripts/kconfig/kconfiglib.py303A && B (AND, A, B)STRING
HIGH⚡scripts/kconfig/kconfiglib.py304A && B && C (AND, A, (AND, B, C))STRING
HIGH⚡scripts/kconfig/kconfiglib.py305A || B (OR, A, B)STRING
HIGH⚡scripts/kconfig/kconfiglib.py306A || (B && C && D) (OR, A, (AND, B, (AND, C, D)))STRING
HIGH⚡scripts/kconfig/kconfiglib.py309A && B = C && D (AND, A, (AND, (EQUAL, B, C), D))STRING
HIGH⚡scripts/kconfig/kconfiglib.py326 - The value of A && B is min(A.tri_value, B.tri_value)STRING
HIGH⚡scripts/kconfig/kconfiglib.py328 - The value of A || B is max(A.tri_value, B.tri_value)STRING
HIGH⚡scripts/kconfig/kconfiglib.py335 For constant (as well as undefined) symbols, str_value matches the name ofSTRING
HIGHscripts/kconfig/kconfiglib.py6557 return "(undefined)"STRING
HIGH⚡scripts/kconfig/kconfig_style_test.py114\t || BCODE
HIGHscripts/tests/twister/test_testplan.py1779 "status": null,CODE
HIGHscripts/checkpatch/test_checkpatch.py186 ["template <typename T, typename = std::enable_if_t<A && B>> struct X {};"],CODE
Excessive Try-Catch Wrapping196 hits · 208 pts
SeverityFileLineSnippetContext
LOWsoc/intel/intel_adsp/tools/cavstool.py416 except Exception as e:CODE
LOWsoc/intel/intel_adsp/tools/cavstool.py519 except Exception as e:CODE
LOWsoc/intel/intel_adsp/tools/cavstool.py1022 except Exception as e:CODE
MEDIUMsoc/intel/intel_adsp/tools/cavstool.py222def map_regs(log_only):CODE
MEDIUMsoc/intel/intel_adsp/tools/cavstool.py513def load_firmware_ace(fw_file):CODE
MEDIUMsoc/intel/intel_adsp/tools/cavstool.py671def win_read(base, start, length):CODE
LOWsoc/intel/intel_adsp/tools/remote-fw-service.py75 except Exception as e:CODE
LOWsoc/renesas/ra/tools/gen_rpd.py61 except Exception as e:CODE
LOWsoc/renesas/ra/tools/gen_rpd.py98 except Exception as e:CODE
LOWtests/net/lib/lwm2m/interop/pytest/test_blockwise.py57 except Exception as e:CODE
LOW…/bluetooth/classic/l2cap_c/pytest/test_l2cap_common.py40 except Exception:CODE
LOW…/bluetooth/classic/l2cap_c/pytest/test_l2cap_common.py57 except Exception as e:CODE
LOW…/bluetooth/classic/l2cap_c/pytest/test_l2cap_common.py84 except Exception as e:CODE
LOW…/bluetooth/classic/l2cap_c/pytest/test_l2cap_common.py103 except Exception as e:CODE
MEDIUM…/bluetooth/classic/l2cap_c/pytest/test_l2cap_common.py100def bumble_l2cap_disconnect(shell, dut, incoming_channel, iut_id=L2CAP_CHAN_IUT_CODE
LOW…sts/bluetooth/classic/rfcomm_c/pytest/test_rfcomm_c.py36 except Exception:CODE
LOW…sts/bluetooth/classic/rfcomm_c/pytest/test_rfcomm_c.py62 except Exception as e:CODE
LOW…ts/bluetooth/classic/rfcomm_c/pytest/rfcomm_utility.py68 except Exception as e:CODE
LOWtests/bluetooth/classic/bumble/common/controllers.py174 except Exception as e:CODE
LOWtests/bluetooth/classic/bumble/common/controllers.py181 except Exception as e:CODE
LOWtests/bluetooth/classic/bumble/common/controllers.py193 except Exception as e:CODE
LOWtests/bluetooth/classic/gap_c/pytest/test_gap_c.py24 except Exception:CODE
LOWtests/bluetooth/classic/gap_c/pytest/test_gap_c.py52 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py340 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py351 except Exception:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py378 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py413 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py472 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py544 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py579 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py649 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py684 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py729 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py774 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py820 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py855 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py911 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py976 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py1011 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py1076 except Exception as e:CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py1147 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_sc_only/pytest/test_smp.py44 except Exception:CODE
LOWtests/bluetooth/classic/smp_sc_only/pytest/test_smp.py55 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_sc_only/pytest/test_smp.py94 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_sc_only/pytest/test_smp.py121 except Exception as e:CODE
LOWtests/bluetooth/classic/a2dp_sink/pytest/test_a2dp.py70 except Exception:CODE
LOWtests/bluetooth/classic/a2dp_sink/pytest/test_a2dp.py88 except Exception as e:CODE
LOWtests/bluetooth/classic/a2dp_sink/pytest/test_a2dp.py116 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py57 except Exception:CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py68 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py107 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py134 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py235 except Exception as error:CODE
MEDIUMtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py228def reply() -> None:CODE
LOW…sts/bluetooth/classic/rfcomm_s/pytest/test_rfcomm_s.py31 except Exception:CODE
LOW…sts/bluetooth/classic/rfcomm_s/pytest/test_rfcomm_s.py57 except Exception as e:CODE
LOW…sts/bluetooth/classic/rfcomm_s/pytest/test_rfcomm_s.py267 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_bonding/pytest/test_smp.py36 except Exception:CODE
LOWtests/bluetooth/classic/smp_bonding/pytest/test_smp.py47 except Exception as e:CODE
LOWtests/bluetooth/classic/smp_bonding/pytest/test_smp.py86 except Exception as e:CODE
136 more matches not shown…
Cross-File Repetition39 hits · 195 pts
SeverityFileLineSnippetContext
HIGHtests/net/conformance/dhcpv4/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/ndp/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/mdns/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/tcp/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/dhcpv4_server/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/igmp/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/arp/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/mqtt/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/dns/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/mld/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/coap/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/sntp/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGHtests/net/conformance/dnssd/pytest/conftest.py0make the shared ttcn-3 runner importable, and register the fixtures it holds. copyright (c) 2026 nordic semiconductor asSTRING
HIGH…t/conformance/dhcpv4/pytest/test_dhcpv4_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…s/net/conformance/mdns/pytest/test_mdns_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…sts/net/conformance/tcp/pytest/test_tcp_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…dhcpv4_server/pytest/test_dhcpv4_server_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…sts/net/conformance/arp/pytest/test_arp_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…s/net/conformance/mqtt/pytest/test_mqtt_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…sts/net/conformance/dns/pytest/test_dns_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…s/net/conformance/sntp/pytest/test_sntp_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…net/conformance/dnssd/pytest/test_dnssd_conformance.py0run the ttcn-3 dns service discovery conformance suite against a zephyr instance. copyright (c) 2026 nordic semiconductoSTRING
HIGH…sts/bluetooth/classic/rfcomm_c/pytest/test_rfcomm_c.py0_wait_for_shell_response() is used to wait for shell response. it will return after finding a specific 'response' or waiSTRING
HIGHtests/bluetooth/classic/gap_c/pytest/test_gap_c.py0_wait_for_shell_response() is used to wait for shell response. it will return after finding a specific 'response' or waiSTRING
HIGH…sts/bluetooth/classic/rfcomm_s/pytest/test_rfcomm_s.py0_wait_for_shell_response() is used to wait for shell response. it will return after finding a specific 'response' or waiSTRING
HIGHtests/bluetooth/classic/gap_s/pytest/test_gap_s.py0_wait_for_shell_response() is used to wait for shell response. it will return after finding a specific 'response' or waiSTRING
HIGH…sts/bluetooth/classic/rfcomm_c/pytest/test_rfcomm_c.py0send_cmd_to_iut() is used to send shell cmd to dut and monitor the response. it can choose whether to monitor the shell STRING
HIGH…sts/bluetooth/classic/rfcomm_s/pytest/test_rfcomm_s.py0send_cmd_to_iut() is used to send shell cmd to dut and monitor the response. it can choose whether to monitor the shell STRING
HIGHtests/bluetooth/classic/gap_c/pytest/test_gap_c.py0send_cmd_to_iut() is used to send shell cmd to dut and monitor the response. it can choose whether to monitor the shell STRING
HIGHtests/bluetooth/classic/gap_s/pytest/test_gap_s.py0send_cmd_to_iut() is used to send shell cmd to dut and monitor the response. it can choose whether to monitor the shell STRING
HIGHscripts/west_commands/tests/test_blackmagicprobe.py0test commands using a runner created by constructor.STRING
HIGHscripts/west_commands/tests/test_dediprog.py0test commands using a runner created by constructor.STRING
HIGHscripts/west_commands/tests/test_dfu_util.py0test commands using a runner created by constructor.STRING
HIGHscripts/west_commands/tests/test_blackmagicprobe.py0test commands using a runner created from command line parameters.STRING
HIGHscripts/west_commands/tests/test_dediprog.py0test commands using a runner created from command line parameters.STRING
HIGHscripts/west_commands/tests/test_dfu_util.py0test commands using a runner created from command line parameters.STRING
HIGH…l_nordic/ironside/se/scripts/gen_periphconf_entries.py0copyright (c) 2025 nordic semiconductor asa spdx-license-identifier: apache-2.0STRING
HIGH…/hal_nordic/ironside/se/scripts/periphconf/__init__.py0copyright (c) 2025 nordic semiconductor asa spdx-license-identifier: apache-2.0STRING
HIGH…s/hal_nordic/ironside/se/scripts/periphconf/builder.py0copyright (c) 2025 nordic semiconductor asa spdx-license-identifier: apache-2.0STRING
Fake / Example Data154 hits · 182 pts
SeverityFileLineSnippetContext
LOWdrivers/spi/spi_mchp_sercom_g1.c395 static const uint8_t dummy_data;CODE
LOWdrivers/spi/spi_mchp_sercom_g1.c397 dma_blk.source_address = (uint32_t)&dummy_data;CODE
LOWdrivers/spi/spi_mchp_sercom_g1.c445 static uint8_t dummy_data;CODE
LOWdrivers/spi/spi_mchp_sercom_g1.c447 dma_blk.dest_address = (uint32_t)&dummy_data;CODE
LOWdrivers/audio/codec_dummy.c140 struct dummy_codec_data *dummy_data = dev->data;CODE
LOWdrivers/audio/codec_dummy.c146 if (!dummy_data->started) {CODE
LOWdrivers/pcie/endpoint/pcie_ep_common.c178 uint32_t dummy_data; /* For explicit dummy PCIe read */CODE
LOWdrivers/pcie/endpoint/pcie_ep_common.c211 (uintptr_t *)&dummy_data,CODE
LOWdrivers/pcie/endpoint/pcie_ep_common.c212 sizeof(dummy_data),CODE
LOWdrivers/pcie/endpoint/pcie_ep_common.c270 (uintptr_t *)&dummy_data,CODE
LOWdrivers/pcie/endpoint/pcie_ep_common.c271 sizeof(dummy_data),CODE
LOWdrivers/serial/uart_sy1xx.c93 uint8_t dummy_data[10];CODE
LOWdrivers/serial/uart_sy1xx.c97 .data = (uint8_t *)dummy_data,CODE
LOW⚡include/zephyr/misc/lorem_ipsum.h21 * 1 paragraph, 69 words, 445 bytes of Lorem IpsumCOMMENT
LOW⚡include/zephyr/misc/lorem_ipsum.h24 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " \CODE
LOW⚡include/zephyr/misc/lorem_ipsum.h24 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " \CODE
LOW⚡include/zephyr/misc/lorem_ipsum.h37 * 2 paragraphs, 173 words, 1160 bytes of Lorem IpsumCOMMENT
LOW⚡include/zephyr/misc/lorem_ipsum.h40 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus a varius sapien. " \CODE
LOW⚡include/zephyr/misc/lorem_ipsum.h40 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus a varius sapien. " \CODE
LOW⚡include/zephyr/misc/lorem_ipsum.h60 * 14 paragraphs, 1215 words, 8192 bytes of Lorem IpsumCOMMENT
LOW⚡include/zephyr/misc/lorem_ipsum.h63 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque viverra " \CODE
LOW⚡include/zephyr/misc/lorem_ipsum.h63 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque viverra " \CODE
LOWsubsys/ipc/rpmsg_service/rpmsg_backend.c153 uint32_t dummy_data = 0x55005500;CODE
LOWsubsys/ipc/rpmsg_service/rpmsg_backend.c155 status = ipm_send(ipm_handle, 0, 0, &dummy_data, sizeof(dummy_data));CODE
LOWtests/unit/cbprintf/main.c1190 static const char *test_str1 = "lorem ipsum";CODE
LOWtests/unit/cbprintf/main.c1253 const char *test_str1 = "lorem ipsum";CODE
LOWtests/net/npf/src/main.c39static const char dummy_data[] =CODE
LOWtests/net/npf/src/main.c70 zassert_true((size - sizeof(eth_hdr)) <= sizeof(dummy_data), "");CODE
LOWtests/net/npf/src/main.c71 ret = net_pkt_write(pkt, dummy_data, size - sizeof(eth_hdr));CODE
LOWtests/net/npf/src/main.c96 zassert_true((size - sizeof(eth_hdr)) <= sizeof(dummy_data), "");CODE
LOWtests/net/npf/src/main.c97 ret = net_pkt_write(pkt, dummy_data, size - sizeof(eth_hdr));CODE
LOW⚡tests/net/lib/mcp/src/main.c1350 char fake_token[UUID_STR_LEN];CODE
LOW⚡tests/net/lib/mcp/src/main.c1352 mcp_safe_strcpy(fake_token, sizeof(fake_token), "99999");CODE
LOW⚡tests/net/lib/mcp/src/main.c1354 ret = mcp_server_submit_tool_message(server, &tool_msg, fake_token);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c115 zassert_equal(fake_data.rate_calls, 1);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c116 zassert_equal(fake_data.scaled_ppm, TEST_SCALED_PPM);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c117 zassert_equal(fake_data.read_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c118 zassert_equal(fake_data.set_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c128 zassert_equal(fake_data.rate_calls, 1);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c129 zassert_equal(fake_data.scaled_ppm, -TEST_SCALED_PPM);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c130 zassert_equal(fake_data.read_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c131 zassert_equal(fake_data.set_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c141 zassert_equal(fake_data.rate_calls, 1);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c142 zassert_equal(fake_data.scaled_ppm, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c143 zassert_equal(fake_data.read_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c144 zassert_equal(fake_data.set_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c177 zassert_equal(fake_data.rate_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c187 zassert_equal(fake_data.rate_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c192 zassert_equal(fake_data.rate_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c199 fake_data.time = 2 * NSEC_PER_SEC;CODE
LOW⚡tests/net/gptp/clock_update/src/main.c203 zassert_equal(fake_data.set_calls, 1);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c204 zassert_equal(fake_data.time, 2100000000);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c205 zassert_equal(fake_data.rate_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c212 fake_data.time = 2 * NSEC_PER_SEC;CODE
LOW⚡tests/net/gptp/clock_update/src/main.c216 zassert_equal(fake_data.set_calls, 1);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c217 zassert_equal(fake_data.time, 1900000000);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c218 zassert_equal(fake_data.rate_calls, 0);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c225 fake_data.time = 50000000;CODE
LOW⚡tests/net/gptp/clock_update/src/main.c229 zassert_equal(fake_data.read_calls, 1);CODE
LOW⚡tests/net/gptp/clock_update/src/main.c230 zassert_equal(fake_data.set_calls, 0);CODE
94 more matches not shown…
Self-Referential Comments56 hits · 168 pts
SeverityFileLineSnippetContext
MEDIUMMAINTAINERS.yml1# This file contains information on who maintains what. It is parsed byCOMMENT
MEDIUMdts/bindings/sensor/adi,ad2s1210.yaml4# This file contains the binding for ad2s1210 sensorCOMMENT
MEDIUMdts/bindings/rtc/adi,max31331.yaml4# This file contains the binding for MAX31331 RTC from Analog Devices.COMMENT
MEDIUMsoc/intel/intel_adsp/tools/cavstool_client.py21# Define the command and itsCOMMENT
MEDIUMsoc/intel/intel_adsp/tools/cavstool_client.py27# Define the header format and size forCOMMENT
MEDIUM⚡soc/intel/intel_adsp/tools/remote-fw-service.py28# Define the command and the max sizeCOMMENT
MEDIUM⚡soc/intel/intel_adsp/tools/remote-fw-service.py33# Define the return value in handle functionCOMMENT
MEDIUM⚡soc/intel/intel_adsp/tools/remote-fw-service.py36# Define the header format and size forCOMMENT
MEDIUMsoc/mediatek/mt8xxx/common/adsp/mtk_adsp_load.py77 # Create a Regs object for the registersCOMMENT
MEDIUMsoc/nuvoton/npcx/common/ecst/ecst_args.py7# This file contains general functions for ECST applicationCOMMENT
MEDIUMsoc/nuvoton/npcm/common/esiost/esiost_args.py7# This file contains general functions for ESIOST applicationCOMMENT
MEDIUMsoc/infineon/cat1b/cyw20829/gen_app_header.py21# Define the structuresCOMMENT
MEDIUMtests/net/lib/lwm2m/interop/pytest/leshan.py21 """This class represents a Leshan client that interacts with demo server's REAT API"""STRING
MEDIUMtests/drivers/sensor/generic/src/main.c97 * -# Define a device and bind to dummy sensor.COMMENT
MEDIUMtests/drivers/sensor/generic/src/main.c181 * -# Define a device and bind to dummy sensor andCOMMENT
MEDIUMtests/bluetooth/classic/a2dp_sink/pytest/test_a2dp.py647 # Create a listener to wait for AVDTP connectionsCOMMENT
MEDIUMtests/bluetooth/classic/a2dp_source/pytest/test_a2dp.py636 # Create a listener to wait for AVDTP connectionsCOMMENT
MEDIUMtests/kernel/poll/src/test_poll.c447 * -# Create a thread to put FIFO,COMMENT
MEDIUM…s/net/sockets/http_server/src/certs/gen_server_cert.sh18# Create a file containing server CSR extensionsCOMMENT
MEDIUM…s/net/sockets/http_server/src/certs/gen_server_cert.sh26# Create a server certificate by signing the server CSR using the CA cert/keyCOMMENT
MEDIUMscripts/bindings_properties_allowlist.yaml1# This file is a YAML allowlist of property names that are allowed toCOMMENT
MEDIUMscripts/checkpatch.pl626#Create a search pattern for all these functions to speed up a loop belowCOMMENT
MEDIUMscripts/checkpatch.pl647#Create a search pattern for all these strings to speed up a loop belowCOMMENT
MEDIUMscripts/checkpatch.pl682#Create a search pattern for all these strings to speed up a loop belowCOMMENT
MEDIUMscripts/zephyr_module.py759# This file contains build system settings derived from your modules.COMMENT
MEDIUMscripts/snippets.py150# This file contains build system settings derived from your snippets.COMMENT
MEDIUMscripts/dts/gen_defines.py53 # Create the generated header.COMMENT
MEDIUMscripts/dts/python-devicetree/src/devicetree/edtlib.py39# This module is not meant to have any global state. It should be possible toCOMMENT
MEDIUM…ts/pylib/display-twister-harness/camera_shield/main.py30 # Create a template and substitute environment variablesCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/harness.py953 # Create the test instance and set the contextCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/testplan.py488 # Create a list of board roots as defined by the build system in generalCOMMENT
MEDIUM⚡scripts/pylib/zspdx/serializers/spdx3/serializer.py146 # Create a SoftwareAgent representing the automated SBOM generation processCOMMENT
MEDIUM⚡scripts/pylib/zspdx/serializers/spdx3/serializer.py149 # Create the creator agent (required by createdBy)COMMENT
MEDIUM⚡scripts/pylib/zspdx/serializers/spdx3/serializer.py155 # Create the tool (for createdUsing)COMMENT
MEDIUMscripts/west_commands/run_common.py491 # Create the RunnerConfig from runners.yaml and any command lineCOMMENT
MEDIUMscripts/west_commands/completion/west-completion.bash10# The following function is based on code from:COMMENT
MEDIUMscripts/west_commands/completion/west-completion.bash303# This function is needed for key-specific completions.COMMENT
MEDIUMscripts/west_commands/runners/mpcli.py173 # Create the configuration file and execute mpcli using itSTRING
MEDIUMscripts/ci/tags.yaml1# This file contains information on what files are associated with whichCOMMENT
MEDIUMscripts/kconfig/guiconfig.py323 # Create the root window. This initializes Tkinter and makes e.g.STRING
MEDIUMscripts/kconfig/guiconfig.py332 # Create the pane with the Kconfig tree and description textSTRING
MEDIUM⚡scripts/tests/twister/test_sidecar.py50 # Defining a Sidecar subclass with a NAME is all it takes to register it:COMMENT
MEDIUM⚡scripts/dashboard/dashboard.py843 # Create the pygments CSS file.COMMENT
MEDIUM⚡scripts/dashboard/dashboard.py850 # Create the plotly.js file if plotly was found.COMMENT
MEDIUMscripts/dashboard/dashboard.py432 # Create the memory reports if they are stale.COMMENT
MEDIUMscripts/dashboard/dashboard.py526 # Create the output location for the report files.COMMENT
MEDIUMscripts/dashboard/dashboard.py829 # Create the output directory tree.COMMENT
MEDIUMscripts/coredump/gdbstubs/arch/xtensa.py233# The following classes map registers to their index used byCOMMENT
MEDIUM…rds/infineon/cyw920829m2evk_02/support/qspi_config.cfg5# This file contains a SMIF Bank layout for use with OpenOCD.COMMENT
MEDIUMdoc/_scripts/gen_boards_catalog.py31# Initialize the Maintainers object for looking up board maintenance statusCOMMENT
MEDIUMdoc/_extensions/zephyr/application.py196 # Create the nodes.STRING
MEDIUMdoc/_extensions/zephyr/kconfig/__init__.py309 # Create a reference to the search page with the regex as a fragmentCOMMENT
MEDIUMdoc/_extensions/zephyr/domain/__init__.py185 # Create a new sectionCOMMENT
MEDIUMdoc/_extensions/zephyr/domain/__init__.py652 # Create a node for description and populate it with parsed contentSTRING
MEDIUMdoc/_extensions/zephyr/domain/__init__.py667 # Create an instance of the custom nodeSTRING
MEDIUMdoc/_extensions/zephyr/domain/__init__.py1064 # Create a reference to the first node in the listCOMMENT
Redundant / Tautological Comments87 hits · 136 pts
SeverityFileLineSnippetContext
LOWsoc/mediatek/mt8xxx/common/adsp/mtk_adsp_load.py121 self.cfg.IO_CONFIG |= 1 << 31 # Set RUNSTALL to stop coreCODE
LOWtests/misc/llext-edk/pytest/test_edk.py87 # Check if the extension was builtCOMMENT
LOW…ment/software_bill_of_materials/verify_spdx_content.py285 # Read file once for computing all hashesCOMMENT
LOW…tooth/ll/edtt/tests_scripts/_controller_tests_inner.sh77#Check if rr was requested and is availableCOMMENT
LOWtests/net/lib/lwm2m/interop/pytest/test_blockwise.py53 # Set timeout to 1 second to force Leshan to stop sendingCOMMENT
LOWtests/drivers/hwinfo/api/src/main.c19 * -# Check if to many bytes are written to the bufferCOMMENT
LOWtests/drivers/hwinfo/api/src/main.c20 * -# Check if UID is plausibleCOMMENT
LOWtests/drivers/hwinfo/api/src/main.c80 * -# Check if target buffer has been alteredCOMMENT
LOWtests/drivers/hwinfo/api/src/main.c119 * -# Check if the two readings matchCOMMENT
LOWtests/drivers/hwinfo/api/src/main.c170 * -# Check if target buffer has been alteredCOMMENT
LOW⚡tests/drivers/watchdog/wdt_basic_api/src/test_wdt.c24 * -# Check if the state was changed and test should be finished.COMMENT
LOW⚡tests/drivers/watchdog/wdt_basic_api/src/test_wdt.c25 * -# Set callback to NULL value.COMMENT
LOW⚡tests/drivers/watchdog/wdt_basic_api/src/test_wdt.c35 * -# Check if the state was changed. If so check testvalue if interruptCOMMENT
LOWtests/drivers/watchdog/wdt_basic_api/src/test_wdt.c48 * -# Check if the state was changed. If so check testvalue if interruptCOMMENT
LOWtests/bluetooth/classic/gap_c/pytest/test_gap_c.py272 await device.set_connectable(True) # Set peripheral to reject connectionsCODE
LOWtests/bluetooth/classic/gap_c/pytest/test_gap_c.py429 await device.set_connectable(True) # Set peripheral to reject connectionsCODE
LOW…arks/data_structure_perf/rbtree_perf/src/rbtree_perf.c56 * -# Check if the inserted nodes are contained in theCOMMENT
LOW…arks/data_structure_perf/rbtree_perf/src/rbtree_perf.c168 * -# Check if the recorded heights are less than the worstCOMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c73 * -# Check if an error will be seen when the ringbuffer is full.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c75 * -# Check if the data put are equal to the data got.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c77 * -# Check if an error will be seen when the ringbuffer is empty.COMMENT
LOWtests/lib/ringbuffer/src/deprecated.c263 * -# Check if data items pushed are equal to what are gotten.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c354 * -# Check if data items pushed are equal to what are gotten.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c356 * -# Check if data items pushed are equal to what are gotten.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c359 * -# Check if data items pushed are equal to what are gotten.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c410 * -# Check if data items pushed are equal to what are gotten.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c412 * -# Check if data items pushed are equal to what are gotten.COMMENT
LOW⚡tests/lib/ringbuffer/src/deprecated.c415 * -# Check if data items pushed are equal to what are gotten.COMMENT
LOWtests/lib/ringbuffer/src/deprecated.c463 * -# Check if data size pushed is equal to what are gotten.COMMENT
LOWtests/lib/ringbuffer/src/deprecated.c797 * -# Check if the address stored by ringbuf is contiguous.COMMENT
LOWtests/kernel/multiprocessing/smp/src/main.c645 * -# Check if cpu_id is not equaled to bsp_id that we pass into thread.COMMENT
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py465 # Check if modem responded immediatelyCOMMENT
LOW…s/boards/nordic/nrf_sys_event/pytest/test_reg_event.py54 # Check if RRAMC standby mode results in faster code executionCOMMENT
LOW…s/boards/nordic/nrf_sys_event/pytest/test_reg_event.py58 # Check if RRAMC waken by PPI results in faster code executionCOMMENT
LOWarch/x86/gen_mmu.py752 # Check if addresses have already been mapped.STRING
LOWscripts/checkpatch.pl2840# Check if the commit log has what seems like a diff which can confuse patchCOMMENT
LOWscripts/checkpatch.pl2997# Check if the commit log is in a possible stack dumpCOMMENT
LOWscripts/checkpatch.pl3127# Check if it's the start of a commit logCOMMENT
LOWscripts/checkpatch.pl3137# Check if there is UTF-8 in a commit log when a mail header has explicitlyCOMMENT
LOWscripts/checkpatch.pl4076 # Check if either of these lines are modified, elseCOMMENT
LOWscripts/checkpatch.pl5834 # Check if the current line is a single-line macroCOMMENT
LOWscripts/checkpatch.pl5853 # Check if previous line ends with backslash (i.e., continuation)COMMENT
LOWscripts/zephyr_module.py538 # Check if modules is not in projectsCOMMENT
LOWscripts/dts/python-devicetree/src/devicetree/edtlib.py4154 # Check if the original was hexadecimal (0x prefix, possibly with sign)COMMENT
LOWscripts/pylib/power-twister-harness/test_power.py113 # Check if the measured value is within the range of expected ± toleranceCOMMENT
LOW…/pylib/power-twister-harness/utils/UtilityFunctions.py112 # Check if we have enough peaks, otherwise raise an exceptionCOMMENT
LOW…lib/power-twister-harness/stm32l562e_dk/PowerShield.py71 # Check if the response contains the expected acknowledgmentCOMMENT
LOW…lib/power-twister-harness/stm32l562e_dk/PowerShield.py311 # Check if it's metadataCOMMENT
LOW…ster-harness/camera_shield/plugins/signature_plugin.py355 # Check if fingerprints use the same methodCOMMENT
LOWscripts/pylib/twister/twisterlib/runner.py2173 # Check if cmake package_helper script can be run in advance.COMMENT
LOWscripts/pylib/twister/twisterlib/harness.py933 # Check if we started running a new testCOMMENT
LOWscripts/pylib/twister/twisterlib/harness.py960 # Check if the test run finishedCOMMENT
LOWscripts/pylib/twister/twisterlib/harness.py981 # Check if the individual test finishedCOMMENT
LOWscripts/pylib/twister/twisterlib/handlers.py499 # Set capture_coverage to True to indicate that right afterCOMMENT
LOWscripts/west_commands/run_common.py167 # Check if the build directory is part of a sysbuild (multi-image build).COMMENT
LOW⚡scripts/west_commands/run_common.py363 # Check if there are any commands that should only be ran once per boardCOMMENT
LOW⚡scripts/west_commands/run_common.py371 # Check if board is hereCOMMENT
LOW⚡scripts/west_commands/run_common.py375 # Check if there is a matching board for this regexCOMMENT
LOW⚡scripts/west_commands/run_common.py383 # Check if this is a first or last runCOMMENT
LOWscripts/west_commands/run_common.py424 # Check if board is hereCOMMENT
27 more matches not shown…
Unused Imports121 hits · 119 pts
SeverityFileLineSnippetContext
LOWsoc/sifli/sf32/gen_ftab.py11CODE
LOWsoc/silabs/silabs_siwx91x/siwx91x_clock_tree_report.py34CODE
LOWtests/misc/dtdoctor/e2e/conftest.py61CODE
LOWtests/net/lib/lwm2m/interop/pytest/leshan.py11CODE
LOWtests/net/conformance/dhcpv4/pytest/conftest.py15CODE
LOWtests/net/conformance/ndp/pytest/conftest.py15CODE
LOWtests/net/conformance/mdns/pytest/conftest.py15CODE
LOWtests/net/conformance/tcp/pytest/conftest.py15CODE
LOWtests/net/conformance/dhcpv4_server/pytest/conftest.py15CODE
LOWtests/net/conformance/igmp/pytest/conftest.py15CODE
LOWtests/net/conformance/arp/pytest/conftest.py15CODE
LOWtests/net/conformance/mqtt/pytest/conftest.py15CODE
LOWtests/net/conformance/dns/pytest/conftest.py15CODE
LOWtests/net/conformance/mld/pytest/conftest.py15CODE
LOWtests/net/conformance/coap/pytest/conftest.py15CODE
LOWtests/net/conformance/sntp/pytest/conftest.py15CODE
LOWtests/net/conformance/dnssd/pytest/conftest.py15CODE
LOWtests/boot/with_mcumgr/pytest/test_upgrade.py4CODE
LOW…oot/mcuboot_multiple_keys/pytest/test_multiple_keys.py19CODE
LOW…sys/testsuite/no_self_build/pytest/test_hello_world.py4CODE
LOW…ts/bluetooth/classic/rfcomm_c/pytest/rfcomm_utility.py5CODE
LOW…ts/bluetooth/classic/rfcomm_s/pytest/rfcomm_utility.py5CODE
LOW…mples/subsys/pmci/mctp/usb_endpoint/usb_host_tester.py11CODE
LOW…ds/nordic/coresight_stm_shell/pytest/test_stm_shell.py11CODE
LOW…flite-micro/magic_wand/train/data_augmentation_test.py20CODE
LOW…flite-micro/magic_wand/train/data_augmentation_test.py21CODE
LOW…flite-micro/magic_wand/train/data_augmentation_test.py22CODE
LOW…odules/tflite-micro/magic_wand/train/data_load_test.py20CODE
LOW…odules/tflite-micro/magic_wand/train/data_load_test.py21CODE
LOW…odules/tflite-micro/magic_wand/train/data_load_test.py22CODE
LOW…dules/tflite-micro/magic_wand/train/data_split_test.py19CODE
LOW…dules/tflite-micro/magic_wand/train/data_split_test.py20CODE
LOW…dules/tflite-micro/magic_wand/train/data_split_test.py21CODE
LOW…les/tflite-micro/magic_wand/train/data_prepare_test.py19CODE
LOW…les/tflite-micro/magic_wand/train/data_prepare_test.py20CODE
LOW…les/tflite-micro/magic_wand/train/data_prepare_test.py21CODE
LOW…les/tflite-micro/magic_wand/train/data_split_person.py31CODE
LOW…les/tflite-micro/magic_wand/train/data_split_person.py32CODE
LOW…les/tflite-micro/magic_wand/train/data_split_person.py33CODE
LOW…es/modules/tflite-micro/magic_wand/train/train_test.py19CODE
LOW…es/modules/tflite-micro/magic_wand/train/train_test.py20CODE
LOW…es/modules/tflite-micro/magic_wand/train/train_test.py21CODE
LOW…es/modules/tflite-micro/magic_wand/train/data_split.py30CODE
LOW…es/modules/tflite-micro/magic_wand/train/data_split.py31CODE
LOW…es/modules/tflite-micro/magic_wand/train/data_split.py32CODE
LOW…flite-micro/magic_wand/train/data_split_person_test.py19CODE
LOW…flite-micro/magic_wand/train/data_split_person_test.py20CODE
LOW…flite-micro/magic_wand/train/data_split_person_test.py21CODE
LOWsamples/modules/tflite-micro/magic_wand/train/train.py20CODE
LOWsamples/modules/tflite-micro/magic_wand/train/train.py21CODE
LOWsamples/modules/tflite-micro/magic_wand/train/train.py22CODE
LOW…les/tflite-micro/magic_wand/train/data_augmentation.py20CODE
LOW…les/tflite-micro/magic_wand/train/data_augmentation.py21CODE
LOW…les/tflite-micro/magic_wand/train/data_augmentation.py22CODE
LOW…/modules/tflite-micro/magic_wand/train/data_prepare.py28CODE
LOW…/modules/tflite-micro/magic_wand/train/data_prepare.py29CODE
LOW…/modules/tflite-micro/magic_wand/train/data_prepare.py30CODE
LOW…les/modules/tflite-micro/magic_wand/train/data_load.py20CODE
LOW…les/modules/tflite-micro/magic_wand/train/data_load.py21CODE
LOW…les/modules/tflite-micro/magic_wand/train/data_load.py22CODE
61 more matches not shown…
Modern Structural Boilerplate112 hits · 113 pts
SeverityFileLineSnippetContext
LOWtests/misc/llext-edk/pytest/test_edk.py16logger = logging.getLogger(__name__)CODE
LOWtests/net/wifi/interop/pytest/conftest.py30logger = logging.getLogger(__name__)CODE
LOWtests/net/wifi/interop/pytest/test_wifi.py22logger = logging.getLogger(__name__)CODE
LOWtests/net/lib/lwm2m/interop/pytest/test_nosec.py24logger = logging.getLogger(__name__)CODE
LOWtests/net/lib/lwm2m/interop/pytest/test_blockwise.py23logger = logging.getLogger(__name__)CODE
LOWtests/net/lib/lwm2m/interop/pytest/conftest.py28logger = logging.getLogger(__name__)CODE
LOWtests/net/lib/lwm2m/interop/pytest/test_portfolio.py25logger = logging.getLogger(__name__)CODE
LOWtests/net/lib/lwm2m/interop/pytest/test_lwm2m.py30logger = logging.getLogger(__name__)CODE
LOWtests/net/lib/lwm2m/interop/pytest/test_bootstrap.py24logger = logging.getLogger(__name__)CODE
LOW…lib/mdns_responder_offload/pytest/test_mdns_offload.py27logger = logging.getLogger(__name__)CODE
LOW…ocket/tls_configurations/pytest/test_app_vs_openssl.py13logger = logging.getLogger(__name__)CODE
LOWtests/net/conformance/ttcn3_runner.py25logger = logging.getLogger(__name__)CODE
LOWtests/drivers/can/host/pytest/conftest.py17logger = logging.getLogger(__name__)CODE
LOWtests/drivers/can/host/pytest/can_shell.py17logger = logging.getLogger(__name__)CODE
LOWtests/drivers/can/host/pytest/can_shell.py69 def _set_mode(self, mode: str) -> None:CODE
LOWtests/drivers/can/host/pytest/test_can.py18logger = logging.getLogger(__name__)CODE
LOWtests/boot/with_mcumgr/pytest/test_upgrade.py15logger = logging.getLogger(__name__)CODE
LOWtests/subsys/tracing/ctf_trace/pytest/test_ctf_trace.py16logger = logging.getLogger(__name__)CODE
LOW…sys/testsuite/no_self_build/pytest/test_hello_world.py10logger = logging.getLogger(__name__)CODE
LOW…subsys/testsuite/multidut/pytest/test_multiple_duts.py10logger = logging.getLogger(__name__)CODE
LOW…tive_mount_cmdline/pytest/test_native_mount_cmdline.py20logger = logging.getLogger(__name__)CODE
LOW…s/logging/dictionary/pytest/test_logging_dictionary.py22logger = logging.getLogger(__name__)CODE
LOWtests/subsys/debug/gdbstub/pytest/test_gdbstub.py18logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/shell/pytest/test_demo.py11logger = logging.getLogger(__name__)CODE
LOW…/bluetooth/classic/l2cap_c/pytest/test_l2cap_common.py14logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/rfcomm_c/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOW…sts/bluetooth/classic/rfcomm_c/pytest/test_rfcomm_c.py21logger = logging.getLogger(__name__)CODE
LOW…ts/bluetooth/classic/rfcomm_c/pytest/rfcomm_utility.py73logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/bumble/common/controllers.py18logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/bumble/common/bt_sim_link.py13logger = logging.getLogger(__name__)CODE
LOW…s/bluetooth/classic/bumble/common/bt_sim_controller.py19logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/gap_c/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/gap_c/pytest/test_gap_c.py16logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/sdp_c/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/sdp_c/pytest/test_sdp.py42logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_sc_only/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_sc_only/pytest/test_smp.py33logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/a2dp_sink/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/a2dp_sink/pytest/test_a2dp.py62logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_io_cap/pytest/test_smp.py41logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/rfcomm_s/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOW…ts/bluetooth/classic/rfcomm_s/pytest/rfcomm_utility.py72logger = logging.getLogger(__name__)CODE
LOW…sts/bluetooth/classic/rfcomm_s/pytest/test_rfcomm_s.py21logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_bonding/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_bonding/pytest/test_smp.py25logger = logging.getLogger(__name__)CODE
LOW…s/bluetooth/classic/smp_key_persist/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOW…s/bluetooth/classic/smp_key_persist/pytest/test_smp.py30logger = logging.getLogger(__name__)CODE
LOW…/bluetooth/classic/l2cap_s/pytest/test_l2cap_common.py14logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/a2dp_source/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/a2dp_source/pytest/test_a2dp.py61logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/gap_s/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/gap_s/pytest/test_gap_s.py16logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_general/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/smp_general/pytest/test_smp.py56logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/sdp_s/pytest/conftest.py12logger = logging.getLogger(__name__)CODE
LOWtests/bluetooth/classic/sdp_s/pytest/test_sdp.py28logger = logging.getLogger(__name__)CODE
LOW…memory_region_flags/pytest/test_memory_region_flags.py16logger = logging.getLogger(__name__)CODE
LOWtests/kernel/timer/timer_behavior/pytest/test_timer.py11logger = logging.getLogger(__name__)CODE
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py61logger = logging.getLogger(__name__)CODE
52 more matches not shown…
AI Slop Vocabulary41 hits · 89 pts
SeverityFileLineSnippetContext
MEDIUMdts/bindings/usb/uac2/zephyr,uac2-feature-unit.yaml9# channel(s). The "not-present" value is allowed to facilitate having controlsCOMMENT
LOWsoc/mediatek/mt8xxx/common/adsp/gen_img.py13# term we should probably just use rimage, but that's significantlyCOMMENT
MEDIUMtests/bsim/bluetooth/audio/tests.yaml14 # Note: By now twister's bsim(script) harness does not parallelize tests scriptsCOMMENT
MEDIUMtests/net/fuzz/dhcpv4/server/tests.yaml14 # The harness is driven by libFuzzer, which runs until it is told toCOMMENT
MEDIUMtests/subsys/debug/zassert/src/deprecated.c10#include "harness.h"COMMENT
MEDIUMtests/subsys/debug/zassert/src/harness.c12#include "harness.h"COMMENT
MEDIUMtests/subsys/debug/zassert/src/main.c10#include "harness.h"COMMENT
MEDIUMtests/subsys/debug/zassert/src/default_module.c11#include "harness.h"COMMENT
MEDIUMtests/subsys/debug/zassert/src/inline.c10#include "harness.h"COMMENT
MEDIUMtests/modules/tf-m/regression/tests.yaml20 # strips ANSI sequences, which is why it looks clean there. But harness.handle() receivesCOMMENT
MEDIUMsamples/sensor/sensor_shell/tests.yaml29 # The interrupt-driven shell cannot echo the next command within the harness'sCOMMENT
LOWscripts/dts/python-devicetree/setup.py18 # TBD, just use these for now.STRING
MEDIUMscripts/dts/python-devicetree/src/devicetree/dtlib.py2194 # Hacky but robust way to avoid double-escaping any '\' spit out bySTRING
MEDIUMscripts/net/run-conformance-tests.sh20# the harness serialises them with a lock keyed on the effective user id. ACOMMENT
MEDIUMscripts/net/run-conformance-tests.sh61# The same three traits the pytest harness reads, from the same file, so thatCOMMENT
MEDIUMscripts/net/run-conformance-tests.sh62# the script and the harness cannot disagree about what a suite needs.COMMENT
MEDIUMscripts/pylib/build_helpers/domains.py89 # Now that self._domains has been initialized, we can leverageSTRING
MEDIUM…ster-harness/camera_shield/plugins/signature_plugin.py44 """Generate a robust signature for a given frame using multiple techniquesSTRING
MEDIUMscripts/pylib/twister/twisterlib/runner.py1701 # a harness that executes the test itself, or the handler -- and tornCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/runner.py1721 # If the harness does not handle execution itself, delegate toCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/harness.py39# failing. Shared by every report-based harness (see ReportHarness.run).COMMENT
MEDIUMscripts/pylib/twister/twisterlib/harness.py734 # Save test parameters to YAML file for pytest-harnessCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/constants.py48# fatal error (a crash), shared between the harness and the handlers soCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/handlers.py303 # A harness status means the run reached a verdict; aCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/handlers.py1363 # Need to wait for harness to finish processingCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/testplan.py1461 # keep path to required build directory to use it in harness moduleCOMMENT
MEDIUMscripts/pylib/twister/twisterlib/testsuite.py252 # runtime from the harness output.COMMENT
MEDIUMscripts/pylib/twister/twisterlib/sidecars/bumble.py175 # Device 0 runs under the harness: inject its --bt-dev and argumentsCOMMENT
LOWscripts/west_commands/sign.py324 # separate intermediates to use. Other platforms just useCOMMENT
MEDIUMscripts/ci/check_compliance.py2138 # Only scan text files for now, in the future we may want to leverage REUSE standard'sCOMMENT
LOWscripts/kconfig/guiconfig.py941 # just use whatever prompt we can find for itSTRING
LOWscripts/kconfig/kconfiglib.py3139 # No conditional clause, just return the main expressionSTRING
LOWscripts/kconfig/kconfiglib.py3470 # EQUAL, UNEQUAL, etc., so we can just use the token directlySTRING
LOWscripts/kconfig/kconfiglib.py6706 # to _check_dep_loop_sym(). We just return immediately.STRING
LOWscripts/kconfig/menuconfig.py2369 # information dialog just return, to avoid a confusing recursive invocationSTRING
LOWscripts/kconfig/menuconfig.py3001 # just use whatever prompt we can find for itSTRING
MEDIUMscripts/tests/twister/test_runner.py2703 # The harness delegates to the handler: the test runs, sidecar wraps it.STRING
MEDIUMscripts/tests/twister/test_runner.py2705 # The harness executes the test itself: the sidecar must still be set upSTRING
MEDIUMscripts/release/bug_bash.py128 # the PyGithub API and v3 REST API do not facilitate 'until'COMMENT
MEDIUMdoc/package-lock.json1138 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMdoc/develop/twister/sample_blackbox_test.py51 # * Control whether to only build or build and run aforementioned testsCOMMENT
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtests/net/lib/lwm2m/interop/pytest/leshan.py38 Handle the response received from the server. Parameters: - response: The response object receSTRING
HIGHscripts/pylib/zspdx/model.py46Return a relationship type from either an enum value or raw SPDX string. Args: value: Existing enumSTRING
HIGHscripts/pylib/zspdx/model.py88Classify a raw external reference locator. Args: locator: Raw external reference string from moduleSTRING
HIGHscripts/pylib/zspdx/model.py186Add an external reference. Args: reference: Structured external reference or raw locator string. RaSTRING
HIGHscripts/pylib/zspdx/model.py468Add a relationship and attach it to the source element. Cross-document relationships automatically register theSTRING
HIGHdoc/_extensions/zephyr/manifest_projects_table.py50Return URL for a revision. Notes: Revision format is assumed to be a git hash or a tag. URL is STRING
HIGHdoc/_extensions/zephyr/doxyrunner.py83Obtain the value of a Doxygen option. Args: doxyfile: Content of the Doxyfile. option: Option to beSTRING
HIGHdoc/_extensions/zephyr/doxyrunner.py142Process Doxyfile. Notes: OUTPUT_DIRECTORY, WARN_FORMAT and QUIET are overridden to satisfy extensioSTRING
Verbosity Indicators22 hits · 40 pts
SeverityFileLineSnippetContext
LOWdrivers/mbox/mbox_renesas_rz_mhu.c138 * blocking indefinitely, we need to check if the remote clears the messageCOMMENT
LOWdrivers/flash/flash_stm32f7x.c221 * In case of 24 sectors we need to check if the SoC is runningCOMMENT
LOWdrivers/dma/dma_intel_adsp_gpdma.c177 /* We need to power-up device before using it. So in case of a GPDMA, we need to check ifCOMMENT
LOWinclude/zephyr/drivers/counter.h1353 * The purpose of this function is to return the interruptCOMMENT
LOWinclude/zephyr/drivers/uart.h675 * The purpose of this function is:COMMENT
LOWinclude/zephyr/drivers/gpio.h2053 * The purpose of this function is to return the interruptCOMMENT
LOW⚡include/zephyr/drivers/bluetooth/hci_nxp_setup.h38 * // Step 1: Disable Bluetooth stackCOMMENT
LOW⚡include/zephyr/drivers/bluetooth/hci_nxp_setup.h45 * // Step 2: Trigger Independent ResetCOMMENT
LOW⚡include/zephyr/drivers/bluetooth/hci_nxp_setup.h52 * // Step 3: Re-enable Bluetooth stackCOMMENT
LOWsubsys/net/ip/net_if.c3913 * For the VPN interface, we need to check ifCOMMENT
LOWsubsys/net/ip/net_if.c4817 * For the VPN interface, we need to check if the IPv4COMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py518 # Step 0: Check and enable WDSI indicationsCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py522 # Step 1: Send AT+WDSD command using helperCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py524 # Step 2: Wait for XMODEM ready signal from modemCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py532 # Step 3: Perform XMODEM-1K transferCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py537 # Step 4: Wait for OK and +WDSI: 3COMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py547 # Step 5: Send AT+WDSR=4 to start installationCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py563 # Step 6: Wait for installation result using helperCOMMENT
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py405 # Step 1: Query WDSI range with AT+WDSI=?COMMENT
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py421 # Step 2: Set WDSI to maximum value to enable all indicationsCOMMENT
LOW⚡scripts/tests/twister_blackbox/test_runner.py102 # Step 1: buildCOMMENT
LOWscripts/tests/twister_blackbox/test_runner.py113 # Step 2: test onlyCOMMENT
Slop Phrases14 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMdts/bindings/gpio/nxp,siul2-gpio.yaml34 as the interrupt controller for the corresponding GPIO. It's worth noting thatCODE
MEDIUMdrivers/display/display_st7796s.c118 * For RGB565, Blue is placed in byte 0 as mentioned earlier.COMMENT
MEDIUMdrivers/counter/counter_smartbond_timer.c82 * during sleep by PDC. It's worth noting that during sleep the clock source ofCOMMENT
MEDIUMinclude/zephyr/devicetree.h7 * Not a generated file. Feel free to modify.COMMENT
MEDIUMtests/bsim/bluetooth/host/misc/sample_test/src/main.c46 * Here we just print a dummy string for demonstration purposes.COMMENT
MEDIUMsamples/net/sockets/txtime/src/main.c551 /* The VLAN in this example is created for demonstration purposes.COMMENT
MEDIUMsamples/userspace/prod_consumer/src/sample_driver_foo.c15 * Fake sample driver for demonstration purposesCOMMENT
MEDIUMsamples/userspace/prod_consumer/src/sample_driver_foo.c17 * This is fake driver for demonstration purposes, showing how an applicationCOMMENT
MEDIUMsamples/userspace/prod_consumer/src/sample_driver_foo.c83 /* Just for demonstration purposes; the data payload is full of junk */COMMENT
MEDIUMsamples/userspace/prod_consumer/src/app_b.c31 * This is just for demonstration purposes, processor_thread could just asCOMMENT
MEDIUMsamples/userspace/prod_consumer/src/app_syscall.c16 * 42. This is just for demonstration purposes to show how syscalls can beCOMMENT
LOWscripts/dts/gen_defines.py1028 # make sure to update the doxygen string for that macro, and makeSTRING
LOWscripts/dts/python-devicetree/src/devicetree/edtlib.py2561 # If you change this, make sure to update __deepcopy__() too,COMMENT
LOWscripts/west_commands/spdx.py40 # If you update these options, make sure to keep the docs inCOMMENT
Structural Annotation Overuse17 hits · 30 pts
SeverityFileLineSnippetContext
LOW⚡include/zephyr/drivers/bluetooth/hci_nxp_setup.h38 * // Step 1: Disable Bluetooth stackCOMMENT
LOW⚡include/zephyr/drivers/bluetooth/hci_nxp_setup.h45 * // Step 2: Trigger Independent ResetCOMMENT
LOW⚡include/zephyr/drivers/bluetooth/hci_nxp_setup.h52 * // Step 3: Re-enable Bluetooth stackCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py518 # Step 0: Check and enable WDSI indicationsCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py522 # Step 1: Send AT+WDSD command using helperCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py524 # Step 2: Wait for XMODEM ready signal from modemCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py532 # Step 3: Perform XMODEM-1K transferCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py537 # Step 4: Wait for OK and +WDSI: 3COMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py547 # Step 5: Send AT+WDSR=4 to start installationCOMMENT
LOW⚡…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py563 # Step 6: Wait for installation result using helperCOMMENT
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py405 # Step 1: Query WDSI range with AT+WDSI=?COMMENT
LOW…m/at_client/script/hl78xx_firmware_update_xmodem_1k.py421 # Step 2: Set WDSI to maximum value to enable all indicationsCOMMENT
LOWscripts/ci/test_plan_v2.py1699 # Step 1 - find vendor dtsi files that define the peripheralCOMMENT
LOWscripts/ci/test_plan_v2.py1722 # Step 2 - find board files that #include any of those dtsi filesCOMMENT
LOWscripts/ci/test_plan_v2.py1755 # Step 3 - extract board identifiers from .yaml filesCOMMENT
LOW⚡scripts/tests/twister_blackbox/test_runner.py102 # Step 1: buildCOMMENT
LOWscripts/tests/twister_blackbox/test_runner.py113 # Step 2: test onlyCOMMENT
AI Structural Patterns24 hits · 23 pts
SeverityFileLineSnippetContext
LOWsoc/silabs/silabs_siwx91x/siwx91x_isp_prepare.py63CODE
LOWarch/x86/gen_idt.py74CODE
LOWarch/x86/gen_idt.py83CODE
LOWscripts/dts/python-devicetree/src/devicetree/edtlib.py2499CODE
LOW…/pylib/power-twister-harness/utils/UtilityFunctions.py44CODE
LOWscripts/west_commands/runners/jlink.py51CODE
LOWscripts/west_commands/runners/openocd.py55CODE
LOWscripts/west_commands/runners/pyocd.py19CODE
LOWscripts/west_commands/runners/pyocd.py133CODE
LOWscripts/west_commands/runners/teensy.py39CODE
LOWscripts/west_commands/runners/xsdb.py41CODE
LOWscripts/west_commands/runners/stm32flash.py19CODE
LOWscripts/west_commands/runners/nrfutil.py18CODE
LOWscripts/west_commands/runners/intel_cyclonev.py23CODE
LOWscripts/west_commands/runners/canopen_program.py49CODE
LOWscripts/west_commands/runners/linkserver.py24CODE
LOWscripts/west_commands/runners/nrf_common.py57CODE
LOWscripts/west_commands/runners/lldbac.py17CODE
LOWscripts/west_commands/runners/probe_rs.py14CODE
LOWscripts/west_commands/runners/rfp.py40CODE
LOWscripts/west_commands/runners/nrfjprog.py20CODE
LOWscripts/tests/twister/conftest.py44CODE
LOWscripts/tests/twister/test_runner.py676CODE
LOWscripts/logging/dictionary/parserlib.py58CODE
Example Usage Blocks11 hits · 16 pts
SeverityFileLineSnippetContext
LOW…hip/pic32cm_sg_gc/microchip,pic32cm-sg-gc-dfll48m.yaml149 #Usage example:COMMENT
LOW…hip/pic32cm_sg_gc/microchip,pic32cm-sg-gc-xosc32k.yaml123 #Usage example:COMMENT
LOW…rochip/pic32cm_sg_gc/microchip,pic32cm-sg-gc-dpll.yaml128 #Usage example:COMMENT
LOW…rochip/pic32cm_sg_gc/microchip,pic32cm-sg-gc-xosc.yaml130 #Usage example:COMMENT
LOW…/pic32cm_sg_gc/microchip,pic32cm-sg-gc-gclkperiph.yaml68 #Usage example:COMMENT
LOW…crochip/pic32cm_sg_gc/microchip,pic32cm-sg-gc-rtc.yaml33 #Usage example:COMMENT
LOW…/pic32cm_sg_gc/microchip,pic32cm-sg-gc-mclkperiph.yaml45 #Usage example:COMMENT
LOW…/pic32cm_sg_gc/microchip,pic32cm-sg-gc-mclkdomain.yaml37 #Usage example:COMMENT
LOW…hip/pic32cm_sg_gc/microchip,pic32cm-sg-gc-gclkgen.yaml117 #Usage example:COMMENT
LOW…ost/gatt/notify_multiple/test_scripts/_notify-debug.sh5# Usage:COMMENT
LOWscripts/checkstack.pl19# Usage:COMMENT
Hallucination Indicators2 hits · 15 pts
SeverityFileLineSnippetContext
CRITICALscripts/dashboard/static/js/dts.js111 let nodeId = event.target.attributes.href.value.substring(1);CODE
CRITICALdoc/_extensions/zephyr/application.py61 self.state.document.settings.env.note_dependency(__file__)STRING
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/snippets.py62 def process_data(self, pathobj: Path, snippet_data: dict, sysbuild: bool):CODE