Repository Analysis

espressif/arduino-esp32

Arduino core for the ESP32 family of SoCs

6.4 Low AI signal View on GitHub
6.4
Adjusted Score
6.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
16,864
Stars
C++
Language
203,399
Lines of Code
1562
Files
1118
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 71LOW 1047

Pattern Findings

1118 matches across 11 categories. Click a row to expand file-level details.

Over-Commented Block865 hits · 854 pts
SeverityFileLineSnippet
LOWCMakeLists.txt441 # linker will always include them.
LOWCMakeLists.txt461# Effect: esp_log_write() calls → redirected to → __wrap_esp_log_write()
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…tter_over_OpenThread/main/MatterEnhancedColorLight.cpp1// Copyright 2025 Espressif Systems (Shanghai) PTE LTD
LOWtools/gen_crt_bundle.py1#!/usr/bin/env python
LOWtools/gen_esp32part.py1#!/usr/bin/env python
LOWtools/espota.py1#!/usr/bin/env python
LOWtools/espota.py21# - Send command to controller to differ between flashing and transmitting SPIFFS image.
LOWtools/espota.py41# Changes
LOWtools/pioarduino-build.py1# Copyright 2014-present PlatformIO <contact@platformio.org>
LOWvariants/waveshare_esp32_s3_relay_6ch/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/waveshare_esp32_s3_touch_lcd_21/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/esp32h2-devkit-lipo/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/arduino_nesso_n1/pins_arduino.h61extern ExpanderPinError _VIN_DETECT;
LOWvariants/waveshare_esp32_s3_touch_lcd_28/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/lilygo_tlora_pager/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/lilygo_tlora_pager/pins_arduino.h41// Interrupt IO port
LOWvariants/lilygo_tlora_pager/pins_arduino.h61#define LORA_MISO (MISO) // share spi bus
LOWvariants/lilygo_tlora_pager/pins_arduino.h81#define EXPANDS_LORA_EN (3)
LOWvariants/arduino_nano_nora/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/arduino_nano_nora/pins_arduino.h101static constexpr uint8_t SDA = A4;
LOWvariants/arduino_nano_nora/io_pin_remap.cpp1#if defined(BOARD_HAS_PIN_REMAP) && !defined(ARDUINO_CORE_BUILD)
LOWvariants/arduino_nano_nora/dfu_callbacks.cpp1#include "Arduino.h"
LOWvariants/adafruit_magtag29_esp32s2/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/waveshare_p4_poe_eth/pins_arduino.h41/* ESP32-P4 EV Function board specific definitions */
LOWvariants/waveshare_p4_poe_eth/pins_arduino.h61#define BOARD_SDMMC_POWER_PIN 45
LOWvariants/huidu_hd_wf4/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/huidu_hd_wf4/pins_arduino.h21
LOWvariants/huidu_hd_wf4/pins_arduino.h41#define WF4_X3_R1_PIN 2
LOWvariants/huidu_hd_wf4/pins_arduino.h61
LOWvariants/huidu_hd_wf4/pins_arduino.h81// S2-S3 PCB holes
LOWvariants/waveshare_esp32_s3_touch_lcd_43/pins_arduino.h1
LOWvariants/waveshare_esp32_s3_touch_lcd_43/pins_arduino.h21#define WS_LCD_B7 10
LOWvariants/waveshare_esp32_s3_touch_lcd_43/pins_arduino.h41// Touch for gt911
LOWvariants/sensebox_mcu_esp32s2/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/sensebox_mcu_esp32s2/pins_arduino.h41static const uint8_t MISO = 37;
LOWvariants/sensebox_mcu_esp32s2/pins_arduino.h61#define PIN_XB1_RESET 38
LOWvariants/sensebox_mcu_esp32s2/pins_arduino.h101#define PD_SENSE 14
LOWvariants/twinaiot/pins_arduino.h1#ifndef Pins_Arduino_h
LOW…riants/waveshare_esp32_s3_touch_lcd_43b/pins_arduino.h1
LOW…riants/waveshare_esp32_s3_touch_lcd_43b/pins_arduino.h21#define WS_LCD_B7 10
LOW…riants/waveshare_esp32_s3_touch_lcd_43b/pins_arduino.h41// Touch for gt911
LOWvariants/ttgo-lora32-v1/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/lilygo_twatch_s3/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/lilygo_twatch_s3/pins_arduino.h21
LOWvariants/lilygo_twatch_s3/pins_arduino.h61#define LORA_CS (5)
LOWvariants/m5stack_atoms3/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/adafruit_camera_esp32s3/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/adafruit_camera_esp32s3/pins_arduino.h61#define AWEXP_BUTTON_UP 13
LOWvariants/heltec_wireless_stick_v3/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/m5stack_nanoc6/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/sparkfun_esp32c5_thing_plus/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/lolin_s2_pico/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/esp32p4_4ds_mipi/pins_arduino.h41#define LCD_INTERFACE_MIPI
LOWvariants/esp32p4_4ds_mipi/pins_arduino.h61#define I2S_LRCK 10
LOWvariants/huidu_hd_wf2/pins_arduino.h1#ifndef Pins_Arduino_h
LOWvariants/huidu_hd_wf2/pins_arduino.h21#define WF2_X2_R1_PIN 4
805 more matches not shown…
Decorative Section Separators42 hits · 152 pts
SeverityFileLineSnippet
MEDIUMplatform.txt235## ---------------------------------
MEDIUMplatform.txt240## ------------------
MEDIUMplatform.txt242## ------------------
MEDIUMplatform.txt245# ----------------------
MEDIUMplatform.txt335## -------------
MEDIUMplatform.txt343## -------------------
MEDIUMplatform.txt350## ------------------------------------------
MEDIUMplatform.txt358## ---------------
MEDIUMplatform.txt365## -------------------------------------------
MEDIUMplatform.txt371## -------------------------------------------
MEDIUMplatform.txt378## -------------------------------------------
MEDIUMplatform.txt385## --------------------------------------------------------------------------
MEDIUMplatform.txt388## --------------------------------------------------------------------------
MEDIUMtests/validation/signed_ota/test_signed_ota.py84# ---------------------------------------------------------------------------
MEDIUMtests/validation/signed_ota/test_signed_ota.py86# ---------------------------------------------------------------------------
MEDIUMtests/validation/signed_ota/test_signed_ota.py235# ---------------------------------------------------------------------------
MEDIUMtests/validation/signed_ota/test_signed_ota.py237# ---------------------------------------------------------------------------
MEDIUMdocs/conf_common.py1# ---------------------------------------------------------------
MEDIUM.github/scripts/test_runtime_table_generator.py50# ---------------------------------------------------------------------------
MEDIUM.github/scripts/test_runtime_table_generator.py52# ---------------------------------------------------------------------------
MEDIUM.github/scripts/test_runtime_table_generator.py157# ---------------------------------------------------------------------------
MEDIUM.github/scripts/test_runtime_table_generator.py159# ---------------------------------------------------------------------------
MEDIUM.github/scripts/test_runtime_table_generator.py574# ---------------------------------------------------------------------------
MEDIUM.github/scripts/test_runtime_table_generator.py576# ---------------------------------------------------------------------------
MEDIUM.github/scripts/socs_config.sh10# ==============================================================================
MEDIUM.github/scripts/socs_config.sh12# ==============================================================================
MEDIUM.github/scripts/socs_config.sh192# ==============================================================================
MEDIUM.github/scripts/socs_config.sh194# ==============================================================================
MEDIUM.github/scripts/socs_config.sh51# ==============================================================================
MEDIUM.github/scripts/socs_config.sh53# ==============================================================================
MEDIUM.github/scripts/socs_config.sh89# ==============================================================================
MEDIUM.github/scripts/socs_config.sh91# ==============================================================================
MEDIUM.github/scripts/socs_config.sh148# ==============================================================================
MEDIUM.github/scripts/socs_config.sh150# ==============================================================================
MEDIUM.github/scripts/socs_config.sh209# ==============================================================================
MEDIUM.github/scripts/socs_config.sh211# ==============================================================================
MEDIUM.github/scripts/socs_config.sh236# ==============================================================================
MEDIUM.github/scripts/socs_config.sh238# ==============================================================================
MEDIUM.github/scripts/socs_config.sh268# ==============================================================================
MEDIUM.github/scripts/socs_config.sh270# ==============================================================================
MEDIUM.github/scripts/socs_config.sh302# ==============================================================================
MEDIUM.github/scripts/socs_config.sh304# ==============================================================================
Excessive Try-Catch Wrapping61 hits · 80 pts
SeverityFileLineSnippet
LOW.gitlab/scripts/gen_hw_jobs.py27except Exception as e:
LOW.gitlab/scripts/gen_hw_jobs.py46 except Exception as e:
LOW.gitlab/scripts/gen_hw_jobs.py187 except Exception as e:
LOW.gitlab/scripts/gen_hw_jobs.py200 except Exception as e:
LOW.gitlab/scripts/gen_hw_jobs.py205 except Exception as e2:
LOW.gitlab/scripts/gen_hw_jobs.py246 except Exception:
LOW.gitlab/scripts/gen_hw_jobs.py252 except Exception:
LOW.gitlab/scripts/gen_hw_jobs.py256 except Exception as e:
LOW.gitlab/scripts/gen_hw_jobs.py345 except Exception as e:
LOWtools/gen_esp32part.py217 except Exception:
LOWtools/espota.py211 except Exception as e:
LOWtools/espota.py226 except Exception as e:
LOWtools/espota.py416 except Exception as e:
LOWtools/espota.py449 except Exception as e:
LOWtools/espota.py467 except Exception as e: # noqa: E722
LOWtools/get.py183 except Exception as e:
LOWtools/get.py215 except Exception as e:
MEDIUMtools/get.py104def mkdir_p(path):
MEDIUMtools/bin_signing.py50 print(f"Error: Unsupported curve. Supported curves: {', '.join(curves.keys())}")
MEDIUMtools/bin_signing.py130 print(f"Error: Unsupported hash algorithm. Supported: {', '.join(hash_algos.keys())}")
MEDIUMtools/bin_signing.py147 print("Error: Unsupported key type")
MEDIUMtools/bin_signing.py179 print("Error: File too small to contain signature")
MEDIUMtools/bin_signing.py197 print(f"Error: Unsupported hash algorithm. Supported: {', '.join(hash_algos.keys())}")
MEDIUMtools/bin_signing.py219 print("Error: Unsupported key type")
LOWtools/bin_signing.py224 except Exception as e:
MEDIUMtools/bin_signing.py274 print("Error: --out required for key generation")
MEDIUMtools/bin_signing.py285 print("Error: Invalid key type. Supported: rsa-2048, rsa-3072, rsa-4096, ecdsa-p256, ecdsa-p384")
MEDIUMtools/bin_signing.py290 print("Error: --out required for public key extraction")
MEDIUMtools/bin_signing.py296 print("Error: --pubkey required for verification")
MEDIUMtools/bin_signing.py302 print("Error: --out required for signing")
LOWtests/performance/ramspeed/test_ramspeed.py127 except Exception as e:
LOWtests/performance/psramspeed/test_psramspeed.py127 except Exception as e:
LOWtests/performance/superpi/test_superpi.py56 except Exception as e:
LOWtests/performance/linpack_float/test_linpack_float.py75 except Exception as e:
LOWtests/performance/fibonacci/test_fibonacci.py83 except Exception as e:
LOWtests/performance/coremark/test_coremark.py61 except Exception as e:
LOWtests/performance/linpack_double/test_linpack_double.py75 except Exception as e:
LOWtests/validation/periman/test_periman.py35 except Exception as e: # noqa: F841
LOWtests/validation/signed_ota/test_signed_ota.py117 except Exception:
LOWtests/validation/signed_ota/test_signed_ota.py310 except Exception as e:
MEDIUMtests/validation/signed_ota/test_signed_ota.py187def copyfile(self, source, outputfile):
MEDIUMlibraries/WiFi/examples/WiFiUDPClient/udp_server.py46 print("Error: Failed to get interface IPs using system commands")
MEDIUMlibraries/WiFi/examples/WiFiUDPClient/udp_server.py59 print("Error: Failed to get interface IPs using sockets")
MEDIUMlibraries/WiFi/examples/WiFiUDPClient/udp_server.py63 print("Error: No network interfaces found. Please check your network configuration.")
LOW.github/scripts/process_sarif.py122 except Exception as e:
MEDIUM.github/scripts/process_sarif.py123 print(f"Error processing SARIF file: {e}")
LOW.github/scripts/generate_missing_junits.py28 except Exception as e:
LOW.github/scripts/generate_missing_junits.py34 except Exception as e:
LOW.github/scripts/generate_missing_junits.py50 except Exception as e:
LOW.github/scripts/generate_missing_junits.py136 except Exception as e:
LOW.github/scripts/generate_missing_junits.py143 except Exception as e:
LOW.github/scripts/generate_missing_junits.py335 except Exception as e:
LOW.github/scripts/include_checker.py66 except Exception as e:
MEDIUM.github/scripts/include_checker.py81 print(f"Error: Directory '{root_dir}' does not exist")
MEDIUM.github/scripts/get_affected.py540 print(f"Error: Ctags failed with return code {e.returncode}", file=sys.stderr)
LOW.github/scripts/get_affected.py321 except Exception:
LOW.github/scripts/get_affected.py544 except Exception as e:
LOW.github/scripts/get_affected.py557 except Exception as e:
LOW.github/scripts/get_affected.py602 except Exception as e:
LOW.github/scripts/get_affected.py713 except Exception as e:
1 more matches not shown…
Verbosity Indicators30 hits · 59 pts
SeverityFileLineSnippet
LOWlibraries/SD/src/sd_diskio.cpp502 // Step 1: Power-up sequence - Send at least 74 clock cycles with CS high and MOSI high
LOWlibraries/SD/src/sd_diskio.cpp510 // Step 2: Select the card and send GO_IDLE_STATE command
LOWlibraries/SD/src/sd_diskio.cpp524 // Step 3: Configure CRC checking
LOWlibraries/SD/src/sd_diskio.cpp535 // Step 4: Card type detection and initialization
LOWlibraries/SD/src/sd_diskio.cpp604 // Step 5: Clear card detection for SD cards (not needed for MMC)
LOWlibraries/SD/src/sd_diskio.cpp612 // Step 6: Set block length for non-SDHC cards
LOWlibraries/SD/src/sd_diskio.cpp621 // Step 7: Get card capacity and finalize initialization
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp21 // Step 1: Verify ESP-Hosted is properly initialized
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp27 // Step 2: Check if an update is actually available
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp33 // Step 3: Ensure network connectivity is available
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp39 // Step 4: Begin the update process - display update URL
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp43 // Step 5: Create a secure network client for HTTPS communication
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp50 // Step 6: Configure client to skip certificate verification (insecure mode)
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp53 // Step 7: Initialize HTTP client and attempt to connect to update server
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp61 // Step 8: Send HTTP GET request to download the firmware
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp64 // Step 9: Get the size of the firmware file to download
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp72 // Step 10: Get stream pointer for reading firmware data
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp75 // Step 11: Initialize the ESP-Hosted update process
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp83// Step 12: Allocate buffer for firmware data transfer (2KB chunks)
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp92 // Step 13: Download and write firmware data in chunks
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp120 // Step 14: Check if entire firmware has been downloaded
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp147 // Step 15: Clean up allocated buffer
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp156 // Step 16: Close HTTP connection
LOWlibraries/ESP_HostedOTA/src/ESP_HostedOTA.cpp160 // Step 17: Clean up network client
LOWlibraries/Update/src/Updater.cpp530 // Step 1: Reverse byte order of the 16-byte block
LOWlibraries/Update/src/Updater.cpp550 // Step 2: Apply AES-ECB encryption (this decrypts due to the involutory scheme)
LOWlibraries/Update/src/Updater.cpp563 // Step 3: Reverse byte order back to get the decrypted plaintext
LOWlibraries/Update/src/Updater.cpp579 // Step 1: Reverse byte order of the 16-byte block
LOWlibraries/Update/src/Updater.cpp593 // Step 2: Apply AES encryption (this decrypts due to the involutory scheme)
LOWlibraries/Update/src/Updater.cpp598 // Step 3: Reverse byte order back to get the decrypted plaintext
Redundant / Tautological Comments35 hits · 55 pts
SeverityFileLineSnippet
LOW.gitlab/scripts/get_artifacts.sh12# Check if GitHub token is available
LOW.gitlab/scripts/get_artifacts.sh43# Check if we got a valid response
LOWtests/conftest.py34 # Check if the IP address is a valid IPv4 address
LOWtests/performance/fibonacci/test_fibonacci.py52 # Check if the result is correct
LOW.github/scripts/tests_run.sh7# Check if a test is a multi-device test
LOW.github/scripts/tests_run.sh137 # Check if the build is for the correct target
LOW.github/scripts/tests_run.sh312 # Check if target is supported by QEMU
LOW.github/scripts/tests_run.sh555 # Check if this is a multi-device test
LOW.github/scripts/check_official_variants.sh4# Check if Official Variants Changed
LOW.github/scripts/check_official_variants.sh66 # Check if file is in variants/ directory
LOW.github/scripts/check_official_variants.sh71 # Check if this variant is in official targets
LOW.github/scripts/check_official_variants.sh94# Output result
LOW.github/scripts/process_sarif.py110 # Check if files exist
LOW.github/scripts/tests_build.sh35# Check if a test is a multi-device test
LOW.github/scripts/tests_build.sh81 # Check if target is supported by this test
LOW.github/scripts/tests_build.sh83 # Check if target is explicitly disabled
LOW.github/scripts/tests_build.sh90 # Check if target meets the requirements using check_requirements from sketch_utils.sh
LOW.github/scripts/tests_build.sh281 # Check if this is a multi-device test
LOW.github/scripts/generate_missing_junits.py402 # Check if target and type are valid for this specific platform
LOW.github/scripts/upload-release-assets.sh48# Check if there are changes to commit
LOW.github/scripts/include_checker.py47 # Check if already has Arduino.h include
LOW.github/scripts/include_checker.py192 # Check if first argument is a directory or a file
LOW.github/scripts/sketch_utils.sh18 # Check if the sketch requires any configuration options (AND)
LOW.github/scripts/sketch_utils.sh33 # Check if the sketch requires any configuration options (OR)
LOW.github/scripts/find_new_boards.sh13# Check if the diff is empty
LOW.github/scripts/find_new_boards.sh39 # Check if board_name is in excluded entries
LOW.github/scripts/validate_board.sh92 # Check if it's all uppercase
LOW.github/scripts/validate_board.sh133 # Check if board has menu.FlashSize entries
LOW.github/scripts/validate_board.sh435 # Check if VID and PID indices match
LOW.github/scripts/validate_board.sh497 # Check if DebugLevel menu exists
LOW.github/scripts/socs_config.sh196# Check if SoC is supported by QEMU
LOW.github/scripts/socs_config.sh255# Check if a SoC should be skipped in library builds
LOW.github/scripts/get_affected.py835 # Check if any build files have changed
LOW.github/scripts/get_affected.py952 # Check if this file belongs to an IDF component example
LOW.github/scripts/get_affected.py1093 # Close file if we opened it (CI mode)
Self-Referential Comments9 hits · 30 pts
SeverityFileLineSnippet
MEDIUM.vale.ini30# Create a folder in <StylesPath>/Vocab/<name>/and add its name here
MEDIUMtools/espota.py219 # Create a TCP/IP socket
MEDIUMtools/add_lib.sh23# Define the default values for the parameters
MEDIUM.github/workflows/codeql.yml40 # Create a mapping file to track renamed files
MEDIUM.github/workflows/tests.yml1# This file is used to run the runtime tests for the Arduino core for ESP32.
MEDIUM.github/scripts/test_runtime_table_generator.py473 # Create a minimal perf result JSON
MEDIUM.github/scripts/socs_config.sh5# This file contains all supported SoC definitions for the ESP32 Arduino core.
MEDIUM.github/scripts/tests_matrix.sh32# Create a single JSON file with all test matrix information
MEDIUM.github/scripts/tests_utils.sh6# This function handles both multi-device tests (which have ci.yml at test level)
Hyper-Verbose Identifiers30 hits · 30 pts
SeverityFileLineSnippet
LOWtools/gen_esp32part.py113def get_alignment_offset_for_type(ptype):
LOWtools/gen_esp32part.py117def get_alignment_size_for_type(ptype):
LOWtools/espota.py98def send_invitation_and_get_auth_challenge(remote_addr, remote_port, message):
LOWtools/pioarduino-build.py93def generate_bootloader_image(bootloader_elf):
LOWtools/get.py135def print_verification_progress(total_files, i, t1):
LOWtools/get.py325def download_file_with_progress(url, filename, start_time):
LOWtests/validation/gpio/test_gpio.py34 def test_interrupt_attach_detach():
LOWlibraries/WebServer/src/detail/RequestHandler.h7class RequestHandler {
LOWlibraries/WebServer/src/detail/RequestHandlersImpl.h47class FunctionRequestHandler : public RequestHandler {
LOWlibraries/WebServer/src/detail/RequestHandlersImpl.h146class StaticRequestHandler : public RequestHandler {
LOW.github/scripts/runtime_table_generator.py56def _load_build_failure_cells(path):
LOW.github/scripts/runtime_table_generator.py138def _collect_and_aggregate_performance(perf_dir):
LOW.github/scripts/process_sarif.py10def process_artifact_location(artifact_location, renamed_files):
LOW.github/scripts/process_sarif.py31def process_physical_location(physical_location, renamed_files):
LOW.github/scripts/generate_missing_junits.py224def _write_build_failure_cells(out_root: Path, cells):
LOW.github/scripts/generate_missing_junits.py253def expected_from_previous_results(path, enabled_plats, plat_targets, plat_types):
LOW.github/scripts/include_checker.py26def find_first_preprocessor_line(lines: List[str]) -> int:
LOW.github/scripts/backlog-cleanup.js89async function hasRecentFriendlyReminder(github, owner, repo, issueNumber, maxAgeMs) {
LOW.github/scripts/update_esptool.py101def update_tools_dependencies(tmp_json_path, version):
LOW.github/scripts/update_esptool.py163def update_json_from_local_build(tmp_json_path, version, base_folder, archive_files):
LOW.github/scripts/get_affected.py118def resolve_changed_path_to_project_relative(path: str) -> str:
LOW.github/scripts/get_affected.py252def reverse_walk_reaches_any_sketch(path: str) -> bool:
LOW.github/scripts/get_affected.py282def changed_sketch_sources_with_no_path_to_inos(changed_files: list[str]) -> list[str]:
LOW.github/scripts/get_affected.py324def normalize_function_signature(signature: str) -> str:
LOW.github/scripts/get_affected.py460def find_impl_files_for_qname(qname: str, defs_by_qname: dict[str, set[str]], header_path: str = None) -> set[str]:
LOW.github/scripts/get_affected.py644def list_idf_component_examples() -> list[str]:
LOW.github/scripts/get_affected.py769def build_reverse_dependencies() -> None:
LOW.github/scripts/get_affected.py799def has_sketch_build_files_changed(path: str) -> bool:
LOW.github/scripts/get_affected.py1011def save_dependencies_as_json(output_file: str = "dependencies.json") -> None:
LOW.github/scripts/get_affected.py1027def check_preset_files_affected():
Deep Nesting32 hits · 28 pts
SeverityFileLineSnippet
LOW.gitlab/scripts/gen_hw_jobs.py62
LOW.gitlab/scripts/gen_hw_jobs.py99
LOWtools/gen_crt_bundle.py82
LOWtools/gen_esp32part.py146
LOWtools/espota.py216
LOWtools/get.py141
LOWtools/get.py222
LOWtools/get.py325
LOWtools/get.py353
LOWtools/get.py375
LOWtools/get.py422
LOWtools/bin_signing.py229
LOWtests/performance/ramspeed/test_ramspeed.py8
LOWtests/performance/psramspeed/test_psramspeed.py8
LOWlibraries/WiFi/examples/WiFiUDPClient/udp_server.py9
LOW.github/scripts/runtime_table_generator.py138
LOW.github/scripts/process_sarif.py48
LOW.github/scripts/generate_missing_junits.py86
LOW.github/scripts/generate_missing_junits.py253
LOW.github/scripts/update_esptool.py53
LOW.github/scripts/update_esptool.py101
LOW.github/scripts/update_esptool.py115
LOW.github/scripts/update_esptool.py147
LOW.github/scripts/release_append_cn.py18
LOW.github/scripts/get_affected.py324
LOW.github/scripts/get_affected.py460
LOW.github/scripts/get_affected.py605
LOW.github/scripts/get_affected.py617
LOW.github/scripts/get_affected.py686
LOW.github/scripts/get_affected.py779
LOW.github/scripts/get_affected.py816
LOW.github/scripts/get_affected.py870
Unused Imports10 hits · 10 pts
SeverityFileLineSnippet
LOWtools/arduino_cmake.py15
LOWtools/gen_crt_bundle.py25
LOWtools/espota.py54
LOWtools/get.py9
LOWtests/validation/signed_ota/test_signed_ota.py12
LOWdocs/conf_common.py3
LOWdocs/en/conf.py11
LOWdocs/en/conf.py17
LOW.github/scripts/test_runtime_table_generator.py40
LOW.github/scripts/merge_packages.py10
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippet
LOW.github/scripts/check_official_variants.sh7# Usage:
LOW.github/scripts/on-release.sh72# Usage:
LOW.github/scripts/merge_packages.py4# Usage:
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.gitlab/scripts/gen_hw_jobs.py346 # Be robust to unexpected runner payloads