An MCP-based chatbot | 一个基于MCP的聊天机器人
This report summarizes scanner evidence for 78/xiaozhi-esp32, a C++ project with 30,613 GitHub stars. SynthScan examined 67,742 lines of code across 758 source files, recording 882 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 14.3 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 820 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 171 finding(s).
Which changes need focused human review? 882 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 882 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/custom-board_zh.md | 41 | 参考示例(来自lichuang-c3-dev): | COMMENT |
| LOW | docs/custom-board_zh.md | 61 | #define AUDIO_CODEC_I2C_SCL_PIN GPIO_NUM_1 | COMMENT |
| LOW | docs/custom-board.md | 41 | - Display parameters and pins. | COMMENT |
| LOW | docs/custom-board.md | 61 | #define AUDIO_CODEC_PA_PIN GPIO_NUM_13 | COMMENT |
| LOW | scripts/Image_Converter/LVGLImage.py | 321 | if premultiplied: | COMMENT |
| LOW | main/application.h | 1 | #ifndef _APPLICATION_H_ | COMMENT |
| LOW | main/application.h | 21 | #include "device_state_machine.h" | COMMENT |
| LOW | main/mcp_server.h | 1 | #ifndef MCP_SERVER_H | COMMENT |
| LOW | main/assets.h | 1 | #ifndef ASSETS_H | COMMENT |
| LOW | main/led/circular_strip.h | 1 | #ifndef _CIRCULAR_STRIP_H_ | COMMENT |
| LOW | main/audio/audio_service.h | 1 | #ifndef AUDIO_SERVICE_H | COMMENT |
| LOW | main/audio/audio_service.h | 41 | #define MAX_ENCODE_TASKS_IN_QUEUE 2 | COMMENT |
| LOW | main/audio/audio_codec.h | 1 | #ifndef _AUDIO_CODEC_H | COMMENT |
| LOW | main/audio/codecs/es8374_audio_codec.h | 41 | #endif // _ES8374_AUDIO_CODEC_H | COMMENT |
| LOW | main/audio/wake_words/custom_wake_word.h | 1 | #ifndef CUSTOM_WAKE_WORD_H | COMMENT |
| LOW | main/audio/wake_words/esp_wake_word.h | 1 | #ifndef ESP_WAKE_WORD_H | COMMENT |
| LOW | main/audio/engines/afe_audio_engine.h | 1 | #ifndef AFE_AUDIO_ENGINE_H | COMMENT |
| LOW | main/boards/minsi-k08-dual/config.h | 1 | #ifndef _BOARD_CONFIG_H_ | COMMENT |
| LOW | main/boards/minsi-k08-dual/config.h | 21 | COMMENT | |
| LOW | main/boards/freenove-esp32s3-display-2.8-lcd/config.h | 1 | #ifndef _BOARD_CONFIG_H_ | COMMENT |
| LOW | main/boards/freenove-esp32s3-display-2.8-lcd/config.h | 21 | #define AUDIO_CODEC_ES8311_ADDR ES8311_CODEC_DEFAULT_ADDR | COMMENT |
| LOW | main/boards/freenove-esp32s3-display-2.8-lcd/config.h | 41 | #define DISPLAY_WIDTH 320 | COMMENT |
| LOW | main/boards/doit-s3-aibox/config.h | 1 | #ifndef _BOARD_CONFIG_H_ | COMMENT |
| LOW | main/boards/doit-s3-aibox/config.h | 21 | #define BUILTIN_LED_GPIO GPIO_NUM_45 | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc-144/config.h | 1 | #ifndef _BOARD_CONFIG_H_ | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc-144/config.h | 21 | #define ASR_BUTTON_GPIO GPIO_NUM_13 | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc-144/config.h | 41 | #ifdef LCD_128X128 | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc-144/config.h | 61 | #define DISPLAY_MIRROR_Y false | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 1 | #ifndef _BOARD_CONFIG_H_ | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 21 | COMMENT | |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 41 | #define DISPLAY_SCLK_PIN GPIO_NUM_18 | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 61 | #endif | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 81 | #define DISPLAY_HEIGHT 320 | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 101 | #define DISPLAY_RGB_ORDER LCD_RGB_ELEMENT_ORDER_BGR | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 121 | #endif | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 141 | #define DISPLAY_HEIGHT 240 | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 161 | #define DISPLAY_RGB_ORDER LCD_RGB_ELEMENT_ORDER_BGR | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 181 | COMMENT | |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 201 | #define DISPLAY_MIRROR_X false | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 221 | #define DISPLAY_OFFSET_X 0 | COMMENT |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 241 | COMMENT | |
| LOW | main/boards/wdmomo/esp32-cgc/config.h | 261 | #define DISPLAY_MIRROR_Y false | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 1 | #ifndef _BOARD_CONFIG_H_ | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 21 | #else | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 41 | #define DISPLAY_DC_PIN GPIO_NUM_40 | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 61 | #ifdef CONFIG_LCD_ST7789_240X320_NO_IPS | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 81 | #define DISPLAY_MIRROR_Y false | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 101 | #define DISPLAY_OFFSET_Y 0 | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 121 | #ifdef CONFIG_LCD_ST7789_240X240 | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 141 | #define DISPLAY_MIRROR_Y false | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 161 | #define DISPLAY_OFFSET_Y 53 | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 181 | #ifdef CONFIG_LCD_ST7735_128X128 | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 201 | #define DISPLAY_MIRROR_Y false | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 221 | #define DISPLAY_OFFSET_Y 0 | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 241 | #ifdef CONFIG_LCD_ILI9341_240X320_NO_IPS | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 261 | #define DISPLAY_MIRROR_Y false | COMMENT |
| LOW | main/boards/bread-compact-wifi-lcd/config.h | 281 | #define DISPLAY_BACKLIGHT_OUTPUT_INVERT false | COMMENT |
| LOW | main/boards/dfrobot/df-s3-ai-cam/config.h | 1 | #ifndef _BOARD_CONFIG_H_ | COMMENT |
| LOW | main/boards/dfrobot/df-s3-ai-cam/config.h | 21 | #define RESET_NVS_BUTTON_GPIO GPIO_NUM_NC | COMMENT |
| LOW | main/boards/dfrobot/df-s3-ai-cam/config.h | 41 | COMMENT | |
| 596 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/firmware-builder/firmware_builder.py | 293 | def is_retryable_upload_error(error: Exception) -> bool: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 56 | def test_success_writes_artifacts_and_manifest(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 110 | def test_failed_build_preserves_log_and_failed_manifest(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 139 | def test_failure_summary_prefers_compiler_error(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 155 | def test_success_uploads_outputs_and_manifest_last(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 216 | def test_transient_upload_is_retried_with_exponential_backoff(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 245 | def test_transient_upload_fails_after_retry_limit(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 273 | def test_permanent_upload_error_is_not_retried(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 300 | def test_rejects_path_traversal_board(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 319 | def test_rejects_unknown_board_name(self) -> None: | CODE |
| LOW | docker/firmware-builder/test_firmware_builder.py | 338 | def test_rejects_invalid_build_options(self) -> None: | CODE |
| LOW | scripts/build.py | 110 | def _validate_reported_identifier(value: object, field: str) -> str: | CODE |
| LOW | scripts/build.py | 216 | def _language_sdkconfig_option(language: str) -> tuple[str, str]: | CODE |
| LOW | scripts/build.py | 300 | def _enabled_default_wake_word_symbols(target: str) -> list[str]: | CODE |
| LOW | scripts/build.py | 313 | def _board_supports_wake_word( | CODE |
| LOW | scripts/build.py | 338 | def _wake_word_sdkconfig_options( | CODE |
| LOW | scripts/build.py | 463 | def _kconfig_config_board_dependencies( | CODE |
| LOW | scripts/build.py | 503 | def _build_option_definitions( | CODE |
| LOW | scripts/build.py | 783 | def _detect_idf_version_for_listing() -> tuple[int, int, int]: | CODE |
| LOW | scripts/build.py | 1011 | def _load_representative_variants( | CODE |
| LOW | scripts/build.py | 1054 | def _select_variants_for_changes( | CODE |
| LOW | scripts/build.py | 1115 | def _find_board_config_candidates(board_type: str) -> list[str]: | CODE |
| LOW | scripts/build.py | 1154 | def _extract_board_config_from_sdkconfig_append(sdkconfig_append: list[str]) -> Optional[str]: | CODE |
| LOW | scripts/build.py | 1170 | def _board_config_symbol_exists( | CODE |
| LOW | scripts/build.py | 1465 | def _validate_configured_symbols(symbols: list[str], option_name: str) -> None: | CODE |
| LOW | scripts/build.py | 1487 | def _validate_configured_options(options: list[str], option_name: str) -> None: | CODE |
| LOW⚡ | scripts/build_default_assets.py | 509 | def read_idf_target_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 521 | def read_wakenet_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 547 | def read_multinet_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 596 | def read_wake_word_type_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 636 | def read_custom_wake_word_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 689 | def get_language_from_multinet_models(multinet_models): | CODE |
| LOW | scripts/build_default_assets.py | 770 | def get_emoji_collection_path(default_emoji_collection, noto_fonts_path, project_root=None): | CODE |
| LOW | scripts/tests/test_ogg_demuxer.py | 15 | def test_zero_length_lace_is_processed_without_more_input(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 333 | def test_nested_manufacturer_board_path(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 340 | def test_official_directory_can_keep_legacy_board_type(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 348 | def test_board_display_name_comes_from_kconfig_prompt(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 356 | def test_board_target_matching_uses_complete_kconfig_symbols(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 811 | def test_sync_vscode_target_skips_missing_settings(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 816 | def test_same_target_does_not_clean_build_directory(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 826 | def test_changed_cmake_target_runs_fullclean_only(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 1046 | def test_incompatible_wake_word_model_is_rejected(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 1055 | def test_board_wake_word_support_obeys_psram_dependency(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 1065 | def test_user_options_override_board_options(self): | CODE |
| LOW | scripts/tests/test_build.py | 133 | def test_reported_types_and_names_are_valid_and_unique(self): | CODE |
| LOW | scripts/tests/test_build.py | 172 | def test_language_and_wake_word_are_not_board_config_options(self): | CODE |
| LOW | scripts/tests/test_build.py | 202 | def test_default_flash_options_are_not_repeated(self): | CODE |
| LOW | scripts/tests/test_build.py | 253 | def test_chip_defaults_only_contain_target_overrides(self): | CODE |
| LOW | scripts/tests/test_build.py | 382 | def test_explicit_board_config_rejects_incompatible_target(self): | CODE |
| LOW | scripts/tests/test_build.py | 393 | def test_explicit_board_config_rejects_different_board_directory(self): | CODE |
| LOW | scripts/tests/test_build.py | 404 | def test_inferred_board_config_rejects_incompatible_target(self): | CODE |
| LOW | scripts/tests/test_build.py | 415 | def test_rejected_board_selection_stops_before_build(self): | CODE |
| LOW | scripts/tests/test_build.py | 460 | def test_variant_name_disambiguates_shared_board_directory(self): | CODE |
| LOW | scripts/tests/test_build.py | 480 | def test_new_manufacturer_directories_keep_existing_board_types(self): | CODE |
| LOW | scripts/tests/test_build.py | 507 | def test_alientek_directory_keeps_atk_board_types(self): | CODE |
| LOW | scripts/tests/test_build.py | 540 | def test_same_leaf_names_are_scoped_by_manufacturer(self): | CODE |
| LOW | scripts/tests/test_build.py | 550 | def test_common_and_core_changes_select_representatives(self): | CODE |
| LOW | scripts/tests/test_build.py | 566 | def test_docs_only_selects_none(self): | CODE |
| LOW | scripts/tests/test_build.py | 574 | def test_board_menu_is_sorted_and_matches_cmake(self): | CODE |
| LOW | scripts/tests/test_build.py | 635 | def test_board_menu_has_explicit_target_defaults(self): | CODE |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/firmware-builder/firmware_builder.py | 327 | except Exception as error: | CODE |
| LOW | docker/firmware-builder/firmware_builder.py | 449 | except Exception as error: | CODE |
| LOW | scripts/build.py | 950 | except Exception as e: | CODE |
| MEDIUM | scripts/download_github_runs.py | 209 | print("Error: GITHUB_TOKEN not found in environment variables.", file=sys.stderr) | CODE |
| LOW | scripts/download_github_runs.py | 287 | except Exception as e: | CODE |
| MEDIUM | scripts/download_github_runs.py | 288 | print(f"Error: {e}", file=sys.stderr) | CODE |
| LOW | scripts/gen_lang.py | 185 | except Exception as e: | CODE |
| MEDIUM | scripts/gen_lang.py | 186 | print(f"Error: {e}") | CODE |
| MEDIUM⚡ | scripts/build_default_assets.py | 873 | print(f"Error: Generated assets.bin not found: {image_file}") | CODE |
| MEDIUM⚡ | scripts/build_default_assets.py | 877 | print(f"Error: Failed to build assets: {e}") | CODE |
| MEDIUM | scripts/build_default_assets.py | 258 | print(f"Error: Failed to generate srmodels.bin: {e}") | CODE |
| MEDIUM | scripts/build_default_assets.py | 940 | print("Error: USE_CUSTOM_WAKE_WORD is enabled but no multinet models are selected in sdkconfig") | CODE |
| LOW⚡ | scripts/build_default_assets.py | 876 | except Exception as e: | CODE |
| LOW | scripts/build_default_assets.py | 257 | except Exception as e: | CODE |
| LOW | scripts/versions.py | 219 | except Exception as e: | CODE |
| MEDIUM | scripts/versions.py | 220 | print(f"Error uploading version info: {str(e)}") | CODE |
| LOW | scripts/ogg_converter/xiaozhi_ogg_converter.py | 186 | except Exception as e: | CODE |
| LOW | scripts/ogg_converter/xiaozhi_ogg_converter.py | 205 | except Exception as e: | CODE |
| LOW | scripts/ogg_converter/xiaozhi_ogg_converter.py | 224 | except Exception as e: | CODE |
| LOW | scripts/Image_Converter/lvgl_tools_gui.py | 245 | except Exception as e: | CODE |
| LOW | scripts/p3_tools/batch_convert_gui.py | 187 | except Exception as e: | CODE |
| LOW | scripts/p3_tools/batch_convert_gui.py | 201 | except Exception as e: | CODE |
| LOW | scripts/p3_tools/batch_convert_gui.py | 215 | except Exception as e: | CODE |
| MEDIUM | scripts/spiffs_assets/build.py | 72 | print(f"Error: Failed to generate srmodels.bin: {e}") | CODE |
| LOW⚡ | scripts/spiffs_assets/build.py | 134 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/spiffs_assets/build.py | 135 | print(f"Error loading config file {config_path}: {e}") | CODE |
| MEDIUM | scripts/spiffs_assets/build.py | 151 | print(f"Error: No src field found for emote '{emote_name}' in config") | CODE |
| LOW | scripts/spiffs_assets/build.py | 259 | except Exception as e: | CODE |
| MEDIUM | scripts/spiffs_assets/build.py | 260 | print(f"Error reading/processing layout.json: {e}") | CODE |
| MEDIUM | scripts/spiffs_assets/build.py | 391 | print(f"Error: Failed to package assets.bin: {e}") | CODE |
| MEDIUM | scripts/spiffs_assets/spiffs_assets_gen.py | 101 | print('Error: convert_path is NULL') | CODE |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 137 | except Exception as e: | CODE |
| MEDIUM | scripts/spiffs_assets/spiffs_assets_gen.py | 254 | print('An error occurred while executing LVGLImage.py:') | CODE |
| LOW⚡ | scripts/spiffs_assets/spiffs_assets_gen.py | 294 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/spiffs_assets/spiffs_assets_gen.py | 295 | print(f'An error occurred during conversion: {e}') | CODE |
| MEDIUM⚡ | scripts/spiffs_assets/spiffs_assets_gen.py | 305 | print('Error: Height must be a positive integer') | CODE |
| LOW⚡ | scripts/spiffs_assets/spiffs_assets_gen.py | 314 | except Exception as e: | CODE |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 418 | except Exception as e: | CODE |
| LOW | scripts/spiffs_assets/build_all.py | 75 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 87 | assert(charge.Update() && reads==6 && waits==std::vector<int>({10,20})); | CODE |
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 89 | assert(level==50 && !charging && discharging); | CODE |
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 91 | assert(!charge.Update() && reads==3 && waits==std::vector<int>({10,20})); | CODE |
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 94 | assert(!charge.Update() && reads==1 && waits.empty()); | CODE |
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 99 | assert(level==60 && charging && !discharging); | CODE |
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 107 | assert(touch.tp_.x==42 && touch.tp_.y==24 && touch.press_count_==1); | CODE |
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 109 | assert(!touch.UpdateTouchPoint() && reads==2 && waits.empty()); | CODE |
| HIGH⚡ | scripts/tests/test_esp_vocat_i2c.py | 110 | assert(touch.tp_.num==1 && touch.was_touched_ && touch.press_count_==1); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | scripts/build_default_assets.py | 505 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | scripts/build_default_assets.py | 507 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 24 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 26 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 127 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 129 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 407 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 409 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build.py | 639 | CODE | |
| LOW | scripts/build.py | 755 | CODE | |
| LOW | scripts/build.py | 854 | CODE | |
| LOW | scripts/build.py | 1115 | CODE | |
| LOW | scripts/build_default_assets.py | 59 | CODE | |
| LOW | scripts/build_default_assets.py | 275 | CODE | |
| LOW | scripts/build_default_assets.py | 521 | CODE | |
| LOW | scripts/build_default_assets.py | 547 | CODE | |
| LOW | scripts/build_default_assets.py | 596 | CODE | |
| LOW | scripts/build_default_assets.py | 636 | CODE | |
| LOW | scripts/versions.py | 61 | CODE | |
| LOW | scripts/versions.py | 223 | CODE | |
| LOW | scripts/Image_Converter/lvgl_tools_gui.py | 195 | CODE | |
| LOW | scripts/Image_Converter/LVGLImage.py | 212 | CODE | |
| LOW | scripts/Image_Converter/LVGLImage.py | 576 | CODE | |
| LOW | scripts/Image_Converter/LVGLImage.py | 787 | CODE | |
| LOW | scripts/Image_Converter/LVGLImage.py | 839 | CODE | |
| LOW | scripts/Image_Converter/LVGLImage.py | 875 | CODE | |
| LOW | scripts/Image_Converter/LVGLImage.py | 978 | CODE | |
| LOW | scripts/Image_Converter/LVGLImage.py | 1287 | CODE | |
| LOW | scripts/p3_tools/convert_p3_to_audio.py | 9 | CODE | |
| LOW | scripts/p3_tools/play_p3.py | 8 | CODE | |
| LOW | scripts/p3_tools/p3_gui_player.py | 12 | CODE | |
| LOW | scripts/tests/test_build.py | 202 | CODE | |
| LOW | scripts/tests/test_build.py | 660 | CODE | |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 141 | CODE | |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 391 | CODE | |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 492 | CODE | |
| LOW | scripts/spiffs_assets/build_all.py | 80 | CODE | |
| LOW | scripts/spiffs_assets/pack_model.py | 41 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/download_github_runs.py | 87 | # Check if there are more pages | COMMENT |
| LOW | scripts/download_github_runs.py | 254 | # Check if file already exists | COMMENT |
| LOW | scripts/audio_debug_server.py | 40 | # Close files and socket | COMMENT |
| LOW | scripts/build_default_assets.py | 1000 | # Check if we have anything to build | COMMENT |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 72 | # Check if convert_path is not empty | COMMENT |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 117 | # Check if the file already exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/audio_debug_server.py | 12 | # Create a UDP socket | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 1003 | # Create an empty assets.bin file | COMMENT |
| MEDIUM | scripts/spiffs_assets/spiffs_assets_gen.py | 123 | # Create the parent directories if they do not exist | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/firmware-builder/firmware_builder.py | 9 | CODE | |
| LOW | docker/firmware-builder/test_firmware_builder.py | 4 | CODE | |
| LOW | scripts/download_github_runs.py | 17 | CODE | |
| LOW | scripts/download_github_runs.py | 19 | CODE | |
| LOW | scripts/spiffs_assets/build.py | 22 | CODE | |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 3 | CODE | |
| LOW | scripts/spiffs_assets/spiffs_assets_gen.py | 10 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/download_github_runs.py | 126 | Rename artifact according to the specified rules. Rules: - Remove "xiaozhi_" prefix - Remove hash | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/Image_Converter/LVGLImage.py | 1285 | CODE |