Repository Analysis

espressif/esp-idf

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

5.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of espressif/esp-idf, a C project with 18,534 GitHub stars. SynthScan v2.0 examined 4,931,154 lines of code across 15066 source files, recording 36625 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 5.8 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

5.8
Adjusted Score
5.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
18.5K
Stars
C
Language
4.9M
Lines of Code
15.1K
Files
36.6K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 21MEDIUM 179LOW 36425

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block34495 hits · 25964 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt141 # Fix is not clear yet.COMMENT
LOWCMakeLists.txt401# still pays the indirect call into __asan_load* / __asan_store*).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.yml21COMMENT
LOW.gitlab/ci/static-code-analysis.yml21 - .pre_check_templateCOMMENT
LOW.gitlab/ci/static-code-analysis.yml41##COMMENT
LOW.gitlab/ci/static-code-analysis.yml61# - export SONAR_SCANNER_OPTS="-Xmx2048m"COMMENT
LOW.gitlab/ci/static-code-analysis.yml81# # test if this branch have merge request, if not, exit 0COMMENT
LOW.gitlab/ci/static-code-analysis.yml101# # we don't want to block ci when critical issues foundedCOMMENT
LOW.gitlab/ci/default-build-test-rules.yml1# this file support two keywords:COMMENT
LOW.gitlab/ci/rules.yml241COMMENT
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
34435 more matches not shown…
Hyper-Verbose Identifiers1144 hits · 1124 pts
SeverityFileLineSnippetContext
LOWconftest.py101def get_pipeline_commit_sha_by_pipeline_id(pipeline_id: str) -> str | None:CODE
LOWconftest.py435 def _attach_log_url_to_xml_attribute(log_file_path: str) -> str:CODE
LOWconftest.py486def log_minimum_free_heap_size(dut: IdfDut, config: str, idf_path: str) -> t.Callable[..., None]:CODE
LOWconftest.py562def pytest_runtest_makereport(item, call): # type: ignoreCODE
LOWtools/split_paths_by_spaces.py223 def test_split_paths_absolute(self) -> None:STRING
LOWtools/split_paths_by_spaces.py226 def test_split_paths_absolute_spaces(self) -> None:STRING
LOWtools/split_paths_by_spaces.py235 def test_split_paths_absolute_relative(self) -> None:STRING
LOWtools/split_paths_by_spaces.py238 def test_split_paths_relative(self) -> None:STRING
LOWtools/split_paths_by_spaces.py241 def test_split_paths_absolute_spaces_relative(self) -> None:STRING
LOWtools/split_paths_by_spaces.py244 def test_split_paths_ambiguous(self) -> None:STRING
LOWtools/split_paths_by_spaces.py251 def test_split_paths_nonexistent(self) -> None:STRING
LOWtools/split_paths_by_spaces.py254 def test_split_paths_extra_whitespace(self) -> None:STRING
LOWtools/split_paths_by_spaces.py261 def test_split_paths_warnings(self) -> None:STRING
LOWtools/split_paths_by_spaces.py308 def split_paths_concatenated_base(self, paths_to_concatentate: typing.List[str],STRING
LOWtools/split_paths_by_spaces.py319 def check_paths_concatenated_ambiguous(self, *args: str,STRING
LOWtools/split_paths_by_spaces.py325 def check_paths_concatenated_nonexistent(self, *args: str,STRING
LOWtools/idf.py1383def _windows_unicode_satisfactory() -> bool:CODE
LOWtools/idf.py471 def _emit_cmake_custom_targets_help_panel(formatter: RichHelpFormatter, targets: list[tuple[str, str]]) -> None:CODE
LOWtools/idf.py877 def configure_ready_for_cmake_help() -> bool:CODE
LOWtools/idf.py970 def load_cli_extension_from_dir(ext_dir: str) -> Any | None:CODE
LOWtools/idf.py995 def load_cli_extensions_from_entry_points() -> list[tuple[str, Any]]:CODE
LOWtools/idf.py1043 def _path_relative_to_project(path: str, project_dir: str) -> str:CODE
LOWtools/idf.py1057 def _get_trusted_names_from_lock(lock_path: str) -> set[str]:CODE
LOWtools/idf.py1094 def _resolve_idf_managed_lock_path() -> str | None:CODE
LOWtools/idf.py1122 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.py784 def get_download_for_platform(self, platform_name: str | None) -> IDFToolDownload | None:STRING
LOWtools/idf_tools.py1061 def is_supported_for_any_of_targets(self, targets: list[str]) -> bool:STRING
LOWtools/idf_tools.py1097 def get_preferred_installed_version(self) -> str | None:STRING
LOWtools/idf_tools.py1582 def check_feature_requirements_files(self) -> None:STRING
LOWtools/idf_tools.py1818def get_python_exe_and_subdir() -> tuple[str, str]:STRING
LOWtools/idf_tools.py1960def feature_to_requirements_path(feature: str) -> str:STRING
LOWtools/idf_tools.py1967def process_and_check_features(idf_env_obj: IDFEnv, features_str: str) -> list[str]:STRING
LOWtools/idf_tools.py1996def get_all_targets_from_tools_json() -> list[str]:STRING
LOWtools/idf_tools.py2031def add_variables_to_deactivate_file(args: list[str], new_idf_vars: dict[str, Any]) -> str:STRING
LOWtools/idf_tools.py2058def print_deactivate_statement(args: list[str]) -> None:STRING
LOWtools/idf_tools.py2087def get_export_format_and_separator(args: list[str]) -> tuple[str, str]:STRING
LOWtools/idf_tools.py2094def get_unset_format_and_separator(args: list[str]) -> tuple[str, str]:STRING
LOWtools/idf_tools.py2208def handle_recommended_version_to_use(STRING
LOWtools/idf_tools.py2229def handle_supported_or_deprecated_version(tool: IDFTool, tool_name: str) -> None:STRING
LOWtools/idf_tools.py2317def check_python_venv_compatibility(idf_python_env_path: str, idf_version: str) -> None:STRING
LOWtools/idf_tools.py2430def get_idf_download_url_apply_mirrors(args: Any = None, download_url: str = IDF_DL_URL) -> str:STRING
LOWtools/idf_tools.py2471def apply_github_assets_option(idf_download_url: str) -> str:STRING
LOWtools/idf_tools.py2496def get_tools_spec_and_platform_info(STRING
LOWtools/idf_tools.py2726def action_install_python_env(args): # type: ignoreSTRING
LOWtools/idf_tools.py2849def action_check_python_dependencies(args): # type: ignoreSTRING
LOWtools/idf_tools.py3253def action_check_tool_supported(args: Any) -> None:STRING
LOWtools/idf_tools.py3270def action_get_tool_supported_versions(args: Any) -> None:STRING
LOWtools/check_python_dependencies.py29def 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
LOWtools/ldgen/test/test_fragments.py254 def test_whole_conditional_fragment(self):STRING
LOWtools/ldgen/test/test_fragments.py292 def test_equivalent_conditional_fragment(self):STRING
1084 more matches not shown…
Decorative Section Separators100 hits · 354 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.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_apps/system/kasan_test/pytest_kasan.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_apps/system/kasan_test/pytest_kasan.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_apps/system/kasan_test/pytest_kasan.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py225# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py227# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py262# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py486# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py488# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py524# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py526# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py143# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py145# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py166# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/test_idf_py/test_mcp_ext.py168# ---------------------------------------------------------------------------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
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt3# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt9# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt11# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt55# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt57# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt65# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt67# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt99# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt101# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt106# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt108# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt135# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt137# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt142# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt144# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt186# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt190# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt195# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt203# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt213# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt23# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt166# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt171# ---------------------------------------------------------------------------COMMENT
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt230# ---------------------------------------------------------------------------COMMENT
40 more matches not shown…
Deep Nesting223 hits · 214 pts
SeverityFileLineSnippetContext
LOWtools/install_util.py14CODE
LOWtools/idf.py159CODE
LOWtools/idf.py1312CODE
LOWtools/idf.py1405CODE
LOWtools/idf.py1322CODE
LOWtools/idf.py740CODE
LOWtools/idf.py863CODE
LOWtools/idf.py895CODE
LOWtools/idf_tools.py431CODE
LOWtools/idf_tools.py528CODE
LOWtools/idf_tools.py572CODE
LOWtools/idf_tools.py1833CODE
LOWtools/idf_tools.py2339CODE
LOWtools/idf_tools.py2726CODE
LOWtools/idf_tools.py3055CODE
LOWtools/idf_tools.py3163CODE
LOWtools/idf_tools.py286CODE
LOWtools/idf_tools.py1296CODE
LOWtools/idf_tools.py1686CODE
LOWtools/err_codes_extract.py103CODE
LOWtools/bsasm.py115CODE
LOWtools/bsasm.py291CODE
LOWtools/bsasm.py343CODE
LOWtools/bsasm.py454CODE
LOWtools/bsasm.py584CODE
LOWtools/bsasm.py841CODE
LOWtools/err_codes_to_c.py107CODE
LOWtools/ldgen/ldgen.py145CODE
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.py177CODE
LOWtools/cmakev2/esp_docs_cmakev2_extension.py142CODE
LOWtools/idf_py_actions/debug_ext.py41CODE
LOWtools/idf_py_actions/debug_ext.py59CODE
LOWtools/idf_py_actions/debug_ext.py82CODE
LOWtools/idf_py_actions/debug_ext.py187CODE
LOWtools/idf_py_actions/tools.py79CODE
LOWtools/idf_py_actions/tools.py218CODE
LOWtools/idf_py_actions/tools.py281CODE
LOWtools/idf_py_actions/tools.py998CODE
LOWtools/idf_py_actions/tools.py502CODE
LOWtools/idf_py_actions/create_ext.py47CODE
LOWtools/idf_py_actions/mcp_ext.py35CODE
LOWtools/idf_py_actions/diag_ext.py14CODE
LOWtools/idf_py_actions/qemu_ext.py175CODE
LOWtools/idf_py_actions/qemu_ext.py180CODE
LOWtools/idf_py_actions/core_ext.py42CODE
LOWtools/idf_py_actions/core_ext.py245CODE
LOWtools/idf_py_actions/core_ext.py289CODE
LOW…/idf_py_actions/hint_modules/component_requirements.py43CODE
163 more matches not shown…
Excessive Try-Catch Wrapping188 hits · 214 pts
SeverityFileLineSnippetContext
MEDIUMtools/err_codes_to_rst.py85 print('Error: Specify either --csv or --search-dirs.', file=sys.stderr)CODE
MEDIUMtools/idf.py1361def _valid_unicode_config() -> bool:CODE
LOWtools/idf.py1379 except Exception:CODE
LOWtools/idf.py1027 except Exception as e:CODE
LOWtools/idf.py1249 except Exception as e:CODE
LOWtools/idf.py1267 except Exception as e:CODE
MEDIUMtools/idf_tools.py1755def save(self) -> str:CODE
LOWtools/idf_tools.py645 except Exception as e:STRING
LOWtools/idf_tools.py1863 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
MEDIUMtools/bsasm.py975 print(f'Error opening {filename}: {sys.exc_info()[0]}')CODE
LOWtools/check_python_dependencies.py139 except Exception as e:CODE
LOWtools/check_python_dependencies.py172 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.py99 except Exception as e:CODE
LOWtools/idf_py_actions/debug_ext.py250 except Exception as e:CODE
LOWtools/idf_py_actions/tools.py75 except Exception:CODE
LOWtools/idf_py_actions/tools.py124 except Exception:CODE
LOWtools/idf_py_actions/tools.py155 except Exception as e:CODE
LOWtools/idf_py_actions/tools.py831 except Exception:CODE
LOWtools/idf_py_actions/mcp_ext.py61 except Exception:CODE
LOWtools/idf_py_actions/mcp_ext.py179 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py220 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py263 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py305 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py339 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py413 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py427 except Exception as e:CODE
LOWtools/idf_py_actions/mcp_ext.py437 except Exception as e:CODE
LOWtools/idf_py_actions/diag_ext.py114 except Exception:CODE
LOWtools/idf_py_actions/core_ext.py185 except Exception:CODE
LOWtools/idf_py_actions/core_ext.py325 except Exception as err:CODE
LOWtools/export_utils/shell_types.py43 except Exception as e:CODE
LOWtools/export_utils/shell_types.py57 except Exception as e:CODE
LOWtools/export_utils/console_output.py27 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
128 more matches not shown…
Unused Imports125 hits · 122 pts
SeverityFileLineSnippetContext
LOWconftest.py31CODE
LOWtools/idf_tools.py78CODE
LOWtools/mkdfu.py22CODE
LOWtools/idf_size.py12CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py29CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py41CODE
LOWtools/idf_py_actions/help_custom_targets_skip.py14CODE
LOWtools/test_mkdfu/test_mkdfu.py7CODE
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/esp_app_trace/espytrace/apptrace.py3CODE
LOWtools/ci/ci_get_mr_info.py20CODE
LOWtools/ci/ci_get_mr_info.py21CODE
LOWtools/ci/doc_auto_translate.py15CODE
LOW…pelines/scripts/generate_target_test_child_pipeline.py14CODE
LOWtools/test_apps/system/gdb/pytest_gdb.py13CODE
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
LOWtools/test_idf_tools/test_idf_tools_python_env.py18CODE
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
65 more matches not shown…
Fake / Example Data93 hits · 99 pts
SeverityFileLineSnippetContext
LOW…ents/esp_http_client/test_apps/main/test_http_client.c181 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.c654 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.c657 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.c669 dummy_trans[i].tx_buffer = dummy_data + i * 64;CODE
LOW…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c670 dummy_trans[i].rx_buffer = dummy_data + i * 64;CODE
LOW…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c671 dummy_trans[i].user = dummy_data + i * 64;CODE
LOW…s/esp_driver_spi/test_apps/slave/main/test_spi_slave.c688 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.txt110 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
LOWcomponents/esp_hal_dma/gdma_hal_ahb_v1.c74void gdma_ahb_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_ahb_v1.c77 gdma_ll_rx_connect_to_mem(hal->dev, chan_id, dummy_id);CODE
LOWcomponents/esp_hal_dma/gdma_hal_ahb_v1.c79 gdma_ll_tx_connect_to_mem(hal->dev, chan_id, dummy_id);CODE
LOWcomponents/esp_hal_dma/gdma_hal_axi.c75void gdma_axi_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_axi.c78 axi_dma_ll_rx_connect_to_mem(hal->axi_dma_dev, chan_id, dummy_id);CODE
LOWcomponents/esp_hal_dma/gdma_hal_axi.c80 axi_dma_ll_tx_connect_to_mem(hal->axi_dma_dev, chan_id, dummy_id);CODE
LOWcomponents/esp_hal_dma/gdma_hal_ahb_v2.c75void gdma_ahb_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_ahb_v2.c78 ahb_dma_ll_rx_connect_to_mem(hal->ahb_dma_dev, chan_id, dummy_id);CODE
LOWcomponents/esp_hal_dma/gdma_hal_ahb_v2.c80 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.h399static 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.h401 dev->channel[channel].in.in_peri_sel.peri_in_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32c5/include/hal/ahb_dma_ll.h675static 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.h677 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.h84 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.h123void 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.h403static 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.h405 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.h663static 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.h665 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.h388static 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.h390 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.h661static 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.h663 dev->channel[channel].out.out_peri_sel.peri_out_sel_chn = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32s3/include/hal/gdma_ll.h382static 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.h384 dev->channel[channel].in.peri_sel.sel = dummy_id;CODE
LOWcomponents/esp_hal_dma/esp32s3/include/hal/gdma_ll.h649static 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.h651 dev->channel[channel].out.peri_sel.sel = dummy_id;CODE
33 more matches not shown…
Self-Referential Comments37 hits · 98 pts
SeverityFileLineSnippetContext
MEDIUM.vale.ini30# Create a folder in <StylesPath>/Vocab/<name>/and add its name hereCOMMENT
MEDIUMtools/idf_tools.py1365 # Create the objectSTRING
MEDIUMtools/idf_tools.py2207# The following function is used in process_tool which is a part of the action_export.STRING
MEDIUMtools/idf_tools.py2228# The following function is used in process_tool which is a part of the action_export.STRING
MEDIUMtools/idf_tools.py2241# 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.py49 # This file is auto-generated from SoC capsCOMMENT
MEDIUMtools/export_utils/shell_types.py189 # 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.py497 # Create a test IDF component with hintsCOMMENT
MEDIUMtools/test_build_system/test_common.py551 # Create a local component with a uniquely identifiable hint entry so weCOMMENT
MEDIUMtools/test_build_system/test_common.py512 # Create a test project component with hintsSTRING
MEDIUMtools/test_build_system/test_cmake.py247 # Create a CMakePresets.json file with multiple configurationsCOMMENT
MEDIUMtools/test_build_system/test_idf_extension.py167 # 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
MEDIUMcomponents/esp_system/check_system_init_priorities.py6# This file is used to check the order of execution of ESP_SYSTEM_INIT_FN functions.COMMENT
MEDIUMcomponents/app_update/otatool.py368 # Create the operation table and execute the operationCOMMENT
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.py195 # Create a new websocket connection with retry for the partial endpointCOMMENT
MEDIUM…http_server/ws_echo_server/pytest_ws_server_example.py213 # Create a large message (200 bytes) to force multiple partial readsCOMMENT
Redundant / Tautological Comments58 hits · 83 pts
SeverityFileLineSnippetContext
LOWconftest.py299 # Check if the process is still runningCOMMENT
LOW.gitlab/ci/pre_check.yml77 # Check if Wi-Fi library header files match between IDF and the version used when compiling the librariesCOMMENT
LOW.gitlab/ci/pre_check.yml87 # Check if Coexistence library header files match between IDF and the version used when compiling the librariesCOMMENT
LOW.gitlab/ci/pre_check.yml97 # Check if Wi-Fi, PHY, BT blobs contain references to specific symbolsCOMMENT
LOWtools/idf.py1377 # Check if the encoding is Unicode-capableCOMMENT
LOWtools/idf_tools.py2775 # Verify if IDF_PYTHON_ENV_PATH is a valid ESP-IDF Python virtual environment directorySTRING
LOWtools/bsasm.py180 # Check if label is before any instructionCOMMENT
LOWtools/bsasm.py281# Check if element is a meta elementCOMMENT
LOWtools/bsasm.py896 # Check if mux bits are compatible and figure out flags neededCOMMENT
LOWtools/ldgen/ldgen.py190 # 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.py118 # Check if file was updated and print diff for usersSTRING
LOWtools/idf_py_actions/tools.py1040 # 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.py597 # 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.py386 # 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 · 57 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.c407 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c421 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c683 // Step 1 : InitializationCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c700 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c708 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c827 // Step 1: InitializationCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c848 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c862 // Step 3: Gain phaseCOMMENT
LOW…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c53 //Step 1: generate sizes and allocate memory.COMMENT
LOW…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c59 // 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.c68 //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_test_apps/main/test_cordic_q31.c568 // Step 1: Create engine with COS function and Q15 formatCOMMENT
LOW…rdic/test_apps/cordic_test_apps/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
LOWexamples/network/eth2ap/README.md78### Step 2: Ethernet Connects to Router/Switch/PC (with DHCP server enabled)COMMENT
LOWexamples/network/eth2ap/README.md84### Step 3: Start Wi-Fi APCOMMENT
LOWexamples/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 Phrases30 hits · 51 pts
SeverityFileLineSnippetContext
LOW.gitlab/ci/pre_check.yml134# Don't forget to update the env var `LATEST_GIT_TAG` in .gitlab/ci/common.ymlCOMMENT
LOW.gitlab/ci/default-build-test-rules.yml17# - enable the README.md check for esp32c6. Don't forget to add the build jobs in .gitlab/ci/build.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_driver_rmt/src/rmt_tx.c159 // didn't find a capable channel in the group, don't forget to release the group handleCOMMENT
LOWcomponents/esp_driver_rmt/src/rmt_rx.c128 // didn't find a capable channel in the group, don't forget to release the group handleCOMMENT
LOWcomponents/spi_flash/spi_flash_hpm_enable.c194 * @note Don't forget to adjust dummy configurations for MSPI, you can get theCOMMENT
LOWcomponents/spi_flash/spi_flash_hpm_enable.c267* @note Don't forget to adjust dummy configurations for MSPI, you can get theCOMMENT
LOWcomponents/spi_flash/include/esp_private/spi_flash_os.h142 * @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_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.c156 // 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.py164 autoload -Uz compinit && compinit -uCODE
HIGHtools/esp_app_trace/espytrace/sysview.py963 # context is undefined, we do not know have we started the tracing in task/IDLE or IRQ contextCOMMENT
HIGHtools/ci/gitlab_yaml_linter.py104 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 · 37 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.c407 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c421 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c683 // Step 1 : InitializationCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c700 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c708 // Step 3: Gain phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c827 // Step 1: InitializationCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c848 // Step 2: Load phaseCOMMENT
LOWcomponents/esp_security/src/esp_key_mgr.c862 // 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.c53 //Step 1: generate sizes and allocate memory.COMMENT
LOW…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c59 // 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.c68 //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.c944 //If not, we need to check if the HW support direct writeCOMMENT
LOWcomponents/spi_flash/esp_flash_api.c1133 //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_test_apps/main/test_cordic_q31.c568 // Step 1: Create engine with COS function and Q15 formatCOMMENT
LOW…rdic/test_apps/cordic_test_apps/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 Boilerplate27 hits · 27 pts
SeverityFileLineSnippetContext
LOWconftest.py426def set_test_case_name(request: FixtureRequest, test_case_name: str) -> None:CODE
LOWtools/idf_tools.py897 def _update_current_options(self) -> None:STRING
LOWtools/idf_py_actions/tools.py58def _set_build_context(args: 'PropertyDict') -> None:CODE
LOWtools/idf_py_actions/core_ext.py259 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
LOW…est_build_system/test_build_system_helpers/__init__.py28__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/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.py290def set_interface_sysctl_options() -> 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
LOWexamples/system/app_trace_to_plot/read_trace.py199def update_specific_graph_list(input_id: int, val: list[Any]) -> None:CODE
AI Slop Vocabulary7 hits · 17 pts
SeverityFileLineSnippetContext
LOWtools/idf_tools.py1198 # 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.h593 * // Example usage:COMMENT
AI Structural Patterns11 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py145CODE
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py174CODE
LOWtools/idf_py_actions/tools.py368CODE
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.py45CODE
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