Repository Analysis

cwuom/NeriPlayer

A native Android audio player that combines multi-source streaming, local control, rich lyrics, and self-hosted sync. / ✨ 一个把多源在线播放、本地管理、歌词体验和自建同步做进原生 Android 的音频播放器 🎵

2.6 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of cwuom/NeriPlayer, a Kotlin project with 2,466 GitHub stars. SynthScan v2.0 examined 249,043 lines of code across 910 source files, recording 130 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 2.6 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.6
Adjusted Score
2.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.5K
Stars
Kotlin
Language
249.0K
Lines of Code
910
Files
130
Pattern Hits
2026-07-14
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 53HIGH 3MEDIUM 0LOW 74

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 130 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators53 hits · 560 pts
SeverityFileLineSnippetContext
CRITICAL…listentogether/ListenTogetherEventCompatibilityTest.kt504 return moe.ouom.neriplayer.data.model.SongItem(CODE
CRITICAL…oe/ouom/neriplayer/ui/viewmodel/NowPlayingViewModel.kt245 moe.ouom.neriplayer.core.api.search.CloudMusicSearchApi(client)CODE
CRITICAL…oe/ouom/neriplayer/ui/viewmodel/NowPlayingViewModel.kt247 MusicPlatform.QQ_MUSIC -> moe.ouom.neriplayer.core.api.search.QQMusicSearchApi()CODE
CRITICAL…e/ouom/neriplayer/ui/viewmodel/tab/LibraryViewModel.kt397 private fun moe.ouom.neriplayer.data.auth.youtube.YouTubeAuthBundle.hasYouTubeMusicCookieContext(): Boolean {CODE
CRITICAL…uom/neriplayer/ui/component/NavigationCompatibility.kt17 moe.ouom.neriplayer.ui.component.navigation.NeriBottomBar(CODE
CRITICAL…/ouom/neriplayer/ui/component/PlaybackCompatibility.kt28 moe.ouom.neriplayer.ui.component.playback.NeriMiniPlayer(CODE
CRITICAL…/ouom/neriplayer/ui/component/PlaybackCompatibility.kt58 moe.ouom.neriplayer.ui.component.playback.PlaybackSoundSheet(CODE
CRITICAL…/ouom/neriplayer/ui/component/PlaybackCompatibility.kt76 moe.ouom.neriplayer.ui.component.playback.PlaybackSourceBadge(CODE
CRITICAL…/ouom/neriplayer/ui/component/PlaybackCompatibility.kt86 moe.ouom.neriplayer.ui.component.playback.SleepTimerDialog(onDismiss = onDismiss)CODE
CRITICAL…/ouom/neriplayer/ui/component/PlaybackCompatibility.kt101 moe.ouom.neriplayer.ui.component.playback.WaveformSlider(CODE
CRITICAL…/ouom/neriplayer/ui/component/PlaylistCompatibility.kt18 moe.ouom.neriplayer.ui.component.playlist.PlaylistExportSheet(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt270 moe.ouom.neriplayer.ui.component.lyrics.DebugActiveLine(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt280 moe.ouom.neriplayer.ui.component.lyrics.isNeteaseYrc(content)CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt283 moe.ouom.neriplayer.ui.component.lyrics.parseNeteaseLyricsAuto(content)CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt286 moe.ouom.neriplayer.ui.component.lyrics.calculateLineProgress(line, currentTimeMs)CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt289 moe.ouom.neriplayer.ui.component.lyrics.findCurrentLineIndex(lines, currentTimeMs)CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt292 moe.ouom.neriplayer.ui.component.lyrics.parseNeteaseYrc(yrc)CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt295 moe.ouom.neriplayer.ui.component.lyrics.parseNeteaseLrc(lrc)CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt383 moe.ouom.neriplayer.ui.component.lyrics.shouldSnapLyricTimeSmoothing(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt390 moe.ouom.neriplayer.ui.component.lyrics.lyricListItemKey(index, line)CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt400 moe.ouom.neriplayer.ui.component.lyrics.resolveHeadGlowTarget(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt57 moe.ouom.neriplayer.ui.component.lyrics.SyncedLyricsView(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt110 moe.ouom.neriplayer.ui.component.lyrics.SyncedLyricsView(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt165 moe.ouom.neriplayer.ui.component.lyrics.AdvancedLyricsView(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt218 moe.ouom.neriplayer.ui.component.lyrics.SyncedLyricsActiveLine(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt247 moe.ouom.neriplayer.ui.component.lyrics.SyncedLyricsActiveLine(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt311 moe.ouom.neriplayer.ui.component.lyrics.resolvePreferredLyricContent(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt321 moe.ouom.neriplayer.ui.component.lyrics.resolveStoredLyricText(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt334 moe.ouom.neriplayer.ui.component.lyrics.resolveLyricsEditorInitialText(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt348 moe.ouom.neriplayer.ui.component.lyrics.resolveLyricsEditorSeed(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt359 moe.ouom.neriplayer.ui.component.lyrics.matchTranslationsToLineIndices(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt371 moe.ouom.neriplayer.ui.component.lyrics.findBestMatchingTranslation(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt413 moe.ouom.neriplayer.ui.component.lyrics.buildPhoneticLyricEntries(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt423 moe.ouom.neriplayer.ui.component.lyrics.rememberLyricSeekHapticFeedback(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/LyricsCompatibility.kt437 moe.ouom.neriplayer.ui.component.lyrics.LyricShareSheet(CODE
CRITICAL…moe/ouom/neriplayer/ui/component/LocalCompatibility.kt11 moe.ouom.neriplayer.ui.component.local.LocalSongDetailsDialog(CODE
CRITICAL…moe/ouom/neriplayer/ui/component/LocalCompatibility.kt23 moe.ouom.neriplayer.ui.component.local.LocalSongSyncConfirmDialog(CODE
CRITICAL…oe/ouom/neriplayer/ui/component/CommonCompatibility.kt24 moe.ouom.neriplayer.ui.component.common.ThemeRevealOverlay(CODE
CRITICAL…/ouom/neriplayer/ui/component/SettingsCompatibility.kt11 moe.ouom.neriplayer.ui.component.settings.HsvPicker(CODE
CRITICAL…/ouom/neriplayer/ui/component/SettingsCompatibility.kt22 moe.ouom.neriplayer.ui.component.settings.LanguageSettingItem(CODE
CRITICAL…/ouom/neriplayer/ui/component/DownloadCompatibility.kt17 moe.ouom.neriplayer.ui.component.download.ActiveDownloadTaskList(CODE
CRITICAL…/ouom/neriplayer/ui/component/DownloadCompatibility.kt32 moe.ouom.neriplayer.ui.component.download.BatchDownloadManagerSheet(CODE
CRITICAL…/ouom/neriplayer/ui/component/DownloadCompatibility.kt47 moe.ouom.neriplayer.ui.component.download.SongDownloadSubtitle(CODE
CRITICAL…uom/neriplayer/ui/component/playback/WaveformSlider.kt70private val WaveInactiveStroke = androidx.compose.ui.graphics.drawscope.Stroke(CODE
CRITICAL…uom/neriplayer/ui/component/playback/WaveformSlider.kt74private val WaveActiveStroke = androidx.compose.ui.graphics.drawscope.Stroke(CODE
CRITICAL…ain/java/moe/ouom/neriplayer/ui/screen/LyricsScreen.kt854 moe.ouom.neriplayer.ui.component.playback.SleepTimerDialog(CODE
CRITICAL…/main/java/moe/ouom/neriplayer/core/di/AppContainer.kt177private fun moe.ouom.neriplayer.data.auth.youtube.YouTubeAuthBundle.toWarmBootstrapKey():CODE
CRITICAL…/main/java/moe/ouom/neriplayer/core/di/AppContainer.kt346 val lrcLibClient by lazy { moe.ouom.neriplayer.core.api.lyrics.LrcLibClient(sharedOkHttpClient) }CODE
CRITICAL…riplayer/core/download/DownloadCompatibilityAliases.kt286 moe.ouom.neriplayer.core.download.policy.mergePendingDownloadRecoveryCandidates(CODE
CRITICAL…ouom/neriplayer/core/download/GlobalDownloadManager.kt739 return moe.ouom.neriplayer.core.download.buildDownloadedSongCatalogIndex(songs)CODE
CRITICAL…ownload/generation/DownloadRequestGenerationTracker.kt53 return moe.ouom.neriplayer.core.download.shouldKeepCancellationCleanup(CODE
CRITICAL…/java/moe/ouom/neriplayer/core/player/PlayerManager.kt1673 moe.ouom.neriplayer.core.player.state.blockingIo(timeoutMs = 2_000L) {CODE
CRITICAL…m/neriplayer/core/player/service/AudioPlayerService.kt2099 return !AppContainer.listenTogetherSessionManager.sessionState.value.roomId.isNullOrBlank()CODE
Over-Commented Block36 hits · 36 pts
SeverityFileLineSnippetContext
LOWapp/src/main/cpp/crash/native_crash_handler.cpp1#include <jni.h>COMMENT
LOWapp/src/main/cpp/usb/exclusive/usb_exclusive_bridge.cpp1#include <jni.h>COMMENT
LOWapp/src/main/cpp/usb/exclusive/usb_exclusive_bridge.cpp21#include <unordered_map>COMMENT
LOWapp/src/main/cpp/libusb/version.h1/*COMMENT
LOWapp/src/main/cpp/libusb/version.h21#endifCOMMENT
LOWapp/src/main/cpp/libusb/libusbi.h21 *COMMENT
LOWapp/src/main/cpp/libusb/libusbi.h41#include "libusb.h"COMMENT
LOWapp/src/main/cpp/libusb/libusbi.h61 ((type *)((uintptr_t)(ptr) - (uintptr_t)offsetof(type, member)))COMMENT
LOWapp/src/main/cpp/libusb/libusbi.h101 * All of these operations are ordered with each other, thus the effects ofCOMMENT
LOWapp/src/main/cpp/libusb/libusbi.h121#elseCOMMENT
LOWapp/src/main/cpp/libusb/libusbi.h321#if defined(_MSC_VER) && (_MSC_VER < 1900)COMMENT
LOWapp/src/main/cpp/libusb/libusbi.h341COMMENT
LOWapp/src/main/cpp/libusb/libusb.h41#ifndef _SSIZE_T_DEFINEDCOMMENT
LOWapp/src/main/cpp/libusb/libusb.h61COMMENT
LOWapp/src/main/cpp/libusb/version_describe.h1#ifndef LIBUSB_VERSION_DESCRIBE_HCOMMENT
LOWapp/src/main/cpp/libusb/clang_thread_safety.h21#ifndef LIBUSB_CLANG_THREAD_SAFETY_HCOMMENT
LOWapp/src/main/cpp/libusb/os/windows_winusb.h21 * You should have received a copy of the GNU Lesser General PublicCOMMENT
LOWapp/src/main/cpp/libusb/os/windows_winusb.h41#define MAX_KEY_LENGTH 256COMMENT
LOWapp/src/main/cpp/libusb/os/windows_winusb.h121 uint16_t bcdHID;COMMENT
LOWapp/src/main/cpp/libusb/os/darwin_usb.c21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USACOMMENT
LOWapp/src/main/cpp/libusb/os/openbsd_usb.c21COMMENT
LOWapp/src/main/cpp/libusb/os/events_posix.c61#ifdef HAVE_EVENTFDCOMMENT
LOWapp/src/main/cpp/libusb/os/linux_usbfs.h141#define IOCTL_USBFS_CONTROL _IOWR('U', 0, struct usbfs_ctrltransfer)COMMENT
LOWapp/src/main/cpp/libusb/os/netbsd_usb.c21COMMENT
LOWapp/src/main/cpp/libusb/os/emscripten_webusb.cpp101});COMMENT
LOWapp/src/main/cpp/libusb/os/emscripten_webusb.cpp161COMMENT
LOWapp/src/main/cpp/libusb/os/windows_winusb.c1901 if ((pass <= GEN_PASS) && (pass != HCD_PASS)) { // For subsequent passes, we'll lookup the parentCOMMENT
LOWapp/src/main/cpp/libusb/os/windows_common.h41 * matters worse, the platform headers for these GCC builds define aCOMMENT
LOWapp/src/main/cpp/libusb/os/threads_posix.c21 * License along with this library; if not, write to the Free SoftwareCOMMENT
LOWapp/src/main/cpp/libusb/os/darwin_usb.h21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USACOMMENT
LOWapp/src/main/cpp/libusb/os/darwin_usb.h41COMMENT
LOWapp/src/main/cpp/libusb/os/darwin_usb.h61#define IOINTERFACE(darwin_interface) ((darwin_interface)->interface)COMMENT
LOWapp/src/main/cpp/libusb/os/darwin_usb.h81COMMENT
LOWapp/src/main/cpp/libusb/os/linux_usbfs.c21 *COMMENT
LOWapp/src/main/cpp/libusb/os/linux_netlink.c21 * You should have received a copy of the GNU Lesser General PublicCOMMENT
LOWapp/src/main/cpp/libusb/os/sunos_usb.c21 */COMMENT
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtools_pub/ytmusic_api_probe.py112 return null;CODE
HIGHtools_pub/ytmusic_api_probe.py128 return null;CODE
HIGHtools_pub/ytmusic_api_probe.py170 return null;CODE
Hyper-Verbose Identifiers19 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools_pub/ytmusic_api_probe.py374def append_youtube_consent_cookie(cookie_header: str) -> str:STRING
LOWtools_pub/ytmusic_api_probe.py409def build_authorization_header(STRING
LOWtools_pub/ytmusic_api_probe.py550def fetch_signature_timestamp(STRING
LOWtools_pub/ytmusic_api_probe.py724def decode_har_json_post_data(raw_text: str) -> dict[str, Any]:STRING
LOWtools_pub/ytmusic_api_probe.py738def load_har_request_template(path: Path, endpoint_path: str) -> HarRequestTemplate:STRING
LOWtools_pub/ytmusic_api_probe.py893def resolve_har_template_user_agent(template: HarRequestTemplate) -> str:STRING
LOWtools_pub/ytmusic_api_probe.py897def resolve_har_template_client_version(STRING
LOWtools_pub/ytmusic_api_probe.py910def build_official_har_payload(STRING
LOWtools_pub/ytmusic_api_probe.py983def build_official_player_payload(STRING
LOWtools_pub/ytmusic_api_probe.py1011def build_official_next_payload(STRING
LOWtools_pub/ytmusic_api_probe.py1030def build_official_player_headers(STRING
LOWtools_pub/ytmusic_api_probe.py1074def build_probe_player_payload(STRING
LOWtools_pub/ytmusic_api_probe.py1127def build_probe_player_headers(STRING
LOWtools_pub/ytmusic_api_probe.py1164def resolve_probe_player_request_url(STRING
LOWtools_pub/ytmusic_api_probe.py1502def suppress_dependency_output() -> Any:STRING
LOWtools_pub/ytmusic_api_probe.py1509def build_temp_netscape_cookie_file(cookie_header: str) -> Path:STRING
LOWtools_pub/ytmusic_api_probe.py1555def select_best_download_format(formats: list[dict[str, Any]]) -> dict[str, Any] | None:STRING
LOWtools_pub/ytmusic_api_probe.py1578def summarize_audio_only_formats(formats: list[dict[str, Any]], limit: int = 8) -> list[dict[str, Any]]:STRING
LOWtools_pub/ytmusic_api_probe.py1601def resolve_selected_content_length(STRING
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOWapp/src/main/cpp/libusb/os/windows_hotplug.c129 // Step 1: clear seen_during_scan so the scan can mark which devices are stillCOMMENT
LOWapp/src/main/cpp/libusb/os/windows_hotplug.c139 // Step 2: re-enumerate — winusb_get_device_list attaches newly-arrived devicesCOMMENT
LOWapp/src/main/cpp/libusb/os/windows_hotplug.c149 // Step 3: diff old vs new.COMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOWapp/src/main/cpp/libusb/os/windows_hotplug.c129 // Step 1: clear seen_during_scan so the scan can mark which devices are stillCOMMENT
LOWapp/src/main/cpp/libusb/os/windows_hotplug.c139 // Step 2: re-enumerate — winusb_get_device_list attaches newly-arrived devicesCOMMENT
LOWapp/src/main/cpp/libusb/os/windows_hotplug.c149 // Step 3: diff old vs new.COMMENT
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools_pub/ytmusic_api_probe.py1615CODE
LOWtools_pub/ytmusic_api_probe.py1803CODE
LOWtools_pub/ytmusic_api_probe.py1979CODE
LOWtools_pub/ytmusic_api_probe.py1818CODE
Excessive Try-Catch Wrapping8 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools_pub/ytmusic_api_probe.py1331 except Exception as error: # noqa: BLE001STRING
LOWtools_pub/ytmusic_api_probe.py1463 except Exception as error: # noqa: BLE001STRING
LOWtools_pub/ytmusic_api_probe.py1550 except Exception as error: # noqa: BLE001STRING
LOWtools_pub/ytmusic_api_probe.py1678 except Exception as error: # noqa: BLE001STRING
LOWtools_pub/ytmusic_api_probe.py1793 except Exception as error: # noqa: BLE001STRING
LOWtools_pub/ytmusic_api_probe.py1904 except Exception as error: # noqa: BLE001STRING
LOWtools_pub/ytmusic_api_probe.py2033 except Exception as error: # noqa: BLE001STRING
LOWtools_pub/ytmusic_api_probe.py2068 except Exception as error: # noqa: BLE001STRING
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools_pub/ytmusic_api_probe.py11CODE