自动删除 Windows 和 Mac 电脑端微信缓存数据,包括从所有聊天中自动下载的大量文件、视频、图片等数据内容,解放你的空间。
This report summarizes scanner evidence for blackboxo/CleanMyWechat, a Python project with 5,580 GitHub stars. SynthScan examined 5,976 lines of code across 12 source files, recording 105 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 21.5 (Elevated 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? 24 finding(s).
Are imports declared and package/API names verified? 19 finding(s).
Are wrappers, guards, and repeated structures necessary? 72 finding(s).
Which changes need focused human review? 105 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 105 distinct pattern matches across 5 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 |
|---|---|---|---|---|
| MEDIUM | main.py | 198 | def load_json(path, default_value): | CODE |
| MEDIUM | main.py | 213 | def format_size(size): | CODE |
| MEDIUM | main.py | 325 | def merge_detected_accounts(config): | CODE |
| MEDIUM | main.py | 382 | def safe_file_size(path): | CODE |
| MEDIUM | main.py | 390 | def is_sub_path(path, root): | CODE |
| MEDIUM | main.py | 467 | def mouseMoveEvent(self, QMouseEvent): | CODE |
| MEDIUM | main.py | 515 | def center_on_screen(self): | CODE |
| MEDIUM | main.py | 1131 | def add_file_if_match(self, file_path, now, day, category, file_list, file_set, | CODE |
| MEDIUM | main.py | 1887 | def finish_smart_detect_wechat_path(self, show_config_on_fail=False): | CODE |
| MEDIUM | main.py | 1913 | def check_auto_clean_after_start(self): | CODE |
| LOW⚡ | main.py | 30 | except Exception: | CODE |
| LOW⚡ | main.py | 40 | except Exception: | CODE |
| LOW⚡ | main.py | 49 | except Exception: | CODE |
| LOW | main.py | 203 | except Exception as e: | CODE |
| LOW | main.py | 216 | except Exception: | CODE |
| LOW | main.py | 272 | except Exception: | CODE |
| LOW | main.py | 320 | except Exception: | CODE |
| LOW | main.py | 344 | except Exception: | CODE |
| LOW | main.py | 385 | except Exception: | CODE |
| LOW | main.py | 395 | except Exception: | CODE |
| LOW | main.py | 444 | except Exception: | CODE |
| LOW | main.py | 472 | except Exception: | CODE |
| LOW | main.py | 496 | except Exception: | CODE |
| LOW | main.py | 519 | except Exception: | CODE |
| LOW | main.py | 817 | except Exception as e: | STRING |
| LOW | main.py | 828 | except Exception as e: | STRING |
| LOW | main.py | 834 | except Exception as e: | STRING |
| LOW | main.py | 1165 | except Exception: | STRING |
| LOW | main.py | 1183 | except Exception: | STRING |
| LOW | main.py | 1222 | except Exception: | STRING |
| LOW | main.py | 1272 | except Exception: | STRING |
| LOW | main.py | 1274 | except Exception: | STRING |
| LOW | main.py | 1301 | except Exception: | STRING |
| LOW | main.py | 1583 | except Exception: | STRING |
| LOW | main.py | 1782 | except Exception: | STRING |
| LOW | main.py | 1789 | except Exception: | STRING |
| LOW | main.py | 1890 | except Exception: | STRING |
| LOW | main.py | 1907 | except Exception: | STRING |
| LOW | main.py | 1924 | except Exception: | STRING |
| LOW⚡ | utils/deleteThread.py | 47 | except Exception: | CODE |
| LOW⚡ | utils/deleteThread.py | 57 | except Exception: | CODE |
| LOW⚡ | utils/deleteThread.py | 64 | except Exception as e: | CODE |
| LOW | utils/selectVersion.py | 30 | except Exception: | CODE |
| LOW | utils/selectVersion.py | 75 | except Exception: | CODE |
| LOW | utils/selectVersion.py | 87 | except Exception: | CODE |
| LOW | utils/selectVersion.py | 114 | except Exception as e: | CODE |
| MEDIUM | utils/selectVersion.py | 115 | print("Error occurred:", str(e)) | CODE |
| MEDIUM | utils/selectVersion.py | 80 | def check_dir(file_path): | CODE |
| LOW | utils/scanThread.py | 103 | except Exception as e: | CODE |
| MEDIUM | utils/scanThread.py | 104 | print(f"Error processing file {file_path}: {e}") | CODE |
| LOW | utils/scanThread.py | 184 | except Exception as e: | CODE |
| MEDIUM | utils/scanThread.py | 31 | def get_file_size(self, path): | CODE |
| LOW | utils/multiDeleteThread.py | 46 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | main.py | 49 | except Exception: | CODE |
| HIGH | main.py | 40 | except Exception: | CODE |
| HIGH | main.py | 496 | except Exception: | CODE |
| HIGH | main.py | 519 | except Exception: | CODE |
| HIGH | main.py | 1222 | except Exception: | CODE |
| HIGH | main.py | 441 | except FileNotFoundError: | CODE |
| HIGH | utils/selectVersion.py | 75 | except Exception: | CODE |
| HIGH | utils/scanThread.py | 45 | except: | CODE |
| HIGH | utils/scanThread.py | 42 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 55 | CODE | |
| LOW | main.py | 55 | CODE | |
| LOW | main.py | 55 | CODE | |
| LOW | main.py | 55 | CODE | |
| LOW | main.py | 58 | CODE | |
| LOW | main.py | 58 | CODE | |
| LOW | main.py | 58 | CODE | |
| LOW | main.py | 59 | CODE | |
| LOW | main.py | 62 | CODE | |
| LOW | main.py | 63 | CODE | |
| LOW | main.py | 64 | CODE | |
| LOW | main.py | 64 | CODE | |
| LOW | main.py | 64 | CODE | |
| LOW | main.py | 66 | CODE | |
| LOW | main.py | 68 | CODE | |
| LOW | utils/deleteThread.py | 1 | CODE | |
| LOW | utils/deleteThread.py | 1 | CODE | |
| LOW | utils/deleteThread.py | 1 | CODE | |
| LOW | utils/deleteThread.py | 2 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 258 | CODE | |
| LOW | main.py | 277 | CODE | |
| LOW | main.py | 325 | CODE | |
| LOW | main.py | 583 | CODE | |
| LOW | main.py | 808 | CODE | |
| LOW | main.py | 1226 | CODE | |
| LOW | main.py | 1469 | CODE | |
| LOW | main.py | 1552 | CODE | |
| LOW | utils/selectVersion.py | 47 | CODE | |
| LOW | utils/selectVersion.py | 156 | CODE | |
| LOW | utils/selectVersion.py | 180 | CODE | |
| LOW | utils/scanThread.py | 31 | CODE | |
| LOW | utils/scanThread.py | 77 | CODE | |
| LOW | utils/scanThread.py | 107 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | main.py | 21 | def install_early_crash_logging(): | CODE |
| LOW | main.py | 675 | def apply_global_config_to_ui(self, global_config): | STRING |
| LOW | main.py | 1531 | def parse_preview_detail_line(self, line): | STRING |
| LOW | main.py | 1887 | def finish_smart_detect_wechat_path(self, show_config_on_fail=False): | STRING |
| LOW | main.py | 1913 | def check_auto_clean_after_start(self): | STRING |
| LOW⚡ | tests/test_select_version_macos.py | 22 | def test_detects_macos_xwechat_account_root(self): | CODE |
| LOW⚡ | tests/test_select_version_macos.py | 32 | def test_detects_macos_wxwork_users_root(self): | CODE |
| LOW⚡ | tests/test_select_version_macos.py | 42 | def test_find_all_wechat_paths_includes_macos_candidates(self): | CODE |
| LOW | utils/selectVersion.py | 21 | def is_wechat_like_account_dir(file_path): | CODE |
| LOW | utils/selectVersion.py | 156 | def request_macos_private_data_access(): | CODE |