An MCP-based chatbot | 一个基于MCP的聊天机器人
This report presents the forensic synthetic code analysis of 78/xiaozhi-esp32, a C++ project with 29,389 GitHub stars. SynthScan v2.0 examined 62,841 lines of code across 715 source files, recording 813 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 13.5 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 813 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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_PLAYBACK_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 | |
| 563 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 | 96 | def _validate_reported_identifier(value: object, field: str) -> str: | CODE |
| LOW | scripts/build.py | 202 | def _language_sdkconfig_option(language: str) -> tuple[str, str]: | CODE |
| LOW | scripts/build.py | 286 | def _enabled_default_wake_word_symbols(target: str) -> list[str]: | CODE |
| LOW | scripts/build.py | 299 | def _board_supports_wake_word( | CODE |
| LOW | scripts/build.py | 324 | def _wake_word_sdkconfig_options( | CODE |
| LOW | scripts/build.py | 445 | def _kconfig_config_board_dependencies( | CODE |
| LOW | scripts/build.py | 485 | def _build_option_definitions( | CODE |
| LOW | scripts/build.py | 742 | def _detect_idf_version_for_listing() -> tuple[int, int, int]: | CODE |
| LOW | scripts/build.py | 967 | def _select_variants_for_changes( | CODE |
| LOW | scripts/build.py | 1012 | def _find_board_config_candidates(board_type: str) -> list[str]: | CODE |
| LOW | scripts/build.py | 1051 | def _extract_board_config_from_sdkconfig_append(sdkconfig_append: list[str]) -> Optional[str]: | CODE |
| LOW | scripts/build.py | 1067 | def _board_config_symbol_exists( | CODE |
| LOW | scripts/build.py | 1350 | def _validate_configured_symbols(symbols: list[str], option_name: str) -> None: | CODE |
| LOW | scripts/build.py | 1372 | def _validate_configured_options(options: list[str], option_name: str) -> None: | CODE |
| LOW⚡ | scripts/build_default_assets.py | 453 | def read_wakenet_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 479 | def read_multinet_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 528 | def read_wake_word_type_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 568 | def read_custom_wake_word_from_sdkconfig(sdkconfig_path): | CODE |
| LOW | scripts/build_default_assets.py | 621 | def get_language_from_multinet_models(multinet_models): | CODE |
| LOW | scripts/build_default_assets.py | 702 | def get_emoji_collection_path(default_emoji_collection, noto_fonts_path, project_root=None): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 317 | def test_nested_manufacturer_board_path(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 324 | def test_official_directory_can_keep_legacy_board_type(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 332 | def test_board_display_name_comes_from_kconfig_prompt(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 340 | def test_variant_name_disambiguates_shared_board_directory(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 689 | def test_sync_vscode_target_skips_missing_settings(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 694 | def test_same_target_does_not_clean_build_directory(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 704 | def test_changed_cmake_target_runs_fullclean_only(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 924 | def test_incompatible_wake_word_model_is_rejected(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 933 | def test_board_wake_word_support_obeys_psram_dependency(self): | CODE |
| LOW⚡ | scripts/tests/test_build.py | 943 | 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 | 186 | def test_default_flash_options_are_not_repeated(self): | CODE |
| LOW | scripts/tests/test_build.py | 237 | def test_chip_defaults_only_contain_target_overrides(self): | CODE |
| LOW | scripts/tests/test_build.py | 360 | def test_new_manufacturer_directories_keep_existing_board_types(self): | CODE |
| LOW | scripts/tests/test_build.py | 387 | def test_alientek_directory_keeps_atk_board_types(self): | CODE |
| LOW | scripts/tests/test_build.py | 420 | def test_same_leaf_names_are_scoped_by_manufacturer(self): | CODE |
| LOW | scripts/tests/test_build.py | 430 | def test_common_and_core_changes_select_all(self): | CODE |
| LOW | scripts/tests/test_build.py | 444 | def test_docs_only_selects_none(self): | CODE |
| LOW | scripts/tests/test_build.py | 452 | def test_board_menu_is_sorted_and_matches_cmake(self): | CODE |
| LOW | scripts/tests/test_build.py | 513 | def test_board_menu_has_explicit_target_defaults(self): | CODE |
| LOW | scripts/tests/test_build.py | 538 | def test_duplicate_reported_identifiers_fail_collection(self): | CODE |
| LOW | scripts/tests/test_build.py | 578 | def test_invalid_reported_identifiers_are_rejected(self): | CODE |
| LOW | scripts/tests/test_build.py | 603 | def test_missing_reported_type_fails_collection(self): | CODE |
| LOW | scripts/tests/test_build.py | 616 | def test_invalid_version_rule_fails_collection(self): | CODE |
| LOW | scripts/tests/test_build.py | 635 | def test_stage_marker_is_only_emitted_when_enabled(self): | CODE |
| LOW | scripts/tests/test_build.py | 656 | def test_merge_bin_enables_preview_mode(self): | CODE |
| LOW | scripts/tests/test_build.py | 664 | def test_sync_vscode_target_preserves_other_settings(self): | CODE |
| LOW | scripts/tests/test_build.py | 717 | def test_configure_build_uses_all_cmake_values_in_one_run(self): | CODE |
| 35 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 | 909 | 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 | 794 | print(f"Error: Generated assets.bin not found: {image_file}") | CODE |
| MEDIUM⚡ | scripts/build_default_assets.py | 798 | print(f"Error: Failed to build assets: {e}") | CODE |
| MEDIUM | scripts/build_default_assets.py | 202 | print(f"Error: Failed to generate srmodels.bin: {e}") | CODE |
| MEDIUM | scripts/build_default_assets.py | 855 | print("Error: USE_CUSTOM_WAKE_WORD is enabled but no multinet models are selected in sdkconfig") | CODE |
| LOW⚡ | scripts/build_default_assets.py | 797 | except Exception as e: | CODE |
| LOW | scripts/build_default_assets.py | 201 | 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 |
|---|---|---|---|---|
| MEDIUM⚡ | scripts/build_default_assets.py | 449 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | scripts/build_default_assets.py | 451 | # ============================================================================= | 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 | 351 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/build_default_assets.py | 353 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build.py | 605 | CODE | |
| LOW | scripts/build.py | 714 | CODE | |
| LOW | scripts/build.py | 813 | CODE | |
| LOW | scripts/build.py | 1012 | CODE | |
| LOW | scripts/build_default_assets.py | 59 | CODE | |
| LOW | scripts/build_default_assets.py | 219 | CODE | |
| LOW | scripts/build_default_assets.py | 453 | CODE | |
| LOW | scripts/build_default_assets.py | 479 | CODE | |
| LOW | scripts/build_default_assets.py | 528 | CODE | |
| LOW | scripts/build_default_assets.py | 568 | 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 | 186 | CODE | |
| LOW | scripts/tests/test_build.py | 538 | 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 | 915 | # 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 | 918 | # 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 |