一个第三方音乐播放器、本地服务、桌面歌词、音乐下载、远程控制
This report summarizes scanner evidence for algerkong/AlgerMusicPlayer, a Vue project with 17,148 GitHub stars. SynthScan examined 78,835 lines of code across 395 source files, recording 77 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 2.5 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 20 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 70 finding(s).
Which changes need focused human review? 77 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 77 distinct pattern matches across 4 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 | src/renderer/layout/components/SearchBar.vue | 257 | // ── 心动模式 ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/layout/components/SearchBar.vue | 268 | // ── Back button ─────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/layout/components/SearchBar.vue | 276 | // ── Tabs ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/layout/components/SearchBar.vue | 318 | // ── Search expand / collapse ────────────────────────── | COMMENT |
| MEDIUM | src/renderer/layout/components/SearchBar.vue | 336 | // ── Search logic ────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/layout/components/SearchBar.vue | 439 | // ── User / misc ─────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/views/download/DownloadPage.vue | 642 | // ── Status helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/views/download/DownloadPage.vue | 673 | // ── Task action handlers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/views/download/DownloadPage.vue | 685 | // ── Utility functions ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/views/download/DownloadPage.vue | 727 | // ── Play music ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/views/download/DownloadPage.vue | 781 | // ── Delete / Clear ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/views/download/DownloadPage.vue | 822 | // ── Download settings ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/views/download/DownloadPage.vue | 1023 | // ── Lifecycle & watchers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/services/musicSource/resolver.ts | 32 | // ─── 命中 URL 轻量验证(生态实测:LX 源近半返回端点/外链/失效链) ───────── | COMMENT |
| MEDIUM | src/renderer/services/musicSource/resolver.ts | 91 | // ─── 主入口 ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/services/musicSource/PluginSandboxRunner.ts | 103 | // ─── 歌曲条目适配(方言无关的统一入参形状) ─────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/services/musicSource/PluginSandboxRunner.ts | 168 | // ─── Runner ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …c/renderer/services/musicSource/PluginSandboxRunner.ts | 428 | // ─── 实例缓存(源码/变量变化自动重建) ──────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/services/musicSource/providers/builtin.ts | 37 | // ─── 网易云官方直连(默认第一位,含 VIP 下载口与试听判定) ──────────────── | COMMENT |
| MEDIUM | src/renderer/services/musicSource/providers/builtin.ts | 59 | // ─── 自定义 API(用户导入的 JSON 接口配置) ────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/services/musicSource/providers/builtin.ts | 79 | // ─── GD 音乐台(聚合解析) ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/services/musicSource/providers/builtin.ts | 96 | // ─── UnblockNeteaseMusic(按平台一 provider,key 沿用旧值零迁移) ────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 32 | // ─── 消息协议 ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 91 | // ─── 状态 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 123 | // ─── HTTP 通道(promise 风格,native/musicfree 用) ──────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 179 | // ─── 编解码 / 加密工具(ctx 与 LX utils 共用底层) ──────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 259 | // ─── ctx(native 方言注入) ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 305 | // ─── MusicFree 的 require 垫片 ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 471 | // ─── LX Music 方言宿主(事件模型 → 统一导出对象) ───────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 711 | // ─── 全局环境 ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 730 | // ─── 装载 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …r/services/musicSource/workers/pluginSandbox.worker.ts | 851 | // ─── 消息循环 ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/store/modules/download.ts | 23 | // ── State ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/store/modules/download.ts | 34 | // ── Computed ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/store/modules/download.ts | 66 | // ── Actions ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/main/modules/downloadManager.ts | 74 | // ─── Batch tracker entry ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/main/modules/downloadManager.ts | 78 | // ─── Persist store type ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/main/modules/downloadManager.ts | 84 | // ─── DownloadManager ───────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/main/modules/downloadManager.ts | 296 | // ─── Queue queries ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/main/modules/downloadManager.ts | 304 | // ─── Concurrency ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/main/modules/downloadManager.ts | 311 | // ─── Completed songs (same logic as old fileManager) ──────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 23 | // ─── Helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 127 | // ─── IPC Registration ─────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 151 | // ─── Task creation ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 231 | // ─── Pause / Resume / Cancel ──────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 412 | // ─── Embedded lyrics reader ───────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 453 | // ─── Provide URL (re-resolved by renderer) ───────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 468 | // ─── Queue processing ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 484 | // ─── Core download ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 665 | // ─── Finalize download ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 1002 | // ─── Batch error tracking ────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 1036 | // ─── Completion notification coalescing (#703) ───────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 1036 | // ─── Completion notification coalescing (#703) ───────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 1098 | // ─── IPC send helpers ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 1129 | // ─── Persistence ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/main/modules/downloadManager.ts | 1194 | // ─── Singleton & exports ─────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check_i18n.ts | 85 | function collectReferencesFromContent(content: string, file: string): KeyReference[] { | CODE |
| LOW | scripts/check_i18n.ts | 108 | function collectTranslationReferences(projectRoot: string): KeyReference[] { | CODE |
| LOW | src/renderer/utils/shortcutKeyboard.ts | 82 | export function keyboardEventToAccelerator(event: KeyboardEvent): string | null { | CODE |
| LOW | src/renderer/components/settings/ShortcutSettings.vue | 468 | function getRegistrationFailureLabel(reason: ShortcutRegistrationFailureReason) { | CODE |
| LOW | src/renderer/components/player/SleepTimer.vue | 156 | function handleSetPlaylistEndTimer() { | CODE |
| LOW | src/shared/download.ts | 73 | export function createDefaultDownloadSettings(): DownloadSettings { | CODE |
| LOW | src/shared/appUpdate.ts | 32 | export function createDefaultAppUpdateState(currentVersion = ''): AppUpdateState { | CODE |
| LOW | src/shared/shortcuts.ts | 182 | function createDefaultShortcutConfig(action: ShortcutAction): ShortcutConfig { | CODE |
| LOW | src/shared/shortcuts.ts | 199 | export function normalizeShortcutAccelerator(raw: string): string | null { | CODE |
| LOW | src/main/modules/localMusicScanner.ts | 334 | export function initializeLocalMusicScanner(): void { | CODE |
| LOW | src/main/modules/shortcuts.ts | 123 | function unregisterManagedGlobalShortcuts() { | CODE |
| LOW | src/main/modules/shortcuts.ts | 158 | function registerManagedGlobalShortcuts(shortcuts: ShortcutsConfig): ShortcutRegistrationResult { | CODE |
| LOW | src/main/modules/shortcuts.ts | 394 | export function isShortcutActionSupported(action: string): action is ShortcutAction { | CODE |
| LOW | src/main/modules/downloadManager.ts | 1198 | export function initializeDownloadManager(): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/renderer/types/mv.ts | 81 | name: string; | COMMENT |
| LOW | src/renderer/utils/persistedSong.ts | 1 | // 持久化歌曲对象的精简工具 | COMMENT |
| LOW | src/renderer/const/bar-const.ts | 1 | export const USER_SET_OPTIONS = [ | COMMENT |
| LOW | src/main/modules/window-size.ts | 241 | } | COMMENT |
| LOW | src/main/modules/window-size.ts | 261 | // win.isMinimized()) { | COMMENT |
| LOW | src/main/modules/window-size.ts | 281 | // win.setSize(this.savedState.width, this.savedState.height, false); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/renderer/views/set/SInput.vue | 17 | :placeholder="placeholder" | CODE |