AI Slop Code Risk Monitor

MaaXYZ/MaaFramework

SlopCodeMonitor badge for MaaXYZ/MaaFramework Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

基于图像识别的自动化黑盒测试框架 | An automation black-box testing framework based on image recognition

3.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for MaaXYZ/MaaFramework, a C++ project with 5,115 GitHub stars. SynthScan examined 128,168 lines of code across 680 source files, recording 316 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 3.8 (Low 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.

3.8
Adjusted Signal
3.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
5.1K
Stars
C++
Language
128.2K
Lines of Code
680
Files
316
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 8.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 213 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

Are imports declared and package/API names verified? 26 finding(s).

Agent Over-Engineering Ratio 10.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 155 finding(s).

PR Review Velocity Impact 17.5/100 · LOW

Which changes need focused human review? 316 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 10MEDIUM 63LOW 243

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 316 distinct pattern matches across 14 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.

Decorative Section Separators62 hits · 201 pts
SeverityFileLineSnippetContext
MEDIUMtools/ImageCropper/main.py49# -----------------------------------------------COMMENT
MEDIUMtools/ImageCropper/main.py143# -----------------------------------------------COMMENT
MEDIUM⚡test/python/pipeline_test.py105# ============================================================================COMMENT
MEDIUM⚡test/python/pipeline_test.py107# ============================================================================COMMENT
MEDIUM⚡test/python/pipeline_test.py2052# ============================================================================COMMENT
MEDIUM⚡test/python/pipeline_test.py2054# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py248# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py250# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py1284# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py1286# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py1330# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py1332# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py1360# ============================================================================COMMENT
MEDIUMtest/python/pipeline_test.py1362# ============================================================================COMMENT
MEDIUM⚡test/python/binding_test.py1251# ============================================================================COMMENT
MEDIUM⚡test/python/binding_test.py1253# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py69# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py71# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py99# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py101# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py268# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py270# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py432# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py434# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py513# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py515# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py584# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py586# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py731# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py733# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py1088# ============================================================================COMMENT
MEDIUMtest/python/binding_test.py1090# ============================================================================COMMENT
MEDIUMtest/agent/agent_child_test.py89 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py91 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py171 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py173 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py192 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py194 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py262 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py264 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py322 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py324 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py356 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py358 # ============================================================COMMENT
MEDIUMtest/agent/agent_child_test.py496# ============================================================================COMMENT
MEDIUMtest/agent/agent_child_test.py498# ============================================================================COMMENT
MEDIUMtest/agent/agent_main_test.py50 # ============================================================COMMENT
MEDIUMtest/agent/agent_main_test.py52 # ============================================================COMMENT
MEDIUMtest/agent/agent_main_test.py76 # ============================================================COMMENT
MEDIUMtest/agent/agent_main_test.py78 # ============================================================COMMENT
MEDIUMtest/agent/agent_main_test.py101 # ============================================================COMMENT
MEDIUMtest/agent/agent_main_test.py103 # ============================================================COMMENT
MEDIUMtest/agent/agent_main_test.py121 # ============================================================COMMENT
MEDIUMtest/agent/agent_main_test.py123 # ============================================================COMMENT
MEDIUMtest/agent/agent_tcp_main_test.py197 # ============================================================COMMENT
MEDIUMtest/agent/agent_tcp_main_test.py199 # ============================================================COMMENT
MEDIUMtest/agent/agent_tcp_main_test.py217 # ============================================================COMMENT
MEDIUMtest/agent/agent_tcp_main_test.py219 # ============================================================COMMENT
MEDIUM⚡test/agent/agent_tcp_main_test.py294 # ============================================================COMMENT
MEDIUM⚡test/agent/agent_tcp_main_test.py296 # ============================================================COMMENT
2 more matches not shown…
Over-Commented Block108 hits · 108 pts
SeverityFileLineSnippetContext
LOWtest/pipeline/module/RunWithoutFile.cpp1#include "RunWithoutFile.h"COMMENT
LOWtest/pipeline/module/PostStopInterrupt.cpp1#include "PostStopInterrupt.h"COMMENT
LOWtest/linux_test/portal_fd_test.cpp1#include <atomic>COMMENT
LOWinclude/MaaToolkit/MaaToolkitAPI.h1#pragma onceCOMMENT
LOWinclude/MaaControlUnit/MaaControlUnitAPI.h1#pragma onceCOMMENT
LOWinclude/MaaFramework/MaaDef.h81 /// value: string, eg: "C:\\Users\\Administrator\\Desktop\\log"; val_size: string lengthCOMMENT
LOWinclude/MaaFramework/MaaDef.h101COMMENT
LOWinclude/MaaFramework/MaaDef.h161 // used to be a coreml_flag fromCOMMENT
LOWinclude/MaaFramework/MaaDef.h181 // MaaResOption_InferenceDevice: CPU / Auto -> NCNN CPU; GPU is not supported yet, other values fail the loading.COMMENT
LOWinclude/MaaFramework/MaaDef.h221COMMENT
LOWinclude/MaaFramework/MaaDef.h241 ///COMMENT
LOWinclude/MaaFramework/MaaDef.h261COMMENT
LOWinclude/MaaFramework/MaaDef.h381 */COMMENT
LOWinclude/MaaFramework/MaaDef.h441 * A minimized target must be restored before input. Screencap methods with pseudo-minimize doCOMMENT
LOWinclude/MaaFramework/MaaDef.h581 * | 0x0020 | SHARE | BACK | Share button |COMMENT
LOWinclude/MaaFramework/MaaDef.h601#define MaaGamepadButton_DPAD_RIGHT 0x0008COMMENT
LOWinclude/MaaFramework/MaaPort.h1#pragma onceCOMMENT
LOWinclude/MaaFramework/MaaPort.h21#define MAA_DLL_IMPORTCOMMENT
LOWinclude/MaaFramework/MaaPort.h41#elseCOMMENT
LOWsource/MaaToolkit/Portal/PortalHelper.cpp21static constexpr int kDBusCallTimeoutMs = 10000;COMMENT
LOWsource/MaaToolkit/API/MaaToolkitDesktopWindow.cpp1#include "MaaToolkit/DesktopWindow/MaaToolkitDesktopWindow.h"COMMENT
LOWsource/MaaToolkit/Gamescope/GamescopeFinder.cpp1#if defined(__linux__) && !defined(ANDROID)COMMENT
LOW…aaToolkit/Gamescope/Protocol/gamescope-pipewire-priv.c21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGCOMMENT
LOWsource/MaaToolkit/AdbDevice/AdbDeviceFinder.h1#pragma onceCOMMENT
LOWsource/include/Utils/VkToEvdev.h1#pragma onceCOMMENT
LOWsource/include/Common/Conf.h21#define MAA_CTRL_NS MAA_NS::ControllerNSCOMMENT
LOWsource/include/MaaAgent/Transceiver.h1#pragma onceCOMMENT
LOWsource/MaaRecordControlUnit/RecordController.h1#pragma onceCOMMENT
LOWsource/MaaAgentClient/Client/AgentClient.cpp1#include "AgentClient.h"COMMENT
LOWsource/binding/NodeJS/src/apis/index-server.d.ts1/// <reference path="./constant.d.ts" />COMMENT
LOWsource/binding/NodeJS/src/apis/client.h1#pragma onceCOMMENT
LOWsource/binding/NodeJS/src/apis/resource.cpp121 else if (provider == "WebGPU") {COMMENT
LOWsource/binding/NodeJS/src/apis/controller.cpp1#include "controller.h"COMMENT
LOWsource/binding/NodeJS/src/apis/index-client.d.ts1/// <reference path="./client.d.ts" />COMMENT
LOWsource/binding/NodeJS/src/plugin/runtime.cpp1#include "runtime.h"COMMENT
LOWsource/binding/NodeJS/src/foundation/spec.h1#pragma onceCOMMENT
LOWsource/binding/NodeJS/src/foundation/spec/async.h1#pragma onceCOMMENT
LOWsource/binding/NodeJS/src/foundation/spec/class.h1#pragma onceCOMMENT
LOWsource/binding/NodeJS/src/foundation/spec/callback.h1#pragma onceCOMMENT
LOW…e/binding/NodeJS/src/foundation/spec/quickjs/wrapper.h1#pragma onceCOMMENT
LOWsource/binding/Python/pyproject.toml41reportMissingTypeStubs = "none"COMMENT
LOWsource/binding/Python/maa/define.py201 # is true. value: bool, eg: true; val_size: sizeof(bool)COMMENT
LOWsource/binding/Python/maa/define.py241 # Only one of long and short side can be set, and the other is automatically scaled according toCOMMENT
LOWsource/binding/Python/maa/define.py261 MouseLockFollow = 4COMMENT
LOWsource/binding/Python/maa/define.py321 # MaaResOption_InferenceDevice is the WebGPU device id. Auto uses device 0.COMMENT
LOWsource/MaaLinuxControlUnit/Input/VkToEvdev.h1#pragma onceCOMMENT
LOWsource/MaaLinuxControlUnit/Input/UInput.h1#pragma onceCOMMENT
LOW…inuxControlUnit/Wayland/Protocol/wlr-screencopy-priv.c21 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERCOMMENT
LOW…ontrolUnit/Wayland/Protocol/wlr-virtual-pointer-priv.c21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGCOMMENT
LOW…inuxControlUnit/Wayland/Protocol/wlr-virtual-pointer.h101#endif /* ZWLR_VIRTUAL_POINTER_V1_ERROR_ENUM */COMMENT
LOW…ce/MaaLinuxControlUnit/Screencap/PipeWireScreencap.cpp1#include "PipeWireScreencap.h"COMMENT
LOW…ce/MaaLinuxControlUnit/Screencap/PipeWireScreencap.cpp21#include <spa/param/video/raw.h>COMMENT
LOWsource/AgentCommon/Transceiver.cpp1#include "MaaAgent/Transceiver.h"COMMENT
LOWsource/MaaFramework/Vision/OCRer.h1#pragma onceCOMMENT
LOWsource/MaaFramework/Vision/NeuralNetworkDetector.cpp1#include "NeuralNetworkDetector.h"COMMENT
LOWsource/MaaFramework/Vision/OCRSession.h1#pragma onceCOMMENT
LOWsource/MaaFramework/Vision/VisionUtils.hpp1#pragma onceCOMMENT
LOWsource/MaaFramework/Controller/ControllerAgent.h1#pragma onceCOMMENT
LOWsource/MaaFramework/Task/PipelineTask.cpp1#include "PipelineTask.h"COMMENT
LOWsource/MaaFramework/Task/TaskBase.h1#pragma onceCOMMENT
48 more matches not shown…
Hyper-Verbose Identifiers78 hits · 66 pts
SeverityFileLineSnippetContext
LOWtools/check_interface_schema.py24def declared_importable_fields(main_schema):CODE
LOWtools/check_interface_schema.py49def accepted_top_level_fields(import_schema):CODE
LOWtools/migrate_pipeline_v5.py47def remove_jsonc_comments_for_parsing(text: str) -> str:CODE
LOWtools/migrate_pipeline_v5.py199def rebuild_json_with_comments(CODE
LOWtools/migrate_pipeline_v5.py501def add_prefix_to_specific_nodes(nodes: list, target_nodes: set, prefix: str) -> list:CODE
LOWtools/ImageCropper/colormatcher.py70def __count_non_zero_with_connected(bin):CODE
LOWtools/ImageCropper/main.py26def set_screenshot_target_side(c: Controller):CODE
LOWtools/ImageCropper/main.py316def get_amplified_roi_rectangle(roi: Roimage) -> list[int]:CODE
LOW⚡test/python/pipeline_test.py110def test_resource_get_node_data(resource: Resource):CODE
LOW⚡test/python/pipeline_test.py315 def _test_context_get_node_data(self, context: Context):CODE
LOW⚡test/python/pipeline_test.py324 def _test_context_get_node_object(self, context: Context):CODE
LOW⚡test/python/pipeline_test.py332 def _test_context_override_pipeline(self, context: Context):CODE
LOW⚡test/python/pipeline_test.py1547 def test_default_directhit_box_stays_empty(self):CODE
LOW⚡test/python/pipeline_test.py1557 def test_targets_after_failed_screenshot(self):CODE
LOW⚡test/python/pipeline_test.py1566 def test_previous_node_and_anchor_without_screenshot(self):CODE
LOW⚡test/python/pipeline_test.py1645 def test_direct_action_without_screenshot(self):CODE
LOW⚡test/python/pipeline_test.py1652 def test_input_scaling_remains_lazy(self):CODE
LOW⚡test/python/pipeline_test.py1659 def test_screencap_without_cached_image(self):CODE
LOW⚡test/python/pipeline_test.py2057def create_test_pipeline_resource(resource_dir: Path):CODE
LOWtest/python/pipeline_test.py130def test_resource_get_node_object(resource: Resource):CODE
LOWtest/python/pipeline_test.py160def test_and_sub_recognition_dumper_roundtrip():CODE
LOWtest/python/pipeline_test.py212def test_color_match_dumper_roundtrip():CODE
LOWtest/python/pipeline_test.py393 def _test_context_override_next(self, context: Context):CODE
LOWtest/python/pipeline_test.py427 def _test_and_or_override_inheritance(self, context: Context):CODE
LOWtest/python/pipeline_test.py497 def _test_and_or_node_reference(self, context: Context):CODE
LOWtest/python/pipeline_test.py1082 def _test_anchor_object_format(self, context: Context):CODE
LOWtest/python/pipeline_test.py1244 def _test_context_vs_resource(self, context: Context):CODE
LOWtest/python/pipeline_test.py1505 def test_custom_without_screenshot(self):CODE
LOWtest/python/pipeline_test.py1522 def test_no_controller_uses_same_target_semantics(self):CODE
LOWtest/python/pipeline_test.py1587 def test_cached_image_normalization_is_preserved(self):CODE
LOWtest/python/pipeline_test.py1606 def test_input_actions_without_screenshot(self):CODE
LOWtest/python/pipeline_test.py1670 def test_screencap_reuses_cached_image(self):CODE
LOWtest/python/pipeline_test.py1679 def test_command_image_without_cache_and_reuses_cache(self):CODE
LOWtest/python/pipeline_test.py1706 def test_command_without_image_does_not_capture(self):CODE
LOWtest/python/pipeline_test.py1723 def test_image_actions_fail_when_capture_fails(self):CODE
LOWtest/python/pipeline_test.py1754 def test_direct_screencap_action_without_cache(self):CODE
LOWtest/python/pipeline_test.py1793 def test_wait_freezes_resolves_target_after_capture(self):CODE
LOWtest/python/pipeline_test.py1813 def test_wait_freezes_uses_new_image_size(self):CODE
LOWtest/python/pipeline_test.py1819 def test_wait_freezes_reresolves_roi_when_screenshot_size_changes(self):CODE
LOWtest/python/pipeline_test.py1861 def test_wait_freezes_empty_self_and_invalid_targets(self):CODE
LOWtest/python/pipeline_test.py1870 def test_pipeline_wait_freezes_phases(self):CODE
LOWtest/python/pipeline_test.py1895 def test_mixed_next_still_captures(self):CODE
LOWtest/python/pipeline_test.py1921def run_directhit_target_tests():CODE
LOWtest/python/pipeline_test.py1928def test_negative_roi_and_target(context: Context):CODE
LOW⚡test/python/binding_test.py1256def test_binding_init_thread_safety():CODE
LOWtest/python/binding_test.py885def _new_command_image_tasker() -> Tasker:CODE
LOWtest/python/binding_test.py917def test_command_image_placeholder():CODE
LOWtest/python/binding_test.py986def test_template_override_across_bundles():CODE
LOWtest/python/binding_test.py1057def test_shell_api_declarations():CODE
LOWtest/python/binding_test.py1114def test_background_managed_keys_api():CODE
LOWtest/python/binding_test.py1205def test_kwin_controller_create():CODE
LOWtest/agent/agent_test_utils.py201def assert_stale_response_dropped(agent, tasker, report_file: Path) -> None:CODE
LOWtest/agent/agent_test_utils.py218def assert_nested_response_kept(agent, tasker, report_file: Path) -> None:CODE
LOWtest/agent/agent_tcp_main_test.py95def run_inactive_response_id_test(agent: AgentClient, socket_id: str, tasker: Tasker):CODE
LOWtest/agent/agent_tcp_main_test.py263def run_numeric_identifier_flow():CODE
LOWtest/agent/agent_tcp_main_test.py269def run_numeric_identifier_flow_with_retry(max_attempts: int = 5):CODE
LOWsource/binding/Python/maa/controller.py282 def set_background_managed_keys(self, keys: Sequence[int]) -> bool:CODE
LOWsource/binding/Python/maa/controller.py463 def set_screenshot_target_long_side(self, long_side: int) -> bool:CODE
LOWsource/binding/Python/maa/controller.py482 def set_screenshot_target_short_side(self, short_side: int) -> bool:CODE
LOWsource/binding/Python/maa/controller.py501 def set_screenshot_target_expand(self, width: int, height: int) -> bool:CODE
18 more matches not shown…
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHsource/binding/Python/maa/agent_client.py65创建使用 TCP 连接的 Agent 客户端 / Create Agent client with TCP connection 客户端会监听 127.0.0.1 上的指定端口。如果传入 0 则自动选择可用端口。 STRING
HIGHsource/binding/Python/maa/resource.py392自定义识别器装饰器 / Custom recognition decorator Args: name: 识别器名称,需与 Pipeline 中的 custom_recognition 字段匹配 STRING
HIGHsource/binding/Python/maa/resource.py479自定义动作装饰器 / Custom action decorator Args: name: 动作名称,需与 Pipeline 中的 custom_action 字段匹配 ASTRING
HIGHsource/binding/Python/maa/buffer.py265校验并归一化为三通道 BGR / Validate and normalize to three-channel BGR MaaFramework 的识别链路按 OpenCV 约定只接受三通道 BGR 图像(模板匹配要求图像与模板STRING
HIGHsource/binding/Python/maa/buffer.py360设置图像数据 / Set image data Args: value: 图像数据,dtype 必须为 uint8。支持单通道 (height, width) 或 (STRING
HIGHsource/binding/Python/maa/buffer.py658设置矩形数据 / Set rectangle data Args: value: 矩形数据,可以是 Rect、tuple、list 或 numpy.ndarray RectaSTRING
HIGHsource/binding/Python/maa/agent/agent_server.py39自定义识别器装饰器 / Custom recognition decorator Args: name: 识别器名称,需与 Pipeline 中的 custom_recognition 字段匹配 STRING
HIGHsource/binding/Python/maa/agent/agent_server.py101自定义动作装饰器 / Custom action decorator Args: name: 动作名称,需与 Pipeline 中的 custom_action 字段匹配 ASTRING
Unused Imports26 hits · 24 pts
SeverityFileLineSnippetContext
LOWtools/pip_pack/pip_pack.py1CODE
LOWtools/ImageCropper/roi.py1CODE
LOWtools/ImageCropper/roimage.py1CODE
LOWtest/python/pipeline_test.py50CODE
LOWtest/python/pipeline_test.py52CODE
LOWtest/python/pipeline_test.py52CODE
LOWtest/agent/agent_tcp_child_test.py9CODE
LOWsource/binding/Python/maa/custom_recognition.py11CODE
LOWsource/binding/Python/maa/agent_client.py6CODE
LOWsource/binding/Python/maa/controller.py16CODE
LOWsource/binding/Python/maa/toolkit.py7CODE
LOWsource/binding/Python/maa/library.py7CODE
LOWsource/binding/Python/maa/tasker.py12CODE
LOWsource/binding/Python/maa/tasker.py20CODE
LOWsource/binding/Python/maa/job.py4CODE
LOWsource/binding/Python/maa/resource.py11CODE
LOWsource/binding/Python/maa/custom_action.py8CODE
LOWsource/binding/Python/maa/context.py10CODE
LOWsource/binding/Python/maa/buffer.py7CODE
LOWsource/binding/Python/maa/agent/agent_server.py4CODE
LOWsource/binding/Python/maa/agent/agent_server.py9CODE
LOWsource/binding/Python/maa/agent/agent_server.py10CODE
LOWsource/binding/Python/maa/agent/agent_server.py11CODE
LOWsource/binding/Python/maa/agent/agent_server.py12CODE
LOWsource/binding/Python/maa/agent/agent_server.py13CODE
LOWsource/binding/Python/maa/agent/agent_server.py14CODE
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/migrate_pipeline_v5.py47CODE
LOWtools/migrate_pipeline_v5.py101CODE
LOWtools/migrate_pipeline_v5.py199CODE
LOWtools/migrate_pipeline_v5.py512CODE
LOWtools/analyze_log.py34CODE
LOWtools/FormatCode/format_cpp.py110CODE
LOWtools/ImageCropper/main.py67CODE
LOWtest/agent/agent_test_utils.py234CODE
LOWsource/binding/Python/maa/define.py1334CODE
LOWsource/binding/Python/maa/context.py724CODE
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtest/python/binding_test.py568except TypeError:CODE
HIGHtest/python/binding_test.py576except ValueError:CODE
Excessive Try-Catch Wrapping10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/migrate_pipeline_v5.py631 except Exception as e:CODE
LOWtools/migrate_pipeline_v5.py717 except Exception as e:CODE
LOWtools/analyze_log.py67 except Exception as e:CODE
LOWtools/FormatCode/format_cpp.py106 except Exception as e:CODE
LOWtest/python/pipeline_test.py268 except Exception as e:CODE
LOWtest/python/binding_test.py1279 except Exception:STRING
LOWtest/agent/agent_test_utils.py63 except Exception:CODE
LOWtest/agent/agent_test_utils.py94 except Exception:CODE
LOWsource/binding/Python/maa/controller.py1676 except Exception:CODE
MEDIUMsource/binding/Python/maa/controller.py1017def _set_android_native_api_properties(self):CODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡sample/cpp/main.cpp220 // Step 1: output boxCOMMENT
LOW⚡sample/cpp/main.cpp224 // Step 2: output anything you wantCOMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡sample/cpp/main.cpp220 // Step 1: output boxCOMMENT
LOW⚡sample/cpp/main.cpp224 // Step 2: output anything you wantCOMMENT
AI Slop Vocabulary3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsource/binding/Python/maa/define.py615# No bitwise OR, just set itCOMMENT
LOWsample/python/demo1.py35 # for demo, we just use the first deviceCOMMENT
LOWsample/python/demo1.py54 hwnd=all_windows[0].hwnd, # for demo, we just use the first WindowCODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsource/binding/Python/maa/controller.py21__all__ = [CODE
LOWsource/binding/Python/maa/library.py207 def _set_api_properties(cls) -> None:CODE
LOWsource/binding/Python/maa/define.py11__all__ = [CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡sample/cpp/main.cpp232 // don't forget to return true!COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsource/binding/Python/maa/context.py45 def run_task(self, entry: str, pipeline_override: Optional[dict[str, Any]] = None) -> Optional[TaskDetail]:CODE