一个基于 Electron 的音乐软件
This report summarizes scanner evidence for lyswhut/lx-music-desktop, a TypeScript project with 54,926 GitHub stars. SynthScan examined 116,445 lines of code across 723 source files, recording 182 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.7 (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? 178 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 182 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 182 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 |
|---|---|---|---|---|
| LOW | .ncurc.js | 21 | 'webpack-dev-server', | COMMENT |
| LOW | .ncurc.js | 41 | // ], | COMMENT |
| LOW | build-config/build-pack.js | 141 | // linux: { | COMMENT |
| LOW | build-config/dependencies-patch.js | 1 | // 修补依赖源码以使vite构建的依赖恢复正常工作 | COMMENT |
| LOW | build-config/deps.js | 21 | // fs.writeFileSync( | COMMENT |
| LOW | build-config/build-before-pack.js | 1 | // const fs = require('fs') | COMMENT |
| LOW | build-config/build-before-pack.js | 41 | // // const bindingBakFilePath = path.join(__dirname, '../node_modules/better-sqlite3/binding.gyp.bak') | COMMENT |
| LOW | publish/index.js | 21 | COMMENT | |
| LOW | .github/workflows/release.yml | 21 | # with: | COMMENT |
| LOW | .github/workflows/beta-pack.yml | 21 | # with: | COMMENT |
| LOW | src/renderer/App.vue | 81 | // border-radius: @radius-border; | COMMENT |
| LOW | src/renderer/tsconfig.json | 21 | // "include": [ | COMMENT |
| LOW | src/renderer/core/useApp/usePlayer/usePlayStatus.ts | 121 | case 'volume': | COMMENT |
| LOW | src/renderer/core/useApp/usePlayer/usePlaybackRate.ts | 21 | COMMENT | |
| LOW | src/renderer/plugins/player/index.ts | 161 | // console.log('connect Node') | COMMENT |
| LOW | src/renderer/utils/music.ts | 141 | // const lyrics: string[][] = [] | COMMENT |
| LOW | src/renderer/utils/ipc.ts | 161 | // export const setDesktopLyricInfo = (type, data, info) => { | COMMENT |
| LOW | src/renderer/utils/musicSdk/api-source.js | 1 | import apiSourceInfo from './api-source-info' | COMMENT |
| LOW | src/renderer/utils/musicSdk/api-source-info.ts | 1 | // Support qualitys: 128k 320k flac wav | COMMENT |
| LOW | src/renderer/utils/musicSdk/api-source-info.ts | 21 | // }, | COMMENT |
| LOW | src/renderer/utils/musicSdk/xm.js | 1 | // import { apis } from '../api-source' | COMMENT |
| LOW | src/renderer/utils/musicSdk/xm.js | 41 | }, | COMMENT |
| LOW | src/renderer/utils/musicSdk/bd/songList.js | 261 | // getTags | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/musicSearch.js | 21 | // searchRequest = httpFetch(`http://pd.musicapp.migu.cn/MIGUM2.0/v1.0/content/search_all.do?ua=Android_migu&version=5 | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/musicSearch.js | 41 | // let ids = new Set() | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/musicSearch.js | 61 | // _types['320k'] = { | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/musicSearch.js | 81 | COMMENT | |
| LOW | src/renderer/utils/musicSdk/mg/songId.js | 21 | COMMENT | |
| LOW | src/renderer/utils/musicSdk/mg/leaderboard.js | 1 | import { httpFetch } from '../../request' | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/leaderboard.js | 161 | }, | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/leaderboard.js | 181 | // for (const item of board.itemList) { | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/leaderboard.js | 201 | // } | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/songList.js | 41 | // ? `https://music.migu.cn/v3/music/playlist?page=${page}&from=migu` | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/songList.js | 161 | headers: this.defaultHeaders, | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/songList.js | 181 | // id: info[2], | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/songList.js | 281 | })), | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/songList.js | 361 | // getTags | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/temp/leaderboard-old.js | 21 | { id: 'mg__23218151', name: '新专辑榜', bangid: '23218151', webId: 'newalbum' }, | COMMENT |
| LOW | src/renderer/utils/musicSdk/mg/utils/mrc.js | 101 | // console.log(toByteArray([6048138644744000495n])) | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/util.js | 61 | // if (retryNum > 2) return Promise.reject(new Error('try max num')) | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/util.js | 81 | // csrf: token, | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/leaderboard.js | 181 | // return this.getBoards(retryNum) | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/index.js | 21 | // init(context) { | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/lyric.js | 61 | lyric: decodeName(this.transformLrc(body.data.songinfo, lrcInfo.lrc)), | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/lyric.js | 121 | lrcSet.add(item.time) | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/lyric.js | 201 | return { | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/lyric.js | 221 | // // console.log(lrcInfo.tlyric) | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/album.js | 21 | } | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/album.js | 101 | } | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/album.js | 121 | // // name: data.album, | COMMENT |
| LOW | src/renderer/utils/musicSdk/kw/api-test.js | 1 | import { httpFetch } from '../../request' | COMMENT |
| LOW | src/renderer/utils/musicSdk/wy/leaderboard.js | 141 | } | COMMENT |
| LOW | src/renderer/utils/musicSdk/wy/lyric.js | 1 | import { httpFetch } from '../../request' | COMMENT |
| LOW | src/renderer/utils/musicSdk/wy/lyric.js | 21 | // let startTime = 0 | COMMENT |
| LOW | src/renderer/utils/musicSdk/wy/lyric.js | 221 | } | COMMENT |
| LOW | src/renderer/utils/musicSdk/wy/lyric.js | 241 | // requestObj.promise = requestObj.promise.then(({ body }) => { | COMMENT |
| LOW | src/renderer/utils/musicSdk/tx/leaderboard.js | 201 | // if (++retryNum > 3) return Promise.reject(new Error('try max num')) | COMMENT |
| LOW | src/renderer/utils/musicSdk/tx/songList.js | 181 | // name: item.title, | COMMENT |
| LOW | src/renderer/utils/musicSdk/tx/comment.js | 121 | page, | COMMENT |
| LOW | src/renderer/utils/musicSdk/tx/lyric.js | 281 | // }, | COMMENT |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …er/views/Setting/components/SettingSync/SyncServer.vue | 43 | // // title += ` [${this.sync.server.status.address.join(', ')}]` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .vscode/i18n-ally-custom-framework.yml | 12 | # To help with this, you can use https://www.freeformatter.com/json-escape.html | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/renderer/components/material/SearchInput.vue | 8 | :placeholder="placeholder" | CODE |
| LOW | src/renderer/components/base/Input.vue | 6 | :placeholder="placeholder" | CODE |
| LOW | …enderer/views/List/MusicList/components/SearchList.vue | 8 | ref="dom_input" v-model.trim="text" class="ignore-esc" :placeholder="placeholder" @input="handleDelaySearc | CODE |