AI Slop Code Risk Monitor

lyswhut/lx-music-mobile

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

一个基于 React native 开发的音乐软件

2.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for lyswhut/lx-music-mobile, a TypeScript project with 19,042 GitHub stars. SynthScan examined 84,557 lines of code across 686 source files, recording 174 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 2.1 (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.

2.1
Adjusted Signal
2.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
19.0K
Stars
TypeScript
Language
84.6K
Lines of Code
686
Files
174
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 9.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 0.0/100 · LOW

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

PR Review Velocity Impact 9.9/100 · LOW

Which changes need focused human review? 174 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 0MEDIUM 1LOW 173

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 174 distinct pattern matches across 2 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 Block173 hits · 173 pts
SeverityFileLineSnippetContext
LOWindex.js1/**COMMENT
LOWindex.js21// },COMMENT
LOW.ncurc.js21 // target: 'newest',COMMENT
LOWpublish/index.js1// const fs = require('fs')COMMENT
LOWpublish/index.js21 // console.log(chalk.green('Assets clear completed...'))COMMENT
LOWpublish/index.js41 // console.log(chalk.red('程序发布失败'))COMMENT
LOW…n/java/cn/toside/music/mobile/crypto/CryptoModule.java61 @ReactMethodCOMMENT
LOW…n/java/cn/toside/music/mobile/crypto/CryptoModule.java101 @ReactMethodCOMMENT
LOW…p/src/main/java/cn/toside/music/mobile/crypto/RSA.java21// // generate a new public/private key pair to test with (note. you should only do this once and keep them!)COMMENT
LOW…p/src/main/java/cn/toside/music/mobile/crypto/RSA.java41//COMMENT
LOW…/src/main/java/cn/toside/music/mobile/lyric/Lyric.java81 // if (profile == BluetoothProfile.A2DP) {COMMENT
LOW…/main/java/cn/toside/music/mobile/lyric/LyricView.java181 public void sendPositionEvent(float x, float y) {COMMENT
LOW…/main/java/cn/toside/music/mobile/lyric/LyricView.java461 // float dy = nowY - preY;COMMENT
LOW…/src/main/java/cn/toside/music/mobile/utils/Utils.java21import java.util.Objects;COMMENT
LOW…ain/java/cn/toside/music/mobile/utils/UtilsModule.java301 localeStr = language.toLowerCase();COMMENT
LOW…ain/java/cn/toside/music/mobile/utils/UtilsModule.java321 // });COMMENT
LOWandroid/app/src/main/assets/script/user-api-preload.js21 const nativeFunc = globalThis[name]COMMENT
LOWandroid/app/src/main/assets/script/user-api-preload.js421 } else {COMMENT
LOWandroid/app/src/main/assets/script/user-api-preload.js441 // })COMMENT
LOW.github/workflows/release.yml61 # ref: statusbar_lyricCOMMENT
LOW.github/workflows/release.yml81 # uses: pkgdeps/git-tag-action@v3COMMENT
LOW.github/workflows/release.yml101 # Android_5:COMMENT
LOW.github/workflows/release.yml121 # # Push tag to GitHub if package.json version's tag is not taggedCOMMENT
LOW.vscode/i18n-ally-custom-framework.yml21# An array of strings containing refactor templates.COMMENT
LOWsrc/types/dislike_list.d.ts1COMMENT
LOWsrc/core/leaderboard.ts161 * 获取并设置排行榜内单页歌曲COMMENT
LOWsrc/core/leaderboard.ts181// throw errorCOMMENT
LOWsrc/core/init/common.ts1// import musicSdk from '@/utils/musicSdk'COMMENT
LOWsrc/core/init/dataInit.ts1// import { getPlayInfo } from '@/utils/data'COMMENT
LOWsrc/core/init/theme.ts21COMMENT
LOWsrc/core/init/deeplink/songlistAction.js1import { playSonglist } from './playSonglist'COMMENT
LOWsrc/core/init/deeplink/songlistAction.js21// }COMMENT
LOWsrc/core/init/deeplink/musicAction.js1import { decodeName, toNewMusicInfo } from '@/utils'COMMENT
LOWsrc/core/init/deeplink/musicAction.js21// text = paths[1]COMMENT
LOWsrc/core/init/player/playProgress.ts121 void savePlayInfo({COMMENT
LOWsrc/core/init/player/playInfo.ts21 // const info2 = { ...info }COMMENT
LOWsrc/core/init/player/playInfo.ts41 // id: info.listId,COMMENT
LOWsrc/core/init/player/playStatus.ts41 setButtons()COMMENT
LOWsrc/core/init/player/playStatus.ts61 // const updateSetting = () => {COMMENT
LOWsrc/core/music/utils.ts121 // @ts-expect-errorCOMMENT
LOWsrc/plugins/sync/client/utils.ts41export { generateRsaKey } from '@/utils/nativeModules/crypto'COMMENT
LOWsrc/plugins/sync/client/utils.ts61// returnCOMMENT
LOWsrc/plugins/sync/client/utils.ts81 return enMsg.substring(0, 3) == 'cg_'COMMENT
LOWsrc/plugins/sync/client/modules/list/handler.ts61// }COMMENT
LOWsrc/plugins/sync/client/modules/list/handler.ts81// let mode: LX.Sync.List.SyncModeCOMMENT
LOWsrc/plugins/sync/client/modules/list/handler.ts101// logInfo('list:sync:list_sync_set_data', true)COMMENT
LOWsrc/plugins/player/playList.ts81// const isShowNotificationImage = settingState.setting['player.isShowNotificationImage']COMMENT
LOWsrc/plugins/player/playList.ts201 // const mInfo = formatMusicInfo(musicInfo)COMMENT
LOWsrc/plugins/player/playList.ts281 this.updateMetaPromise = updateMetaInfo(musicInfo)COMMENT
LOWsrc/plugins/player/playList.ts301// if (isDelayRun) {COMMENT
LOWsrc/plugins/player/playList.ts321// }COMMENT
LOWsrc/plugins/player/utils.ts21// await TrackPlayer.add(newTrack)COMMENT
LOWsrc/plugins/player/utils.ts41// trackInfo: {},COMMENT
LOWsrc/plugins/player/utils.ts61// this.updateDelayTimer = nullCOMMENT
LOWsrc/plugins/player/utils.ts81// },COMMENT
LOWsrc/plugins/player/utils.ts281 ],COMMENT
LOWsrc/plugins/player/utils.ts301// // await TrackPlayer.destroy()COMMENT
LOWsrc/plugins/player/hook.ts41// const allowedTypes = Object.values(Event)COMMENT
LOWsrc/plugins/player/hook.ts141COMMENT
LOWsrc/plugins/player/index.ts1import TrackPlayer from 'react-native-track-player'COMMENT
113 more matches not shown…
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.vscode/i18n-ally-custom-framework.yml13# To help with this, you can use https://www.freeformatter.com/json-escape.htmlCOMMENT