AI Slop Code RIsk Monitor

CeuiLiSA/Pixiv-Shaft

Pixiv第三方Android客户端

6.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for CeuiLiSA/Pixiv-Shaft, a Kotlin project with 8,057 GitHub stars. SynthScan examined 379,878 lines of code across 2575 source files, recording 582 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 6.7 (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.7
Adjusted Signal
6.7
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
8.1K
Stars
Kotlin
Language
379.9K
Lines of Code
2.6K
Files
582
Pattern Hits
2026-10-12
Scan Date
0.04
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 1.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 15.7/100 · LOW

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

Agent Over-Engineering Ratio 14.1/100 · LOW

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

PR Review Velocity Impact 26.9/100 · MEDIUM

Which changes need focused human review? 582 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 110HIGH 4MEDIUM 393LOW 75

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 582 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 Indicators110 hits · 1285 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.kt155 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.kt327 addView(duration.apply { maxLines = 1 }, com.google.android.flexbox.FlexboxLayout.LayoutParams(-2, -2).applyCODE
CRITICAL…va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt1256 val charIndex = ceui.pixiv.ui.novel.reader.paginate.ContentParser.resolveJumpTarget(toks, target)CODE
CRITICAL…va/ceui/pixiv/ui/novel/reader/NovelReaderV3Fragment.kt1583 return ceui.pixiv.ui.novel.local.LocalLibraryStore.novelIdFor(localKey)CODE
CRITICAL…a/ceui/pixiv/ui/novel/reader/NovelReaderV3ViewModel.kt209 val text = ceui.pixiv.ui.novel.local.TextDecoder.decode(bytes)CODE
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.java113 ceui.pixiv.ui.settings.WitDialogGallery.showWit(mContext));CODE
CRITICAL…/ceui/lisa/fragments/FragmentSettingsExperimental.java164 ceui.pixiv.ui.debug.DebugMirrorBannerTrigger.show(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.java284 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.java866 if (ceui.pixiv.i18n.AppLocales.INSTANCE.isFollowingSystem()) {CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java869 Locale loc = ceui.pixiv.i18n.AppLocales.INSTANCE.currentLocale();CODE
CRITICAL⚡…va/ceui/lisa/fragments/FragmentSettingsAppearance.java870 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
CRITICAL…ain/java/ceui/lisa/fragments/FragmentSettingsData.java540 ceui.pixiv.db.bulkclean.BulkDownloadCacheCleaner.wipe(appCtx);CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsViewing.java206 if (ceui.pixiv.ui.interpolate.RifePrefs.isEnabled()CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsViewing.java207 && !ceui.pixiv.ui.interpolate.RifeInterpolator.INSTANCE.isAvailable(mContext)) {CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsViewing.java210 baseBind.ugoiraRifeEnable.setChecked(ceui.pixiv.ui.interpolate.RifePrefs.isEnabled());CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsViewing.java220 if (isChecked && !ceui.pixiv.ui.interpolate.RifeInterpolator.INSTANCE.isAvailable(mContext)) {CODE
CRITICAL⚡…/java/ceui/lisa/fragments/FragmentSettingsViewing.java226 intent.putExtra("rife_model_name", ceui.pixiv.ui.interpolate.RifeModel.RIFE_V4_6.name());CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsViewing.java622 if (ceui.pixiv.ui.interpolate.RifeInterpolator.INSTANCE.isAvailable(mContext)) {CODE
CRITICAL…/java/ceui/lisa/fragments/FragmentSettingsViewing.java641 ceui.pixiv.ui.interpolate.RifePrefs.setEnabled(enabled);CODE
50 more matches not shown…
Decorative Section Separators390 hits · 1152 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.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…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
330 more matches not shown…
Over-Commented Block52 hits · 50 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…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…c/main/java/ceui/pixiv/ui/bulk/QueueDownloadManager.kt741 // ugoira 走独立管线(getGifPackage → zip → 解压 → encodeGif → 写用户目录),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 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.kt361 // 而 GlideUrl.equals() 要求 headers 也相等才算「同一请求」——这里的 headers 又是个COMMENT
LOW…rc/main/java/ceui/pixiv/ui/common/NovelFeedFragment.kt401 // clickable 复位回 false,view 会继续吃掉触摸事件又什么都不做,root 的 unmuteOrCOMMENT
LOW…ain/java/ceui/pixiv/ui/novel/reader/render/PageView.kt161COMMENT
LOW…ceui/pixiv/ui/novel/reader/export/MergedNovelWriter.kt421 }COMMENT
LOW…in/java/ceui/pixiv/ui/download/ActiveListV3Fragment.kt181 }COMMENT
LOW…in/java/ceui/pixiv/ui/download/ActiveListV3Fragment.kt201 // 用户清完仍有 ugoira 正在跑、跑完还往用户图库写 GIF(违反"全清")COMMENT
LOW…va/ceui/pixiv/ui/download/DownloadManagerV3Fragment.kt121 TabLayoutMediator(tabs!!, pager) { tab, pos ->COMMENT
LOW…/src/main/java/ceui/pixiv/chat/api/ShaftChatGateway.kt121 * and connecting still wait for EventReporter.start and the login signal.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.kt81 retryAfterMs = retryAfterMs(),COMMENT
LOW…rc/main/java/ceui/pixiv/actions/PixivActionHandlers.kt101 400, 401 -> ActionOutcome.Retry(cause = this, scope = RetryScope.ACTION)COMMENT
LOW…ain/java/ceui/pixiv/db/mirror/BookmarkMirrorService.kt561 // ⚠️ 请求回来之后(**无论成败**)必须重新确认这一轮还算数。COMMENT
LOWapp/src/main/java/ceui/pixiv/api/Client.kt261 .connectTimeout(6, TimeUnit.SECONDS)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.kt181 } else {COMMENT
LOWapp/src/main/java/ceui/lisa/fragments/HistoryFeed.kt361COMMENT
LOWapp/src/main/java/ceui/lisa/utils/Settings.java161 private boolean isFirebaseEnable = true;COMMENT
LOWapp/src/main/java/ceui/lisa/utils/Settings.java241 private int imageHostMode = 0;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 把全 app 几乎所有页面的预测式返回都掐死了。COMMENT
LOW…p/src/main/java/ceui/lisa/activities/UserActivityV3.kt81 private lateinit var mUserViewModel: UserViewModelCOMMENT
LOW…p/src/main/java/ceui/lisa/activities/MainActivity.java261 @OverrideCOMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java281 // 更新(走主线程 Handler 回调,正是本处重入的 Looper.loop)就在 getPosition()COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java301 // RecyclerView 帧,绝不会吞掉应用自己抛的 IndexOutOfBoundsException。COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java421 // “这幅画下过没” 从 illustGson blob 全表 LIKE 扫描(2GB+ 卡)转成走索引。COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java621 }COMMENT
LOWapp/src/main/java/ceui/lisa/activities/Shaft.java821 // 必须是 network interceptor,且要挂在最外层才能连进度追踪自己的 body 包装一起盖住COMMENT
LOWapp/src/main/java/ceui/lisa/repo/SearchIllustRepo.kt101 // 改由 FilterMapper.setSearchR18Restriction 按真实 x_restrict 客户端过滤(见 update())。COMMENT
LOW.claude/skills/divebug/statusline.sh1#!/usr/bin/env bashCOMMENT
LOWfeeds/src/main/java/ceui/pixiv/feeds/FeedFragment.kt141 // 下拉刷新转圈 + 空态插画共用一份宿主配色(见 [FeedHost.theme])。切主题/日夜都会重建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
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