Repository Analysis

espressif/esp-idf

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

5.8 Low AI signal View on GitHub
5.8
Adjusted Score
5.8
Raw Score
100%
Time Factor
2026-05-29
Last Push
18,186
Stars
C
Language
4,865,935
Lines of Code
14785
Files
36543
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 26MEDIUM 162LOW 36355

Pattern Findings

36543 matches across 17 categories. Click a row to expand file-level details.

Over-Commented Block34497 hits · 25936 pts
SeverityFileLineSnippet
LOWCMakeLists.txt121 # Clang seems to notice format string issues which GCC doesn't.
LOW.vale.ini1###################
LOW.vale.ini21# The path value may be absolute or relative to this configuration file.
LOW.vale.ini41# https://vale.sh/docs/topics/packages/
LOW.vale.ini61
LOW.gitlab/ci/common.yml21 # Common parameters for the 'make' during CI tests
LOW.gitlab/ci/static-code-analysis.yml21 - .pre_check_template
LOW.gitlab/ci/static-code-analysis.yml41##
LOW.gitlab/ci/static-code-analysis.yml61# - export SONAR_SCANNER_OPTS="-Xmx2048m"
LOW.gitlab/ci/static-code-analysis.yml81# # test if this branch have merge request, if not, exit 0
LOW.gitlab/ci/static-code-analysis.yml101# # we don't want to block ci when critical issues founded
LOW.gitlab/ci/default-build-test-rules.yml1# this file support two keywords:
LOW.gitlab/ci/rules.yml261# - <<: *if-dev-push
LOWtools/split_paths_by_spaces.py1#!/usr/bin/env python
LOWtools/python_version_checker.py1#!/usr/bin/env python
LOWtools/idf.py1#!/usr/bin/env python
LOWtools/idf_tools.py1#!/usr/bin/env python
LOWtools/mkdfu.py1#!/usr/bin/env python
LOWtools/bsasm.py81# they cannot contain commas. Instruction bundles consist of multiple
LOWtools/bsasm.py101# elsewhere.
LOWtools/set-submodules-to-github.sh1#!/usr/bin/env bash
LOWtools/idf_extra_components.yml1# This file defines extra dependencies for ESP-IDF
LOWtools/ldgen/ldgen/generation.py81 self.basis.add_exclusion(self)
LOWtools/ldgen/test/test_generation.py381 flash_text[0].exclusions.add(CROUTINE)
LOWtools/ldgen/test/test_generation.py441 # Test a mapping entry that differs from the default for a symbol
LOWtools/ldgen/test/test_generation.py501 [],
LOWtools/ldgen/test/test_generation.py541
LOWtools/ldgen/test/test_generation.py621 # libfreertos.a:croutine (.text.prvCheckPendingReadyList .literal.prvCheckPendingReadyList) B
LOWtools/ldgen/test/test_generation.py681 # libfreertos.a:croutine text -> flash, rodata -> flash
LOWtools/ldgen/test/test_generation.py781[mapping:test]
LOWtools/ldgen/test/test_generation.py881
LOWtools/ldgen/test/test_generation.py941 #
LOWtools/ldgen/test/test_generation.py1041 # *(EXCLUDE_FILE(libfreertos.a:croutine libfreertos.a:timers) .rodata ...) A, B
LOWtools/ldgen/test/test_generation.py1061 # libfreertos.a:timers (.text .text.prvCheckForValidListAndQueue ...) D.2
LOWtools/ldgen/test/test_generation.py1241
LOWtools/ldgen/test/test_generation.py1521 def test_flags_basics(self):
LOWtools/ldgen/test/test_generation.py1661 #
LOWtools/ldgen/test/test_generation.py1761 # Command for #2, post A.2
LOWtools/idf_py_actions/hints.yml1# -
LOWtools/idf_py_actions/hints.yml21# -
LOWtools/ble/lib_ble_client.py1#!/usr/bin/env python
LOWtools/ble/lib_gap.py1#!/usr/bin/env python
LOWtools/ble/lib_gatt.py1#!/usr/bin/env python
LOWtools/esp_app_trace/gcov_capture.py1#!/usr/bin/env python
LOWtools/esp_app_trace/gcov_capture.py21# baudrate=dut.app.sdkconfig.get('APPTRACE_UART_BAUDRATE'),
LOWtools/esp_app_trace/gcov_capture.py41# # Wait for multiple dumps
LOWtools/ci/check_soc_struct_headers.py1#!/usr/bin/env python
LOWtools/ci/check_copyright_config.yaml1# This file configures the check_copyright pre-commit hook
LOWtools/ci/check_callgraph.py201 # Symbol file names (from ELF debug info) are short source file names, without path: "cpu_start.c".
LOWtools/ci/multirun_with_pyenv.sh1#!/usr/bin/env bash
LOWtools/ci/check_public_headers.py221 # - static asserts
LOWtools/ci/python_packages/idf_http_server_test/test.py1#!/usr/bin/env python
LOWtools/ci/python_packages/idf_http_server_test/test.py21# - Register separate handlers for /hello, /hello/type_html. Also
LOWtools/ci/python_packages/idf_http_server_test/test.py41#
LOWtools/ci/python_packages/idf_http_server_test/test.py61# - GET on /hello (should return 'Hello World')
LOWtools/ci/python_packages/idf_http_server_test/test.py81# client that left the network halfway through a request)
LOWtools/ci/python_packages/idf_http_server_test/test.py101# - 50 is the total number of requests that will be sent out
LOW…inux_compatible/mock_build_test/main/mock_build_test.c1/*
LOW…inux_compatible/mock_build_test/main/mock_build_test.c21#include "Mockesp_wifi_he.h"
LOW…pps/security/secure_boot/main/secure_boot_main_esp32.c1/* Flash encryption Example
34437 more matches not shown…
Hyper-Verbose Identifiers1191 hits · 1177 pts
SeverityFileLineSnippet
LOWconftest.py100def get_pipeline_commit_sha_by_pipeline_id(pipeline_id: str) -> str | None:
LOWconftest.py395 def _attach_log_url_to_xml_attribute(log_file_path: str) -> str:
LOWconftest.py446def log_minimum_free_heap_size(dut: IdfDut, config: str, idf_path: str) -> t.Callable[..., None]:
LOWconftest.py522def pytest_runtest_makereport(item, call): # type: ignore
LOWtools/split_paths_by_spaces.py223 def test_split_paths_absolute(self) -> None:
LOWtools/split_paths_by_spaces.py226 def test_split_paths_absolute_spaces(self) -> None:
LOWtools/split_paths_by_spaces.py235 def test_split_paths_absolute_relative(self) -> None:
LOWtools/split_paths_by_spaces.py238 def test_split_paths_relative(self) -> None:
LOWtools/split_paths_by_spaces.py241 def test_split_paths_absolute_spaces_relative(self) -> None:
LOWtools/split_paths_by_spaces.py244 def test_split_paths_ambiguous(self) -> None:
LOWtools/split_paths_by_spaces.py251 def test_split_paths_nonexistent(self) -> None:
LOWtools/split_paths_by_spaces.py254 def test_split_paths_extra_whitespace(self) -> None:
LOWtools/split_paths_by_spaces.py261 def test_split_paths_warnings(self) -> None:
LOWtools/split_paths_by_spaces.py308 def split_paths_concatenated_base(self, paths_to_concatentate: typing.List[str],
LOWtools/split_paths_by_spaces.py319 def check_paths_concatenated_ambiguous(self, *args: str,
LOWtools/split_paths_by_spaces.py325 def check_paths_concatenated_nonexistent(self, *args: str,
LOWtools/idf.py1255def _windows_unicode_satisfactory() -> bool:
LOWtools/idf.py781 def configure_ready_for_cmake_help() -> bool:
LOWtools/idf.py874 def load_cli_extension_from_dir(ext_dir: str) -> Any | None:
LOWtools/idf.py899 def load_cli_extensions_from_entry_points() -> list[tuple[str, Any]]:
LOWtools/idf.py962 def _get_trusted_names_from_lock(lock_path: str) -> set[str]:
LOWtools/idf.py999 def _resolve_idf_managed_lock_path() -> str | None:
LOWtools/idf_tools.py176def print_hints_on_download_error(err: str) -> None:
LOWtools/idf_tools.py286 def detect_linux_arm_platform(supposed_platform: str | None) -> str | None:
LOWtools/idf_tools.py784 def get_download_for_platform(self, platform_name: str | None) -> IDFToolDownload | None:
LOWtools/idf_tools.py1061 def is_supported_for_any_of_targets(self, targets: list[str]) -> bool:
LOWtools/idf_tools.py1097 def get_preferred_installed_version(self) -> str | None:
LOWtools/idf_tools.py1582 def check_feature_requirements_files(self) -> None:
LOWtools/idf_tools.py1818def get_python_exe_and_subdir() -> tuple[str, str]:
LOWtools/idf_tools.py1960def feature_to_requirements_path(feature: str) -> str:
LOWtools/idf_tools.py1967def process_and_check_features(idf_env_obj: IDFEnv, features_str: str) -> list[str]:
LOWtools/idf_tools.py1996def get_all_targets_from_tools_json() -> list[str]:
LOWtools/idf_tools.py2031def add_variables_to_deactivate_file(args: list[str], new_idf_vars: dict[str, Any]) -> str:
LOWtools/idf_tools.py2058def print_deactivate_statement(args: list[str]) -> None:
LOWtools/idf_tools.py2087def get_export_format_and_separator(args: list[str]) -> tuple[str, str]:
LOWtools/idf_tools.py2094def get_unset_format_and_separator(args: list[str]) -> tuple[str, str]:
LOWtools/idf_tools.py2208def handle_recommended_version_to_use(
LOWtools/idf_tools.py2229def handle_supported_or_deprecated_version(tool: IDFTool, tool_name: str) -> None:
LOWtools/idf_tools.py2317def check_python_venv_compatibility(idf_python_env_path: str, idf_version: str) -> None:
LOWtools/idf_tools.py2430def get_idf_download_url_apply_mirrors(args: Any = None, download_url: str = IDF_DL_URL) -> str:
LOWtools/idf_tools.py2471def apply_github_assets_option(idf_download_url: str) -> str:
LOWtools/idf_tools.py2496def get_tools_spec_and_platform_info(
LOWtools/idf_tools.py2726def action_install_python_env(args): # type: ignore
LOWtools/idf_tools.py2856def action_check_python_dependencies(args): # type: ignore
LOWtools/idf_tools.py3256def action_check_tool_supported(args: Any) -> None:
LOWtools/idf_tools.py3273def action_get_tool_supported_versions(args: Any) -> None:
LOWtools/check_python_dependencies.py29def validate_requirement_list(file_path: str) -> str:
LOWtools/ldgen/ldgen/generation.py461 def _prepare_scheme_dictionary(self):
LOWtools/ldgen/ldgen/generation.py510 def _prepare_mutable_entity_mappings(self, entity_mappings, scheme_dictionary, entities):
LOWtools/ldgen/ldgen/fragments.py90 def get_section_data_from_entry(sections_entry, symbol=None):
LOWtools/ldgen/test/test_entity.py86 def test_compare_different_specificity(self):
LOWtools/ldgen/test/test_entity.py146 def test_compare_same_specificity(self):
LOWtools/ldgen/test/test_entity.py169 def test_compare_all_non_character(self):
LOWtools/ldgen/test/test_fragments.py156 def test_settings_unmatch_indent(self):
LOWtools/ldgen/test/test_fragments.py216 def test_out_of_order_conditional(self):
LOWtools/ldgen/test/test_fragments.py254 def test_whole_conditional_fragment(self):
LOWtools/ldgen/test/test_fragments.py292 def test_equivalent_conditional_fragment(self):
LOWtools/ldgen/test/test_fragments.py512 def test_archive_allowed_names(self):
LOWtools/ldgen/test/test_fragments.py776 def test_flags_entries_multiple_flags(self):
LOWtools/ldgen/test/test_fragments.py802 def test_flags_entries_multiple_flags_and_entries(self):
1131 more matches not shown…
Decorative Section Separators82 hits · 302 pts
SeverityFileLineSnippet
MEDIUM.gitlab/ci/dependencies/dependencies.yml14# -------------------
MEDIUM.gitlab/ci/dependencies/dependencies.yml16# -------------------
MEDIUM.gitlab/ci/dependencies/dependencies.yml37# ---------------------------
MEDIUM.gitlab/ci/dependencies/dependencies.yml39# ---------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py13# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py15# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py41# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py43# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py68# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py70# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py98# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py100# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py215# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py217# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py230# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py232# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py137# ---------------------------------------------------------------------------
MEDIUMtools/bt/ble_log_console/tests/test_launch_screen.py139# ---------------------------------------------------------------------------
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py15# ---------------------------------------------------------------------------
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py17# ---------------------------------------------------------------------------
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py35# ---------------------------------------------------------------------------
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py37# ---------------------------------------------------------------------------
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py77# ---------------------------------------------------------------------------
MEDIUM…_driver_twai/test_apps/test_twai/pytest_driver_twai.py79# ---------------------------------------------------------------------------
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py13# ---------------------------------------------------------------------------
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py15# ---------------------------------------------------------------------------
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py33# ---------------------------------------------------------------------------
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py35# ---------------------------------------------------------------------------
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py81# ---------------------------------------------------------------------------
MEDIUMcomponents/driver/test_apps/legacy_twai/pytest_twai.py83# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt3# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt9# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt11# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt36# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt38# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt43# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt45# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt77# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt79# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt84# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt86# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt113# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt115# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt120# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt122# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt128# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt133# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt148# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt152# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt157# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt165# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt175# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt23# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt192# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt274# ---------------------------------------------------------------------------
MEDIUMcomponents/bootloader/subproject/CMakeLists_v2.txt291# ---------------------------------------------------------------------------
MEDIUMcomponents/freertos/test_apps/freertos/CMakeLists.txt23# ============================================================================
MEDIUMcomponents/freertos/test_apps/freertos/CMakeLists.txt25# ============================================================================
MEDIUMexamples/network/bridge/pytest_example_bridge.py324 # ------------------------------------
MEDIUMexamples/network/bridge/pytest_example_bridge.py374 # --------------------------------------------------
22 more matches not shown…
Excessive Try-Catch Wrapping198 hits · 227 pts
SeverityFileLineSnippet
MEDIUMtools/idf.py1233def _valid_unicode_config() -> bool:
LOWtools/idf.py1251 except Exception:
LOWtools/idf.py931 except Exception as e:
LOWtools/idf.py1138 except Exception as e:
LOWtools/idf.py1149 except Exception as e:
MEDIUMtools/idf_tools.py1755def save(self) -> str:
LOWtools/idf_tools.py645 except Exception as e:
LOWtools/idf_tools.py1863 except Exception as e:
MEDIUMtools/bsasm.py975 print(f'Error opening {filename}: {sys.exc_info()[0]}')
LOWtools/check_python_dependencies.py139 except Exception as e:
LOWtools/check_python_dependencies.py172 except Exception as e:
LOWtools/ldgen/test/test_fragments.py44 except Exception:
MEDIUMtools/ldgen/test/test_fragments.py40def tearDown(self):
LOWtools/idf_py_actions/debug_ext.py99 except Exception as e:
LOWtools/idf_py_actions/debug_ext.py250 except Exception as e:
LOWtools/idf_py_actions/tools.py75 except Exception:
LOWtools/idf_py_actions/tools.py124 except Exception:
LOWtools/idf_py_actions/tools.py155 except Exception as e:
LOWtools/idf_py_actions/tools.py824 except Exception:
LOWtools/idf_py_actions/mcp_ext.py55 except Exception:
LOWtools/idf_py_actions/mcp_ext.py99 except Exception as e:
LOWtools/idf_py_actions/mcp_ext.py125 except Exception as e:
LOWtools/idf_py_actions/mcp_ext.py147 except Exception as e:
LOWtools/idf_py_actions/mcp_ext.py173 except Exception as e:
LOWtools/idf_py_actions/mcp_ext.py194 except Exception as e:
LOWtools/idf_py_actions/mcp_ext.py244 except Exception as e:
LOWtools/idf_py_actions/mcp_ext.py257 except Exception as e:
LOWtools/idf_py_actions/mcp_ext.py267 except Exception as e:
LOWtools/idf_py_actions/diag_ext.py119 except Exception:
LOWtools/idf_py_actions/core_ext.py190 except Exception:
LOWtools/idf_py_actions/core_ext.py330 except Exception as err:
LOWtools/export_utils/shell_types.py43 except Exception as e:
LOWtools/export_utils/shell_types.py57 except Exception as e:
LOWtools/export_utils/console_output.py27 except Exception as e:
MEDIUMtools/ble/lib_ble_client.py108def __del__(self):
MEDIUMtools/ble/lib_ble_client.py444def get_service_if_exists(self, service_uuid):
MEDIUMtools/ble/lib_ble_client.py455def start_notify(self, char):
MEDIUMtools/ble/lib_ble_client.py559def register_adv(self, adv_host_name, adv_type, adv_uuid):
LOWtools/ble/lib_ble_client.py105 except Exception as err:
LOWtools/ble/lib_ble_client.py113 except Exception as e:
LOWtools/ble/lib_ble_client.py163 except Exception as err:
LOWtools/ble/lib_ble_client.py227 except Exception as err:
LOWtools/ble/lib_ble_client.py322 except Exception as err:
LOWtools/ble/lib_ble_client.py357 except Exception as err:
LOWtools/ble/lib_ble_client.py386 except Exception as err:
LOWtools/ble/lib_ble_client.py426 except Exception as err:
LOWtools/ble/lib_ble_client.py441 except Exception as err:
LOWtools/ble/lib_ble_client.py452 except Exception as err:
LOWtools/ble/lib_ble_client.py481 except Exception as err:
LOWtools/ble/lib_ble_client.py528 except Exception as err:
LOWtools/ble/lib_ble_client.py556 except Exception as err:
LOWtools/ble/lib_ble_client.py599 except Exception as err:
LOWtools/ble/lib_ble_client.py711 except Exception as err:
LOWtools/ble/lib_gatt.py379 except Exception as e:
MEDIUMtools/ble/lib_gatt.py368def StartNotify(self):
LOWtools/ble/ble_uart_bridge/src/core/bridge.py94 except Exception as e:
LOWtools/ble/ble_uart_bridge/src/core/bridge.py151 except Exception as e:
LOWtools/ble/ble_uart_bridge/src/core/bridge.py170 except Exception as e:
LOWtools/ble/ble_uart_bridge/src/core/bridge.py199 except Exception as e:
LOWtools/ble/ble_uart_bridge/src/core/bridge.py261 except Exception as e:
138 more matches not shown…
Deep Nesting223 hits · 216 pts
SeverityFileLineSnippet
LOWtools/gen_esp_err_to_name.py227
LOWtools/gen_esp_err_to_name.py307
LOWtools/install_util.py14
LOWtools/idf.py159
LOWtools/idf.py1184
LOWtools/idf.py1277
LOWtools/idf.py1194
LOWtools/idf.py644
LOWtools/idf.py767
LOWtools/idf.py799
LOWtools/idf_tools.py431
LOWtools/idf_tools.py528
LOWtools/idf_tools.py572
LOWtools/idf_tools.py1833
LOWtools/idf_tools.py2339
LOWtools/idf_tools.py2726
LOWtools/idf_tools.py3058
LOWtools/idf_tools.py3166
LOWtools/idf_tools.py286
LOWtools/idf_tools.py1296
LOWtools/idf_tools.py1686
LOWtools/bsasm.py115
LOWtools/bsasm.py291
LOWtools/bsasm.py343
LOWtools/bsasm.py454
LOWtools/bsasm.py584
LOWtools/bsasm.py841
LOWtools/ldgen/ldgen.py132
LOWtools/ldgen/ldgen/generation.py208
LOWtools/ldgen/ldgen/generation.py341
LOWtools/ldgen/ldgen/generation.py510
LOWtools/ldgen/ldgen/generation.py541
LOWtools/ldgen/ldgen/output_commands.py91
LOWtools/ldgen/ldgen/linker_script.py35
LOWtools/ldgen/ldgen/linker_script.py64
LOWtools/ldgen/ldgen/entity.py46
LOWtools/ldgen/ldgen/entity.py74
LOWtools/ldgen/ldgen/entity.py228
LOWtools/ldgen/ldgen/fragments.py281
LOWtools/ldgen/ldgen/fragments.py372
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py177
LOWtools/cmakev2/esp_docs_cmakev2_extension.py132
LOWtools/idf_py_actions/debug_ext.py41
LOWtools/idf_py_actions/debug_ext.py59
LOWtools/idf_py_actions/debug_ext.py82
LOWtools/idf_py_actions/debug_ext.py187
LOWtools/idf_py_actions/tools.py79
LOWtools/idf_py_actions/tools.py218
LOWtools/idf_py_actions/tools.py281
LOWtools/idf_py_actions/tools.py991
LOWtools/idf_py_actions/tools.py489
LOWtools/idf_py_actions/create_ext.py47
LOWtools/idf_py_actions/mcp_ext.py35
LOWtools/idf_py_actions/diag_ext.py17
LOWtools/idf_py_actions/qemu_ext.py175
LOWtools/idf_py_actions/qemu_ext.py180
LOWtools/idf_py_actions/core_ext.py42
LOWtools/idf_py_actions/core_ext.py250
LOWtools/idf_py_actions/core_ext.py294
LOW…/idf_py_actions/hint_modules/component_requirements.py43
163 more matches not shown…
Unused Imports146 hits · 144 pts
SeverityFileLineSnippet
LOWconftest.py31
LOWtools/check_term.py6
LOWtools/idf_tools.py78
LOWtools/mkdfu.py22
LOWtools/idf_size.py12
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py29
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py41
LOWtools/idf_py_actions/help_custom_targets_skip.py14
LOWtools/idf_py_actions/core_ext.py154
LOWtools/test_mkdfu/test_mkdfu.py7
LOWtools/ble/lib_ble_client.py20
LOWtools/ble/lib_gap.py20
LOWtools/ble/lib_gatt.py20
LOWtools/ble/ble_uart_bridge/src/__init__.py3
LOWtools/ble/ble_uart_bridge/src/__init__.py4
LOWtools/ble/ble_uart_bridge/src/__init__.py5
LOWtools/ble/ble_uart_bridge/src/__init__.py6
LOWtools/ble/ble_uart_bridge/src/__init__.py7
LOWtools/ble/ble_uart_bridge/src/__init__.py8
LOWtools/ble/ble_uart_bridge/src/__init__.py9
LOWtools/ble/ble_uart_bridge/src/core/scanner.py4
LOWtools/ble/ble_uart_bridge/src/core/models.py4
LOWtools/ble/ble_uart_bridge/src/core/constants.py4
LOWtools/ble/ble_uart_bridge/src/core/bridge.py4
LOWtools/ble/ble_uart_bridge/src/core/__init__.py3
LOWtools/ble/ble_uart_bridge/src/core/__init__.py4
LOWtools/ble/ble_uart_bridge/src/core/__init__.py5
LOWtools/ble/ble_uart_bridge/src/core/__init__.py6
LOWtools/ble/ble_uart_bridge/src/core/errors.py4
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py3
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py4
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py5
LOWtools/ble/ble_uart_bridge/src/daemon/__init__.py6
LOWtools/ble/ble_uart_bridge/src/console/console.py4
LOWtools/ble/ble_uart_bridge/src/console/__init__.py3
LOWtools/ble/ble_uart_bridge/src/console/__init__.py4
LOWtools/ble/ble_uart_bridge/src/console/__init__.py5
LOWtools/ble/ble_uart_bridge/src/console/api.py4
LOWtools/esp_app_trace/logtrace_proc.py6
LOWtools/esp_app_trace/espytrace/apptrace.py3
LOWtools/ci/ci_get_mr_info.py20
LOWtools/ci/ci_get_mr_info.py21
LOW…pelines/scripts/generate_target_test_child_pipeline.py14
LOWtools/ci/dynamic_pipelines/scripts/generate_report.py9
LOWtools/test_apps/system/gdb/pytest_gdb.py13
LOW…ps/system/panic/panic_base/test_panic_util/__init__.py3
LOWtools/test_idf_py/test_read_and_write_stream_unicode.py8
LOW…s/test_idf_py/test_idf_extensions/test_ext/__init__.py3
LOWtools/bt/ble_log_console/src/__init__.py11
LOWtools/bt/ble_log_console/src/frontend/stats_screen.py10
LOWtools/bt/ble_log_console/src/backend/stats/buf_util.py4
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py6
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py7
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py8
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py9
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py10
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py11
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py12
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py13
LOWtools/bt/ble_log_console/src/backend/stats/__init__.py14
86 more matches not shown…
Self-Referential Comments38 hits · 102 pts
SeverityFileLineSnippet
MEDIUM.vale.ini30# Create a folder in <StylesPath>/Vocab/<name>/and add its name here
MEDIUMtools/idf_tools.py1365 # Create the object
MEDIUMtools/idf_tools.py2207# The following function is used in process_tool which is a part of the action_export.
MEDIUMtools/idf_tools.py2228# The following function is used in process_tool which is a part of the action_export.
MEDIUMtools/idf_tools.py2241# The following function is used in process_tool which is a part of the action_export.
MEDIUMtools/bsasm.py120 # Define the various states
MEDIUMtools/idf_extra_components.yml1# This file defines extra dependencies for ESP-IDF
MEDIUMtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py49 # This file is auto-generated from SoC caps
MEDIUMtools/export_utils/shell_types.py189 # Create a temporary directory to use as ZDOTDIR
MEDIUMtools/ci/configure_ci_environment.sh1# This file is sourced in to the CI environment
MEDIUMtools/ci/metrics/examples_count/schema.yaml3# This file defines the schema and validation rules for ESP-IDF examples count metrics
MEDIUMtools/ci/dynamic_pipelines/report.py203 # Create a mapping of header names to their corresponding index in the headers list
MEDIUMtools/ci/dynamic_pipelines/templates/.dynamic_jobs.yml1# This file is used to generate build jobs for pytest case dynamic pipeline
MEDIUMtools/test_build_system/test_components.py351 # Create a source file and include directory in my_comp
MEDIUMtools/test_build_system/test_components.py385 # Create a component that would trigger validation warnings
MEDIUMtools/test_build_system/test_components.py426 # Create a component with private include directory
MEDIUMtools/test_build_system/test_common.py469 # Create a test IDF component with hints
MEDIUMtools/test_build_system/test_common.py523 # Create a local component with a uniquely identifiable hint entry so we
MEDIUMtools/test_build_system/test_common.py484 # Create a test project component with hints
MEDIUMtools/test_build_system/test_cmake.py247 # Create a CMakePresets.json file with multiple configurations
MEDIUMtools/test_build_system/test_idf_extension.py166 # Create a component with a CLI extension
MEDIUMdocs/conf_common.py4# This file is imported from a language-specific conf.py (ie en/conf.py or
MEDIUMcomponents/partition_table/parttool.py379 # Create the operation table and execute the operation
MEDIUMcomponents/esp_system/check_system_init_priorities.py6# This file is used to check the order of execution of ESP_SYSTEM_INIT_FN functions.
MEDIUMcomponents/app_update/otatool.py368 # Create the operation table and execute the operation
MEDIUM…mponents/esp_tee/test_apps/tee_cli_app/https_server.py56 # Define the server address and port
MEDIUM…mponents/esp_tee/test_apps/tee_cli_app/https_server.py59 # Create a simple request handler
MEDIUM…mponents/esp_tee/test_apps/tee_cli_app/https_server.py62 # Create the HTTP server
MEDIUM…mponents/esp_tee/test_apps/tee_cli_app/https_server.py65 # Create an SSL context
MEDIUMexamples/openthread/pytest_otbr.py22# This file contains the test scripts for Thread:
MEDIUM…kev2/features/component_manager/main/idf_component.yml5 # Defining a dependency from the ESP Component Registry:
MEDIUM…_system/cmake/component_manager/main/idf_component.yml5 # Defining a dependency from the ESP Component Registry:
MEDIUMexamples/storage/parttool/parttool_example.py70 # Create a file whose contents will be written to the storage partition
MEDIUMexamples/storage/parttool/parttool_example.py72 # Create a file to write to the data partition with randomly generated content
MEDIUMexamples/storage/parttool/parttool_example.sh45# Create a file whose contents will be written to the storage partition
MEDIUMexamples/system/gcov/pytest_gcov.py46 # Create the generated .gcda folders
MEDIUM…http_server/ws_echo_server/pytest_ws_server_example.py195 # Create a new websocket connection with retry for the partial endpoint
MEDIUM…http_server/ws_echo_server/pytest_ws_server_example.py213 # Create a large message (200 bytes) to force multiple partial reads
Redundant / Tautological Comments60 hits · 86 pts
SeverityFileLineSnippet
LOWconftest.py271 # Check if the process is still running
LOW.gitlab/ci/pre_check.yml77 # Check if Wi-Fi library header files match between IDF and the version used when compiling the libraries
LOW.gitlab/ci/pre_check.yml87 # Check if Coexistence library header files match between IDF and the version used when compiling the libraries
LOW.gitlab/ci/pre_check.yml97 # Check if Wi-Fi, PHY, BT blobs contain references to specific symbols
LOWtools/idf.py1249 # Check if the encoding is Unicode-capable
LOWtools/idf_tools.py2782 # Verify if IDF_PYTHON_ENV_PATH is a valid ESP-IDF Python virtual environment directory
LOWtools/bsasm.py180 # Check if label is before any instruction
LOWtools/bsasm.py281# Check if element is a meta element
LOWtools/bsasm.py896 # Check if mux bits are compatible and figure out flags needed
LOWtools/ldgen/ldgen.py228 # Check if we can skip generation entirely — section names and other
LOWtools/ldgen/ldgen/generation.py84 # Check if the placement is significant. Significant placements
LOWtools/ldgen/ldgen/generation.py563 # Check if all section->target defined in the current
LOWtools/gen_soc_caps_kconfig/gen_soc_caps_kconfig.py118 # Check if file was updated and print diff for users
LOWtools/idf_py_actions/tools.py1033 # Check if -DIDF_TARGET is consistent with target in CMakeCache.txt
LOWtools/idf_py_actions/mcp_ext.py231 # Check if built
LOWtools/ble/lib_ble_client.py139 # Check if adapter is already powered on
LOWtools/ble/lib_ble_client.py147 # Check if adapter is powered on
LOWtools/ble/lib_ble_client.py260 # Check if expected device is present
LOWtools/ble/lib_gatt.py348 # Check if new value is written
LOWtools/ble/lib_gatt.py403 # Check if new value is written
LOWtools/ble/lib_gatt.py428 # Check if new value is written
LOWtools/ble/ble_uart_bridge/src/core/scanner.py21 # Check if there's any available bluetooth device before scanning (Bleak limitation)
LOWtools/esp_app_trace/gcov_capture.py667 # Check if serial port was closed (e.g., by stop())
LOWtools/esp_app_trace/gcov_capture.py684 # Check if this is an FSTOP command
LOWtools/ci/python_packages/idf_http_server_test/test.py597 # Check if number of connections is equal to max_sess
LOWtools/bt/ble_log_console/src/backend/frame_parser.py110 # Check if we might have incomplete data at the end
LOWtools/mass_mfg/mfg_gen.py296 # Verify if output csv file does not exist
LOWtools/mass_mfg/mfg_gen.py305 # Verify if output bin file does not exist
LOWdocs/check_lang_folder_sync.sh3# Check if folders with localized documentation are in sync
LOWcomponents/xtensa/trax/traceparse.py56# Check if loaded into GDB
LOW…/extension/log_compression/scripts/ble_log_compress.py386 # Check if argument can be hexified
LOW…_log/extension/log_compression/scripts/LogDBManager.py136 # Check if file is registered and hashes match
LOW…_log/extension/log_compression/scripts/LogDBManager.py318 # Check if log exists
LOW…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py524 # Check if the data is correct
LOW…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py527 # Check if the LOREM_STRING is present and properly formatted
LOW…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py530 # Check if the blob key data is present and correct
LOW…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py545 # Check if the gathered blob_key data matches the sample multipage blob data
LOW…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py547 # Check if all keys are present
LOWcomponents/nvs_flash/nvs_partition_tool/nvs_check.py493 # Check if a page is truly empty
LOW…mponents/esp_wifi/remote/scripts/generate_and_check.py116 # Check if we are in a git repository
LOW…mponents/esp_wifi/remote/scripts/generate_and_check.py668 # Check if the line declares a config or choice for ESP_WIFI_
LOW…mponents/esp_wifi/remote/scripts/generate_and_check.py773 # Check if file is modified relative to index
LOWexamples/network/vlan_support/pytest_vlan_napt.py38 # Print the output
LOWexamples/storage/nvs/nvs_console/pytest_nvs_console.py20 # Check if following strings are present in the "version" command output
LOW…s/system/ota/advanced_https_ota/pytest_advanced_ota.py1154 # Increment min_chip_rev_full
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.2
LOW…lp/ulp_riscv/interrupts/pytest_ulp_riscv_interrupts.py19 # Verify if SW interrupt got triggered
LOW…lp/ulp_riscv/interrupts/pytest_ulp_riscv_interrupts.py27 # Verify if GPIO interrupt got triggered
LOW…les/system/console/advanced/pytest_console_advanced.py22 # Check if following strings are present in the "version" command output
LOW…s/peripherals/twai/twai_network/pytest_twai_network.py76 # Check if socket receive any messages
LOW…s/peripherals/twai/twai_network/pytest_twai_network.py89 # Check if esp32 receive messages from usb can
LOW…rotocols/sockets/udp_multicast/pytest_udp_multicast.py142 # Check if received from expected source
LOW…les/protocols/esp_local_ctrl/scripts/esp_local_ctrl.py29# Set this to true to allow exceptions to be thrown
LOW…cols/esp_local_ctrl/scripts/transport/transport_ble.py39 # Check if expected characteristics are provided by the service
LOW…/protocols/esp_local_ctrl/scripts/transport/ble_cli.py13# Check if required packages are installed
LOW…protocols/esp_local_ctrl/scripts/security/security0.py43 # Check if security scheme matches
LOW…protocols/esp_local_ctrl/scripts/security/security2.py166 counter += 1 # Increment counter
LOW…s/protocols/http_server/advanced_tests/scripts/test.py611 # Check if number of connections is equal to max_sess
LOW…http_server/ws_echo_server/pytest_ws_server_example.py31 # Set timeout to 10 seconds to avoid indefinite blocking
LOW…ols/https_server/wss_server/pytest_https_wss_server.py30 # Set timeout to 10 seconds to avoid connection failure at the time of handshake
Cross-File Repetition16 hits · 80 pts
SeverityFileLineSnippet
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_t
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_t
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_t
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_t
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 be
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 be
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 be
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 be
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
HIGH…les/system/ota/simple_ota_example/pytest_simple_ota.py0steps: | 1. join ap/ethernet 2. fetch ota image over https 3. reboot with the new ota image
Slop Phrases31 hits · 52 pts
SeverityFileLineSnippet
LOW.gitlab/ci/pre_check.yml138# Don't forget to update the env var `LATEST_GIT_TAG` in .gitlab/ci/common.yml
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.yml
MEDIUMtools/idf.py9# You don't have to use idf.py, you can use cmake directly
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't
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 below
LOWtools/test_build_system/pytest.ini20## !! When adding new markers, don't forget to update also the tools\test_build_system\README.md !!
LOWtools/test_build_system/pytest.ini20## !! When adding new markers, don't forget to update also the tools\test_build_system\README.md !!
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 overlap
LOWcomponents/driver/twai/include/driver/twai.h53 * Don't forget to set the proper controller_id in the `twai_general_config_t`
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c368 //don't forget to free the db buffer after used.
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c400 //don't forget to free the db buffer after used.
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c428 //don't forget to free the db buffer after used.
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c460 //don't forget to free the db buffer after used.
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c497 //don't forget to free the db buffer after used.
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c529 //don't forget to free the db buffer after used.
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c567 //don't forget to free the db buffer after used.
LOW…nts/bt/host/bluedroid/btc/profile/std/gatt/btc_gattc.c618 //don't forget to free the db buffer after used.
LOWcomponents/bt/host/bluedroid/bta/gatt/bta_gattc_cache.c2206 //don't forget to set the total attribute number.
LOWcomponents/bt/host/bluedroid/bta/gatt/bta_gattc_utils.c281 // don't forget to clear the command queue before dealloc the clcb.
LOW…mponents/bt/esp_ble_mesh/models/client/client_common.c346 /* Don't forget to free the node in the timeout (timer_handler) function. */
LOW…nts/bt/esp_ble_mesh/api/core/esp_ble_mesh_common_api.c60 /* Don't forget to delete the semaphore at the end. */
LOW…nts/bt/esp_ble_mesh/api/core/esp_ble_mesh_common_api.c102 /* Don't forget to delete the semaphore at the end. */
LOWcomponents/esp_driver_rmt/src/rmt_tx.c159 // didn't find a capable channel in the group, don't forget to release the group handle
LOWcomponents/esp_driver_rmt/src/rmt_rx.c128 // didn't find a capable channel in the group, don't forget to release the group handle
LOWcomponents/spi_flash/spi_flash_hpm_enable.c194 * @note Don't forget to adjust dummy configurations for MSPI, you can get the
LOWcomponents/spi_flash/spi_flash_hpm_enable.c267* @note Don't forget to adjust dummy configurations for MSPI, you can get the
LOWcomponents/spi_flash/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) should
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 API
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 API
MEDIUMexamples/ethernet/basic/main/ethernet_example_main.c304 // For demonstration purposes, wait and then deinit Ethernet network
MEDIUM…rotocols/http_server/restful_server/main/rest_server.c156 // Note: we're simulating temperature data with a random number for demonstration purposes
Verbosity Indicators22 hits · 35 pts
SeverityFileLineSnippet
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 it
LOWcomponents/esp_security/src/esp_key_mgr.c407 // Step 2: Load phase
LOWcomponents/esp_security/src/esp_key_mgr.c421 // Step 3: Gain phase
LOWcomponents/esp_security/src/esp_key_mgr.c681 // Step 1 : Initialization
LOWcomponents/esp_security/src/esp_key_mgr.c698 // Step 2: Load phase
LOWcomponents/esp_security/src/esp_key_mgr.c706 // Step 3: Gain phase
LOWcomponents/esp_security/src/esp_key_mgr.c825 // Step 1: Initialization
LOWcomponents/esp_security/src/esp_key_mgr.c846 // Step 2: Load phase
LOWcomponents/esp_security/src/esp_key_mgr.c860 // Step 3: Gain phase
LOWcomponents/freertos/FreeRTOS-Kernel/timers.c268 /* The following code block to set the timer task core affinity has been picked up from the FreeRTOS-Kernel
LOW…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c53 //Step 1: generate sizes and allocate memory.
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 size
LOW…ts/heap/test_apps/heap_tests/main/test_heap_align_hw.c68 //Step 3: Free the memory again.
LOWcomponents/bt/esp_ble_mesh/core/prov_pvnr.c388 * then we need to check if there are addresses available.
LOWcomponents/bt/esp_ble_mesh/core/prov_pvnr.c450 * then we need to check if there are addresses available.
LOWcomponents/spi_flash/esp_flash_api.c946 //If not, we need to check if the HW support direct write
LOWcomponents/spi_flash/esp_flash_api.c1136 //If not, we need to check if the HW support direct write
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c184 // Step 1: Erase and write known data to Area A, then verify
LOW…/esp_flash_freq_limit/main/test_esp_flash_freq_limit.c210 // Step 2: Encrypted write to Area B (no verification)
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 write
LOW…rdic/test_apps/cordic_test_apps/main/test_cordic_q31.c568 // Step 1: Create engine with COS function and Q15 format
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)
Cross-Language Confusion5 hits · 30 pts
SeverityFileLineSnippet
HIGHtools/export_utils/shell_types.py164 autoload -Uz compinit && compinit -u
HIGHtools/esp_app_trace/espytrace/sysview.py963 # context is undefined, we do not know have we started the tracing in task/IDLE or IRQ context
HIGHtools/ci/gitlab_yaml_linter.py104 f'Please set `dependencies:` (to null) explicitly to avoid missing artifacts issue'
HIGH…n_table/test_gen_esp32part_host/gen_esp32part_tests.py273storage2, data, undefined, , 12k,
HIGHcomponents/nvs_flash/nvs_partition_tool/nvs_check.py453 f'[undefined]',
AI Slop Vocabulary8 hits · 20 pts
SeverityFileLineSnippet
LOWtools/idf_tools.py1198 # dict, so get_export_paths() cannot be used. Let's just create the
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 carrier
MEDIUMcomponents/esp_driver_twai/esp_twai_onchip.c175 //TODO: utilize all txt buffers
MEDIUMcomponents/bt/host/bluedroid/stack/gatt/gatt_attr.c724 // If robust caching is not supported, should always return true by default
MEDIUMcomponents/bt/host/bluedroid/stack/gatt/gatt_attr.c747 // This is used to reset bit when robust caching is disabled
MEDIUMcomponents/bt/host/bluedroid/stack/gatt/gatt_attr.c780 // if robust caching is not supported, do nothing
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 conversion
MEDIUMexamples/protocols/sockets/tcp_server/main/tcp_server.c50 // Walk-around for robust implementation.
Fake / Example Data17 hits · 17 pts
SeverityFileLineSnippet
LOW…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py48LOREM_STRING = """Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…nts/nvs_flash/nvs_partition_tool/test_nvs_gen_check.py48LOREM_STRING = """Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…ts/nvs_flash/host_test/nvs_host_test/main/test_nvs.cpp4026const char test_str_long[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n"
LOW…ts/nvs_flash/host_test/nvs_host_test/main/test_nvs.cpp4026const char test_str_long[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n"
LOWexamples/security/tee/tee_secure_storage/README.md88I (331) example_tee_sec_stg: Message-to-be-signed: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOWexamples/security/tee/tee_secure_storage/README.md88I (331) example_tee_sec_stg: Message-to-be-signed: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…amples/security/tee/tee_secure_storage/main/tee_main.c35static const char *message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
LOW…amples/security/tee/tee_secure_storage/main/tee_main.c35static const char *message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.";
LOWexamples/security/nvs_encryption_hmac/README.md62I (643) example: Key: str_key | Val: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOWexamples/security/nvs_encryption_hmac/README.md62I (643) example: Key: str_key | Val: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…s/security/nvs_encryption_hmac/pytest_nvs_encr_hmac.py11 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
LOW…s/security/nvs_encryption_hmac/pytest_nvs_encr_hmac.py11 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
LOWexamples/security/nvs_encryption_hmac/main/main.c29static const char* str_val = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n"
LOWexamples/security/nvs_encryption_hmac/main/main.c29static const char* str_val = "Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n"
LOWexamples/storage/nvs/nvsgen/README.md46Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOWexamples/storage/nvs/nvsgen/README.md46Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…otocols/esp_http_client/main/esp_http_client_example.c135 esp_http_client_set_header(evt->client, "From", "user@example.com");
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippet
HIGH…og/extension/log_compression/scripts/c_format_parse.py175 Parse compressed log arguments into formatted string. Args: byte_sequence: Compressed argument bytes
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 the
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 key
Synthetic Comment Markers2 hits · 12 pts
SeverityFileLineSnippet
HIGHcomponents/protocomm/test_apps/main/test_srp.c68 // Verify salt length is as requested
HIGHcomponents/esp_wifi/remote/README.md9The `esp_wifi_remote` component relies heavily on auto-generated code to maintain synchronization with the native `esp_w
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippet
LOWtools/idf_tools.py20# Usage:
LOWtools/esp_app_trace/gcov_capture.py10# Usage:
LOW…_apps/system/no_embedded_paths/check_for_file_paths.py11# Usage:
LOWcomponents/esp-tls/esp_tls_custom_stack.h593 * // Example usage: