Repository Analysis

plainhub/plain-app

🔥 PlainApp is an open-source app that lets you securely manage your phone from a web browser. Access files, media, contacts, SMS, calls, and more through a simple, easy-to-use interface on your desktop.

9.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of plainhub/plain-app, a Kotlin project with 6,602 GitHub stars. SynthScan v2.0 examined 233,093 lines of code across 3312 source files, recording 571 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 9.3 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).

9.3
Adjusted Score
9.3
Raw Score
100%
Time Factor
2026-08-29
Last Push
6.6K
Stars
Kotlin
Language
233.1K
Lines of Code
3.3K
Files
571
Pattern Hits
2026-08-29
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 52HIGH 0MEDIUM 463LOW 56

Directory Score Breakdown

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

Pattern Findings

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

Decorative Section Separators399 hits · 1312 pts
SeverityFileLineSnippetContext
MEDIUM…nMain/kotlin/com/ismartcoding/plain/db/DChatChannel.kt45 // ── Helpers ─────────────────────────────────────────────────────COMMENT
MEDIUM…in/com/ismartcoding/plain/lib/mdns/MdnsPlatform.ios.kt110// ── Socket ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…in/com/ismartcoding/plain/lib/mdns/MdnsPlatform.ios.kt210// ── Helpers ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt17 // ── normalizeHostname ─────────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt40 // ── interfacesToJoin (incremental multicast membership) ──────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt54 // ── nextRetryDelay (exponential backoff) ─────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt67 // ── ipToInt ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt85 // ── MdnsPacketCodec round-trip ────────────────────────────────────────────COMMENT
MEDIUM…om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt33 // ── Query builders ────────────────────────────────────────────────────────COMMENT
MEDIUM…om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt44 // ── Browser follow-up round-trip (regression: double-suffixed names) ─────COMMENT
MEDIUM…om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt73 // ── PTR response round-trip (the discovery path) ──────────────────────────COMMENT
MEDIUM…om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt114 // ── SRV / TXT / A responses ───────────────────────────────────────────────COMMENT
MEDIUM…om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt187 // ── Negative cases ────────────────────────────────────────────────────────COMMENT
MEDIUM…om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt205 // ── Name compression in responses ─────────────────────────────────────────COMMENT
MEDIUM…/ismartcoding/plain/lib/mdns/MdnsServiceBrowserTest.kt10 // ── shouldActivateQuFallback ──────────────────────────────────────────────COMMENT
MEDIUM…/ismartcoding/plain/lib/mdns/MdnsServiceBrowserTest.kt26 // ── QU query wire format ──────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt22 // ── DatagramSocket loopback delivery (sanity: kernel UDP works) ───────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt63 // ── isMobileDataInterface ─────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt68 // ── isMdnsInterfaceEligible ─────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt82 // ── helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt430// ── Inline-math fallback extractor ──────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/extensions/ImageHeaderTest.kt10 // ── getFilenameFromPath (moved from fileNameFromPath) ─────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/extensions/ImageHeaderTest.kt23 // ── isHeifHeader ───────────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/lib/extensions/ImageHeaderTest.kt53 // ── isAnimatedImageOrSvgHeader ────────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt53 // ── Baseline: naive full decode then createScaledBitmap ──────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt66 // ── Our optimised path (density trick + conditional sharpen) ─────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt82 // ── Full pipeline: decode + JPEG encode ──────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt94 // ── Disk cache: write then read-back ─────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt116 // ── Correctness: decoded bitmap has correct dimensions ───────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt147 // ── Helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt137// ── Field arithmetic (radix 2^16, 16 signed limbs) ────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt366// ── Scalar reduction mod L (512-bit → 256-bit), table-driven ──────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt481// ── Public API ────────────────────────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt585// ── Key generation ────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/com/ismartcoding/plain/crypto/XChaCha20Poly1305.kt89// ── Poly1305 ──────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/com/ismartcoding/plain/crypto/XChaCha20Poly1305.kt185// ── XChaCha20-Poly1305 AEAD ────────────────────────────────────────────COMMENT
MEDIUM…lin/com/ismartcoding/plain/crypto/XChaCha20Poly1305.kt251// ── Internal test helpers ─────────────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt64 // ── ECDH P-256 ────────────────────────────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt102 // ── Ed25519 ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt137 // ── XChaCha20-Poly1305 ────────────────────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt180 // ── base64 / hex known-answer vectors ─────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt208 // ── JSON builder ──────────────────────────────────────────────────────────COMMENT
MEDIUM…n/com/ismartcoding/plain/crypto/WebCryptoVectorTest.kt136 // ── Vector loading ─────────────────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/FilePathValidatorTest.kt20 // ── Blank / non-absolute ──────────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/FilePathValidatorTest.kt31 // ── Root / single-component paths ─────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/FilePathValidatorTest.kt43 // ── Forbidden system prefixes ─────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/FilePathValidatorTest.kt81 // ── Path traversal ────────────────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/FilePathValidatorTest.kt90 // ── allowedRoots enforcement ──────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/FilePathValidatorTest.kt111 // ── Valid paths (no allowed-roots restriction) ────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/FilePathValidatorTest.kt125 // ── requireAllSafe ────────────────────────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/tests/ScreenMirrorCaptureSizeTest.kt10 // ── compute ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/tests/ScreenMirrorCaptureSizeTest.kt91 // ── maxPixels constraint ─────────────────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/tests/ScreenMirrorCaptureSizeTest.kt153 // ── alignDown ────────────────────────────────────────────────────────────COMMENT
MEDIUM…kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt25 // ── Atomic chunk write ────────────────────────────────────────────────────COMMENT
MEDIUM…kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt87 // ── Chunk listing (uploadedChunks query pattern) ──────────────────────────COMMENT
MEDIUM…kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt167 // ── Merge integrity ───────────────────────────────────────────────────────COMMENT
MEDIUM…kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt292 // ── Size verification ─────────────────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/tests/H264AnnexBTest.kt36 // ── avccToAnnexB ─────────────────────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/tests/H264AnnexBTest.kt104 // ── ensureStartCode ──────────────────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/tests/H264AnnexBTest.kt128 // ── joinSpsPps ──────────────────────────────────────────────────────────COMMENT
339 more matches not shown…
Hallucination Indicators52 hits · 670 pts
SeverityFileLineSnippetContext
CRITICAL…ng/plain/lib/kgraphql/schema/dsl/types/InputTypeDSL.kt32 return com.ismartcoding.plain.lib.kgraphql.schema.model.TypeDef.Input(CODE
CRITICALapp/src/main/resources/web/assets/swift-DKB6_1j6.js1function e(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var t=e(`_.var.let.actor.class.enum.extension.import.pCODE
CRITICAL…/main/resources/web/assets/ImageEditorView-DCpbk_LZ.js173 `}function qo(e){return Lt(e,`uboWgsl`,Ko,Ht)}var Jo=class extends Bt{constructor(){super({createUboElements:Go,genCODE
CRITICAL…in/kotlin/com/ismartcoding/plain/MainViewController.kt87 com.ismartcoding.plain.platform.IosPermissionEvents.register()CODE
CRITICAL…in/kotlin/com/ismartcoding/plain/MainViewController.kt90 com.ismartcoding.plain.platform.IosFilePickerEvents.register()CODE
CRITICAL…in/kotlin/com/ismartcoding/plain/MainViewController.kt93 com.ismartcoding.plain.platform.IosWindowFocusEvents.register()CODE
CRITICAL…in/kotlin/com/ismartcoding/plain/MainViewController.kt96 com.ismartcoding.plain.platform.IosNetworkMonitor.init()CODE
CRITICAL…in/kotlin/com/ismartcoding/plain/MainViewController.kt139 MainScope().launch { com.ismartcoding.plain.enums.Language.initLocaleAsync() }CODE
CRITICAL…tlin/com/ismartcoding/plain/platform/MediaStore.ios.kt61 com.ismartcoding.plain.httpserver.models.ImageSearchStatus(CODE
CRITICAL…ain/kotlin/com/ismartcoding/plain/platform/File.ios.kt160 throw com.ismartcoding.plain.lib.kgraphql.GraphQLError("File already exists")CODE
CRITICAL…in/com/ismartcoding/plain/lib/kgraphql/KGraphQLTest.kt513 com.ismartcoding.plain.lib.kgraphql.generated.TypeDescriptor(CODE
CRITICAL…in/com/ismartcoding/plain/lib/kgraphql/KGraphQLTest.kt518 com.ismartcoding.plain.lib.kgraphql.generated.FieldDescriptor(CODE
CRITICAL…in/com/ismartcoding/plain/lib/kgraphql/KGraphQLTest.kt523 com.ismartcoding.plain.lib.kgraphql.generated.FieldDescriptor(CODE
CRITICAL…tlin/com/ismartcoding/plain/preferences/Preferences.kt124 TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(keyStr)CODE
CRITICAL…tlin/com/ismartcoding/plain/preferences/Preferences.kt131 TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(newKeyStr)CODE
CRITICAL…tlin/com/ismartcoding/plain/preferences/Preferences.kt134 TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(keyStr)CODE
CRITICAL…tlin/com/ismartcoding/plain/preferences/Preferences.kt140 TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(keyStr)CODE
CRITICAL…Main/kotlin/com/ismartcoding/plain/events/AppEvents.kt168 com.ismartcoding.plain.platform.MediaDurationFixQueue.start()CODE
CRITICAL…roidMain/kotlin/com/ismartcoding/plain/MainActivity.kt154 com.ismartcoding.plain.httpserver.models.PomodoroRuntimeInfo(CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt109): List<DImage> = com.ismartcoding.plain.features.media.ImageSearchHelper.searchCombinedAsync(CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt119 com.ismartcoding.plain.ai.ImageSearchManager.isModelReady()CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt122 com.ismartcoding.plain.ai.ImageIndexManager.enqueueRemove(ids)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt171 com.ismartcoding.plain.features.media.ImageSearchHelper.countCombinedAsync(CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt178 com.ismartcoding.plain.ai.ImageIndexManager.fullScan(force)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt181 com.ismartcoding.plain.ai.ImageSearchIndexer.cancel()CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt186 return com.ismartcoding.plain.httpserver.models.ImageSearchStatus(CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt206 com.ismartcoding.plain.features.sms.SmsConversationHelper.searchConversationsAsync(appContext, query, limit, offset)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt209 com.ismartcoding.plain.features.sms.SmsConversationHelper.conversationCountAsync(appContext, query)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt212 com.ismartcoding.plain.features.sms.SmsConversationHelper.getArchivedConversations(appContext)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt215 com.ismartcoding.plain.features.sms.SmsHelper.countAllAsync(appContext).let {CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt220 com.ismartcoding.plain.features.sms.SmsHelper.sendText(number, body, subscriptionId)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt223 com.ismartcoding.plain.features.media.CallMediaStoreHelper.call(appContext, number, showDialer)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt226 com.ismartcoding.plain.helpers.AppFileStore.resolveUri(uri)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt236 com.ismartcoding.plain.features.sms.MmsHelper.launchDefaultSmsApp(number, body, attachments)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt249 com.ismartcoding.plain.features.media.ContactMediaStoreHelper.getByIdAsync(appContext, id)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt252 com.ismartcoding.plain.features.media.ContactMediaStoreHelper.updateAsync(id, input)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt255 com.ismartcoding.plain.features.media.ContactMediaStoreHelper.createAsync(input)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt258 com.ismartcoding.plain.features.media.ContactMediaStoreHelper.deleteByIdsAsync(appContext, ids)CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt294 com.ismartcoding.plain.ai.ImageSearchManager.enableAsync()CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt298 com.ismartcoding.plain.ai.ImageSearchManager.disableAsync()CODE
CRITICAL…/com/ismartcoding/plain/platform/MediaStore.android.kt302 com.ismartcoding.plain.ai.ImageSearchManager.cancelDownload()CODE
CRITICAL…in/com/ismartcoding/plain/platform/Launcher.android.kt86 com.ismartcoding.plain.helpers.AppHelper.relaunch(ctx)CODE
CRITICAL…/ismartcoding/plain/platform/FileInfoLoader.android.kt22 location = com.ismartcoding.plain.httpserver.models.Location(latLong[0], latLong[1])CODE
CRITICAL…/com/ismartcoding/plain/platform/FileSystem.android.kt220 com.ismartcoding.plain.helpers.ZipHelper.zip(sourcePaths, targetPath)CODE
CRITICAL…/com/ismartcoding/plain/platform/FileSystem.android.kt223 com.ismartcoding.plain.helpers.ZipHelper.unzip(File(zipPath), File(destPath))CODE
CRITICAL…/kotlin/com/ismartcoding/plain/platform/App.android.kt37 val dir = File(com.ismartcoding.plain.platform.DiskLogFormatStrategy.getLogFolder())CODE
CRITICAL…kotlin/com/ismartcoding/plain/platform/File.android.kt168 throw com.ismartcoding.plain.lib.kgraphql.GraphQLError("File already exists")CODE
CRITICAL…kotlin/com/ismartcoding/plain/httpserver/HttpModule.kt84 val method = HttpMethod(call.request.local.method.value.uppercase())CODE
CRITICAL…tlin/com/ismartcoding/plain/httpserver/KtorHttpCall.kt126 applicationCall.respond(io.ktor.server.http.content.LocalFileContent(file, ContentType.parse(contentType)))CODE
CRITICAL…tlin/com/ismartcoding/plain/httpserver/KtorHttpCall.kt128 applicationCall.respond(io.ktor.server.http.content.LocalFileContent(file))CODE
CRITICAL…tlin/com/ismartcoding/plain/httpserver/KtorHttpCall.kt173 applicationCall.respond(io.ktor.server.http.content.LocalFileContent(file))CODE
CRITICAL…tlin/com/ismartcoding/plain/workers/FeedFetchWorker.kt47 com.ismartcoding.plain.features.feed.FeedWorkerState.clearAll()CODE
AI Slop Vocabulary61 hits · 132 pts
SeverityFileLineSnippetContext
MEDIUMapp/src/main/resources/web/assets/gherkin-oBAE_ms0.js1var e={name:`gherkin`,startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,alCODE
MEDIUMapp/src/main/resources/web/assets/dist-MtNP7Hlo.js1import{n as e}from"./chunk-aKtaBQYM.js";import{$ as t,F as n,M as r,Tt as i,_ as a,j as o,k as s,o as c,r as l,u as ee,xCODE
LOWapp/src/main/assets/editor/ace/worker-css.js1"no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)retuCODE
MEDIUMapp/src/main/assets/editor/ace/mode-html.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-html.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-slim.js1define("ace/mode/slim_highlight_rules",["require","exports","module","ace/config","ace/lib/oop","ace/mode/text_highlightCODE
MEDIUMapp/src/main/assets/editor/ace/mode-slim.js1define("ace/mode/slim_highlight_rules",["require","exports","module","ace/config","ace/lib/oop","ace/mode/text_highlightCODE
MEDIUMapp/src/main/assets/editor/ace/mode-coldfusion.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-coldfusion.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-rhtml.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-rhtml.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-ejs.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-ejs.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUM…p/src/main/assets/editor/ace/mode-php_laravel_blade.js1define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulesCODE
MEDIUM…p/src/main/assets/editor/ace/mode-php_laravel_blade.js1define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulesCODE
MEDIUMapp/src/main/assets/editor/ace/mode-handlebars.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-handlebars.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-curly.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-curly.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-vue.js1define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(e,t,nCODE
MEDIUMapp/src/main/assets/editor/ace/mode-nunjucks.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-nunjucks.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-django.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-django.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-velocity.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-velocity.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-visualforce.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-visualforce.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-astro.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-astro.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-erlang.js1define("ace/mode/erlang_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],fuCODE
MEDIUMapp/src/main/assets/editor/ace/mode-php.js1define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulesCODE
MEDIUMapp/src/main/assets/editor/ace/mode-php.js1define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulesCODE
MEDIUMapp/src/main/assets/editor/ace/mode-luapage.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-luapage.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-liquid.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-liquid.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-latte.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-latte.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-twig.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-twig.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-razor.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-razor.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-soy_template.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-soy_template.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-html_ruby.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-html_ruby.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-markdown.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-markdown.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-html_elixir.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-html_elixir.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-html_elixir.js1define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlighCODE
MEDIUMapp/src/main/assets/editor/ace/mode-smarty.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMapp/src/main/assets/editor/ace/mode-smarty.js1define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rulCODE
MEDIUMiosApp/iosApp/iosApp.swift39 // the transition is visually seamless (no more white flash).COMMENT
MEDIUM…smartcoding/plain/lib/markdown/utils/HtmlImgTagTest.kt124 // is robust when handed any node — it returns null rather thanCOMMENT
MEDIUMapitest/setup-session.sh5# wants the apitest harness to authenticate against /graphql.COMMENT
MEDIUMapitest/setup-session.sh17# harness can hit POST /graphql with:COMMENT
MEDIUMapitest/groups/files.sh196 # mergeChunks: we don't actually upload chunks via multipart in the harness.COMMENT
MEDIUMapitest/groups/discovery.sh11# only one test device, the harness verifies the API contract (callsCOMMENT
1 more matches not shown…
Over-Commented Block34 hits · 32 pts
SeverityFileLineSnippetContext
LOW…coding/plain/lib/markdown/compose/MarkdownExtension.kt101 // which routes the math through an `InlineTextContent`COMMENT
LOW…coding/plain/lib/markdown/compose/MarkdownExtension.kt141 // child traversal). Render `<img>` through the same MarkdownImage pipeline asCOMMENT
LOW…ng/plain/lib/markdown/compose/elements/MarkdownText.kt401 if (annotations.isEmpty()) return emptyMap()COMMENT
LOW…ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt281 val parentType = child.parent?.typeCOMMENT
LOW…ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt301 // `RenderMathNode`).COMMENT
LOW…ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt521 // source, because entity replacement / link-unrolling may haveCOMMENT
LOWiosApp/iosApp/ShareController.swift1import SwiftUICOMMENT
LOWiosApp/iosApp/FilePickerController.swift1import SwiftUICOMMENT
LOWiosApp/iosApp/SslCertManager.swift1import FoundationCOMMENT
LOWiosApp/iosApp/SslCertManager.swift261COMMENT
LOW…/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt361 if (feIsNegative(x) != sign) feSub(x, GF_ZERO, x)COMMENT
LOW…om/ismartcoding/plain/ui/page/settings/SettingsPage.kt141// VerticalSpace(dp = 16.dp)COMMENT
LOW…plain/lib/markdown/compose/elements/MathElementTest.kt421 // Bold covers "Bold prefix " (12 chars) at the startCOMMENT
LOW…oding/plain/chat/peer/transport/aware/AwarePeerLink.kt81 state = LinkState.IDLECOMMENT
LOW…ismartcoding/plain/platform/CoilImageLoader.android.kt101 // the lazy diskCache / memoryCache initializer lambdas held by RealImageLoader.COMMENT
LOW…martcoding/plain/lib/apk/struct/xml/XmlNodeStartTag.kt1package com.ismartcoding.plain.lib.apk.struct.xmlCOMMENT
LOW…kotlin/com/ismartcoding/plain/lib/pdfviewer/PDFView.kt481 // As I said in this class javadoc, we can think of this canvas as a hugeCOMMENT
LOWapitest/setup-session.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/runner.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/setup.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/chat-messages.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/chat-channels.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/schema.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/files.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/content-provider.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/content-provider.sh321# Caveats:COMMENT
LOWapitest/groups/screen-mirror.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/media.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/discovery.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/device-read.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/app-state.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/notes.sh1#!/usr/bin/env bashCOMMENT
LOWapitest/groups/notes.sh41 adb -s "$ADB_ID" exec-out "run-as com.ismartcoding.plain.debug cat databases/plain.db" > "$DB_PULL"COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
Fake / Example Data7 hits · 6 pts
SeverityFileLineSnippetContext
LOW…n/resources/web/assets/MarkdownPreviewView-ClNszK5w.js9This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox jCODE
LOW…n/resources/web/assets/MarkdownPreviewView-ClNszK5w.js9This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox jCODE
LOWapp/src/main/assets/editor/ace/ext-prompt.js1define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/eCODE
LOW…artcoding/plain/lib/readability4j/Readability4JTest.kt25 <meta name="author" content="Jane Doe" />CODE
LOW…artcoding/plain/lib/readability4j/Readability4JTest.kt127 assertEquals("Jane Doe", article.byline)STRING
LOW…ing/plain/ui/page/settings/MarkdownThemePreviewPage.kt26This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox jCODE
LOW…ing/plain/ui/page/settings/MarkdownThemePreviewPage.kt26This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox jCODE
Self-Referential Comments3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMapp/src/main/assets/editor/ace/snippets/java.js1define("ace/snippets/java.snippets",["require","exports","module"],function(e,t,n){n.exports='## Access Modifiers\nsnippCODE
MEDIUMapp/src/main/assets/editor/ace/snippets/wollok.js1define("ace/snippets/wollok.snippets",["require","exports","module"],function(e,t,n){n.exports='##\n## Basic Java packagCODE
MEDIUMapp/src/main/assets/editor/ace/snippets/edifact.js1define("ace/snippets/edifact.snippets",["require","exports","module"],function(e,t,n){n.exports='## Access Modifiers\nsnCODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/delete-translation-key.sh5# Usage:COMMENT
LOWscripts/remove_string_key_all.sh3# Usage:COMMENT
LOWscripts/build-ios-release.sh5# Usage:COMMENT
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
LOWapp/src/main/assets/editor/ace/worker-css.js1"no use strict";!function(e){function t(e,t){var n=e,r="";while(n){var i=t[n];if(typeof i=="string")return i+r;if(i)retuCODE
MEDIUM.github/workflows/codeql.yml62 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/test_thumbnail_exif.py18CODE
LOWscripts/test_thumbnail_exif.py20CODE
LOWscripts/test_clip_pipeline.py19CODE
LOWscripts/migrate_strings_to_kmp.py16CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/dedup_lib_imports.py38CODE
LOWscripts/test_thumbnail_exif.py36CODE
LOWscripts/test_thumbnail_exif.py156CODE
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/test_thumbnail_exif.py105 except Exception:CODE
LOWscripts/test_thumbnail_exif.py173 except Exception:CODE
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/ismartcoding/plain/lib/apk/cert/asn1/Asn1BerParser.kt244 // NOTE: This method returns List rather than Set because ASN.1 SET_OF does require uniquenessCOMMENT