AI Slop Code Risk Monitor

CeuiLiSA/Pixiv-Shaft

SlopCodeMonitor badge for CeuiLiSA/Pixiv-Shaft Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Pixiv第三方Android客户端

6.8 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for CeuiLiSA/Pixiv-Shaft, a Kotlin project with 8,206 GitHub stars. SynthScan examined 404,271 lines of code across 2659 source files, recording 630 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 6.8 (Moderate 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.

6.8
Adjusted Signal
6.8
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
8.2K
Stars
Kotlin
Language
404.3K
Lines of Code
2.7K
Files
630
Pattern Hits
2026-10-31
Scan Date
0.05
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 15.8/100 · LOW

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

Agent Over-Engineering Ratio 14.2/100 · LOW

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

PR Review Velocity Impact 27.2/100 · MEDIUM

Which changes need focused human review? 630 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 119HIGH 4MEDIUM 422LOW 85

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 630 distinct pattern matches across 13 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.

Hallucination Indicators119 hits · 1375 pts
SeverityFileLineSnippetContext
CRITICAL…rc/test/java/ceui/pixiv/ui/detail/AuthorTagMenuTest.kt191 val palette = ceui.pixiv.witstudio.theme.V3Palette.from(host)CODE
CRITICAL…/src/test/java/ceui/pixiv/sticker/StickerPickerTest.kt67 .setInsets(androidx.core.view.WindowInsetsCompat.Type.ime(), androidx.core.graphics.Insets.of(0, 0, 0, dCODE
CRITICAL…/src/test/java/ceui/pixiv/sticker/StickerPickerTest.kt116 val palette = ceui.pixiv.witstudio.theme.V3Palette.from(context)CODE
CRITICAL…/src/test/java/ceui/pixiv/sticker/StickerPickerTest.kt164 .setInsets(androidx.core.view.WindowInsetsCompat.Type.navigationBars(), androidx.core.graphics.ICODE
CRITICAL…/src/test/java/ceui/pixiv/sticker/StickerPickerTest.kt226 val primary = ceui.pixiv.witstudio.theme.V3Palette.from(context).primaryCODE
CRITICAL…rc/test/java/ceui/pixiv/feeds/FeedRefreshScrollTest.kt74 assertEquals(101, fragment.model.uiState.value.items.first().feedKey)CODE
CRITICAL…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt157 ceui.pixiv.ui.referral.ReferralPlanFragment.newInstance(CODE
CRITICAL…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt432 ceui.pixiv.ui.library.BookmarkLibraryFragment.newInstance()CODE
CRITICAL…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt445 ceui.pixiv.ui.library.NovelBookmarkLibraryFragment.newInstance()CODE
CRITICAL⚡…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt458 ceui.pixiv.db.mirror.MirrorContentType.of(CODE
CRITICAL⚡…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt466 ceui.pixiv.ui.library.BookmarkLibraryFragment.newInstance(starType = starType)CODE
CRITICAL⚡…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt468 ceui.pixiv.ui.library.NovelBookmarkLibraryFragment.newInstance(CODE
CRITICAL⚡…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt472 ceui.pixiv.ui.library.FollowingLibraryFragment.newInstance(CODE
CRITICAL…/java/ceui/pixiv/ui/navigation/TemplateRouteFactory.kt485 ceui.pixiv.ui.library.FollowingLibraryFragment.newInstance()CODE
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…c/main/java/ceui/pixiv/ui/detail/ArtworkV3ViewModel.kt222 !com.blankj.utilcode.util.NetworkUtils.isWifiConnected()CODE
CRITICAL…c/main/java/ceui/pixiv/ui/detail/ArtworkV3ViewModel.kt449 isWifiConnected: Boolean = com.blankj.utilcode.util.NetworkUtils.isWifiConnected(),CODE
CRITICAL…va/ceui/pixiv/ui/detail/frames/UgoiraFramesFragment.kt328 addView(duration.apply { maxLines = 1 }, com.google.android.flexbox.FlexboxLayout.LayoutParams(-2, -2).applyCODE
CRITICAL…va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt1394 val charIndex = ceui.pixiv.ui.novel.reader.paginate.ContentParser.resolveJumpTarget(toks, target)CODE
CRITICAL…va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt1719 return ceui.pixiv.ui.novel.local.LocalLibraryStore.novelIdFor(localKey)CODE
CRITICAL…a/ceui/pixiv/ui/novel/reader/NovelReaderV3ViewModel.kt246 val text = ceui.pixiv.ui.novel.local.TextDecoder.decode(bytes)CODE
CRITICAL…eui/pixiv/ui/novel/reader/export/NovelExportManager.kt90 val effectivePolicy = retryPolicy ?: if (com.blankj.utilcode.util.AppUtils.isAppForeground()) {CODE
CRITICAL…ceui/pixiv/ui/novel/reader/export/MergedNovelWriter.kt515 ?: com.blankj.utilcode.util.ActivityUtils.getTopActivity()CODE
CRITICAL…ceui/pixiv/ui/novel/reader/export/MergedNovelWriter.kt516 if (act == null || act.isFinishing || act.isDestroyed || !com.blankj.utilcode.util.AppUtils.isAppForeground(CODE
CRITICAL…java/ceui/pixiv/ui/novel/reader/export/EpubExporter.kt95 val act = retryPolicy.activity ?: com.blankj.utilcode.util.ActivityUtils.getTopActivity()CODE
CRITICAL…java/ceui/pixiv/ui/novel/reader/export/EpubExporter.kt96 if (act == null || act.isFinishing || act.isDestroyed || !com.blankj.utilcode.util.AppUtils.CODE
CRITICAL…java/ceui/pixiv/ui/novel/reader/export/EpubExporter.kt157 val act = retryPolicy.activity ?: com.blankj.utilcode.util.ActivityUtils.getTopActivity()CODE
CRITICAL…java/ceui/pixiv/ui/novel/reader/export/EpubExporter.kt158 if (act == null || act.isFinishing || act.isDestroyed || !com.blankj.utilcode.util.AppUtils.isAppForCODE
CRITICALapp/src/main/java/ceui/pixiv/ui/muted/MuteTagSheet.kt268 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
CRITICALapp/src/main/java/ceui/pixiv/auth/AuthApi.kt93 ceui.pixiv.shaftapi.MediaHttpTransport.apiClient.newBuilder()CODE
CRITICAL…main/java/ceui/pixiv/plaza/ui/PlazaTimelineFragment.kt50 androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult()CODE
CRITICALapp/src/main/java/ceui/lisa/core/Manager.java1523 .url(ceui.lisa.http.ImageHostManager.INSTANCE.rewrite(dlUrl))CODE
CRITICALapp/src/main/java/ceui/lisa/core/Manager.java1661 .url(ceui.lisa.http.ImageHostManager.INSTANCE.rewrite(dlUrl))CODE
CRITICAL…/ceui/lisa/fragments/FragmentSettingsExperimental.java114 ceui.pixiv.ui.settings.WitDialogGallery.showWit(mContext));CODE
CRITICAL…/ceui/lisa/fragments/FragmentSettingsExperimental.java165 ceui.pixiv.ui.debug.DebugMirrorBannerTrigger.show(mContext));CODE
CRITICAL…/ceui/lisa/fragments/FragmentSettingsExperimental.java178 ceui.pixiv.ui.debug.DebugUpdateSheetTrigger.show(this));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.java336 ceui.pixiv.ui.synonym.SynonymBuiltinDict.autoImportIfNeeded(appContext)CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java264 for (String tag : ceui.pixiv.i18n.AppLocales.INSTANCE.getSupportedTags()) {CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java265 labels.add(ceui.pixiv.i18n.AppLocales.INSTANCE.displayName(tag));CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java269 if (!ceui.pixiv.i18n.AppLocales.INSTANCE.isFollowingSystem()) {CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java270 String currentTag = ceui.pixiv.i18n.AppLocales.INSTANCE.currentLocale().toLanguageTag();CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java278 ceui.pixiv.i18n.AppLocales.INSTANCE.apply(tag);CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java893 if (ceui.pixiv.i18n.AppLocales.INSTANCE.isFollowingSystem()) {CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java896 Locale loc = ceui.pixiv.i18n.AppLocales.INSTANCE.currentLocale();CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java897 return ceui.pixiv.i18n.AppLocales.INSTANCE.displayName(loc.toLanguageTag());CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java154 ceui.lisa.http.ImageHostManager.Mode.CUSTOM.ordinal();CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java159 if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_CAT.ordinal()) {CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java161 } else if (mode == ceui.lisa.http.ImageHostManager.Mode.PIXIV_RE.ordinal()) {CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsNetwork.java163 } 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.java527 new ceui.pixiv.witstudio.dialog.WitTipDialog.Builder(getActivity())CODE
59 more matches not shown…
Decorative Section Separators419 hits · 1239 pts
SeverityFileLineSnippetContext
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.kt320 // ── 4. Reconnect storm — survive 5 server-side terminations ──────────────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt453 // ── 6. Concurrent close while sending — must not crash ───────────────────COMMENT
MEDIUM…eui/pixiv/websocket/RobustWebSocketClientStressTest.kt487 // ── 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…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt164 // ── Tuned OkHttpClient ────────────────────────────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt175 // ── Internal scope ────────────────────────────────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt181 // ── State / events ────────────────────────────────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt222 // ── Outgoing buffer (Channel-based, single-consumer) ──────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt277 // ── Internal state (mutated under `lifecycleLock`) ────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt335 // ── Reconnect coordinator ─────────────────────────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt387 // ── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt565 // ── Outbox consumer ───────────────────────────────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt654 // ── Internal connect (must hold lifecycleLock) ────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt707 // ── OkHttp listener ───────────────────────────────────────────────────────COMMENT
MEDIUM…ain/java/ceui/pixiv/websocket/RobustWebSocketClient.kt803 // ── Logging helpers ───────────────────────────────────────────────────────COMMENT
MEDIUM…main/java/ceui/pixiv/websocket/ReconnectCoordinator.kt57 // ── State (accessed only under the host's lifecycle lock) ────────────────COMMENT
MEDIUM…main/java/ceui/pixiv/websocket/ReconnectCoordinator.kt76 // ── Public API (all called under lock) ───────────────────────────────────COMMENT
MEDIUM…main/java/ceui/pixiv/websocket/ReconnectCoordinator.kt110 // ── Auth-failure fast path ───────────────────────────────────────COMMENT
MEDIUM…main/java/ceui/pixiv/websocket/ReconnectCoordinator.kt126 // ── Normal backoff path ──────────────────────────────────────────COMMENT
MEDIUM…main/java/ceui/pixiv/websocket/ReconnectCoordinator.kt182 // ── Internal ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…ceui/pixiv/ui/bulk/DownloadRepeatLoopSimulationTest.kt48 // ─────────────────────────────────────────────────────────────────────COMMENT
359 more matches not shown…
Over-Commented Block62 hits · 60 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…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…test/java/ceui/pixiv/ui/home/RecmdR18InterleaveTest.kt241 // Header must stay at index 0COMMENT
LOW…c/main/java/ceui/pixiv/ui/bulk/QueueDownloadManager.kt741 return falseCOMMENT
LOW…c/main/java/ceui/pixiv/ui/bulk/QueueDownloadManager.kt781 // - DOWNLOADING:**冷启动 Manager.restore 带回的 stranded 状态**——COMMENT
LOW…c/main/java/ceui/pixiv/ui/library/BookmarkLibraryUi.kt201 // 列表突然被拨回顶部。代号变了才动手,追加页的代号不变,绝不会误伤。COMMENT
LOW…src/main/java/ceui/pixiv/ui/user/UserTagSearchSheet.kt101 binding.btnClose.setOnClick { dismissAllowingStateLoss() }COMMENT
LOW…a/ceui/pixiv/ui/search/v3/SearchFilterV3BottomSheet.kt761 showSimplePicker(COMMENT
LOW…p/src/main/java/ceui/pixiv/ui/common/IllustFeedSync.kt161 // is_followed=false / total_bookmarks 全是「正经值」而非空值,而 ObjectPool 的COMMENT
LOW…p/src/main/java/ceui/pixiv/ui/common/IllustFeedSync.kt201 val id = bean.id.toLong()COMMENT
LOW…ain/java/ceui/pixiv/ui/common/IllustStaggerRenderer.kt341 // 请求尺寸必须显式 override:into(ImageView) 对 centerCrop 会在解码阶段按「请求尺寸」COMMENT
LOW…rc/main/java/ceui/pixiv/ui/common/NovelFeedFragment.kt381 b.series.isVisible = series != null && !series.title.isNullOrEmpty()COMMENT
LOW…ain/java/ceui/pixiv/ui/novel/reader/render/PageView.kt161COMMENT
LOW…ceui/pixiv/ui/novel/reader/export/MergedNovelWriter.kt421 y += usedCOMMENT
LOW…main/java/ceui/pixiv/ui/download/DoneListV3Fragment.kt161 // 后用 suspend dao.getAll(...) 拿最新行。COMMENT
LOW…main/java/ceui/pixiv/ui/download/DoneListV3Fragment.kt501 h.author.text = novel?.user?.name?.takeIf { it.isNotBlank() }COMMENT
LOW…in/java/ceui/pixiv/ui/download/ActiveListV3Fragment.kt201 }COMMENT
LOW…va/ceui/pixiv/ui/download/DownloadManagerV3Fragment.kt121 // toolbar 右侧 menu —— 2 个 action 按 tab 分发可见性:COMMENT
LOWapp/src/main/java/ceui/pixiv/cache/ObjectPool.kt221 // 池里的 `is_bookmarked` / `user.is_followed` 只有在**当前用户视角**下才成立:官方列表接口、COMMENT
LOW…/src/main/java/ceui/pixiv/chat/api/ShaftChatGateway.kt121 /**COMMENT
LOW…/src/main/java/ceui/pixiv/chat/api/ShaftChatGateway.kt141 // (manager only subscribes once via its single internal collect).COMMENT
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 val backdateSec = SilentDownload.backdateSeconds()COMMENT
LOW…/java/ceui/pixiv/download/backend/MediaStoreBackend.kt441 // RELATIVE_PATH). Hits in the steady state.COMMENT
LOW…rc/main/java/ceui/pixiv/actions/PixivActionHandlers.kt81internal fun Throwable.toActionOutcome(isOnline: Boolean): ActionOutcome = when (this) {COMMENT
LOW…rc/main/java/ceui/pixiv/actions/PixivActionHandlers.kt101 // 但**只推迟这一条**:refresh token 真的死掉时(改过密码、被撤销),每一条动作COMMENT
LOW…ain/java/ceui/pixiv/db/mirror/BookmarkMirrorService.kt621 }COMMENT
LOWapp/src/main/java/ceui/pixiv/api/Client.kt281 .retryOnConnectionFailure(true)COMMENT
LOWapp/src/main/java/ceui/lisa/core/Manager.java681 + " nonius=" + item.getNonius());COMMENT
LOWapp/src/main/java/ceui/lisa/core/Manager.java1261 // 完成回调保持在 IO 线程(DownloadTask 在 Body 跑完后同线程交付),Gson 序列化 +COMMENT
LOWapp/src/main/java/ceui/lisa/core/Manager.java1301 // 整个 illust 的下载流程卡死。COMMENT
LOWapp/src/main/java/ceui/lisa/core/DownloadItem.java21 private boolean autoSave = true;COMMENT
LOW…src/main/java/ceui/lisa/fragments/FragmentWorkSpace.kt81COMMENT
LOW…src/main/java/ceui/lisa/fragments/FragmentUserRight.kt61 content.add(getString(R.string.string_436)) //相关用户COMMENT
LOWapp/src/main/java/ceui/lisa/fragments/HistoryFeed.kt121 // load 由 FeedViewModel 的 viewModelScope(Main)调起,这里回主线程再喂池,COMMENT
LOWapp/src/main/java/ceui/lisa/fragments/HistoryFeed.kt181 }COMMENT
LOWapp/src/main/java/ceui/lisa/fragments/HistoryFeed.kt361 // 列宽算高,对齐 recy_illust_stagger)。COMMENT
LOWapp/src/main/java/ceui/lisa/fragments/FragmentIllust.kt641 //COMMENT
LOWapp/src/main/java/ceui/lisa/utils/Settings.java161 private boolean isFirebaseEnable = true;COMMENT
LOWapp/src/main/java/ceui/lisa/utils/Settings.java221 //屏蔽 AI 时的强度:0=完全不显示(默认),1=模糊粒子化COMMENT
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…c/main/java/ceui/lisa/activities/TemplateActivity.java121 // callback,AndroidX 就会向 WindowOnBackInvokedDispatcher 注册 OnBackInvokedCallback,COMMENT
LOW…p/src/main/java/ceui/lisa/activities/MainActivity.java361 getDrawer().onTouchEvent(ev);COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java361 // android.widget.Magnifier.getPosition() NPE:读 selectable/editableCOMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java381 // host app 在数据层无法阻止这个框架内部 bug。它会自愈:坏的这帧布局回退后,COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java481 // 突然冒出来。init 自身只有 ~3ms(同步部分只是赋 context + launch)。COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java521COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java701COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java901 // 退回 H1.1 后同款 AIOOBE 仍在线上复现(栈里已经是 Http1ExchangeCodec.writeRequest),COMMENT
LOWapp/src/main/java/ceui/lisa/repo/SearchIllustRepo.kt101 // 改由搜索页按真实 x_restrict 客户端打隐藏标记(ceui.pixiv.ui.search.shouldHideSearchIllust)。COMMENT
LOWapp/src/main/cpp/shaft_image_filter.cpp1// 图片滤镜内核:把 Kotlin 侧采样好的 3D LUT(+ 暗角 + 颗粒)作用到 ARGB_8888 位图上。COMMENT
LOWapp/src/main/cpp/shaft_image_filter.cpp21#include <atomic>COMMENT
2 more matches not shown…
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
Verbosity Indicators4 hits · 8 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
Structural Annotation Overuse4 hits · 8 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
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.kt207 // 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 Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/check_plaza_i18n.py21CODE
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.kt43 "mail_address": "user@example.com",CODE
LOW…test/java/ceui/loxia/UserMigrationCompatibilityTest.kt63 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