基于图像识别的自动化黑盒测试框架 | An automation black-box testing framework based on image recognition
This report presents the forensic synthetic code analysis of MaaXYZ/MaaFramework, a C++ project with 4,568 GitHub stars. SynthScan v2.0 examined 118,019 lines of code across 631 source files, recording 270 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 4.1 places this repository in the Likely human-written 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 270 distinct pattern matches across 13 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 |
|---|---|---|---|---|
| MEDIUM | tools/ImageCropper/main.py | 49 | # ----------------------------------------------- | COMMENT |
| MEDIUM | tools/ImageCropper/main.py | 143 | # ----------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/python/pipeline_test.py | 93 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | test/python/pipeline_test.py | 95 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | test/python/pipeline_test.py | 1196 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | test/python/pipeline_test.py | 1198 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | test/python/pipeline_test.py | 1325 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | test/python/pipeline_test.py | 1327 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/pipeline_test.py | 148 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/pipeline_test.py | 150 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/pipeline_test.py | 1120 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/pipeline_test.py | 1122 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/pipeline_test.py | 1166 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/pipeline_test.py | 1168 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 58 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 60 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 88 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 90 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 237 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 239 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 361 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 363 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 442 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 444 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 464 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 466 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 589 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 591 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 726 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 728 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 878 | # ============================================================================ | COMMENT |
| MEDIUM | test/python/binding_test.py | 880 | # ============================================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 80 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 82 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 162 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 164 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 183 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 185 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 246 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 248 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 306 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 308 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 340 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 342 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 385 | # ============================================================================ | COMMENT |
| MEDIUM | test/agent/agent_child_test.py | 387 | # ============================================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 38 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 40 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 64 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 66 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 89 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 91 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 109 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 111 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/agent/agent_main_test.py | 139 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/agent/agent_main_test.py | 141 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/agent/agent_main_test.py | 150 | # ============================================================ | COMMENT |
| MEDIUM⚡ | test/agent/agent_main_test.py | 152 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 193 | # ============================================================ | COMMENT |
| MEDIUM | test/agent/agent_main_test.py | 195 | # ============================================================ | COMMENT |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 161 | # cmake-format: off | COMMENT |
| LOW | test/pipeline/module/RunWithoutFile.cpp | 1 | #include "RunWithoutFile.h" | COMMENT |
| LOW | include/MaaToolkit/MaaToolkitAPI.h | 1 | #pragma once | COMMENT |
| LOW | include/MaaControlUnit/MaaControlUnitAPI.h | 1 | #pragma once | COMMENT |
| LOW | include/MaaFramework/MaaDef.h | 81 | /// value: string, eg: "C:\\Users\\Administrator\\Desktop\\log"; val_size: string length | COMMENT |
| LOW | include/MaaFramework/MaaDef.h | 101 | COMMENT | |
| LOW | include/MaaFramework/MaaDef.h | 201 | MaaCtrlOption_ScreenshotTargetLongSide = 1, | COMMENT |
| LOW | include/MaaFramework/MaaDef.h | 221 | // Deprecated | COMMENT |
| LOW | include/MaaFramework/MaaDef.h | 501 | #define MaaGamepadButton_Y 0x8000 | COMMENT |
| LOW | include/MaaFramework/MaaDef.h | 561 | */ | COMMENT |
| LOW | include/MaaFramework/MaaPort.h | 1 | #pragma once | COMMENT |
| LOW | include/MaaFramework/MaaPort.h | 21 | #define MAA_DLL_IMPORT | COMMENT |
| LOW | include/MaaFramework/MaaPort.h | 41 | #else | COMMENT |
| LOW | source/MaaToolkit/API/MaaToolkitDesktopWindow.cpp | 1 | #include "MaaToolkit/DesktopWindow/MaaToolkitDesktopWindow.h" | COMMENT |
| LOW | source/MaaToolkit/AdbDevice/AdbDeviceFinder.h | 1 | #pragma once | COMMENT |
| LOW | source/include/Utils/VkToEvdev.h | 1 | #pragma once | COMMENT |
| LOW | source/include/Common/Conf.h | 21 | #define MAA_CTRL_NS MAA_NS::ControllerNS | COMMENT |
| LOW | source/MaaRecordControlUnit/RecordController.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaAgentClient/Client/AgentClient.cpp | 1 | #include "AgentClient.h" | COMMENT |
| LOW | source/binding/NodeJS/src/apis/index-server.d.ts | 1 | /// <reference path="./constant.d.ts" /> | COMMENT |
| LOW | source/binding/NodeJS/src/apis/client.h | 1 | #pragma once | COMMENT |
| LOW | source/binding/NodeJS/src/apis/controller.cpp | 1 | #include "controller.h" | COMMENT |
| LOW | source/binding/NodeJS/src/apis/index-client.d.ts | 1 | /// <reference path="./client.d.ts" /> | COMMENT |
| LOW | source/binding/NodeJS/src/plugin/runtime.cpp | 1 | #include "runtime.h" | COMMENT |
| LOW | source/binding/NodeJS/src/foundation/spec.h | 1 | #pragma once | COMMENT |
| LOW | source/binding/NodeJS/src/foundation/spec/async.h | 1 | #pragma once | COMMENT |
| LOW | source/binding/NodeJS/src/foundation/spec/class.h | 1 | #pragma once | COMMENT |
| LOW | source/binding/NodeJS/src/foundation/spec/callback.h | 1 | #pragma once | COMMENT |
| LOW | …e/binding/NodeJS/src/foundation/spec/quickjs/wrapper.h | 1 | #pragma once | COMMENT |
| LOW | source/binding/Python/pyproject.toml | 41 | reportMissingTypeStubs = "none" | COMMENT |
| LOW | source/binding/Python/maa/define.py | 181 | # | COMMENT |
| LOW | source/binding/Python/maa/define.py | 201 | StdoutLevel = 4 | COMMENT |
| LOW | source/binding/Python/maa/define.py | 241 | # value: int, eg: 1080; val_size: sizeof(int) | COMMENT |
| LOW | source/binding/Python/maa/define.py | 261 | COMMENT | |
| LOW | source/binding/Python/maa/define.py | 281 | # and more gpu id or flag... | COMMENT |
| LOW | source/AgentCommon/Transceiver.cpp | 1 | #include "MaaAgent/Transceiver.h" | COMMENT |
| LOW | source/MaaFramework/Vision/OCRer.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Vision/OCRer.cpp | 1 | #include "OCRer.h" | COMMENT |
| LOW | source/MaaFramework/Vision/VisionUtils.hpp | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Controller/ControllerAgent.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Task/PipelineTask.cpp | 1 | #include "PipelineTask.h" | COMMENT |
| LOW | source/MaaFramework/Task/TaskBase.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Task/TaskBase.cpp | 1 | #include "TaskBase.h" | COMMENT |
| LOW | source/MaaFramework/Task/Context.cpp | 1 | #include "Context.h" | COMMENT |
| LOW | source/MaaFramework/Task/Component/Recognizer.cpp | 1 | #include "Recognizer.h" | COMMENT |
| LOW | source/MaaFramework/Task/Component/Actuator.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Resource/ResourceMgr.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Resource/OCRResMgr.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Resource/PipelineTypes.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Resource/ONNXResMgr.cpp | 21 | COMMENT | |
| LOW | source/MaaFramework/Resource/MLProvider.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Global/PluginMgr.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Base/AsyncRunner.hpp | 1 | #pragma once | COMMENT |
| LOW | source/MaaFramework/Tasker/Tasker.cpp | 1 | #include "RuntimeCache.h" | COMMENT |
| LOW | source/MaaFramework/Tasker/Tasker.h | 1 | #pragma once | COMMENT |
| LOW | source/MaaKWinControlUnit/CMakeLists.txt | 1 | # --------------------------------------------------------------------------- | COMMENT |
| LOW | …rce/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp | 1 | #include "PipeWireScreencap.h" | COMMENT |
| LOW | …/MaaWin32ControlUnit/Input/BackgroundManagedKeyInput.h | 1 | #pragma once | COMMENT |
| LOW | …ce/MaaWin32ControlUnit/Manager/Win32ControlUnitMgr.cpp | 1 | #include "Win32ControlUnitMgr.h" | COMMENT |
| LOW | …urce/MaaWin32ControlUnit/Manager/Win32ControlUnitMgr.h | 1 | #pragma once | COMMENT |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/migrate_pipeline_v5.py | 47 | def remove_jsonc_comments_for_parsing(text: str) -> str: | CODE |
| LOW | tools/migrate_pipeline_v5.py | 199 | def rebuild_json_with_comments( | CODE |
| LOW | tools/migrate_pipeline_v5.py | 501 | def add_prefix_to_specific_nodes(nodes: list, target_nodes: set, prefix: str) -> list: | CODE |
| LOW | tools/ImageCropper/colormatcher.py | 70 | def __count_non_zero_with_connected(bin): | CODE |
| LOW | tools/ImageCropper/main.py | 26 | def set_screenshot_target_side(c: Controller): | CODE |
| LOW | tools/ImageCropper/main.py | 316 | def get_amplified_roi_rectangle(roi: Roimage) -> list[int]: | CODE |
| LOW⚡ | test/python/pipeline_test.py | 98 | def test_resource_get_node_data(resource: Resource): | CODE |
| LOW⚡ | test/python/pipeline_test.py | 215 | def _test_context_get_node_data(self, context: Context): | CODE |
| LOW⚡ | test/python/pipeline_test.py | 224 | def _test_context_get_node_object(self, context: Context): | CODE |
| LOW⚡ | test/python/pipeline_test.py | 232 | def _test_context_override_pipeline(self, context: Context): | CODE |
| LOW⚡ | test/python/pipeline_test.py | 1201 | def test_negative_roi_and_target(context: Context): | CODE |
| LOW⚡ | test/python/pipeline_test.py | 1330 | def create_test_pipeline_resource(resource_dir: Path): | CODE |
| LOW | test/python/pipeline_test.py | 118 | def test_resource_get_node_object(resource: Resource): | CODE |
| LOW | test/python/pipeline_test.py | 293 | def _test_context_override_next(self, context: Context): | CODE |
| LOW | test/python/pipeline_test.py | 327 | def _test_and_or_override_inheritance(self, context: Context): | CODE |
| LOW | test/python/pipeline_test.py | 397 | def _test_and_or_node_reference(self, context: Context): | CODE |
| LOW | test/python/pipeline_test.py | 918 | def _test_anchor_object_format(self, context: Context): | CODE |
| LOW | test/python/pipeline_test.py | 1080 | def _test_context_vs_resource(self, context: Context): | CODE |
| LOW | test/python/binding_test.py | 747 | def test_background_managed_keys_api(): | CODE |
| LOW | test/python/binding_test.py | 838 | def test_kwin_controller_create(): | CODE |
| LOW | test/agent/agent_tcp_main_test.py | 217 | def run_numeric_identifier_flow(): | CODE |
| LOW | test/agent/agent_tcp_main_test.py | 223 | def run_numeric_identifier_flow_with_retry(max_attempts: int = 5): | CODE |
| LOW | source/binding/Python/maa/controller.py | 279 | def set_background_managed_keys(self, keys: Sequence[int]) -> bool: | CODE |
| LOW | source/binding/Python/maa/controller.py | 460 | def set_screenshot_target_long_side(self, long_side: int) -> bool: | CODE |
| LOW | source/binding/Python/maa/controller.py | 479 | def set_screenshot_target_short_side(self, short_side: int) -> bool: | CODE |
| LOW | source/binding/Python/maa/controller.py | 498 | def set_screenshot_use_raw_size(self, enable: bool) -> bool: | CODE |
| LOW | source/binding/Python/maa/controller.py | 520 | def set_screenshot_resize_method(self, method: int) -> bool: | CODE |
| LOW | source/binding/Python/maa/controller.py | 931 | def _set_macos_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/controller.py | 965 | def _set_android_native_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/controller.py | 1012 | def _set_playcover_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/controller.py | 1055 | def _set_wlroots_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/controller.py | 1184 | def _set_replay_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/controller.py | 1224 | def _set_record_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/controller.py | 1282 | def _set_gamepad_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/controller.py | 1809 | def _set_custom_api_properties(self): | CODE |
| LOW | source/binding/Python/maa/toolkit.py | 193 | def macos_reveal_permission_settings(perm: MaaMacOSPermissionEnum) -> bool: | CODE |
| LOW | source/binding/Python/maa/tasker.py | 756 | def set_reco_image_cache_limit(limit: int) -> bool: | CODE |
| LOW | source/binding/Python/maa/tasker.py | 797 | def _parse_recognition_raw_detail( | CODE |
| LOW | source/binding/Python/maa/resource.py | 223 | def get_default_recognition_param(self, reco_type: JRecognitionType) -> Optional[JRecognitionParam]: | CODE |
| LOW | source/binding/Python/maa/resource.py | 376 | def register_custom_recognition( | CODE |
| LOW | source/binding/Python/maa/resource.py | 402 | def unregister_custom_recognition(self, name: str) -> bool: | CODE |
| LOW | source/binding/Python/maa/agent/agent_server.py | 60 | def register_custom_recognition( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/pip_pack/pip_pack.py | 1 | CODE | |
| LOW | tools/ImageCropper/roi.py | 1 | CODE | |
| LOW | tools/ImageCropper/roimage.py | 1 | CODE | |
| LOW | test/python/pipeline_test.py | 46 | CODE | |
| LOW | test/python/pipeline_test.py | 48 | CODE | |
| LOW | test/python/pipeline_test.py | 48 | CODE | |
| LOW | test/agent/agent_tcp_child_test.py | 9 | CODE | |
| LOW | source/binding/Python/maa/custom_recognition.py | 11 | CODE | |
| LOW | source/binding/Python/maa/agent_client.py | 6 | CODE | |
| LOW | source/binding/Python/maa/controller.py | 14 | CODE | |
| LOW | source/binding/Python/maa/toolkit.py | 7 | CODE | |
| LOW | source/binding/Python/maa/library.py | 6 | CODE | |
| LOW | source/binding/Python/maa/tasker.py | 12 | CODE | |
| LOW | source/binding/Python/maa/tasker.py | 20 | CODE | |
| LOW | source/binding/Python/maa/job.py | 4 | CODE | |
| LOW | source/binding/Python/maa/resource.py | 10 | CODE | |
| LOW | source/binding/Python/maa/custom_action.py | 8 | CODE | |
| LOW | source/binding/Python/maa/context.py | 10 | CODE | |
| LOW | source/binding/Python/maa/buffer.py | 7 | CODE | |
| LOW | source/binding/Python/maa/agent/agent_server.py | 4 | CODE | |
| LOW | source/binding/Python/maa/agent/agent_server.py | 9 | CODE | |
| LOW | source/binding/Python/maa/agent/agent_server.py | 10 | CODE | |
| LOW | source/binding/Python/maa/agent/agent_server.py | 11 | CODE | |
| LOW | source/binding/Python/maa/agent/agent_server.py | 12 | CODE | |
| LOW | source/binding/Python/maa/agent/agent_server.py | 13 | CODE | |
| LOW | source/binding/Python/maa/agent/agent_server.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | source/binding/Python/maa/agent_client.py | 65 | 创建使用 TCP 连接的 Agent 客户端 / Create Agent client with TCP connection 客户端会监听 127.0.0.1 上的指定端口。如果传入 0 则自动选择可用端口。 | STRING |
| HIGH | source/binding/Python/maa/buffer.py | 294 | 设置图像数据 / Set image data Args: value: BGR 格式图像,形状为 (height, width, channels) BGR format | STRING |
| HIGH | source/binding/Python/maa/buffer.py | 575 | 设置矩形数据 / Set rectangle data Args: value: 矩形数据,可以是 Rect、tuple、list 或 numpy.ndarray Recta | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/migrate_pipeline_v5.py | 47 | CODE | |
| LOW | tools/migrate_pipeline_v5.py | 101 | CODE | |
| LOW | tools/migrate_pipeline_v5.py | 199 | CODE | |
| LOW | tools/migrate_pipeline_v5.py | 512 | CODE | |
| LOW | tools/analyze_log.py | 34 | CODE | |
| LOW | tools/FormatCode/format_cpp.py | 110 | CODE | |
| LOW | tools/ImageCropper/main.py | 67 | CODE | |
| LOW | test/agent/agent_main_test.py | 37 | CODE | |
| LOW | test/agent/agent_tcp_main_test.py | 73 | CODE | |
| LOW | source/binding/Python/maa/define.py | 1251 | CODE | |
| LOW | source/binding/Python/maa/context.py | 717 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rce/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp | 324 | // Step 1: D-Bus handshake with xdg-desktop-portal. | COMMENT |
| LOW⚡ | …rce/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp | 333 | // Step 2: Initialize PipeWire (connect core, create stream, connect) | COMMENT |
| LOW⚡ | sample/cpp/main.cpp | 220 | // Step 1: output box | COMMENT |
| LOW⚡ | sample/cpp/main.cpp | 224 | // Step 2: output anything you want | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …rce/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp | 324 | // Step 1: D-Bus handshake with xdg-desktop-portal. | COMMENT |
| LOW⚡ | …rce/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp | 333 | // Step 2: Initialize PipeWire (connect core, create stream, connect) | COMMENT |
| LOW⚡ | sample/cpp/main.cpp | 220 | // Step 1: output box | COMMENT |
| LOW⚡ | sample/cpp/main.cpp | 224 | // Step 2: output anything you want | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/migrate_pipeline_v5.py | 631 | except Exception as e: | CODE |
| LOW | tools/migrate_pipeline_v5.py | 717 | except Exception as e: | CODE |
| LOW | tools/analyze_log.py | 67 | except Exception as e: | CODE |
| LOW | tools/FormatCode/format_cpp.py | 106 | except Exception as e: | CODE |
| LOW | test/python/pipeline_test.py | 168 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/binding/Python/maa/define.py | 537 | # No bitwise OR, just set it | COMMENT |
| LOW | sample/python/demo1.py | 33 | # for demo, we just use the first device | COMMENT |
| LOW | sample/python/demo1.py | 52 | hwnd=all_windows[0].hwnd, # for demo, we just use the first Window | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/binding/Python/maa/controller.py | 19 | __all__ = [ | CODE |
| LOW | source/binding/Python/maa/library.py | 195 | def _set_api_properties(cls) -> None: | CODE |
| LOW | source/binding/Python/maa/define.py | 11 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | sample/cpp/main.cpp | 232 | // don't forget to return true! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/binding/Python/maa/context.py | 45 | def run_task(self, entry: str, pipeline_override: Optional[dict[str, Any]] = None) -> Optional[TaskDetail]: | CODE |