AI Slop Code Risk Monitor

lyswhut/lx-music-desktop

SlopCodeMonitor badge for lyswhut/lx-music-desktop Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

一个基于 Electron 的音乐软件

1.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.7
Adjusted Signal
1.7
Raw Pattern Score
100%
Time Factor
2026-10-26
Last Push
54.9K
Stars
TypeScript
Language
116.4K
Lines of Code
723
Files
182
Pattern Hits
2026-10-31
Scan Date
0.00
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 7.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 8.0/100 · LOW

Which changes need focused human review? 182 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 1HIGH 0MEDIUM 1LOW 180

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 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.

Over-Commented Block177 hits · 177 pts
SeverityFileLineSnippetContext
LOW.ncurc.js21 'webpack-dev-server',COMMENT
LOW.ncurc.js41 // ],COMMENT
LOWbuild-config/build-pack.js141// linux: {COMMENT
LOWbuild-config/dependencies-patch.js1// 修补依赖源码以使vite构建的依赖恢复正常工作COMMENT
LOWbuild-config/deps.js21 // fs.writeFileSync(COMMENT
LOWbuild-config/build-before-pack.js1// const fs = require('fs')COMMENT
LOWbuild-config/build-before-pack.js41 // // const bindingBakFilePath = path.join(__dirname, '../node_modules/better-sqlite3/binding.gyp.bak')COMMENT
LOWpublish/index.js21COMMENT
LOW.github/workflows/release.yml21 # with:COMMENT
LOW.github/workflows/beta-pack.yml21 # with:COMMENT
LOWsrc/renderer/App.vue81 // border-radius: @radius-border;COMMENT
LOWsrc/renderer/tsconfig.json21 // "include": [COMMENT
LOWsrc/renderer/core/useApp/usePlayer/usePlayStatus.ts121 case 'volume':COMMENT
LOWsrc/renderer/core/useApp/usePlayer/usePlaybackRate.ts21COMMENT
LOWsrc/renderer/plugins/player/index.ts161// console.log('connect Node')COMMENT
LOWsrc/renderer/utils/music.ts141// const lyrics: string[][] = []COMMENT
LOWsrc/renderer/utils/ipc.ts161// export const setDesktopLyricInfo = (type, data, info) => {COMMENT
LOWsrc/renderer/utils/musicSdk/api-source.js1import apiSourceInfo from './api-source-info'COMMENT
LOWsrc/renderer/utils/musicSdk/api-source-info.ts1// Support qualitys: 128k 320k flac wavCOMMENT
LOWsrc/renderer/utils/musicSdk/api-source-info.ts21 // },COMMENT
LOWsrc/renderer/utils/musicSdk/xm.js1// import { apis } from '../api-source'COMMENT
LOWsrc/renderer/utils/musicSdk/xm.js41 },COMMENT
LOWsrc/renderer/utils/musicSdk/bd/songList.js261// getTagsCOMMENT
LOWsrc/renderer/utils/musicSdk/mg/musicSearch.js21 // searchRequest = httpFetch(`http://pd.musicapp.migu.cn/MIGUM2.0/v1.0/content/search_all.do?ua=Android_migu&version=5COMMENT
LOWsrc/renderer/utils/musicSdk/mg/musicSearch.js41 // let ids = new Set()COMMENT
LOWsrc/renderer/utils/musicSdk/mg/musicSearch.js61 // _types['320k'] = {COMMENT
LOWsrc/renderer/utils/musicSdk/mg/musicSearch.js81COMMENT
LOWsrc/renderer/utils/musicSdk/mg/songId.js21COMMENT
LOWsrc/renderer/utils/musicSdk/mg/leaderboard.js1import { httpFetch } from '../../request'COMMENT
LOWsrc/renderer/utils/musicSdk/mg/leaderboard.js161 },COMMENT
LOWsrc/renderer/utils/musicSdk/mg/leaderboard.js181 // for (const item of board.itemList) {COMMENT
LOWsrc/renderer/utils/musicSdk/mg/leaderboard.js201 // }COMMENT
LOWsrc/renderer/utils/musicSdk/mg/songList.js41 // ? `https://music.migu.cn/v3/music/playlist?page=${page}&from=migu`COMMENT
LOWsrc/renderer/utils/musicSdk/mg/songList.js161 headers: this.defaultHeaders,COMMENT
LOWsrc/renderer/utils/musicSdk/mg/songList.js181 // id: info[2],COMMENT
LOWsrc/renderer/utils/musicSdk/mg/songList.js281 })),COMMENT
LOWsrc/renderer/utils/musicSdk/mg/songList.js361// getTagsCOMMENT
LOWsrc/renderer/utils/musicSdk/mg/temp/leaderboard-old.js21 { id: 'mg__23218151', name: '新专辑榜', bangid: '23218151', webId: 'newalbum' },COMMENT
LOWsrc/renderer/utils/musicSdk/mg/utils/mrc.js101// console.log(toByteArray([6048138644744000495n]))COMMENT
LOWsrc/renderer/utils/musicSdk/kw/util.js61// if (retryNum > 2) return Promise.reject(new Error('try max num'))COMMENT
LOWsrc/renderer/utils/musicSdk/kw/util.js81// csrf: token,COMMENT
LOWsrc/renderer/utils/musicSdk/kw/leaderboard.js181 // return this.getBoards(retryNum)COMMENT
LOWsrc/renderer/utils/musicSdk/kw/index.js21 // init(context) {COMMENT
LOWsrc/renderer/utils/musicSdk/kw/lyric.js61 lyric: decodeName(this.transformLrc(body.data.songinfo, lrcInfo.lrc)),COMMENT
LOWsrc/renderer/utils/musicSdk/kw/lyric.js121 lrcSet.add(item.time)COMMENT
LOWsrc/renderer/utils/musicSdk/kw/lyric.js201 return {COMMENT
LOWsrc/renderer/utils/musicSdk/kw/lyric.js221 // // console.log(lrcInfo.tlyric)COMMENT
LOWsrc/renderer/utils/musicSdk/kw/album.js21 }COMMENT
LOWsrc/renderer/utils/musicSdk/kw/album.js101 }COMMENT
LOWsrc/renderer/utils/musicSdk/kw/album.js121 // // name: data.album,COMMENT
LOWsrc/renderer/utils/musicSdk/kw/api-test.js1import { httpFetch } from '../../request'COMMENT
LOWsrc/renderer/utils/musicSdk/wy/leaderboard.js141 }COMMENT
LOWsrc/renderer/utils/musicSdk/wy/lyric.js1import { httpFetch } from '../../request'COMMENT
LOWsrc/renderer/utils/musicSdk/wy/lyric.js21// let startTime = 0COMMENT
LOWsrc/renderer/utils/musicSdk/wy/lyric.js221}COMMENT
LOWsrc/renderer/utils/musicSdk/wy/lyric.js241// requestObj.promise = requestObj.promise.then(({ body }) => {COMMENT
LOWsrc/renderer/utils/musicSdk/tx/leaderboard.js201 // if (++retryNum > 3) return Promise.reject(new Error('try max num'))COMMENT
LOWsrc/renderer/utils/musicSdk/tx/songList.js181 // name: item.title,COMMENT
LOWsrc/renderer/utils/musicSdk/tx/comment.js121 page,COMMENT
LOWsrc/renderer/utils/musicSdk/tx/lyric.js281// },COMMENT
117 more matches not shown…
Hallucination Indicators1 hit · 15 pts
SeverityFileLineSnippetContext
CRITICAL…er/views/Setting/components/SettingSync/SyncServer.vue43 // // title += ` [${this.sync.server.status.address.join(', ')}]`COMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.vscode/i18n-ally-custom-framework.yml12# To help with this, you can use https://www.freeformatter.com/json-escape.htmlCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/renderer/components/material/SearchInput.vue8 :placeholder="placeholder"CODE
LOWsrc/renderer/components/base/Input.vue6 :placeholder="placeholder"CODE
LOW…enderer/views/List/MusicList/components/SearchList.vue8 ref="dom_input" v-model.trim="text" class="ignore-esc" :placeholder="placeholder" @input="handleDelaySearcCODE