Pixiv第三方Android客户端
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/src/main/java/ceui/pixiv/ui/common/MediaStoreUtils.kt | 40 | val handle = ceui.pixiv.download.DownloadsRegistry.downloads.openRaw( | CODE |
| CRITICAL | …/src/main/java/ceui/pixiv/ui/common/MediaStoreUtils.kt | 42 | ceui.pixiv.download.model.RelativePath.parse("ShaftImages/$displayName"), | CODE |
| CRITICAL | …/src/main/java/ceui/pixiv/ui/common/MediaStoreUtils.kt | 136 | val handle = ceui.pixiv.download.DownloadsRegistry.downloads.openRaw( | CODE |
| CRITICAL | …va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt | 954 | val charIndex = ceui.pixiv.ui.novel.reader.paginate.ContentParser.resolveJumpTarget(toks, target) | CODE |
| CRITICAL | …va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt | 1260 | return ceui.pixiv.ui.novel.local.LocalLibraryStore.novelIdFor(localKey) | CODE |
| CRITICAL | …a/ceui/pixiv/ui/novel/reader/NovelReaderV3ViewModel.kt | 198 | val text = ceui.pixiv.ui.novel.local.TextDecoder.decode(bytes) | CODE |
| CRITICAL | app/src/main/java/ceui/pixiv/ui/muted/MuteTagSheet.kt | 264 | val lp = com.google.android.flexbox.FlexboxLayout.LayoutParams( | CODE |
| CRITICAL | …in/java/ceui/pixiv/widget/telegram/SpoilerEffect2.java | 472 | egl = (EGL10) javax.microedition.khronos.egl.EGLContext.getEGL(); | CODE |
| CRITICAL | …ain/java/ceui/pixiv/chat/base/widget/EmptyStateView.kt | 55 | setTextColor(com.google.android.material.color.MaterialColors.getColor(this, com.google.android.material.R.a | CODE |
| CRITICAL | …ain/java/ceui/pixiv/chat/base/widget/EmptyStateView.kt | 65 | setTextColor(com.google.android.material.color.MaterialColors.getColor(this, com.google.android.material.R.a | CODE |
| CRITICAL | …c/main/java/ceui/pixiv/chat/base/widget/StateLayout.kt | 171 | val color = com.google.android.material.color.MaterialColors.getColor( | CODE |
| CRITICAL | …c/main/java/ceui/pixiv/plaza/ui/PlazaCommentAdapter.kt | 159 | com.google.android.material.color.MaterialColors.getColor( | CODE |
| CRITICAL | …/src/main/java/ceui/pixiv/plaza/ui/PlazaFeedAdapter.kt | 351 | com.google.android.material.color.MaterialColors.getColor( | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/core/Manager.java | 1076 | .url(ceui.lisa.http.ImageHostManager.INSTANCE.rewrite(dlUrl)) | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/core/Manager.java | 1202 | .url(ceui.lisa.http.ImageHostManager.INSTANCE.rewrite(dlUrl)) | CODE |
| CRITICAL | …/ceui/lisa/fragments/FragmentSettingsExperimental.java | 121 | ceui.pixiv.ui.settings.WitDialogGallery.showWit(mContext)); | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/fragments/FragmentHolder.kt | 57 | ceui.pixiv.ui.user.UserMangaFeedFragment.newInstance(data.user?.id ?: 0L, false), | CODE |
| CRITICAL | …c/main/java/ceui/lisa/fragments/FragmentSettingsHub.kt | 31 | val palette = ceui.pixiv.witstudio.theme.V3Palette.from(mContext) | CODE |
| CRITICAL | …c/main/java/ceui/lisa/fragments/FragmentSettingsHub.kt | 78 | val palette = ceui.pixiv.witstudio.theme.V3Palette.from(mContext) | CODE |
| CRITICAL | …java/ceui/lisa/fragments/FragmentSettingsBrowsing.java | 286 | ceui.pixiv.ui.synonym.SynonymBuiltinDict.autoImportIfNeeded(appContext) | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 96 | for (String tag : ceui.pixiv.i18n.AppLocales.INSTANCE.getSupportedTags()) { | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 97 | labels.add(ceui.pixiv.i18n.AppLocales.INSTANCE.displayName(tag)); | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 101 | if (!ceui.pixiv.i18n.AppLocales.INSTANCE.isFollowingSystem()) { | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 102 | String currentTag = ceui.pixiv.i18n.AppLocales.INSTANCE.currentLocale().toLanguageTag(); | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 110 | ceui.pixiv.i18n.AppLocales.INSTANCE.apply(tag); | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 442 | if (ceui.pixiv.i18n.AppLocales.INSTANCE.isFollowingSystem()) { | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 445 | Locale loc = ceui.pixiv.i18n.AppLocales.INSTANCE.currentLocale(); | CODE |
| CRITICAL⚡ | …va/ceui/lisa/fragments/FragmentSettingsAppearance.java | 446 | return ceui.pixiv.i18n.AppLocales.INSTANCE.displayName(loc.toLanguageTag()); | CODE |
| CRITICAL⚡ | …/java/ceui/lisa/fragments/FragmentSettingsNetwork.java | 133 | ceui.lisa.http.ImageHostManager.Mode.CUSTOM.ordinal(); | CODE |
| CRITICAL⚡ | …/java/ceui/lisa/fragments/FragmentSettingsNetwork.java | 138 | if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_CAT.ordinal()) { | CODE |
| CRITICAL⚡ | …/java/ceui/lisa/fragments/FragmentSettingsNetwork.java | 140 | } else if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_RE.ordinal()) { | CODE |
| CRITICAL⚡ | …/java/ceui/lisa/fragments/FragmentSettingsNetwork.java | 142 | } else if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_NL.ordinal()) { | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/fragments/FragmentSAF.java | 36 | ceui.pixiv.download.config.DownloadItems.illustPage(illustsBean, 0)); | CODE |
| CRITICAL | …ain/java/ceui/lisa/fragments/FragmentSettingsData.java | 402 | new ceui.pixiv.witstudio.dialog.WitTipDialog.Builder(getActivity()) | CODE |
| CRITICAL | …ain/java/ceui/lisa/fragments/FragmentSettingsData.java | 415 | ceui.pixiv.db.bulkclean.BulkDownloadCacheCleaner.wipe(appCtx); | CODE |
| CRITICAL⚡ | …/java/ceui/lisa/fragments/FragmentSettingsViewing.java | 144 | ceui.pixiv.ui.bulk.UgoiraEngine.invalidateAll(); | CODE |
| CRITICAL⚡ | …/java/ceui/lisa/fragments/FragmentSettingsViewing.java | 145 | if (isChecked && !ceui.pixiv.ui.interpolate.RifeInterpolator.INSTANCE.isAvailable(mContext)) { | CODE |
| CRITICAL⚡ | …/java/ceui/lisa/fragments/FragmentSettingsViewing.java | 149 | intent.putExtra("rife_model_name", ceui.pixiv.ui.interpolate.RifeModel.RIFE_V4_6.name()); | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/fragments/FragmentIllust.kt | 509 | ceui.pixiv.ui.upscale.ModelPickerDialog.pickOrUseDefault(childFragmentManager) { model -> | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/fragments/FragmentIllust.kt | 515 | ceui.pixiv.ui.upscale.RembgModelPickerDialog.pickOrUseDefault(childFragmentManager) { model -> | CODE |
| CRITICAL | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 27 | ceui.pixiv.ui.upscale.UpscaleModel saved = ceui.pixiv.ui.upscale.ModelPickerDialog.Companion.getSavedModel() | CODE |
| CRITICAL | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 30 | ceui.pixiv.ui.upscale.ModelPickerDialog.Companion.show(getChildFragmentManager(), model -> { | CODE |
| CRITICAL | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 41 | ceui.pixiv.ui.upscale.RembgModel savedRembg = ceui.pixiv.ui.upscale.RembgModelPickerDialog.Companion.getSave | CODE |
| CRITICAL | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 61 | intent.putExtra("rife_model_name", ceui.pixiv.ui.interpolate.RifeModel.RIFE_V4_6.name()); | CODE |
| CRITICAL | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 75 | intent.putExtra("ctd_model_name", ceui.pixiv.ui.translate.ComicTextDetectorModel.CTD_BASE.name()); | CODE |
| CRITICAL | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 89 | intent.putExtra("manga_ocr_model_name", ceui.pixiv.ui.translate.MangaOcrModel.MANGA_OCR_BASE.name()); | CODE |
| CRITICAL⚡ | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 110 | boolean rifeReady = ceui.pixiv.ui.interpolate.RifeModelManager.INSTANCE.isModelReady(mContext, rife); | CODE |
| CRITICAL⚡ | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 116 | boolean ctdReady = ceui.pixiv.ui.translate.ComicTextDetectorModelManager.INSTANCE.isModelReady(mContext, ctd); | CODE |
| CRITICAL⚡ | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 122 | boolean ocrReady = ceui.pixiv.ui.translate.MangaOcrModelManager.INSTANCE.isModelReady(mContext, ocr); | CODE |
| CRITICAL⚡ | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 128 | baseBind.aiTranslateStatus.setText(ceui.pixiv.ui.translate.AiTranslator.INSTANCE.isActive() | CODE |
| CRITICAL | …/main/java/ceui/lisa/fragments/FragmentSettingsAi.java | 156 | ceui.pixiv.ui.bulk.UgoiraEngine.invalidateAll(); | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/utils/PixivOperate.java | 399 | * 由调用方在末尾统一发一条即可。见 {@code ceui.pixiv.ui.muted.MuteTagSheet.save()}。 | COMMENT |
| CRITICAL | app/src/main/java/ceui/lisa/utils/PixivOperate.java | 433 | ceui.pixiv.db.HistoryReporter.INSTANCE.enqueue(reportType, (long) illust.getId(), Shaft.sGson.toJson | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/utils/PixivOperate.java | 456 | ceui.pixiv.db.HistoryReporter.INSTANCE.enqueue("novel", (long) novelBean.getId(), Shaft.sGson.toJson | CODE |
| CRITICAL | app/src/main/java/ceui/lisa/download/FileCreator.java | 45 | return ceui.pixiv.download.sanitize.FsSanitizer.INSTANCE.cleanSegment(before, true); | CODE |
| CRITICAL⚡ | …c/main/java/ceui/lisa/activities/TemplateActivity.java | 152 | return ceui.pixiv.ui.bulk.BulkSelectV3Fragment.newInstance( | CODE |
| CRITICAL⚡ | …c/main/java/ceui/lisa/activities/TemplateActivity.java | 155 | return ceui.pixiv.ui.bulk.NovelBulkSelectV3Fragment.newInstance( | CODE |
| CRITICAL⚡ | …c/main/java/ceui/lisa/activities/TemplateActivity.java | 162 | return ceui.pixiv.ui.user.FollowUserFeedFragment.newInstance( | CODE |
| CRITICAL⚡ | …c/main/java/ceui/lisa/activities/TemplateActivity.java | 169 | return ceui.pixiv.ui.user.NiceFriendFeedFragment.newInstance( | CODE |
| CRITICAL⚡ | …c/main/java/ceui/lisa/activities/TemplateActivity.java | 211 | return ceui.pixiv.ui.user.UserNovelByTagFeedFragment.newInstance( | CODE |
| 71 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/test/java/ceui/pixiv/ui/bulk/UgoiraFrameTimingTest.kt | 20 | // ── 补帧侧:均匀 + 总时长守恒 ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …/test/java/ceui/pixiv/ui/bulk/UgoiraFrameTimingTest.kt | 70 | // ── GIF 侧:量化到 10ms 但一圈总时长不漂 ────────────────────────────── | COMMENT |
| MEDIUM | …/src/test/java/ceui/pixiv/ui/debug/MaskProxyUrlTest.kt | 14 | // ── 域名:保留前 4 个字符 ────────────────────────────────────────── | COMMENT |
| MEDIUM | …/src/test/java/ceui/pixiv/ui/debug/MaskProxyUrlTest.kt | 28 | // ── IPv4:按段截断,不按字符数 ──────────────────────────────────── | COMMENT |
| MEDIUM | …/src/test/java/ceui/pixiv/ui/debug/MaskProxyUrlTest.kt | 50 | // ── 边界 ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/ui/debug/Nat64EmbeddedIpv4Test.kt | 21 | // ── RFC 6052 §2.4 的六个官方向量:前缀长度不同,嵌入的都是 192.0.2.33 ────────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/ui/debug/Nat64EmbeddedIpv4Test.kt | 41 | // ── 真实场景:运营商自有前缀合成 Cloudflare IP,不该被判成污染 ────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/ui/debug/Nat64EmbeddedIpv4Test.kt | 54 | // ── 反例:真投毒的 IPv6 抠不出白名单里的地址 ───────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 218 | // ── 1. Happy path ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 256 | // ── 2. State sequence ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 316 | // ── 3. Idempotent connect ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 346 | // ── 4. disconnect blocks reconnect ──────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 372 | // ── 5. Server-initiated close triggers reconnect ────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 406 | // ── 6. Stale-socket guard (P0-1 regression test) ────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 455 | // ── 7. Buffered messages flushed in order on (re)connect ────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 488 | // ── 8. drain on disconnect ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 529 | // ── 9. sendSuspending suspends on full buffer with Suspend strategy ─────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 560 | // ── 10. DropOldest backpressure ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 652 | // ── 11. DropNewest backpressure ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 681 | // ── 12. Terminate after maxAttempts ─────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 718 | // ── 13. close() makes everything no-op ──────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 740 | // ── 14. send() return values across lifecycle ───────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 769 | // ── 15. Empty / null behaviors ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 789 | // ── 16. cancel() after disconnect is a no-op ────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 810 | // ── 17. P1 fix: disconnect → connect cycle drops queued messages ────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 861 | // ── 18. P0-1: Auth refresh — happy path ─────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 890 | // ── 19. P0-1: Auth refresh — exhausted ──────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 917 | // ── 20. P0-1: Auth refresh — refresh hook returns false ─────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 948 | // ── 21. P0-1: Auth refresh budget refills on successful connect ─────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 998 | // ── 22. P0-1: maxAuthRefreshAttempts = 0 means no refresh, fail fast ────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1022 | // ── 23. P0-1: non-auth failures still go through reconnect strategy ─────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1047 | // ── 24. P0-1: custom isAuthFailure recognises a 4xxx close code ─────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1088 | // ── 25. Binary frame end-to-end ───────────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1124 | // ── 26b. disconnect from Idle is a silent no-op ──────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1162 | // ── 27. disconnect while Reconnecting cancels the backoff ────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1247 | // ── 29. connect after strategy exhaustion resets and reconnects ──────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1294 | // ── 30. Mixed failure sequence: 500 backoff then 401 refresh ─────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1332 | // ── 31. Connectivity "online" edge while Connected is ignored ────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1372 | // ── 32. Empty binary frame end-to-end ────────────────────────────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1400 | // ── 33. Messages enqueued during Reconnecting flush in order ─────────── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1457 | // ── 34. Two independent events subscribers see identical sequences ───── | COMMENT |
| MEDIUM | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 1549 | // ── 36. Network-aware fast retry ──────────────────────────────────────── | COMMENT |
| MEDIUM | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 124 | // ── 1. Single producer, 5 000 messages, strict order ───────────────────── | COMMENT |
| MEDIUM | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 164 | // ── 2. Concurrent producers, per-producer FIFO ─────────────────────────── | COMMENT |
| MEDIUM | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 233 | // ── 3. Burst exceeding buffer (DropOldest) — exactly newest survive ────── | COMMENT |
| MEDIUM | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 306 | // ── 4. Reconnect storm — survive 5 server-side terminations ────────────── | COMMENT |
| MEDIUM | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 439 | // ── 6. Concurrent close while sending — must not crash ─────────────────── | COMMENT |
| MEDIUM | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 473 | // ── 7. Wire-level high-water mark: small HWM + large payloads ───────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/websocket/WebSocketManagerTest.kt | 28 | // ── Test doubles ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/websocket/WebSocketManagerTest.kt | 130 | // ── Tests ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ui/pixiv/websocket/ExponentialBackoffWithJitterTest.kt | 112 | // ── shouldReconnect predicate (P0-2 fix) ────────────────────────────────── | COMMENT |
| MEDIUM | …/test/java/ceui/pixiv/chat/api/ChatFrameReplyToTest.kt | 17 | // ── Inbound (server → client) ──────────────────────────────────────── | COMMENT |
| MEDIUM | …/test/java/ceui/pixiv/chat/api/ChatFrameReplyToTest.kt | 63 | // ── Outbound (client → server) ─────────────────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/feeds/FeedReviewRegressionTest.kt | 22 | // ── 详情页评论区块:本地发评论不得顶替「已从服务端拉过」 ───────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/feeds/FeedReviewRegressionTest.kt | 68 | // ── 用户列表:user 为 null 的预览不得塌成同一个身份 ─────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/pixiv/feeds/FeedReviewRegressionTest.kt | 100 | // ── 枚举参数解析不得因为脏 Bundle 崩页面 ───────────────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt | 22 | // ── normalizeBase:https 强制 ────────────────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt | 70 | // ── normalizeBase:尾部斜杠 / query 边界 ─────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt | 104 | // ── rewrite:app-api / oauth 路径约定 ───────────────────────────── | COMMENT |
| MEDIUM | …test/java/ceui/lisa/http/AppApiProxyInterceptorTest.kt | 156 | // ── rewrite:误填完整 PxveAPI 地址的双前缀防护 ───────────────────── | COMMENT |
| 251 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mockup.html | 1661 | #screen-user-profile .screen, | COMMENT |
| LOW | mockup.html | 1681 | scrollbar-width: none; | COMMENT |
| LOW | …java/ceui/pixiv/websocket/RobustWebSocketClientTest.kt | 581 | jitterFactor = 0.0, | COMMENT |
| LOW | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 261 | // Note on pre-fetch: the consumer coroutine is launched on | COMMENT |
| LOW | …eui/pixiv/websocket/RobustWebSocketClientStressTest.kt | 341 | // race where producer outpaces server-side close. | COMMENT |
| LOW | …ava/ceui/pixiv/ui/embedding/TabletActivityEmbedding.kt | 41 | // 用户开关(设置 · 界面 · 平板双栏布局),默认关闭:不少人不喜欢左右分离的形态。 | COMMENT |
| LOW | …src/main/java/ceui/pixiv/ui/user/UserTagSearchSheet.kt | 101 | binding.tagList.layoutManager = LinearLayoutManager(requireContext()) | COMMENT |
| LOW | …a/ceui/pixiv/ui/search/v3/SearchFilterV3BottomSheet.kt | 721 | REQUEST_RESOLUTION, | COMMENT |
| LOW | …p/src/main/java/ceui/pixiv/ui/common/IllustFeedSync.kt | 161 | // is_followed=false / total_bookmarks 全是「正经值」而非空值,而 ObjectPool 的 | COMMENT |
| LOW | …ain/java/ceui/pixiv/ui/common/IllustStaggerRenderer.kt | 281 | // 请求尺寸必须显式 override:into(ImageView) 对 centerCrop 会在解码阶段按「请求尺寸」 | COMMENT |
| LOW | …ain/java/ceui/pixiv/ui/novel/reader/render/PageView.kt | 141 | block.onBareTap = { xInBlock, yInBlock -> | COMMENT |
| LOW | …ceui/pixiv/ui/novel/reader/export/MergedNovelWriter.kt | 421 | COMMENT | |
| LOW | …in/java/ceui/pixiv/ui/download/ActiveListV3Fragment.kt | 161 | } | COMMENT |
| LOW | …in/java/ceui/pixiv/ui/download/ActiveListV3Fragment.kt | 181 | // 用户清完仍有 ugoira 正在跑、跑完还往用户图库写 GIF(违反"全清") | COMMENT |
| LOW | …ain/java/ceui/pixiv/ui/download/QueueListV3Fragment.kt | 161 | // 联动:清空队列同时把正在下载的也一并停掉清掉, | COMMENT |
| LOW | …/main/java/ceui/pixiv/ui/debug/NetworkTestViewModel.kt | 441 | (it.status == TargetStatus.FAILED || it.status == TargetStatus.POLLUTED) | COMMENT |
| LOW | …ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt | 221 | COMMENT | |
| LOW | …ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt | 441 | override fun disconnect(code: Int, reason: String) = | COMMENT |
| LOW | …ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt | 661 | COMMENT | |
| LOW | …/src/main/java/ceui/pixiv/chat/api/ShaftChatGateway.kt | 121 | // Activation tracks pixiv login. Server requires `uid > 0` for the | COMMENT |
| LOW | app/src/main/java/ceui/pixiv/utils/BottomSheetInsets.kt | 41 | */ | COMMENT |
| LOW | …/java/ceui/pixiv/download/template/DefaultTemplates.kt | 21 | // `R18DivideSave` / `AIDivideSave` 设置时才生效;默认这两个设置都关着, | COMMENT |
| LOW | …/java/ceui/pixiv/download/backend/MediaStoreBackend.kt | 161 | } | COMMENT |
| LOW | …/java/ceui/pixiv/download/backend/MediaStoreBackend.kt | 261 | put(MediaStore.MediaColumns.DATE_ADDED, SilentDownload.BACKDATE_SEC) | COMMENT |
| LOW | …/java/ceui/pixiv/download/backend/MediaStoreBackend.kt | 441 | // Fallback: locate orphan rows whose RELATIVE_PATH doesn't match | COMMENT |
| LOW | …rc/main/java/ceui/pixiv/actions/PixivActionHandlers.kt | 61 | 429 -> ActionOutcome.Retry( | COMMENT |
| LOW | app/src/main/java/ceui/lisa/core/Manager.java | 421 | int s = item.getState(); | COMMENT |
| LOW | app/src/main/java/ceui/lisa/core/Manager.java | 801 | // ─── 断点续传 / staging 落点 ─── | COMMENT |
| LOW | …src/main/java/ceui/lisa/fragments/FragmentWorkSpace.kt | 81 | COMMENT | |
| LOW | app/src/main/java/ceui/lisa/fragments/HistoryFeed.kt | 181 | return@withContext FeedPage(mapped.toFeedItems(), resp.nextCursor) | COMMENT |
| LOW | app/src/main/java/ceui/lisa/fragments/HistoryFeed.kt | 361 | // 只按元数据驱动宽高比,宽度交给瀑布流列自身(DynamicHeightImageView 在 onMeasure 用真实 | COMMENT |
| LOW | app/src/main/java/ceui/lisa/network/PlazaSig.kt | 1 | package ceui.lisa.network | COMMENT |
| LOW | …/src/main/java/ceui/lisa/utils/AnimatedGifEncoder.java | 1101 | int free_ent = 0; // first unused entry | COMMENT |
| LOW | …/src/main/java/ceui/lisa/utils/AnimatedGifEncoder.java | 1121 | int ClearCode; | COMMENT |
| LOW | …p/src/main/java/ceui/lisa/activities/UserActivityV3.kt | 81 | COMMENT | |
| LOW | app/src/main/java/ceui/lisa/activities/Shaft.java | 241 | continue; | COMMENT |
| LOW | app/src/main/java/ceui/lisa/activities/Shaft.java | 261 | // startDragAndDrop,拖影由 Editor.getTextThumbnailBuilder 现场 inflate 一个 | COMMENT |
| LOW | app/src/main/java/ceui/lisa/activities/Shaft.java | 361 | // ⚠️ 不能挪进延迟批:init 内部在发现有 PENDING 行时会调 | COMMENT |
| LOW | app/src/main/java/ceui/lisa/activities/Shaft.java | 561 | COMMENT | |
| LOW | app/src/main/java/ceui/lisa/activities/Shaft.java | 741 | // 下载(Manager)、ugoira 由本 client newBuilder() 派生,自动继承;聊天 WebSocket 是独立 client,不在内。 | COMMENT |
| LOW | app/src/main/java/ceui/lisa/repo/SearchIllustRepo.kt | 81 | // 旧借用账号重新写进当前查询,污染当前结果的 next_url 翻页。 | COMMENT |
| LOW | app/src/main/java/ceui/lisa/repo/SearchNovelRepo.kt | 101 | val wantsPremiumBookmarkFilter = isPremium != true && useBookmarkQuery | COMMENT |
| LOW | .claude/skills/divebug/statusline.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | feeds/src/main/java/ceui/pixiv/feeds/FeedViewModel.kt | 101 | // 数据源说「命中快照就别再自动刷了」(如首页推荐关掉了启动自动刷新,issue #955): | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 174 | // Step 1: Preprocess image → [1, 3, H, W] float tensor | COMMENT |
| LOW⚡ | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 181 | // Step 2: Run encoder | COMMENT |
| LOW⚡ | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 185 | // Step 3: Autoregressive decoding + per-token log P 累计 | COMMENT |
| LOW | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 257 | // Step 4: Decode tokens to text. 兼容两种 HF tokenizer: | COMMENT |
| LOW⚡ | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 222 | // Step 1: root.listFiles() | COMMENT |
| LOW⚡ | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 230 | // Step 2: ShaftPerfTest/.listFiles() 如果存在 | COMMENT |
| LOW | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 241 | // Step 3: 一次 backend.replace (走真实下载链路) | COMMENT |
| LOW | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 257 | // Step 4: 裸 createFile (绕过 backend.delete + ensureDirectory) | COMMENT |
| LOW | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 277 | // Step 5: 结论提示 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 174 | // Step 1: Preprocess image → [1, 3, H, W] float tensor | COMMENT |
| LOW⚡ | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 181 | // Step 2: Run encoder | COMMENT |
| LOW⚡ | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 185 | // Step 3: Autoregressive decoding + per-token log P 累计 | COMMENT |
| LOW | …ain/java/ceui/pixiv/ui/translate/MangaOcrRecognizer.kt | 257 | // Step 4: Decode tokens to text. 兼容两种 HF tokenizer: | COMMENT |
| LOW⚡ | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 222 | // Step 1: root.listFiles() | COMMENT |
| LOW⚡ | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 230 | // Step 2: ShaftPerfTest/.listFiles() 如果存在 | COMMENT |
| LOW | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 241 | // Step 3: 一次 backend.replace (走真实下载链路) | COMMENT |
| LOW | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 257 | // Step 4: 裸 createFile (绕过 backend.delete + ensureDirectory) | COMMENT |
| LOW | …c/main/java/ceui/pixiv/ui/debug/SafPerfTestFragment.kt | 277 | // Step 5: 结论提示 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | app/src/google/assets/synonym_dict_builtin.json | 1 | {"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブル | CODE |
| HIGH | app/src/github/assets/synonym_dict_builtin.json | 1 | {"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブル | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/find_missing_used_strings.py | 240 | print(f"warning: used strings not found in {source.path}: {len(undefined)}") | CODE |
| HIGH | scripts/prepare_translation_model.py | 17 | mkdir -p output/model_local && cd output/model_local | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/src/google/assets/synonym_dict_builtin.json | 1 | {"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブル | CODE |
| MEDIUM | app/src/github/assets/synonym_dict_builtin.json | 1 | {"version":1,"targets":[{"name":"R-18","synonyms":[{"name":"18禁","remark":null}]},{"name":"碧蓝档案","synonyms":[{"name":"ブル | CODE |
| MEDIUM | …main/java/ceui/pixiv/ui/slideshow/SlideshowFragment.kt | 190 | // stays seamless (the previous image keeps playing). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/prepare_manga_ocr_model.py | 17 | CODE | |
| LOW | scripts/prepare_manga_ocr_model.py | 20 | CODE | |
| LOW | scripts/build_readme_assets.py | 25 | CODE | |
| LOW | scripts/find_missing_used_strings.py | 25 | CODE | |
| LOW | scripts/sort_locale_strings.py | 27 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build_readme_assets.py | 95 | CODE | |
| LOW | scripts/find_missing_used_strings.py | 221 | CODE | |
| LOW | scripts/sort_locale_strings.py | 204 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mockup.html | 1853 | <input class="input-field" placeholder="user@example.com"> | CODE |
| LOW | …test/java/ceui/loxia/UserMigrationCompatibilityTest.kt | 42 | "mail_address": "user@example.com", | CODE |
| LOW | …test/java/ceui/loxia/UserMigrationCompatibilityTest.kt | 62 | assertEquals("user@example.com", user.mail_address) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/find_missing_used_strings.py | 266 | except Exception as exc: | CODE |
| LOW | scripts/sort_locale_strings.py | 234 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build_readme_assets.py | 168 | CODE |