一个基于 React native 开发的音乐软件
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.
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? 174 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 174 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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | index.js | 1 | /** | COMMENT |
| LOW | index.js | 21 | // }, | COMMENT |
| LOW | .ncurc.js | 21 | // target: 'newest', | COMMENT |
| LOW | publish/index.js | 1 | // const fs = require('fs') | COMMENT |
| LOW | publish/index.js | 21 | // console.log(chalk.green('Assets clear completed...')) | COMMENT |
| LOW | publish/index.js | 41 | // console.log(chalk.red('程序发布失败')) | COMMENT |
| LOW | …n/java/cn/toside/music/mobile/crypto/CryptoModule.java | 61 | @ReactMethod | COMMENT |
| LOW | …n/java/cn/toside/music/mobile/crypto/CryptoModule.java | 101 | @ReactMethod | COMMENT |
| LOW | …p/src/main/java/cn/toside/music/mobile/crypto/RSA.java | 21 | // // 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.java | 41 | // | COMMENT |
| LOW | …/src/main/java/cn/toside/music/mobile/lyric/Lyric.java | 81 | // if (profile == BluetoothProfile.A2DP) { | COMMENT |
| LOW | …/main/java/cn/toside/music/mobile/lyric/LyricView.java | 181 | public void sendPositionEvent(float x, float y) { | COMMENT |
| LOW | …/main/java/cn/toside/music/mobile/lyric/LyricView.java | 461 | // float dy = nowY - preY; | COMMENT |
| LOW | …/src/main/java/cn/toside/music/mobile/utils/Utils.java | 21 | import java.util.Objects; | COMMENT |
| LOW | …ain/java/cn/toside/music/mobile/utils/UtilsModule.java | 301 | localeStr = language.toLowerCase(); | COMMENT |
| LOW | …ain/java/cn/toside/music/mobile/utils/UtilsModule.java | 321 | // }); | COMMENT |
| LOW | android/app/src/main/assets/script/user-api-preload.js | 21 | const nativeFunc = globalThis[name] | COMMENT |
| LOW | android/app/src/main/assets/script/user-api-preload.js | 421 | } else { | COMMENT |
| LOW | android/app/src/main/assets/script/user-api-preload.js | 441 | // }) | COMMENT |
| LOW | .github/workflows/release.yml | 61 | # ref: statusbar_lyric | COMMENT |
| LOW | .github/workflows/release.yml | 81 | # uses: pkgdeps/git-tag-action@v3 | COMMENT |
| LOW | .github/workflows/release.yml | 101 | # Android_5: | COMMENT |
| LOW | .github/workflows/release.yml | 121 | # # Push tag to GitHub if package.json version's tag is not tagged | COMMENT |
| LOW | .vscode/i18n-ally-custom-framework.yml | 21 | # An array of strings containing refactor templates. | COMMENT |
| LOW | src/types/dislike_list.d.ts | 1 | COMMENT | |
| LOW | src/core/leaderboard.ts | 161 | * 获取并设置排行榜内单页歌曲 | COMMENT |
| LOW | src/core/leaderboard.ts | 181 | // throw error | COMMENT |
| LOW | src/core/init/common.ts | 1 | // import musicSdk from '@/utils/musicSdk' | COMMENT |
| LOW | src/core/init/dataInit.ts | 1 | // import { getPlayInfo } from '@/utils/data' | COMMENT |
| LOW | src/core/init/theme.ts | 21 | COMMENT | |
| LOW | src/core/init/deeplink/songlistAction.js | 1 | import { playSonglist } from './playSonglist' | COMMENT |
| LOW | src/core/init/deeplink/songlistAction.js | 21 | // } | COMMENT |
| LOW | src/core/init/deeplink/musicAction.js | 1 | import { decodeName, toNewMusicInfo } from '@/utils' | COMMENT |
| LOW | src/core/init/deeplink/musicAction.js | 21 | // text = paths[1] | COMMENT |
| LOW | src/core/init/player/playProgress.ts | 121 | void savePlayInfo({ | COMMENT |
| LOW | src/core/init/player/playInfo.ts | 21 | // const info2 = { ...info } | COMMENT |
| LOW | src/core/init/player/playInfo.ts | 41 | // id: info.listId, | COMMENT |
| LOW | src/core/init/player/playStatus.ts | 41 | setButtons() | COMMENT |
| LOW | src/core/init/player/playStatus.ts | 61 | // const updateSetting = () => { | COMMENT |
| LOW | src/core/music/utils.ts | 121 | // @ts-expect-error | COMMENT |
| LOW | src/plugins/sync/client/utils.ts | 41 | export { generateRsaKey } from '@/utils/nativeModules/crypto' | COMMENT |
| LOW | src/plugins/sync/client/utils.ts | 61 | // return | COMMENT |
| LOW | src/plugins/sync/client/utils.ts | 81 | return enMsg.substring(0, 3) == 'cg_' | COMMENT |
| LOW | src/plugins/sync/client/modules/list/handler.ts | 61 | // } | COMMENT |
| LOW | src/plugins/sync/client/modules/list/handler.ts | 81 | // let mode: LX.Sync.List.SyncMode | COMMENT |
| LOW | src/plugins/sync/client/modules/list/handler.ts | 101 | // logInfo('list:sync:list_sync_set_data', true) | COMMENT |
| LOW | src/plugins/player/playList.ts | 81 | // const isShowNotificationImage = settingState.setting['player.isShowNotificationImage'] | COMMENT |
| LOW | src/plugins/player/playList.ts | 201 | // const mInfo = formatMusicInfo(musicInfo) | COMMENT |
| LOW | src/plugins/player/playList.ts | 281 | this.updateMetaPromise = updateMetaInfo(musicInfo) | COMMENT |
| LOW | src/plugins/player/playList.ts | 301 | // if (isDelayRun) { | COMMENT |
| LOW | src/plugins/player/playList.ts | 321 | // } | COMMENT |
| LOW | src/plugins/player/utils.ts | 21 | // await TrackPlayer.add(newTrack) | COMMENT |
| LOW | src/plugins/player/utils.ts | 41 | // trackInfo: {}, | COMMENT |
| LOW | src/plugins/player/utils.ts | 61 | // this.updateDelayTimer = null | COMMENT |
| LOW | src/plugins/player/utils.ts | 81 | // }, | COMMENT |
| LOW | src/plugins/player/utils.ts | 281 | ], | COMMENT |
| LOW | src/plugins/player/utils.ts | 301 | // // await TrackPlayer.destroy() | COMMENT |
| LOW | src/plugins/player/hook.ts | 41 | // const allowedTypes = Object.values(Event) | COMMENT |
| LOW | src/plugins/player/hook.ts | 141 | COMMENT | |
| LOW | src/plugins/player/index.ts | 1 | import TrackPlayer from 'react-native-track-player' | COMMENT |
| 113 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .vscode/i18n-ally-custom-framework.yml | 13 | # To help with this, you can use https://www.freeformatter.com/json-escape.html | COMMENT |