AI Slop Code RIsk Monitor

espressif/esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.

5.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for espressif/esp-idf, a C project with 19,202 GitHub stars. SynthScan examined 5,072,835 lines of code across 15668 source files, recording 37039 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 5.8 (Moderate pattern signal); it is not an authorship estimate.

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

5.8
Adjusted Signal
5.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
19.2K
Stars
C
Language
5.1M
Lines of Code
15.7K
Files
37.0K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 24.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 2.4/100 · LOW

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

PR Review Velocity Impact 31.2/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 117MEDIUM 181LOW 36741

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 37039 distinct pattern matches across 23 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 Block34604 hits · 26122 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt141 # Fix is not clear yet.COMMENT
LOWtranslate_config.yml1# Translation config (TCF) for auto-translate / GitLab CICOMMENT
LOW.vale.ini1###################COMMENT
LOW.vale.ini21# The path value may be absolute or relative to this configuration file.COMMENT
LOW.vale.ini41# https://vale.sh/docs/topics/packages/COMMENT
LOW.vale.ini61COMMENT
LOW.gitlab/ci/common.yml41 # and clone with a --depth=1COMMENT
LOW.gitlab/ci/common.yml81 # Set this variable to repository name of a Python tool you wish to install and test in the context of ESP-IDF CI.COMMENT
LOW.gitlab/ci/rules.yml241 when: manualCOMMENT
LOW.gitlab/ci/build.yml101# Generates a separate child-pipeline YAML for the cmakev2 build system.COMMENT
LOWtools/split_paths_by_spaces.py1#!/usr/bin/env pythonCOMMENT
LOWtools/python_version_checker.py1#!/usr/bin/env pythonCOMMENT
LOWtools/gen_esp_err_to_name.py1#!/usr/bin/env pythonCOMMENT
LOWtools/err_codes_to_rst.py1# SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTDCOMMENT
LOWtools/idf.py1#!/usr/bin/env pythonCOMMENT
LOWtools/idf_tools.py1#!/usr/bin/env pythonCOMMENT
LOWtools/mkdfu.py1#!/usr/bin/env pythonCOMMENT
LOWtools/err_codes_extract.py1# SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTDCOMMENT
LOWtools/bsasm.py81# they cannot contain commas. Instruction bundles consist of multipleCOMMENT
LOWtools/bsasm.py101# elsewhere.COMMENT
LOWtools/set-submodules-to-github.sh1#!/usr/bin/env bashCOMMENT
LOWtools/idf_extra_components.yml1# This file defines extra dependencies for ESP-IDFCOMMENT
LOWtools/ldgen/ldgen/generation.py81COMMENT
LOWtools/ldgen/test/test_generation.py381 flash_text[0].exclusions.add(CROUTINE)COMMENT
LOWtools/ldgen/test/test_generation.py441 # Test a mapping entry that differs from the default for a symbolCOMMENT
LOWtools/ldgen/test/test_generation.py501 [],COMMENT
LOWtools/ldgen/test/test_generation.py541COMMENT
LOWtools/ldgen/test/test_generation.py621 # libfreertos.a:croutine (.text.prvCheckPendingReadyList .literal.prvCheckPendingReadyList) BCOMMENT
LOWtools/ldgen/test/test_generation.py681 # libfreertos.a:croutine text -> flash, rodata -> flashCOMMENT
LOWtools/ldgen/test/test_generation.py781[mapping:test]COMMENT
LOWtools/ldgen/test/test_generation.py881COMMENT
LOWtools/ldgen/test/test_generation.py941 #COMMENT
LOWtools/ldgen/test/test_generation.py1041 # *(EXCLUDE_FILE(libfreertos.a:croutine libfreertos.a:timers) .rodata ...) A, BCOMMENT
LOWtools/ldgen/test/test_generation.py1061 # libfreertos.a:timers (.text .text.prvCheckForValidListAndQueue ...) D.2COMMENT
LOWtools/ldgen/test/test_generation.py1241COMMENT
LOWtools/ldgen/test/test_generation.py1521 def test_flags_basics(self):COMMENT
LOWtools/ldgen/test/test_generation.py1661 #COMMENT
LOWtools/ldgen/test/test_generation.py1761 # Command for #2, post A.2COMMENT
LOWtools/idf_py_actions/hints.yml1# -COMMENT
LOWtools/idf_py_actions/hints.yml21# -COMMENT
LOWtools/ble/lib_ble_client.py1#!/usr/bin/env pythonCOMMENT
LOWtools/ble/lib_gap.py1#!/usr/bin/env pythonCOMMENT
LOWtools/ble/lib_gatt.py1#!/usr/bin/env pythonCOMMENT
LOW…_bridge/demos/opencode/src/opencode-ble-uart-bridge.ts81 status,COMMENT
LOW…_bridge/demos/opencode/src/opencode-ble-uart-bridge.ts101 let deviceTypeProbed = falseCOMMENT
LOWtools/esp_app_trace/gcov_capture.py1#!/usr/bin/env pythonCOMMENT
LOWtools/esp_app_trace/gcov_capture.py21# baudrate=dut.app.sdkconfig.get('APPTRACE_UART_BAUDRATE'),COMMENT
LOWtools/esp_app_trace/gcov_capture.py41# # Wait for multiple dumpsCOMMENT
LOWtools/ci/check_soc_struct_headers.py1#!/usr/bin/env pythonCOMMENT
LOWtools/ci/check_copyright_config.yaml1# This file configures the check_copyright pre-commit hookCOMMENT
LOWtools/ci/check_callgraph.py201 # Symbol file names (from ELF debug info) are short source file names, without path: "cpu_start.c".COMMENT
LOWtools/ci/multirun_with_pyenv.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/check_public_headers.py221 # - static assertsCOMMENT
LOWtools/ci/metrics/size_metrics/size_metrics_config.yml1# Size Metrics ConfigurationCOMMENT
LOWtools/ci/metrics/size_metrics/size_metrics_config.yml21# - libbar.aCOMMENT
LOWtools/ci/python_packages/idf_http_server_test/test.py1#!/usr/bin/env pythonCOMMENT
LOWtools/ci/python_packages/idf_http_server_test/test.py21# - Register separate handlers for /hello, /hello/type_html. AlsoCOMMENT
LOWtools/ci/python_packages/idf_http_server_test/test.py41#COMMENT
LOWtools/ci/python_packages/idf_http_server_test/test.py61# - GET on /hello (should return 'Hello World')COMMENT
LOWtools/ci/python_packages/idf_http_server_test/test.py81# client that left the network halfway through a request)COMMENT
34544 more matches not shown…
Hyper-Verbose Identifiers1341 hits · 1314 pts
SeverityFileLineSnippetContext
LOWconftest.py101def get_pipeline_commit_sha_by_pipeline_id(pipeline_id: str) -> str | None:CODE
LOWconftest.py468 def _attach_log_url_to_xml_attribute(log_file_path: str) -> str:CODE
LOWconftest.py519def log_minimum_free_heap_size(dut: IdfDut, config: str, idf_path: str) -> t.Callable[..., None]:CODE
LOWconftest.py595def pytest_runtest_makereport(item, call): # type: ignoreCODE
LOW⚡tools/split_paths_by_spaces.py254 def test_split_paths_absolute(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py257 def test_split_paths_absolute_spaces(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py266 def test_split_paths_absolute_relative(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py269 def test_split_paths_relative(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py272 def test_split_paths_absolute_spaces_relative(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py275 def test_split_paths_ambiguous(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py282 def test_split_paths_nonexistent(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py285 def test_split_paths_extra_whitespace(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py292 def test_split_paths_warnings(self) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py338 def split_paths_concatenated_base(self, paths_to_concatentate: list[str], paths_existing: list[str]) -> list[str]:STRING
LOW⚡tools/split_paths_by_spaces.py348 def check_paths_concatenated_ambiguous(self, *args: str, additional_paths_exist: list[str] | None = None) -> None:STRING
LOW⚡tools/split_paths_by_spaces.py357 def check_paths_concatenated_nonexistent(self, *args: str, additional_paths_exist: list[str] | None = None) -> None:STRING
LOW⚡tools/idf.py1457def _windows_unicode_satisfactory() -> bool:CODE
LOWtools/idf.py483 def _emit_cmake_custom_targets_help_panel(formatter: RichHelpFormatter, targets: list[tuple[str, str]]) -> None:CODE
LOWtools/idf.py667 def _uses_machine_readable_stdout(self, task: Task) -> bool:CODE
LOWtools/idf.py911 def configure_ready_for_cmake_help() -> bool:CODE
LOWtools/idf.py1004 def load_cli_extension_from_dir(ext_dir: str) -> Any | None:CODE
LOWtools/idf.py1029 def load_cli_extensions_from_entry_points() -> list[tuple[str, Any]]:CODE
LOWtools/idf.py1081 def _path_relative_to_project(path: str, project_dir: str) -> str:CODE
LOWtools/idf.py1095 def _get_trusted_names_from_lock(lock_path: str) -> set[str]:CODE
LOWtools/idf.py1134 def _get_trusted_names_from_root_state(state_path: str) -> set[str]:CODE
LOWtools/idf.py1157 def _resolve_idf_managed_state_dir() -> str | None:CODE
LOWtools/idf.py1188 def _build_rich_help_command_groups(CODE
LOWtools/idf_tools.py176def print_hints_on_download_error(err: str) -> None:CODE
LOWtools/idf_tools.py286 def detect_linux_arm_platform(supposed_platform: str | None) -> str | None:CODE
LOWtools/idf_tools.py786 def get_download_for_platform(self, platform_name: str | None) -> IDFToolDownload | None:STRING
LOWtools/idf_tools.py1081 def is_supported_for_any_of_targets(self, targets: list[str]) -> bool:STRING
LOWtools/idf_tools.py1117 def get_preferred_installed_version(self) -> str | None:STRING
LOWtools/idf_tools.py1602 def check_feature_requirements_files(self) -> None:STRING
LOWtools/idf_tools.py1838def get_python_exe_and_subdir() -> tuple[str, str]:STRING
LOWtools/idf_tools.py1980def feature_to_requirements_path(feature: str) -> str:STRING
LOWtools/idf_tools.py1987def process_and_check_features(idf_env_obj: IDFEnv, features_str: str) -> list[str]:STRING
LOWtools/idf_tools.py2016def get_all_targets_from_tools_json() -> list[str]:STRING
LOWtools/idf_tools.py2051def add_variables_to_deactivate_file(args: list[str], new_idf_vars: dict[str, Any]) -> str:STRING
LOWtools/idf_tools.py2078def print_deactivate_statement(args: list[str]) -> None:STRING
LOWtools/idf_tools.py2107def get_export_format_and_separator(args: list[str]) -> tuple[str, str]:STRING
LOWtools/idf_tools.py2114def get_unset_format_and_separator(args: list[str]) -> tuple[str, str]:STRING
LOWtools/idf_tools.py2228def handle_recommended_version_to_use(STRING
LOWtools/idf_tools.py2249def handle_supported_or_deprecated_version(tool: IDFTool, tool_name: str) -> None:STRING
LOWtools/idf_tools.py2337def check_python_venv_compatibility(idf_python_env_path: str, idf_version: str) -> None:STRING
LOWtools/idf_tools.py2450def get_idf_download_url_apply_mirrors(args: Any = None, download_url: str = IDF_DL_URL) -> str:STRING
LOWtools/idf_tools.py2491def apply_github_assets_option(idf_download_url: str) -> str:STRING
LOWtools/idf_tools.py2516def get_tools_spec_and_platform_info(STRING
LOWtools/idf_tools.py2746def action_install_python_env(args): # type: ignoreSTRING
LOWtools/idf_tools.py2869def action_check_python_dependencies(args): # type: ignoreSTRING
LOWtools/idf_tools.py3273def action_check_tool_supported(args: Any) -> None:STRING
LOWtools/idf_tools.py3290def action_get_tool_supported_versions(args: Any) -> None:STRING
LOWtools/check_python_dependencies.py33def validate_requirement_list(file_path: str) -> str:CODE
LOWtools/ldgen/ldgen/generation.py463 def _prepare_scheme_dictionary(self):CODE
LOWtools/ldgen/ldgen/generation.py512 def _prepare_mutable_entity_mappings(self, entity_mappings, scheme_dictionary, entities):CODE
LOWtools/ldgen/ldgen/fragments.py90 def get_section_data_from_entry(sections_entry, symbol=None):CODE
LOWtools/ldgen/test/test_entity.py86 def test_compare_different_specificity(self):CODE
LOWtools/ldgen/test/test_entity.py146 def test_compare_same_specificity(self):CODE
LOWtools/ldgen/test/test_entity.py169 def test_compare_all_non_character(self):CODE
LOWtools/ldgen/test/test_fragments.py156 def test_settings_unmatch_indent(self):STRING
LOWtools/ldgen/test/test_fragments.py216 def test_out_of_order_conditional(self):STRING
1281 more matches not shown…
Empty Error Handlers96 hits · 480 pts
SeverityFileLineSnippetContext
HIGHtools/idf.py1260except ImportError:CODE
HIGHtools/idf_tools.py2720except OSError:CODE
HIGHtools/idf_tools.py799except ValueError:CODE
HIGHtools/idf_tools.py1125except ToolBinaryError:CODE
HIGHtools/idf_tools.py1737except (OSError, ValueError):CODE
HIGHtools/idf_tools.py2145except ToolBinaryError:CODE
HIGHtools/idf_tools.py2644except ToolBinaryError:CODE
HIGHtools/idf_tools.py2808except KeyError:CODE
HIGHtools/idf_tools.py1166except ToolNotFoundError:CODE
HIGHtools/idf_tools.py1771except (OSError, ValueError):CODE
HIGHtools/idf_tools.py1719except KeyError:CODE
HIGHtools/mkdfu.py23except ImportError:CODE
HIGHtools/mkdfu.py34except ImportError:CODE
HIGHtools/ldgen/ldgen.py75except OSError:CODE
HIGHtools/ldgen/ldgen.py85except OSError:CODE
HIGHtools/ldgen/ldgen.py124except (OSError, pickle.UnpicklingError, EOFError, AttributeError, ImportError, ValueError):CODE
HIGHtools/ldgen/ldgen.py134except (OSError, pickle.PicklingError):CODE
HIGHtools/ldgen/ldgen/generation.py72except KeyError:CODE
HIGHtools/ldgen/ldgen/linker_script.py80except AttributeError:CODE
HIGHtools/ldgen/test/test_fragments.py44except Exception:CODE
HIGHtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py44except ImportError:CODE
HIGHtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py205except pyparsing.ParseException:CODE
HIGHtools/idf_py_actions/debug_ext.py316except FileNotFoundError:CODE
HIGHtools/idf_py_actions/debug_ext.py474except ValueError:CODE
HIGHtools/idf_py_actions/tools.py898except KeyError:CODE
HIGHtools/idf_py_actions/tools.py909except KeyError:CODE
HIGHtools/idf_py_actions/tools.py1008except (OSError, KeyError):CODE
HIGHtools/idf_py_actions/tools.py497except FileExistsError:CODE
HIGHtools/idf_py_actions/tools.py292except OSError:CODE
HIGHtools/ble/ble_uart_bridge/src/core/probe.py29except Exception:CODE
HIGHtools/ble/ble_uart_bridge/src/console/api.py29except KeyboardInterrupt:CODE
HIGHtools/esp_app_trace/gcov_capture.py703except serial.SerialException:CODE
HIGHtools/esp_app_trace/gcov_capture.py175except OSError:CODE
HIGHtools/esp_app_trace/gcov_capture.py638except OSError:CODE
HIGHtools/esp_app_trace/gcov_capture.py655except OSError:CODE
HIGHtools/esp_app_trace/gcov_capture.py199except OSError:CODE
HIGHtools/ci/checkout_project_ref.py44except (KeyError, TypeError):CODE
HIGHtools/ci/checkout_project_ref.py116except subprocess.CalledProcessError:CODE
HIGHtools/ci/checkout_project_ref.py108except subprocess.CalledProcessError:CODE
HIGHtools/ci/check_public_headers.py353except FileNotFoundError:CODE
HIGHtools/ci/check_public_headers.py262except Exception:CODE
HIGHtools/ci/check_public_headers.py333except Exception:CODE
HIGHtools/ci/doc_auto_translate.py178except ValueError:CODE
HIGHtools/ci/python_packages/gitlab_api.py177except OSError:CODE
HIGHtools/ci/python_packages/common_test_methods.py116except (FileNotFoundError, KeyError):CODE
HIGH…s/ci/python_packages/idf_iperf_test_util/TestReport.py132except KeyError:CODE
HIGH…ci/python_packages/idf_iperf_test_util/IperfUtility.py16except ImportError:CODE
HIGH…ci/python_packages/idf_iperf_test_util/IperfUtility.py291except subprocess.CalledProcessError:CODE
HIGH…ci/python_packages/idf_iperf_test_util/IperfUtility.py514except pexpect.TIMEOUT:CODE
HIGHtools/ci/python_packages/idf_http_server_test/client.py144except http.client.HTTPException:CODE
HIGHtools/test_apps/system/panic/panic_base/pytest_panic.py547except pexpect.TIMEOUT:CODE
HIGH…s/system/panic/panic_base/test_panic_util/panic_dut.py85except pexpect.TIMEOUT:CODE
HIGHtools/docs/gen_version_specific_includes.py143except subprocess.CalledProcessError:CODE
HIGHtools/test_idf_py/test_idf_py.py65except FileExistsError:CODE
HIGHtools/test_idf_py/test_idf_py.py76except FileNotFoundError:CODE
HIGHtools/test_idf_py/test_idf_py.py730except locale.Error:CODE
HIGHtools/test_idf_py/test_idf_py.py710except locale.Error:CODE
HIGHtools/test_idf_tools/test_idf_tools_python_env.py285except OSError:CODE
HIGHtools/test_build_system/test_idf_extension.py582except ProcessLookupError:CODE
HIGHtools/test_build_system/test_idf_extension.py142except Exception:CODE
36 more matches not shown…
Decorative Section Separators104 hits · 372 pts
SeverityFileLineSnippetContext
MEDIUM.gitlab/ci/dependencies/dependencies.yml14# -------------------COMMENT
MEDIUM.gitlab/ci/dependencies/dependencies.yml16# -------------------COMMENT
MEDIUM.gitlab/ci/dependencies/dependencies.yml37# ---------------------------COMMENT
MEDIUM.gitlab/ci/dependencies/dependencies.yml39# ---------------------------COMMENT
MEDIUMtools/test_apps/system/kasan_test/pytest_kasan.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_apps/system/kasan_test/pytest_kasan.py20# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_apps/system/kasan_test/pytest_kasan.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_apps/system/kasan_test/pytest_kasan.py36# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py261# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py263# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py296# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py298# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py522# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py524# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py634# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py636# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py903# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py905# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py942# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/test_idf_py/test_mcp_ext.py944# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py52# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py175# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py177# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py198# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py200# ---------------------------------------------------------------------------COMMENT
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py19# ---------------------------------------------------------------------------COMMENT
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py21# ---------------------------------------------------------------------------COMMENT
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py41# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…_driver_twai/test_apps/test_twai/pytest_driver_twai.py85# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…_driver_twai/test_apps/test_twai/pytest_driver_twai.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py14# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py16# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py85# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt3# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt9# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt11# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt55# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt57# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt65# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt67# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt107# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt109# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt114# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt143# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt145# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt150# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt152# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt194# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt198# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt203# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt211# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡components/bootloader/subproject/CMakeLists_v2.txt221# ---------------------------------------------------------------------------COMMENT
44 more matches not shown…
Excessive Try-Catch Wrapping190 hits · 214 pts
SeverityFileLineSnippetContext
MEDIUMtools/err_codes_to_rst.py85 print('Error: Specify either --csv or --search-dirs.', file=sys.stderr)CODE
MEDIUMtools/idf.py1435def _valid_unicode_config() -> bool:CODE
LOW⚡tools/idf.py1453 except Exception:CODE
LOWtools/idf.py1065 except Exception as e:CODE
LOWtools/idf.py1315 except Exception as e:CODE
LOWtools/idf.py1335 except Exception as e:CODE
MEDIUMtools/idf_tools.py1775def save(self) -> str:CODE
LOWtools/idf_tools.py647 except Exception as e:STRING
LOWtools/idf_tools.py1883 except Exception as e:STRING
MEDIUMtools/err_codes_extract.py357 print('Error: No header files specified. Use --headers or --search-dirs.', file=sys.stderr)CODE
LOWtools/check_python_dependencies.py142 except Exception as e:CODE
LOWtools/check_python_dependencies.py175 except Exception as e:CODE
LOWtools/ldgen/test/test_fragments.py44 except Exception:CODE
MEDIUMtools/ldgen/test/test_fragments.py40def tearDown(self):CODE
LOWtools/idf_py_actions/debug_ext.py98 except Exception as e:CODE
LOWtools/idf_py_actions/debug_ext.py248 except Exception as e:CODE
LOWtools/idf_py_actions/tools.py83 except Exception:CODE
LOWtools/idf_py_actions/tools.py132 except Exception:CODE
LOWtools/idf_py_actions/tools.py175 except Exception as e:CODE
LOWtools/idf_py_actions/tools.py869 except Exception:CODE
LOWtools/idf_py_actions/mcp_ext.py108 except Exception:CODE
LOWtools/idf_py_actions/mcp_ext.py466 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py507 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py550 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py661 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py712 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py746 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py808 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py820 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py831 except Exception as e:CODE
LOWtools/idf_py_actions/diag_ext.py115 except Exception:CODE
LOWtools/idf_py_actions/core_ext.py186 except Exception:CODE
LOWtools/idf_py_actions/core_ext.py326 except Exception as err:CODE
LOWtools/export_utils/shell_types.py42 except Exception as e:CODE
LOWtools/export_utils/shell_types.py56 except Exception as e:CODE
LOWtools/export_utils/console_output.py44 except Exception as e:CODE
MEDIUMtools/ble/lib_ble_client.py108def __del__(self):CODE
MEDIUMtools/ble/lib_ble_client.py444def get_service_if_exists(self, service_uuid):CODE
MEDIUMtools/ble/lib_ble_client.py455def start_notify(self, char):CODE
MEDIUMtools/ble/lib_ble_client.py559def register_adv(self, adv_host_name, adv_type, adv_uuid):CODE
LOWtools/ble/lib_ble_client.py105 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py113 except Exception as e:CODE
LOWtools/ble/lib_ble_client.py163 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py227 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py322 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py357 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py386 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py426 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py441 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py452 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py481 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py528 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py556 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py599 except Exception as err:CODE
LOWtools/ble/lib_ble_client.py711 except Exception as err:CODE
LOWtools/ble/lib_gatt.py379 except Exception as e:CODE
MEDIUMtools/ble/lib_gatt.py368def StartNotify(self):CODE
LOWtools/ble/ble_uart_bridge/src/core/bridge.py94 except Exception as e:CODE
LOWtools/ble/ble_uart_bridge/src/core/bridge.py151 except Exception as e:CODE
LOWtools/ble/ble_uart_bridge/src/core/bridge.py170 except Exception as e:CODE
130 more matches not shown…
Deep Nesting229 hits · 213 pts
SeverityFileLineSnippetContext
LOWtools/install_util.py14CODE
LOWtools/idf.py166CODE
LOWtools/idf.py1386CODE
LOWtools/idf.py1479CODE
LOWtools/idf.py1396CODE
LOWtools/idf.py763CODE
LOWtools/idf.py897CODE
LOWtools/idf.py929CODE
LOWtools/idf_tools.py431CODE
LOWtools/idf_tools.py530CODE
LOWtools/idf_tools.py574CODE
LOWtools/idf_tools.py1853CODE
LOWtools/idf_tools.py2359CODE
LOWtools/idf_tools.py2746CODE
LOWtools/idf_tools.py3075CODE
LOWtools/idf_tools.py3183CODE
LOWtools/idf_tools.py286CODE
LOWtools/idf_tools.py1316CODE
LOWtools/idf_tools.py1706CODE
LOWtools/err_codes_extract.py103CODE
LOWtools/bsasm.py115CODE
LOWtools/bsasm.py281CODE
LOWtools/bsasm.py329CODE
LOWtools/bsasm.py440CODE
LOWtools/bsasm.py567CODE
LOWtools/bsasm.py812CODE
LOWtools/err_codes_to_c.py107CODE
LOWtools/ldgen/ldgen.py182CODE
LOWtools/ldgen/ldgen/generation.py210CODE
LOWtools/ldgen/ldgen/generation.py343CODE
LOWtools/ldgen/ldgen/generation.py512CODE
LOWtools/ldgen/ldgen/generation.py543CODE
LOWtools/ldgen/ldgen/output_commands.py91CODE
LOWtools/ldgen/ldgen/linker_script.py35CODE
LOWtools/ldgen/ldgen/linker_script.py64CODE
LOWtools/ldgen/ldgen/entity.py46CODE
LOWtools/ldgen/ldgen/entity.py74CODE
LOWtools/ldgen/ldgen/entity.py228CODE
LOWtools/ldgen/ldgen/fragments.py281CODE
LOWtools/ldgen/ldgen/fragments.py372CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py179CODE
LOWtools/cmakev2/esp_docs_cmakev2_extension.py142CODE
LOWtools/idf_py_actions/build_file_ext.py28CODE
LOWtools/idf_py_actions/build_file_ext.py119CODE
LOWtools/idf_py_actions/debug_ext.py42CODE
LOWtools/idf_py_actions/debug_ext.py58CODE
LOWtools/idf_py_actions/debug_ext.py81CODE
LOWtools/idf_py_actions/debug_ext.py185CODE
LOWtools/idf_py_actions/tools.py87CODE
LOWtools/idf_py_actions/tools.py261CODE
LOWtools/idf_py_actions/tools.py322CODE
LOWtools/idf_py_actions/tools.py1034CODE
LOWtools/idf_py_actions/tools.py543CODE
LOWtools/idf_py_actions/create_ext.py53CODE
LOWtools/idf_py_actions/mcp_ext.py82CODE
LOWtools/idf_py_actions/mcp_ext.py307CODE
LOWtools/idf_py_actions/diag_ext.py15CODE
LOWtools/idf_py_actions/qemu_ext.py174CODE
LOWtools/idf_py_actions/qemu_ext.py179CODE
LOWtools/idf_py_actions/core_ext.py43CODE
169 more matches not shown…
Unused Imports125 hits · 120 pts
SeverityFileLineSnippetContext
LOWconftest.py31CODE
LOWtools/idf_tools.py78CODE
LOWtools/mkdfu.py22CODE
LOWtools/idf_size.py16CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py31CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py43CODE
LOWtools/idf_py_actions/help_custom_targets_skip.py14CODE
LOWtools/ble/lib_ble_client.py20CODE
LOWtools/ble/lib_gap.py20CODE
LOWtools/ble/lib_gatt.py20CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py3CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py4CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py5CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py6CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py7CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py8CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py9CODE
LOWtools/ble/ble_uart_bridge/src/core/scanner.py4CODE
LOWtools/ble/ble_uart_bridge/src/core/models.py4CODE
LOWtools/ble/ble_uart_bridge/src/core/constants.py4CODE
LOWtools/ble/ble_uart_bridge/src/core/bridge.py4CODE
LOWtools/ble/ble_uart_bridge/src/core/__init__.py3CODE
LOWtools/ble/ble_uart_bridge/src/core/__init__.py4CODE
LOWtools/ble/ble_uart_bridge/src/core/__init__.py5CODE
LOWtools/ble/ble_uart_bridge/src/core/__init__.py6CODE
LOWtools/ble/ble_uart_bridge/src/core/errors.py4CODE
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py3CODE
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py4CODE
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py5CODE
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py6CODE
LOWtools/ble/ble_uart_bridge/src/console/console.py4CODE
LOWtools/ble/ble_uart_bridge/src/console/__init__.py3CODE
LOWtools/ble/ble_uart_bridge/src/console/__init__.py4CODE
LOWtools/ble/ble_uart_bridge/src/console/__init__.py5CODE
LOWtools/ble/ble_uart_bridge/src/console/api.py4CODE
LOWtools/esp_app_trace/logtrace_proc.py6CODE
LOWtools/ci/doc_auto_translate.py15CODE
LOW…pelines/scripts/generate_target_test_child_pipeline.py14CODE
LOWtools/test_apps/system/gdb/pytest_gdb.py14CODE
LOW…ps/system/panic/panic_base/test_panic_util/__init__.py3CODE
LOWtools/test_idf_py/test_read_and_write_stream_unicode.py8CODE
LOW…s/test_idf_py/test_idf_extensions/test_ext/__init__.py3CODE
LOW…est_build_system/test_build_system_helpers/__init__.py3CODE
LOW…est_build_system/test_build_system_helpers/__init__.py4CODE
LOW…est_build_system/test_build_system_helpers/__init__.py5CODE
LOW…est_build_system/test_build_system_helpers/__init__.py6CODE
LOW…est_build_system/test_build_system_helpers/__init__.py7CODE
LOW…est_build_system/test_build_system_helpers/__init__.py8CODE
LOW…est_build_system/test_build_system_helpers/__init__.py9CODE
LOW…est_build_system/test_build_system_helpers/__init__.py10CODE
LOW…est_build_system/test_build_system_helpers/__init__.py11CODE
LOW…est_build_system/test_build_system_helpers/__init__.py12CODE
LOW…est_build_system/test_build_system_helpers/__init__.py13CODE
LOW…est_build_system/test_build_system_helpers/__init__.py14CODE
LOW…est_build_system/test_build_system_helpers/__init__.py15CODE
LOW…est_build_system/test_build_system_helpers/__init__.py16CODE
LOW…est_build_system/test_build_system_helpers/__init__.py17CODE
LOW…est_build_system/test_build_system_helpers/__init__.py18CODE
LOW…est_build_system/test_build_system_helpers/__init__.py19CODE
LOW…est_build_system/test_build_system_helpers/__init__.py20CODE
65 more matches not shown…
Fake / Example Data93 hits · 99 pts
SeverityFileLineSnippetContext
LOW…ents/esp_http_client/test_apps/main/test_http_client.c186 esp_err_t err = esp_http_client_set_header(client, "Test-Header", "dummy_value");CODE
LOW…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c650 uint8_t *dummy_data = heap_caps_aligned_alloc(64, 64 * 2, MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL);CODE
LOW…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c653 test_fill_random_to_buffers_dualboard(1001, dummy_data, dummy_data + 64, 64);CODE
LOW⚡…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c665 dummy_trans[i].tx_buffer = dummy_data + i * 64;CODE
LOW⚡…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c666 dummy_trans[i].rx_buffer = dummy_data + i * 64;CODE
LOW⚡…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c667 dummy_trans[i].user = dummy_data + i * 64;CODE
LOW…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c684 free(dummy_data);CODE
LOWcomponents/bt/common/tinycrypt/src/hmac.c67 uint8_t dummy_key[key_size];CODE
LOWcomponents/bt/common/tinycrypt/src/hmac.c79 _set(dummy_key, 0, sizeof(dummy_key));CODE
LOWcomponents/bt/common/tinycrypt/src/hmac.c81 dummy_key,CODE
LOW…ommon/ble_log/extension/log_compression/CMakeLists.txt118 set(BLE_COMPRESSED_LIB_NAME "placeholder")CODE
LOWcomponents/esp_hal_dma/gdma_hal_top.c46void gdma_hal_connect_mem(gdma_hal_context_t *hal, int chan_id, gdma_channel_direction_t dir, int dummy_id)CODE
LOWcomponents/esp_hal_dma/gdma_hal_top.c48 hal->connect_mem(hal, chan_id, dir, dummy_id);CODE
LOW⚡components/esp_hal_dma/gdma_hal_ahb_v1.c77void gdma_ahb_hal_connect_mem(gdma_hal_context_t *hal, int chan_id, gdma_channel_direction_t dir, int dummy_id)CODE
LOW⚡components/esp_hal_dma/gdma_hal_ahb_v1.c80 gdma_ll_rx_connect_to_mem(hal->dev, chan_id, dummy_id);CODE
LOW⚡components/esp_hal_dma/gdma_hal_ahb_v1.c82 gdma_ll_tx_connect_to_mem(hal->dev, chan_id, dummy_id);CODE
LOW⚡components/esp_hal_dma/gdma_hal_axi.c76void gdma_axi_hal_connect_mem(gdma_hal_context_t *hal, int chan_id, gdma_channel_direction_t dir, int dummy_id)CODE
LOW⚡components/esp_hal_dma/gdma_hal_axi.c79 axi_dma_ll_rx_connect_to_mem(hal->axi_dma_dev, chan_id, dummy_id);CODE
LOW⚡components/esp_hal_dma/gdma_hal_axi.c81 axi_dma_ll_tx_connect_to_mem(hal->axi_dma_dev, chan_id, dummy_id);CODE
LOW⚡components/esp_hal_dma/gdma_hal_ahb_v2.c78void gdma_ahb_hal_connect_mem(gdma_hal_context_t *hal, int chan_id, gdma_channel_direction_t dir, int dummy_id)CODE
LOW⚡components/esp_hal_dma/gdma_hal_ahb_v2.c81 ahb_dma_ll_rx_connect_to_mem(hal->ahb_dma_dev, chan_id, dummy_id);CODE
LOW⚡components/esp_hal_dma/gdma_hal_ahb_v2.c83 ahb_dma_ll_tx_connect_to_mem(hal->ahb_dma_dev, chan_id, dummy_id);CODE
LOWcomponents/esp_hal_dma/esp32c2/include/hal/gdma_ll.h312static inline void gdma_ll_rx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c2/include/hal/gdma_ll.h314 dev->channel[channel].in.in_peri_sel.sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c2/include/hal/gdma_ll.h537static inline void gdma_ll_tx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c2/include/hal/gdma_ll.h539 dev->channel[channel].out.out_peri_sel.sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c5/include/hal/ahb_dma_ll.h404static inline void ahb_dma_ll_rx_connect_to_mem(ahb_dma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c5/include/hal/ahb_dma_ll.h406 dev->channel[channel].in.in_peri_sel.peri_in_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c5/include/hal/ahb_dma_ll.h680static inline void ahb_dma_ll_tx_connect_to_mem(ahb_dma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c5/include/hal/ahb_dma_ll.h682 dev->channel[channel].out.out_peri_sel.peri_out_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c3/include/hal/gdma_ll.h312static inline void gdma_ll_rx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c3/include/hal/gdma_ll.h314 dev->channel[channel].in.in_peri_sel.sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c3/include/hal/gdma_ll.h537static inline void gdma_ll_tx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c3/include/hal/gdma_ll.h539 dev->channel[channel].out.out_peri_sel.sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/include/hal/gdma_hal.h86 void (*connect_mem)(gdma_hal_context_t *hal, int chan_id, gdma_channel_direction_t dir, int dummy_id); /// Connect tCODE
LOWcomponents/esp_hal_dma/include/hal/gdma_hal.h125void gdma_hal_connect_mem(gdma_hal_context_t *hal, int chan_id, gdma_channel_direction_t dir, int dummy_id);CODE
LOWcomponents/esp_hal_dma/esp32h21/include/hal/gdma_ll.h348static inline void gdma_ll_rx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32h21/include/hal/gdma_ll.h350 dev->channel[channel].in.in_peri_sel.peri_in_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32h21/include/hal/gdma_ll.h583static inline void gdma_ll_tx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32h21/include/hal/gdma_ll.h585 dev->channel[channel].out.out_peri_sel.peri_out_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c6/include/hal/gdma_ll.h348static inline void gdma_ll_rx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c6/include/hal/gdma_ll.h350 dev->channel[channel].in.in_peri_sel.peri_in_sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c6/include/hal/gdma_ll.h583static inline void gdma_ll_tx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32c6/include/hal/gdma_ll.h585 dev->channel[channel].out.out_peri_sel.peri_out_sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32h4/include/hal/ahb_dma_ll.h408static inline void ahb_dma_ll_rx_connect_to_mem(ahb_dma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32h4/include/hal/ahb_dma_ll.h410 dev->channel[channel].in.in_peri_sel.dma_peri_in_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32h4/include/hal/ahb_dma_ll.h668static inline void ahb_dma_ll_tx_connect_to_mem(ahb_dma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32h4/include/hal/ahb_dma_ll.h670 dev->channel[channel].out.out_peri_sel.dma_peri_out_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32h2/include/hal/gdma_ll.h348static inline void gdma_ll_rx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32h2/include/hal/gdma_ll.h350 dev->channel[channel].in.in_peri_sel.peri_in_sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32h2/include/hal/gdma_ll.h583static inline void gdma_ll_tx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32h2/include/hal/gdma_ll.h585 dev->channel[channel].out.out_peri_sel.peri_out_sel = dummy_id;CODE
LOW…mponents/esp_hal_dma/esp32c61/include/hal/ahb_dma_ll.h392static inline void ahb_dma_ll_rx_connect_to_mem(ahb_dma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOW…mponents/esp_hal_dma/esp32c61/include/hal/ahb_dma_ll.h394 dev->channel[channel].in.in_peri_sel.peri_in_sel_chn = dummy_id;CODE
LOW…mponents/esp_hal_dma/esp32c61/include/hal/ahb_dma_ll.h665static inline void ahb_dma_ll_tx_connect_to_mem(ahb_dma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOW…mponents/esp_hal_dma/esp32c61/include/hal/ahb_dma_ll.h667 dev->channel[channel].out.out_peri_sel.peri_out_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32s3/include/hal/gdma_ll.h386static inline void gdma_ll_rx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32s3/include/hal/gdma_ll.h388 dev->channel[channel].in.peri_sel.sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32s3/include/hal/gdma_ll.h653static inline void gdma_ll_tx_connect_to_mem(gdma_dev_t *dev, uint32_t channel, int dummy_id)CODE
LOWcomponents/esp_hal_dma/esp32s3/include/hal/gdma_ll.h655 dev->channel[channel].out.peri_sel.sel = dummy_id;CODE
33 more matches not shown…
Self-Referential Comments35 hits · 92 pts
SeverityFileLineSnippetContext
MEDIUM.vale.ini30# Create a folder in <StylesPath>/Vocab/<name>/and add its name hereCOMMENT
MEDIUMtools/idf_tools.py1385 # Create the objectSTRING
MEDIUMtools/idf_tools.py2227# The following function is used in process_tool which is a part of the action_export.STRING
MEDIUMtools/idf_tools.py2248# The following function is used in process_tool which is a part of the action_export.STRING
MEDIUMtools/idf_tools.py2261# The following function is used in process_tool which is a part of the action_export.STRING
MEDIUMtools/bsasm.py120 # Define the various statesCOMMENT
MEDIUMtools/idf_extra_components.yml1# This file defines extra dependencies for ESP-IDFCOMMENT
MEDIUMtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py51 # This file is auto-generated from SoC capsCOMMENT
MEDIUMtools/export_utils/shell_types.py188 # Create a temporary directory to use as ZDOTDIRSTRING
MEDIUMtools/ci/configure_ci_environment.sh1# This file is sourced in to the CI environmentCOMMENT
MEDIUMtools/ci/metrics/examples_count/schema.yaml3# This file defines the schema and validation rules for ESP-IDF examples count metricsCOMMENT
MEDIUMtools/ci/metrics/size_metrics/schema.yaml3# This file defines the schema and validation rules for ESP-IDF size metricsCOMMENT
MEDIUMtools/ci/metrics/size_metrics/size_metrics_config.yml3# This file is the single source of truth for which apps publish size metrics.COMMENT
MEDIUMtools/ci/dynamic_pipelines/templates/.dynamic_jobs.yml1# This file is used to generate build jobs for pytest case dynamic pipelineCOMMENT
MEDIUMtools/test_build_system/test_components.py351 # Create a source file and include directory in my_compSTRING
MEDIUMtools/test_build_system/test_components.py385 # Create a component that would trigger validation warningsSTRING
MEDIUMtools/test_build_system/test_components.py426 # Create a component with private include directorySTRING
MEDIUMtools/test_build_system/test_common.py503 # Create a test IDF component with hintsCOMMENT
MEDIUMtools/test_build_system/test_common.py557 # Create a local component with a uniquely identifiable hint entry so weCOMMENT
MEDIUMtools/test_build_system/test_common.py518 # Create a test project component with hintsSTRING
MEDIUMtools/test_build_system/test_cmake.py312 # Create a CMakePresets.json file with multiple configurationsCOMMENT
MEDIUMtools/test_build_system/test_idf_extension.py168 # Create a component with a CLI extensionCOMMENT
MEDIUMdocs/conf_common.py4# This file is imported from a language-specific conf.py (ie en/conf.py orCOMMENT
MEDIUM⚡…mponents/esp_tee/test_apps/tee_cli_app/https_server.py56 # Define the server address and portCOMMENT
MEDIUM⚡…mponents/esp_tee/test_apps/tee_cli_app/https_server.py59 # Create a simple request handlerCOMMENT
MEDIUM⚡…mponents/esp_tee/test_apps/tee_cli_app/https_server.py62 # Create the HTTP serverCOMMENT
MEDIUM⚡…mponents/esp_tee/test_apps/tee_cli_app/https_server.py65 # Create an SSL contextCOMMENT
MEDIUMexamples/openthread/pytest_otbr.py22# This file contains the test scripts for Thread:COMMENT
MEDIUM…kev2/features/component_manager/main/idf_component.yml5 # Defining a dependency from the ESP Component Registry:COMMENT
MEDIUM…_system/cmake/component_manager/main/idf_component.yml5 # Defining a dependency from the ESP Component Registry:COMMENT
MEDIUMexamples/storage/parttool/parttool_example.py70 # Create a file whose contents will be written to the storage partitionCOMMENT
MEDIUMexamples/storage/parttool/parttool_example.py72 # Create a file to write to the data partition with randomly generated contentCOMMENT
MEDIUMexamples/storage/parttool/parttool_example.sh45# Create a file whose contents will be written to the storage partitionCOMMENT
MEDIUM…http_server/ws_echo_server/pytest_ws_server_example.py220 # Create a new websocket connection with retry for the partial endpointCOMMENT
MEDIUM…http_server/ws_echo_server/pytest_ws_server_example.py238 # Create a large message (200 bytes) to force multiple partial readsCOMMENT
Redundant / Tautological Comments58 hits · 80 pts
SeverityFileLineSnippetContext
LOWconftest.py332 # Check if the process is still runningCOMMENT
LOW.gitlab/ci/pre_check.yml71 # Check if Wi-Fi library header files match between IDF and the version used when compiling the librariesCOMMENT
LOW.gitlab/ci/pre_check.yml82 # Check if Coexistence library header files match between IDF and the version used when compiling the librariesCOMMENT
LOW.gitlab/ci/pre_check.yml93 # Check if Wi-Fi, PHY, BT blobs contain references to specific symbolsCOMMENT
LOW⚡tools/idf.py1451 # Check if the encoding is Unicode-capableCOMMENT
LOWtools/idf_tools.py2795 # Verify if IDF_PYTHON_ENV_PATH is a valid ESP-IDF Python virtual environment directorySTRING
LOWtools/bsasm.py178 # Check if label is before any instructionCOMMENT
LOWtools/bsasm.py271# Check if element is a meta elementCOMMENT
LOWtools/bsasm.py867 # Check if mux bits are compatible and figure out flags neededCOMMENT
LOWtools/ldgen/ldgen.py238 # Check if we can skip generation entirely — section names and otherCOMMENT
LOWtools/ldgen/ldgen/generation.py86 # Check if the placement is significant. Significant placementsCOMMENT
LOWtools/ldgen/ldgen/generation.py565 # Check if all section->target defined in the currentCOMMENT
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py120 # Check if file was updated and print diff for usersSTRING
LOWtools/idf_py_actions/tools.py1076 # Check if -DIDF_TARGET is consistent with target in CMakeCache.txtCOMMENT
LOWtools/ble/lib_ble_client.py139 # Check if adapter is already powered onCOMMENT
LOWtools/ble/lib_ble_client.py147 # Check if adapter is powered onCOMMENT
LOWtools/ble/lib_ble_client.py260 # Check if expected device is presentCOMMENT
LOWtools/ble/lib_gatt.py348 # Check if new value is writtenCOMMENT
LOWtools/ble/lib_gatt.py403 # Check if new value is writtenCOMMENT
LOWtools/ble/lib_gatt.py428 # Check if new value is writtenCOMMENT
LOWtools/ble/ble_uart_bridge/src/core/scanner.py21 # Check if there's any available bluetooth device before scanning (Bleak limitation)COMMENT
LOWtools/esp_app_trace/gcov_capture.py667 # Check if serial port was closed (e.g., by stop())COMMENT
LOWtools/esp_app_trace/gcov_capture.py684 # Check if this is an FSTOP commandCOMMENT
LOWtools/ci/python_packages/idf_http_server_test/test.py598 # Check if number of connections is equal to max_sessCOMMENT
LOWtools/mass_mfg/mfg_gen.py296 # Verify if output csv file does not existCOMMENT
LOWtools/mass_mfg/mfg_gen.py305 # Verify if output bin file does not existCOMMENT
LOWdocs/check_lang_folder_sync.sh3# Check if folders with localized documentation are in syncCOMMENT
LOWcomponents/xtensa/trax/traceparse.py56# Check if loaded into GDBCOMMENT
LOW…/extension/log_compression/scripts/ble_log_compress.py391 # Check if argument can be hexifiedSTRING
LOW…_log/extension/log_compression/scripts/LogDBManager.py136 # Check if file is registered and hashes matchCOMMENT
LOW…_log/extension/log_compression/scripts/LogDBManager.py318 # Check if log existsCOMMENT
LOW⚡…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py514 # Check if the data is correctSTRING
LOW⚡…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py517 # Check if the LOREM_STRING is present and properly formattedSTRING
LOW⚡…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py520 # Check if the blob key data is present and correctSTRING
LOW⚡…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py535 # Check if the gathered blob_key data matches the sample multipage blob dataSTRING
LOW⚡…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py537 # Check if all keys are presentSTRING
LOWcomponents/nvs_flash/nvs_partition_tool/nvs_check.py419 # Check if a page is truly emptyCOMMENT
LOW…mponents/esp_wifi/remote/scripts/generate_and_check.py223 # Check if we are in a git repositoryCOMMENT
LOW…mponents/esp_wifi/remote/scripts/generate_and_check.py734 # Check if the line declares a config or choice for ESP_WIFI_COMMENT
LOW…mponents/esp_wifi/remote/scripts/generate_and_check.py844 # Check if file is modified relative to indexSTRING
LOWexamples/network/vlan_support/pytest_vlan_napt.py38 # Print the outputCOMMENT
LOWexamples/storage/nvs/nvs_console/pytest_nvs_console.py20 # Check if following strings are present in the "version" command outputCOMMENT
LOW…s/system/ota/advanced_https_ota/pytest_advanced_ota.py1154 # Increment min_chip_rev_fullCOMMENT
LOW…s/system/ota/advanced_https_ota/pytest_advanced_ota.py1209 # Set min_chip_rev_full to 0.0 and max_chip_rev_full to 0.2COMMENT
LOW⚡…lp/ulp_riscv/interrupts/pytest_ulp_riscv_interrupts.py19 # Verify if SW interrupt got triggeredCOMMENT
LOW⚡…lp/ulp_riscv/interrupts/pytest_ulp_riscv_interrupts.py27 # Verify if GPIO interrupt got triggeredCOMMENT
LOW…les/system/console/advanced/pytest_console_advanced.py22 # Check if following strings are present in the "version" command outputCOMMENT
LOW…s/peripherals/twai/twai_network/pytest_twai_network.py90 # Check if socket receive any messagesCOMMENT
LOW…s/peripherals/twai/twai_network/pytest_twai_network.py103 # Check if esp32 receive messages from usb canCOMMENT
LOW…rotocols/sockets/udp_multicast/pytest_udp_multicast.py142 # Check if received from expected sourceCOMMENT
LOW…les/protocols/esp_local_ctrl/scripts/esp_local_ctrl.py29# Set this to true to allow exceptions to be thrownCOMMENT
LOW…cols/esp_local_ctrl/scripts/transport/transport_ble.py39 # Check if expected characteristics are provided by the serviceCOMMENT
LOW…/protocols/esp_local_ctrl/scripts/transport/ble_cli.py13# Check if required packages are installedCOMMENT
LOW…protocols/esp_local_ctrl/scripts/security/security0.py43 # Check if security scheme matchesCOMMENT
LOW…protocols/esp_local_ctrl/scripts/security/security2.py166 counter += 1 # Increment counterCODE
LOW…s/protocols/http_server/advanced_tests/scripts/test.py611 # Check if number of connections is equal to max_sessCOMMENT
LOW…http_server/ws_echo_server/pytest_ws_server_example.py31 # Set timeout to 10 seconds to avoid indefinite blockingCOMMENT
LOW…ols/https_server/wss_server/pytest_https_wss_server.py30 # Set timeout to 10 seconds to avoid connection failure at the time of handshakeCOMMENT
Structural Annotation Overuse34 hits · 56 pts
SeverityFileLineSnippetContext
LOW…_apps/build_system/err_codes_check/main/CMakeLists.txt4# Step 1: Extract all error codes from the entire ESP-IDF components directoryCOMMENT
LOW…_apps/build_system/err_codes_check/main/CMakeLists.txt19# Step 2: Generate the test source file from the CSVCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c418 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c432 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c702 // Step 1 : InitializationCOMMENT
LOW⚡components/esp_security/src/esp_key_mgr.c719 // Step 2: Load phaseCOMMENT
LOW⚡components/esp_security/src/esp_key_mgr.c727 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c846 // Step 1: InitializationCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c867 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c881 // Step 3: Gain phaseCOMMENT
LOW⚡…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c62 //Step 1: generate sizes and allocate memory.COMMENT
LOW⚡…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c68 // Step 2: check alignment and fill up memory up to the aligned sizeCOMMENT
LOW…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c88 //Step 3: Free the memory again.COMMENT
LOWcomponents/bt/common/osi/fixed_queue.c236 // NOTE: This function is not thread safe, and there is no point forCOMMENT
LOW…/common/ble_log/extension/log_compression/README.en.md14### Step 1: Verify ESP-IDF Virtual EnvironmentCOMMENT
LOW…/common/ble_log/extension/log_compression/README.en.md29#### Step 2: Clean Build CacheCOMMENT
LOW…/common/ble_log/extension/log_compression/README.en.md32### Step 3: Configure via MenuconfigCOMMENT
LOW…/common/ble_log/extension/log_compression/README.en.md59### Step 4: Build the ApplicationCOMMENT
LOW…/common/ble_log/extension/log_compression/README.en.md105### Step 5: Receive LogsCOMMENT
LOW…/common/ble_log/extension/log_compression/README.en.md108### Step 6: Decode compressed LogsCOMMENT
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c184 // Step 1: Erase and write known data to Area A, then verifyCOMMENT
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c210 // Step 2: Encrypted write to Area B (no verification)COMMENT
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c237 // Step 3: Read and verify Area A again to confirm read API still works after encrypted writeCOMMENT
LOW…rdic/test_apps/cordic_driver_ut/main/test_cordic_q31.c568 // Step 1: Create engine with COS function and Q15 formatCOMMENT
LOW…rdic/test_apps/cordic_driver_ut/main/test_cordic_q31.c620 // Step 2: Use NATURAL_LOG function with Q31 format (no reconfig needed, just use new calc_config)COMMENT
LOWexamples/network/eth2ap/README.md55### Step 1: Initialize Ethernet and Wi-Fi (AP mode)COMMENT
LOW⚡examples/network/eth2ap/README.md78### Step 2: Ethernet Connects to Router/Switch/PC (with DHCP server enabled)COMMENT
LOW⚡examples/network/eth2ap/README.md84### Step 3: Start Wi-Fi APCOMMENT
LOW⚡examples/network/eth2ap/README.md94### Step 4: Wi-Fi station (e.g. mobile phone) connects to ESP32's Wi-FiCOMMENT
LOW…/peripherals/parlio/parlio_rx/logic_analyzer/README.md20### Step 0: RequirementCOMMENT
LOW…/peripherals/parlio/parlio_rx/logic_analyzer/README.md32### Step 1: Configure The ProjectCOMMENT
LOW…/peripherals/parlio/parlio_rx/logic_analyzer/README.md67### Step 2: Build And FlashCOMMENT
LOW…/peripherals/parlio/parlio_rx/logic_analyzer/README.md87### Step 3: Convert Raw Data into VCD FormatCOMMENT
LOW…/peripherals/parlio/parlio_rx/logic_analyzer/README.md151### Step 4: View The Signals on PulseViewCOMMENT
Slop Phrases29 hits · 50 pts
SeverityFileLineSnippetContext
LOW.gitlab/ci/pre_check.yml130# Don't forget to update the env var `LATEST_GIT_TAG` in .gitlab/ci/common.ymlCOMMENT
MEDIUMtools/idf.py9# You don't have to use idf.py, you can use cmake directlyCOMMENT
MEDIUMtools/idf_py_actions/hints.yml15# re: "Error: header {} is missing" (you can use '{1} ... {1}' placeholders in 'hint' and 're', so that you don'tCOMMENT
LOW…ols/test_apps/storage/std_filesystem/main/test_ops.cpp183 // when adding a test method, don't forget to add it to the list belowCOMMENT
LOWtools/test_build_system/pytest.ini20## !! When adding new markers, don't forget to update also the tools\test_build_system\README.md !!COMMENT
LOWtools/test_build_system/pytest.ini20## !! When adding new markers, don't forget to update also the tools\test_build_system\README.md !!COMMENT
LOW…tion_table/test_gen_esp32part_host/check_sizes_test.py32# Note: if you have increased the bootloader size, make sure to update the offsets to avoid overlapCOMMENT
LOWcomponents/driver/twai/include/driver/twai.h53 * Don't forget to set the proper controller_id in the `twai_general_config_t`COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c368 //don't forget to free the db buffer after used.COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c400 //don't forget to free the db buffer after used.COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c428 //don't forget to free the db buffer after used.COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c460 //don't forget to free the db buffer after used.COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c497 //don't forget to free the db buffer after used.COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c529 //don't forget to free the db buffer after used.COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c567 //don't forget to free the db buffer after used.COMMENT
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c618 //don't forget to free the db buffer after used.COMMENT
LOWcomponents/bt/host/bluedroid/bta/gatt/bta_gattc_utils.c284 // don't forget to clear the command queue before dealloc the clcb.COMMENT
LOW…mponents/bt/esp_ble_mesh/models/client/client_common.c360 /* Don't forget to free the node in the timeout (timer_handler) function. */COMMENT
LOW…nts/bt/esp_ble_mesh/api/core/esp_ble_mesh_common_api.c60 /* Don't forget to delete the semaphore at the end. */COMMENT
LOW…nts/bt/esp_ble_mesh/api/core/esp_ble_mesh_common_api.c102 /* Don't forget to delete the semaphore at the end. */COMMENT
LOWcomponents/esp_mspi/spi_flash_hpm_enable.c193 * @note Don't forget to adjust dummy configurations for MSPI, you can get theCOMMENT
LOWcomponents/esp_mspi/spi_flash_hpm_enable.c265* @note Don't forget to adjust dummy configurations for MSPI, you can get theCOMMENT
LOWcomponents/esp_mspi/include/esp_private/spi_flash_os.h148 * @note Don't forget to subtract one when assign to the register of mspi e.g. if the value you get is 4, (4-1=3) shouldCOMMENT
LOWcomponents/esp_driver_rmt/src/rmt_tx.c160 // didn't find a capable channel in the group, don't forget to release the group handleCOMMENT
LOWcomponents/esp_driver_rmt/src/rmt_rx.c129 // didn't find a capable channel in the group, don't forget to release the group handleCOMMENT
LOWcomponents/esp_wifi/include/esp_wifi_ap_get_sta_list.h24#error WiFi header mismatch! Please make sure you use the correct version of WiFi APICOMMENT
LOW…ifi/remote/include/injected/esp_wifi_ap_get_sta_list.h24#error WiFi header mismatch! Please make sure you use the correct version of WiFi APICOMMENT
MEDIUMexamples/ethernet/basic/main/ethernet_example_main.c304 // For demonstration purposes, wait and then deinit Ethernet networkCOMMENT
MEDIUM…rotocols/http_server/restful_server/main/rest_server.c174 // Note: we're simulating temperature data with a random number for demonstration purposesCOMMENT
Cross-File Repetition8 hits · 40 pts
SeverityFileLineSnippetContext
HIGH…onents/esp_tee/test_apps/tee_cli_app/pytest_tee_cli.py0this is a positive test case, which downloads complete binary file multiple number of times. number of iterations can beSTRING
HIGH…s/security/tee/tee_secure_ota/pytest_tee_secure_ota.py0this is a positive test case, which downloads complete binary file multiple number of times. number of iterations can beSTRING
HIGH…s/system/ota/advanced_https_ota/pytest_advanced_ota.py0this is a positive test case, which downloads complete binary file multiple number of times. number of iterations can beSTRING
HIGH…les/system/ota/native_ota_example/pytest_native_ota.py0this is a positive test case, which downloads complete binary file multiple number of times. number of iterations can beSTRING
HIGH…scripts/module_scripts/ble_mesh/make_mesh_log_macro.py0// compression function declarations extern int ble_log_compressed_hex_print (uint8_t source, uint32_t log_index, size_tSTRING
HIGH…n/scripts/module_scripts/ble_iso/make_iso_log_macro.py0// compression function declarations extern int ble_log_compressed_hex_print (uint8_t source, uint32_t log_index, size_tSTRING
HIGH…s/module_scripts/bluedroid/make_bluedroid_log_macro.py0// compression function declarations extern int ble_log_compressed_hex_print (uint8_t source, uint32_t log_index, size_tSTRING
HIGH…scripts/module_scripts/nimble/make_nimble_log_macro.py0// compression function declarations extern int ble_log_compressed_hex_print (uint8_t source, uint32_t log_index, size_tSTRING
Cross-Language Confusion6 hits · 38 pts
SeverityFileLineSnippetContext
HIGHtools/export_utils/shell_types.py163 autoload -Uz compinit && compinit -uCODE
HIGHtools/esp_app_trace/espytrace/sysview.py1025 # context is undefined, we do not know have we started the tracing in task/IDLE or IRQ contextCOMMENT
HIGH⚡tools/ci/gitlab_yaml_linter.py80 f'Please set `dependencies:` (to null) explicitly to avoid missing artifacts issue'CODE
HIGHtools/ci/metrics/size_metrics/collect_build_metrics.py97 # null, the literal `all`, or any truthy scalar -> all librariesCOMMENT
HIGH…n_table/test_gen_esp32part_host/gen_esp32part_tests.py273storage2, data, undefined, , 12k,CODE
HIGHcomponents/nvs_flash/nvs_partition_tool/nvs_check.py385 nvs_log.err(f'Undefined namespace index! Namespace index: {used_ns:03d} [undefined]')CODE
Verbosity Indicators22 hits · 36 pts
SeverityFileLineSnippetContext
LOWtools/ci/check_public_headers.py311 # at this point we know that the header itself is missing extern-C, so we need to check if itCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c418 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c432 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c702 // Step 1 : InitializationCOMMENT
LOW⚡components/esp_security/src/esp_key_mgr.c719 // Step 2: Load phaseCOMMENT
LOW⚡components/esp_security/src/esp_key_mgr.c727 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c846 // Step 1: InitializationCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c867 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c881 // Step 3: Gain phaseCOMMENT
LOWcomponents/freertos/FreeRTOS-Kernel/timers.c268 /* The following code block to set the timer task core affinity has been picked up from the FreeRTOS-KernelCOMMENT
LOW⚡…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c62 //Step 1: generate sizes and allocate memory.COMMENT
LOW⚡…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c68 // Step 2: check alignment and fill up memory up to the aligned sizeCOMMENT
LOW…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c88 //Step 3: Free the memory again.COMMENT
LOWcomponents/bt/esp_ble_mesh/core/prov_pvnr.c388 * then we need to check if there are addresses available.COMMENT
LOWcomponents/bt/esp_ble_mesh/core/prov_pvnr.c450 * then we need to check if there are addresses available.COMMENT
LOWcomponents/spi_flash/esp_flash_api.c945 //If not, we need to check if the HW support direct writeCOMMENT
LOWcomponents/spi_flash/esp_flash_api.c1134 //If not, we need to check if the HW support direct writeCOMMENT
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c184 // Step 1: Erase and write known data to Area A, then verifyCOMMENT
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c210 // Step 2: Encrypted write to Area B (no verification)COMMENT
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c237 // Step 3: Read and verify Area A again to confirm read API still works after encrypted writeCOMMENT
LOW…rdic/test_apps/cordic_driver_ut/main/test_cordic_q31.c568 // Step 1: Create engine with COS function and Q15 formatCOMMENT
LOW…rdic/test_apps/cordic_driver_ut/main/test_cordic_q31.c620 // Step 2: Use NATURAL_LOG function with Q31 format (no reconfig needed, just use new calc_config)COMMENT
Modern Structural Boilerplate29 hits · 28 pts
SeverityFileLineSnippetContext
LOWconftest.py459def set_test_case_name(request: FixtureRequest, test_case_name: str) -> None:CODE
LOWtools/idf_tools.py899 def _update_current_options(self) -> None:STRING
LOWtools/idf_py_actions/tools.py66def _set_build_context(args: 'PropertyDict') -> None:CODE
LOWtools/idf_py_actions/core_ext.py260 def set_target(action: str, ctx: Context, args: PropertyDict, idf_target: str) -> None:CODE
LOWtools/ble/ble_uart_bridge/src/__init__.py11__all__ = [CODE
LOWtools/ble/ble_uart_bridge/src/core/__init__.py8__all__ = ['run_list_devices', 'run_connection_check', 'BLEUARTBridge', 'BLEUARTProfile']CODE
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py8__all__ = ['run_daemon', 'run_daemon_status', 'run_daemon_send', 'run_daemon_notify']CODE
LOWtools/ble/ble_uart_bridge/src/console/__init__.py7__all__ = ['run_console', 'ConsoleEncoding', 'ConsoleTerminator']CODE
LOWtools/ci/ci_fetch_submodule.py65def update_submodule(git_module_file: str, submodules_to_update: List) -> None:CODE
LOWtools/ci/doc_auto_translate.py378def _setup_auto_translate_import(auto_translate_dir: Path) -> None:CODE
LOW…_apps/system/gdbstub_runtime/pytest_gdbstub_runtime.py150def set_riscv_float_registers(dut: PanicTestDut, t_id: int, addition: int) -> None:CODE
LOW…_apps/system/gdbstub_runtime/pytest_gdbstub_runtime.py166def set_xtensa_float_registers(dut: PanicTestDut, t_id: int, addition: int) -> None:CODE
LOW…_apps/system/gdbstub_runtime/pytest_gdbstub_runtime.py192def set_riscv_pie_registers(dut: PanicTestDut, t_id: int, addition: int) -> None:CODE
LOW…_apps/system/gdbstub_runtime/pytest_gdbstub_runtime.py197 def set_gdb_128_bit_register(reg: str, byte: int) -> None:CODE
LOW…ps/system/panic/panic_base/test_panic_util/__init__.py5__all__ = ['PanicTestDut']CODE
LOWtools/test_idf_py/test_mcp_ext.py110 def set_info_stream(self, *args: Any, **kwargs: Any) -> None:CODE
LOW…est_build_system/test_build_system_helpers/__init__.py30__all__ = [CODE
LOWcomponents/fatfs/fatfs_utils/cluster.py143 def set_in_fat(self, value: int) -> None:CODE
LOWcomponents/fatfs/fatfs_utils/cluster.py156 def _set_msb_half_byte(address: int, value_: int) -> None:CODE
LOWcomponents/fatfs/fatfs_utils/cluster.py166 def _set_lsb_half_byte(address: int, value_: int) -> None:CODE
LOWcomponents/fatfs/fatfs_utils/entry.py243 def update_content_size(self, content_size: int) -> None:CODE
LOWcomponents/fatfs/fatfs_utils/exceptions.py6__all__ = [CODE
LOWcomponents/esp_tee/test_apps/tee_test_fw/conftest.py249 def set_tee_img_secure_version(self, datafile: str, secure_version: int) -> None:CODE
LOWcomponents/nvs_flash/nvs_partition_tool/nvs_logger.py22 def set_color(self, color: str) -> None:CODE
LOWcomponents/nvs_flash/nvs_partition_tool/nvs_logger.py26 def set_format(self, out_format: str) -> None:CODE
LOW…sp_wifi/test_apps/wifi_nvs_config/update_csv_suffix.py9def update_csv_suffix(suffix: str) -> None:CODE
LOWexamples/openthread/ot_ci_function.py300def set_interface_sysctl_options() -> None:CODE
LOW⚡examples/system/tracing/app_trace_to_plot/read_trace.py199def update_specific_graph_list(input_id: int, val: list[Any]) -> None:CODE
LOW…les/system/ota/partitions_ota/pytest_partitions_ota.py125def update_partitions(dut: Dut, env_name: str | None, signed_storage: bool | None) -> None:CODE
AI Slop Vocabulary7 hits · 17 pts
SeverityFileLineSnippetContext
LOWtools/idf_tools.py1218 # dict, so get_export_paths() cannot be used. Let's just create theSTRING
MEDIUM…t_apps/components/test_utils/ref_clock_impl_rmt_pcnt.c72 .resolution_hz = 10000, // channel resolution doesn't really matter, because we only utilize the carrierCODE
MEDIUMcomponents/bt/host/bluedroid/stack/gatt/gatt_attr.c790 // If robust caching is not supported, should always return true by defaultCOMMENT
MEDIUMcomponents/bt/host/bluedroid/stack/gatt/gatt_attr.c813 // This is used to reset bit when robust caching is disabledCOMMENT
MEDIUMcomponents/bt/host/bluedroid/stack/gatt/gatt_attr.c846 // if robust caching is not supported, do nothingCOMMENT
MEDIUMcomponents/esp_driver_ppa/src/ppa_srm.c101 // YUV444 is not supported by PPA module, need to utilize 2D-DMA color space conversion feature to do a conversionCOMMENT
MEDIUMexamples/protocols/sockets/tcp_server/main/tcp_server.c50 // Walk-around for robust implementation.COMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…og/extension/log_compression/scripts/c_format_parse.py175 Parse compressed log arguments into formatted string. Args: byte_sequence: Compressed argument bytes STRING
HIGHexamples/security/key_manager/generate_test_data.py147 Load ECDSA private key from PEM file and return the raw private key bytes. Args: pem_file: Path to theSTRING
HIGHexamples/security/key_manager/generate_test_data.py180 Load RSA private key from PEM file. Args: pem_file: Path to the PEM file containing an RSA private keySTRING
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ld_system/cmakev2/features/multi_config/CMakeLists.txt3# In this example, sdkconfig file is placed into the build directory.COMMENT
HIGHexamples/build_system/cmake/multi_config/CMakeLists.txt3# In this example, sdkconfig file is placed into the build directory.COMMENT
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippetContext
HIGHcomponents/protocomm/test_apps/main/test_srp.c68 // Verify salt length is as requestedCOMMENT
HIGHcomponents/esp_wifi/remote/README.md9The `esp_wifi_remote` component relies heavily on auto-generated code to maintain synchronization with the native `esp_wCODE
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/err_codes_to_rst.py8# Usage:COMMENT
LOWtools/idf_tools.py20# Usage:COMMENT
LOWtools/err_codes_extract.py7# Usage:COMMENT
LOWtools/err_codes_to_c.py8# Usage:COMMENT
LOWtools/esp_app_trace/gcov_capture.py10# Usage:COMMENT
LOW…_apps/system/no_embedded_paths/check_for_file_paths.py11# Usage:COMMENT
LOWcomponents/esp-tls/esp_tls_custom_stack.h612 * // Example usage:COMMENT
AI Structural Patterns12 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/idf.py300CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py147CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py176CODE
LOWtools/idf_py_actions/tools.py405CODE
LOWtools/test_idf_tools/test_idf_tools.py185CODE
LOWcomponents/fatfs/wl_fatfsgen.py90CODE
LOWcomponents/fatfs/fatfsgen.py41CODE
LOWcomponents/fatfs/fatfs_utils/entry.py160CODE
LOWcomponents/partition_table/gen_esp32part.py698CODE
LOWcomponents/partition_table/parttool.py75CODE
LOWcomponents/app_update/otatool.py46CODE
LOW…mples/peripherals/twai/twai_utils/pytest_twai_utils.py92CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/ci/check_callgraph.py314 # TODO: consider adding some sanity check that we are here not because of some bug inCOMMENT
LOWcomponents/pthread/pthread_rwlock.c58 // TODO: implement attributes in IDF-4284COMMENT
LOWcomponents/esp_driver_rmt/src/rmt_private.h102// TODO: implement the retention link on the channel level, this can:COMMENT