Repository Analysis

CeuiLiSA/Pixiv-Shaft

Pixiv第三方Android客户端

8.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of CeuiLiSA/Pixiv-Shaft, a Kotlin project with 7,708 GitHub stars. SynthScan v2.0 examined 290,424 lines of code across 2028 source files, recording 525 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 8.6 places this repository in the Low AI signal 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).

8.6
Adjusted Score
8.6
Raw Score
100%
Time Factor
2026-08-28
Last Push
7.7K
Stars
Kotlin
Language
290.4K
Lines of Code
2.0K
Files
525
Pattern Hits
2026-08-29
Scan Date
0.07
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 131HIGH 4MEDIUM 314LOW 76

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 525 distinct pattern matches across 13 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 Indicators131 hits · 1472 pts
SeverityFileLineSnippetContext
CRITICAL…/src/main/java/ceui/pixiv/ui/common/MediaStoreUtils.kt40 val handle = ceui.pixiv.download.DownloadsRegistry.downloads.openRaw(CODE
CRITICAL…/src/main/java/ceui/pixiv/ui/common/MediaStoreUtils.kt42 ceui.pixiv.download.model.RelativePath.parse("ShaftImages/$displayName"),CODE
CRITICAL…/src/main/java/ceui/pixiv/ui/common/MediaStoreUtils.kt136 val handle = ceui.pixiv.download.DownloadsRegistry.downloads.openRaw(CODE
CRITICAL…va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt954 val charIndex = ceui.pixiv.ui.novel.reader.paginate.ContentParser.resolveJumpTarget(toks, target)CODE
CRITICAL…va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt1260 return ceui.pixiv.ui.novel.local.LocalLibraryStore.novelIdFor(localKey)CODE
CRITICAL…a/ceui/pixiv/ui/novel/reader/NovelReaderV3ViewModel.kt198 val text = ceui.pixiv.ui.novel.local.TextDecoder.decode(bytes)CODE
CRITICALapp/src/main/java/ceui/pixiv/ui/muted/MuteTagSheet.kt264 val lp = com.google.android.flexbox.FlexboxLayout.LayoutParams(CODE
CRITICAL…in/java/ceui/pixiv/widget/telegram/SpoilerEffect2.java472 egl = (EGL10) javax.microedition.khronos.egl.EGLContext.getEGL();CODE
CRITICAL…ain/java/ceui/pixiv/chat/base/widget/EmptyStateView.kt55 setTextColor(com.google.android.material.color.MaterialColors.getColor(this, com.google.android.material.R.aCODE
CRITICAL…ain/java/ceui/pixiv/chat/base/widget/EmptyStateView.kt65 setTextColor(com.google.android.material.color.MaterialColors.getColor(this, com.google.android.material.R.aCODE
CRITICAL…c/main/java/ceui/pixiv/chat/base/widget/StateLayout.kt171 val color = com.google.android.material.color.MaterialColors.getColor(CODE
CRITICAL…c/main/java/ceui/pixiv/plaza/ui/PlazaCommentAdapter.kt159 com.google.android.material.color.MaterialColors.getColor(CODE
CRITICAL…/src/main/java/ceui/pixiv/plaza/ui/PlazaFeedAdapter.kt351 com.google.android.material.color.MaterialColors.getColor(CODE
CRITICALapp/src/main/java/ceui/lisa/core/Manager.java1076 .url(ceui.lisa.http.ImageHostManager.INSTANCE.rewrite(dlUrl))CODE
CRITICALapp/src/main/java/ceui/lisa/core/Manager.java1202 .url(ceui.lisa.http.ImageHostManager.INSTANCE.rewrite(dlUrl))CODE
CRITICAL…/ceui/lisa/fragments/FragmentSettingsExperimental.java121 ceui.pixiv.ui.settings.WitDialogGallery.showWit(mContext));CODE
CRITICALapp/src/main/java/ceui/lisa/fragments/FragmentHolder.kt57 ceui.pixiv.ui.user.UserMangaFeedFragment.newInstance(data.user?.id ?: 0L, false),CODE
CRITICAL…c/main/java/ceui/lisa/fragments/FragmentSettingsHub.kt31 val palette = ceui.pixiv.witstudio.theme.V3Palette.from(mContext)CODE
CRITICAL…c/main/java/ceui/lisa/fragments/FragmentSettingsHub.kt78 val palette = ceui.pixiv.witstudio.theme.V3Palette.from(mContext)CODE
CRITICAL…java/ceui/lisa/fragments/FragmentSettingsBrowsing.java286 ceui.pixiv.ui.synonym.SynonymBuiltinDict.autoImportIfNeeded(appContext)CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java96 for (String tag : ceui.pixiv.i18n.AppLocales.INSTANCE.getSupportedTags()) {CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java97 labels.add(ceui.pixiv.i18n.AppLocales.INSTANCE.displayName(tag));CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java101 if (!ceui.pixiv.i18n.AppLocales.INSTANCE.isFollowingSystem()) {CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java102 String currentTag = ceui.pixiv.i18n.AppLocales.INSTANCE.currentLocale().toLanguageTag();CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java110 ceui.pixiv.i18n.AppLocales.INSTANCE.apply(tag);CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java442 if (ceui.pixiv.i18n.AppLocales.INSTANCE.isFollowingSystem()) {CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java445 Locale loc = ceui.pixiv.i18n.AppLocales.INSTANCE.currentLocale();CODE
CRITICAL…va/ceui/lisa/fragments/FragmentSettingsAppearance.java446 return ceui.pixiv.i18n.AppLocales.INSTANCE.displayName(loc.toLanguageTag());CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java133 ceui.lisa.http.ImageHostManager.Mode.CUSTOM.ordinal();CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java138 if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_CAT.ordinal()) {CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java140 } else if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_RE.ordinal()) {CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java142 } else if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_NL.ordinal()) {CODE
CRITICALapp/src/main/java/ceui/lisa/fragments/FragmentSAF.java36 ceui.pixiv.download.config.DownloadItems.illustPage(illustsBean, 0));CODE
CRITICAL…ain/java/ceui/lisa/fragments/FragmentSettingsData.java402 new ceui.pixiv.witstudio.dialog.WitTipDialog.Builder(getActivity())CODE
CRITICAL…ain/java/ceui/lisa/fragments/FragmentSettingsData.java415 ceui.pixiv.db.bulkclean.BulkDownloadCacheCleaner.wipe(appCtx);CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsViewing.java144 ceui.pixiv.ui.bulk.UgoiraEngine.invalidateAll();CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsViewing.java145 if (isChecked && !ceui.pixiv.ui.interpolate.RifeInterpolator.INSTANCE.isAvailable(mContext)) {CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsViewing.java149 intent.putExtra("rife_model_name", ceui.pixiv.ui.interpolate.RifeModel.RIFE_V4_6.name());CODE
CRITICALapp/src/main/java/ceui/lisa/fragments/FragmentIllust.kt509 ceui.pixiv.ui.upscale.ModelPickerDialog.pickOrUseDefault(childFragmentManager) { model ->CODE
CRITICALapp/src/main/java/ceui/lisa/fragments/FragmentIllust.kt515 ceui.pixiv.ui.upscale.RembgModelPickerDialog.pickOrUseDefault(childFragmentManager) { model ->CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java27 ceui.pixiv.ui.upscale.UpscaleModel saved = ceui.pixiv.ui.upscale.ModelPickerDialog.Companion.getSavedModel()CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java30 ceui.pixiv.ui.upscale.ModelPickerDialog.Companion.show(getChildFragmentManager(), model -> {CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java41 ceui.pixiv.ui.upscale.RembgModel savedRembg = ceui.pixiv.ui.upscale.RembgModelPickerDialog.Companion.getSaveCODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java61 intent.putExtra("rife_model_name", ceui.pixiv.ui.interpolate.RifeModel.RIFE_V4_6.name());CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java75 intent.putExtra("ctd_model_name", ceui.pixiv.ui.translate.ComicTextDetectorModel.CTD_BASE.name());CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java89 intent.putExtra("manga_ocr_model_name", ceui.pixiv.ui.translate.MangaOcrModel.MANGA_OCR_BASE.name());CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java110 boolean rifeReady = ceui.pixiv.ui.interpolate.RifeModelManager.INSTANCE.isModelReady(mContext, rife);CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java116 boolean ctdReady = ceui.pixiv.ui.translate.ComicTextDetectorModelManager.INSTANCE.isModelReady(mContext, ctd);CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java122 boolean ocrReady = ceui.pixiv.ui.translate.MangaOcrModelManager.INSTANCE.isModelReady(mContext, ocr);CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java128 baseBind.aiTranslateStatus.setText(ceui.pixiv.ui.translate.AiTranslator.INSTANCE.isActive()CODE
CRITICAL…/main/java/ceui/lisa/fragments/FragmentSettingsAi.java156 ceui.pixiv.ui.bulk.UgoiraEngine.invalidateAll();CODE
CRITICALapp/src/main/java/ceui/lisa/utils/PixivOperate.java399 * 由调用方在末尾统一发一条即可。见 {@code ceui.pixiv.ui.muted.MuteTagSheet.save()}。COMMENT
CRITICALapp/src/main/java/ceui/lisa/utils/PixivOperate.java433 ceui.pixiv.db.HistoryReporter.INSTANCE.enqueue(reportType, (long) illust.getId(), Shaft.sGson.toJsonCODE
CRITICALapp/src/main/java/ceui/lisa/utils/PixivOperate.java456 ceui.pixiv.db.HistoryReporter.INSTANCE.enqueue("novel", (long) novelBean.getId(), Shaft.sGson.toJsonCODE
CRITICALapp/src/main/java/ceui/lisa/download/FileCreator.java45 return ceui.pixiv.download.sanitize.FsSanitizer.INSTANCE.cleanSegment(before, true);CODE
CRITICAL…c/main/java/ceui/lisa/activities/TemplateActivity.java152 return ceui.pixiv.ui.bulk.BulkSelectV3Fragment.newInstance(CODE
CRITICAL…c/main/java/ceui/lisa/activities/TemplateActivity.java155 return ceui.pixiv.ui.bulk.NovelBulkSelectV3Fragment.newInstance(CODE
CRITICAL…c/main/java/ceui/lisa/activities/TemplateActivity.java162 return ceui.pixiv.ui.user.FollowUserFeedFragment.newInstance(CODE
CRITICAL…c/main/java/ceui/lisa/activities/TemplateActivity.java169 return ceui.pixiv.ui.user.NiceFriendFeedFragment.newInstance(CODE
CRITICAL…c/main/java/ceui/lisa/activities/TemplateActivity.java211 return ceui.pixiv.ui.user.UserNovelByTagFeedFragment.newInstance(CODE
71 more matches not shown…
Decorative Section Separators311 hits · 921 pts
SeverityFileLineSnippetContext
MEDIUM…/test/java/ceui/pixiv/ui/bulk/UgoiraFrameTimingTest.kt20 // ── 补帧侧:均匀 + 总时长守恒 ────────────────────────────────────────────COMMENT
MEDIUM…/test/java/ceui/pixiv/ui/bulk/UgoiraFrameTimingTest.kt70 // ── GIF 侧:量化到 10ms 但一圈总时长不漂 ──────────────────────────────COMMENT
MEDIUM…/src/test/java/ceui/pixiv/ui/debug/MaskProxyUrlTest.kt14 // ── 域名:保留前 4 个字符 ──────────────────────────────────────────COMMENT
MEDIUM…/src/test/java/ceui/pixiv/ui/debug/MaskProxyUrlTest.kt28 // ── IPv4:按段截断,不按字符数 ────────────────────────────────────COMMENT
MEDIUM…/src/test/java/ceui/pixiv/ui/debug/MaskProxyUrlTest.kt50 // ── 边界 ─────────────────────────────────────────────────────────COMMENT
MEDIUM…test/java/ceui/pixiv/ui/debug/Nat64EmbeddedIpv4Test.kt21 // ── RFC 6052 §2.4 的六个官方向量:前缀长度不同,嵌入的都是 192.0.2.33 ──────────COMMENT
MEDIUM…test/java/ceui/pixiv/ui/debug/Nat64EmbeddedIpv4Test.kt41 // ── 真实场景:运营商自有前缀合成 Cloudflare IP,不该被判成污染 ──────────────────COMMENT
MEDIUM…test/java/ceui/pixiv/ui/debug/Nat64EmbeddedIpv4Test.kt54 // ── 反例:真投毒的 IPv6 抠不出白名单里的地址 ─────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt218 // ── 1. Happy path ─────────────────────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt256 // ── 2. State sequence ─────────────────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt316 // ── 3. Idempotent connect ─────────────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt346 // ── 4. disconnect blocks reconnect ────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt372 // ── 5. Server-initiated close triggers reconnect ──────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt406 // ── 6. Stale-socket guard (P0-1 regression test) ──────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt455 // ── 7. Buffered messages flushed in order on (re)connect ──────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt488 // ── 8. drain on disconnect ────────────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt529 // ── 9. sendSuspending suspends on full buffer with Suspend strategy ───────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt560 // ── 10. DropOldest backpressure ───────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt652 // ── 11. DropNewest backpressure ───────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt681 // ── 12. Terminate after maxAttempts ───────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt718 // ── 13. close() makes everything no-op ────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt740 // ── 14. send() return values across lifecycle ─────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt769 // ── 15. Empty / null behaviors ────────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt789 // ── 16. cancel() after disconnect is a no-op ──────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt810 // ── 17. P1 fix: disconnect → connect cycle drops queued messages ──────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt861 // ── 18. P0-1: Auth refresh — happy path ───────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt890 // ── 19. P0-1: Auth refresh — exhausted ────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt917 // ── 20. P0-1: Auth refresh — refresh hook returns false ───────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt948 // ── 21. P0-1: Auth refresh budget refills on successful connect ───────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt998 // ── 22. P0-1: maxAuthRefreshAttempts = 0 means no refresh, fail fast ──────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1022 // ── 23. P0-1: non-auth failures still go through reconnect strategy ───────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1047 // ── 24. P0-1: custom isAuthFailure recognises a 4xxx close code ───────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1088 // ── 25. Binary frame end-to-end ─────────────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1124 // ── 26b. disconnect from Idle is a silent no-op ────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1162 // ── 27. disconnect while Reconnecting cancels the backoff ──────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1247 // ── 29. connect after strategy exhaustion resets and reconnects ────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1294 // ── 30. Mixed failure sequence: 500 backoff then 401 refresh ───────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1332 // ── 31. Connectivity "online" edge while Connected is ignored ──────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1372 // ── 32. Empty binary frame end-to-end ──────────────────────────────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1400 // ── 33. Messages enqueued during Reconnecting flush in order ───────────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1457 // ── 34. Two independent events subscribers see identical sequences ─────COMMENT
MEDIUM…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt1549 // ── 36. Network-aware fast retry ────────────────────────────────────────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt124 // ── 1. Single producer, 5 000 messages, strict order ─────────────────────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt164 // ── 2. Concurrent producers, per-producer FIFO ───────────────────────────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt233 // ── 3. Burst exceeding buffer (DropOldest) — exactly newest survive ──────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt306 // ── 4. Reconnect storm — survive 5 server-side terminations ──────────────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt439 // ── 6. Concurrent close while sending — must not crash ───────────────────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt473 // ── 7. Wire-level high-water mark: small HWM + large payloads ─────────COMMENT
MEDIUM…test/java/ceui/pixiv/websocket/WebSocketManagerTest.kt28 // ── Test doubles ──────────────────────────────────────────────────────────COMMENT
MEDIUM…test/java/ceui/pixiv/websocket/WebSocketManagerTest.kt130 // ── Tests ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…ui/pixiv/websocket/ExponentialBackoffWithJitterTest.kt112 // ── shouldReconnect predicate (P0-2 fix) ──────────────────────────────────COMMENT
MEDIUM…/test/java/ceui/pixiv/chat/api/ChatFrameReplyToTest.kt17 // ── Inbound (server → client) ────────────────────────────────────────COMMENT
MEDIUM…/test/java/ceui/pixiv/chat/api/ChatFrameReplyToTest.kt63 // ── Outbound (client → server) ───────────────────────────────────────COMMENT
MEDIUM…test/java/ceui/pixiv/feeds/FeedReviewRegressionTest.kt22 // ── 详情页评论区块:本地发评论不得顶替「已从服务端拉过」 ─────────────────────COMMENT
MEDIUM…test/java/ceui/pixiv/feeds/FeedReviewRegressionTest.kt68 // ── 用户列表:user 为 null 的预览不得塌成同一个身份 ───────────────────────────COMMENT
MEDIUM…test/java/ceui/pixiv/feeds/FeedReviewRegressionTest.kt100 // ── 枚举参数解析不得因为脏 Bundle 崩页面 ─────────────────────────────────────COMMENT
MEDIUM…test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt22 // ── normalizeBase:https 强制 ──────────────────────────────────────COMMENT
MEDIUM…test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt70 // ── normalizeBase:尾部斜杠 / query 边界 ───────────────────────────COMMENT
MEDIUM…test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt104 // ── rewrite:app-api / oauth 路径约定 ─────────────────────────────COMMENT
MEDIUM…test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt156 // ── rewrite:误填完整 PxveAPI 地址的双前缀防护 ─────────────────────COMMENT
251 more matches not shown…
Over-Commented Block44 hits · 42 pts
SeverityFileLineSnippetContext
LOWmockup.html1661#screen-user-profile .screen,COMMENT
LOWmockup.html1681 scrollbar-width: none;COMMENT
LOW…java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt581 jitterFactor = 0.0,COMMENT
LOW…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt261 // Note on pre-fetch: the consumer coroutine is launched onCOMMENT
LOW…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt341 // race where producer outpaces server-side close.COMMENT
LOW…ava/ceui/pixiv/ui/embedding/TabletActivityEmbedding.kt41 // 用户开关(设置 · 界面 · 平板双栏布局),默认关闭:不少人不喜欢左右分离的形态。COMMENT
LOW…src/main/java/ceui/pixiv/ui/user/UserTagSearchSheet.kt101 binding.tagList.layoutManager = LinearLayoutManager(requireContext())COMMENT
LOW…a/ceui/pixiv/ui/search/v3/SearchFilterV3BottomSheet.kt721 REQUEST_RESOLUTION,COMMENT
LOW…p/src/main/java/ceui/pixiv/ui/common/IllustFeedSync.kt161 // is_followed=false / total_bookmarks 全是「正经值」而非空值,而 ObjectPool 的COMMENT
LOW…ain/java/ceui/pixiv/ui/common/IllustStaggerRenderer.kt281 // 请求尺寸必须显式 override:into(ImageView) 对 centerCrop 会在解码阶段按「请求尺寸」COMMENT
LOW…ain/java/ceui/pixiv/ui/novel/reader/render/PageView.kt141 block.onBareTap = { xInBlock, yInBlock ->COMMENT
LOW…ceui/pixiv/ui/novel/reader/export/MergedNovelWriter.kt421COMMENT
LOW…in/java/ceui/pixiv/ui/download/ActiveListV3Fragment.kt161 }COMMENT
LOW…in/java/ceui/pixiv/ui/download/ActiveListV3Fragment.kt181 // 用户清完仍有 ugoira 正在跑、跑完还往用户图库写 GIF(违反"全清")COMMENT
LOW…ain/java/ceui/pixiv/ui/download/QueueListV3Fragment.kt161 // 联动:清空队列同时把正在下载的也一并停掉清掉,COMMENT
LOW…/main/java/ceui/pixiv/ui/debug/NetworkTestViewModel.kt441 (it.status == TargetStatus.FAILED || it.status == TargetStatus.POLLUTED)COMMENT
LOW…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt221COMMENT
LOW…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt441 override fun disconnect(code: Int, reason: String) =COMMENT
LOW…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt661COMMENT
LOW…/src/main/java/ceui/pixiv/chat/api/ShaftChatGateway.kt121 // Activation tracks pixiv login. Server requires `uid > 0` for theCOMMENT
LOWapp/src/main/java/ceui/pixiv/utils/BottomSheetInsets.kt41 */COMMENT
LOW…/java/ceui/pixiv/download/template/DefaultTemplates.kt21 // `R18DivideSave` / `AIDivideSave` 设置时才生效;默认这两个设置都关着,COMMENT
LOW…/java/ceui/pixiv/download/backend/MediaStoreBackend.kt161 }COMMENT
LOW…/java/ceui/pixiv/download/backend/MediaStoreBackend.kt261 put(MediaStore.MediaColumns.DATE_ADDED, SilentDownload.BACKDATE_SEC)COMMENT
LOW…/java/ceui/pixiv/download/backend/MediaStoreBackend.kt441 // Fallback: locate orphan rows whose RELATIVE_PATH doesn't matchCOMMENT
LOW…rc/main/java/ceui/pixiv/actions/PixivActionHandlers.kt61 429 -> ActionOutcome.Retry(COMMENT
LOWapp/src/main/java/ceui/lisa/core/Manager.java421 int s = item.getState();COMMENT
LOWapp/src/main/java/ceui/lisa/core/Manager.java801 // ─── 断点续传 / staging 落点 ───COMMENT
LOW…src/main/java/ceui/lisa/fragments/FragmentWorkSpace.kt81COMMENT
LOWapp/src/main/java/ceui/lisa/fragments/HistoryFeed.kt181 return@withContext FeedPage(mapped.toFeedItems(), resp.nextCursor)COMMENT
LOWapp/src/main/java/ceui/lisa/fragments/HistoryFeed.kt361 // 只按元数据驱动宽高比,宽度交给瀑布流列自身(DynamicHeightImageView 在 onMeasure 用真实COMMENT
LOWapp/src/main/java/ceui/lisa/network/PlazaSig.kt1package ceui.lisa.networkCOMMENT
LOW…/src/main/java/ceui/lisa/utils/AnimatedGifEncoder.java1101 int free_ent = 0; // first unused entryCOMMENT
LOW…/src/main/java/ceui/lisa/utils/AnimatedGifEncoder.java1121 int ClearCode;COMMENT
LOW…p/src/main/java/ceui/lisa/activities/UserActivityV3.kt81COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java241 continue;COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java261 // startDragAndDrop,拖影由 Editor.getTextThumbnailBuilder 现场 inflate 一个COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java361 // ⚠️ 不能挪进延迟批:init 内部在发现有 PENDING 行时会调COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java561COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java741 // 下载(Manager)、ugoira 由本 client newBuilder() 派生,自动继承;聊天 WebSocket 是独立 client,不在内。COMMENT
LOWapp/src/main/java/ceui/lisa/repo/SearchIllustRepo.kt81 // 旧借用账号重新写进当前查询,污染当前结果的 next_url 翻页。COMMENT
LOWapp/src/main/java/ceui/lisa/repo/SearchNovelRepo.kt101 val wantsPremiumBookmarkFilter = isPremium != true && useBookmarkQueryCOMMENT
LOW.claude/skills/divebug/statusline.sh1#!/usr/bin/env bashCOMMENT
LOWfeeds/src/main/java/ceui/pixiv/feeds/FeedViewModel.kt101 // 数据源说「命中快照就别再自动刷了」(如首页推荐关掉了启动自动刷新,issue #955):COMMENT
Verbosity Indicators9 hits · 17 pts
SeverityFileLineSnippetContext
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt174 // Step 1: Preprocess image → [1, 3, H, W] float tensorCOMMENT
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt181 // Step 2: Run encoderCOMMENT
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt185 // Step 3: Autoregressive decoding + per-token log P 累计COMMENT
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt257 // Step 4: Decode tokens to text. 兼容两种 HF tokenizer:COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt222 // Step 1: root.listFiles()COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt230 // Step 2: ShaftPerfTest/.listFiles() 如果存在COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt241 // Step 3: 一次 backend.replace (走真实下载链路)COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt257 // Step 4: 裸 createFile (绕过 backend.delete + ensureDirectory)COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt277 // Step 5: 结论提示COMMENT
Structural Annotation Overuse9 hits · 17 pts
SeverityFileLineSnippetContext
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt174 // Step 1: Preprocess image → [1, 3, H, W] float tensorCOMMENT
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt181 // Step 2: Run encoderCOMMENT
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt185 // Step 3: Autoregressive decoding + per-token log P 累计COMMENT
LOW…ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt257 // Step 4: Decode tokens to text. 兼容两种 HF tokenizer:COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt222 // Step 1: root.listFiles()COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt230 // Step 2: ShaftPerfTest/.listFiles() 如果存在COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt241 // Step 3: 一次 backend.replace (走真实下载链路)COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt257 // Step 4: 裸 createFile (绕过 backend.delete + ensureDirectory)COMMENT
LOW…c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt277 // Step 5: 结论提示COMMENT
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHapp/src/google/assets/synonym_dict_builtin.json1{"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブルCODE
HIGHapp/src/github/assets/synonym_dict_builtin.json1{"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブルCODE
Cross-Language Confusion2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHscripts/find_missing_used_strings.py240 print(f"warning: used strings not found in {source.path}: {len(undefined)}")CODE
HIGHscripts/prepare_translation_model.py17 mkdir -p output/model_local && cd output/model_localSTRING
AI Slop Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMapp/src/google/assets/synonym_dict_builtin.json1{"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブルCODE
MEDIUMapp/src/github/assets/synonym_dict_builtin.json1{"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブルCODE
MEDIUM…main/java/ceui/pixiv/ui/slideshow/SlideshowFragment.kt190 // stays seamless (the previous image keeps playing).COMMENT
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOWscripts/prepare_manga_ocr_model.py17CODE
LOWscripts/prepare_manga_ocr_model.py20CODE
LOWscripts/build_readme_assets.py25CODE
LOWscripts/find_missing_used_strings.py25CODE
LOWscripts/sort_locale_strings.py27CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/build_readme_assets.py95CODE
LOWscripts/find_missing_used_strings.py221CODE
LOWscripts/sort_locale_strings.py204CODE
Fake / Example Data3 hits · 2 pts
SeverityFileLineSnippetContext
LOWmockup.html1853 <input class="input-field" placeholder="user@example.com">CODE
LOW…test/java/ceui/loxia/UserMigrationCompatibilityTest.kt42 "mail_address": "user@example.com",CODE
LOW…test/java/ceui/loxia/UserMigrationCompatibilityTest.kt62 assertEquals("user@example.com", user.mail_address)STRING
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/find_missing_used_strings.py266 except Exception as exc:CODE
LOWscripts/sort_locale_strings.py234 except Exception as exc:CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/build_readme_assets.py168CODE