🔥 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.
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).
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.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nMain/kotlin/com/ismartcoding/plain/db/DChatChannel.kt | 45 | // ── Helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …in/com/ismartcoding/plain/lib/mdns/MdnsPlatform.ios.kt | 110 | // ── Socket ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …in/com/ismartcoding/plain/lib/mdns/MdnsPlatform.ios.kt | 210 | // ── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt | 17 | // ── normalizeHostname ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt | 40 | // ── interfacesToJoin (incremental multicast membership) ────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt | 54 | // ── nextRetryDelay (exponential backoff) ───────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt | 67 | // ── ipToInt ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsHostResponderTest.kt | 85 | // ── MdnsPacketCodec round-trip ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt | 33 | // ── Query builders ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt | 44 | // ── Browser follow-up round-trip (regression: double-suffixed names) ───── | COMMENT |
| MEDIUM | …om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt | 73 | // ── PTR response round-trip (the discovery path) ────────────────────────── | COMMENT |
| MEDIUM | …om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt | 114 | // ── SRV / TXT / A responses ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt | 187 | // ── Negative cases ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …om/ismartcoding/plain/lib/mdns/MdnsServiceCodecTest.kt | 205 | // ── Name compression in responses ───────────────────────────────────────── | COMMENT |
| MEDIUM | …/ismartcoding/plain/lib/mdns/MdnsServiceBrowserTest.kt | 10 | // ── shouldActivateQuFallback ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/ismartcoding/plain/lib/mdns/MdnsServiceBrowserTest.kt | 26 | // ── QU query wire format ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt | 22 | // ── DatagramSocket loopback delivery (sanity: kernel UDP works) ─────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt | 63 | // ── isMobileDataInterface ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt | 68 | // ── isMdnsInterfaceEligible ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/mdns/MdnsIfaceSelectorTest.kt | 82 | // ── helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt | 430 | // ── Inline-math fallback extractor ────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/extensions/ImageHeaderTest.kt | 10 | // ── getFilenameFromPath (moved from fileNameFromPath) ───────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/extensions/ImageHeaderTest.kt | 23 | // ── isHeifHeader ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …m/ismartcoding/plain/lib/extensions/ImageHeaderTest.kt | 53 | // ── isAnimatedImageOrSvgHeader ──────────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt | 53 | // ── Baseline: naive full decode then createScaledBitmap ────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt | 66 | // ── Our optimised path (density trick + conditional sharpen) ───────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt | 82 | // ── Full pipeline: decode + JPEG encode ────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt | 94 | // ── Disk cache: write then read-back ───────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt | 116 | // ── Correctness: decoded bitmap has correct dimensions ─────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt | 147 | // ── Helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt | 137 | // ── Field arithmetic (radix 2^16, 16 signed limbs) ──────────────────────── | COMMENT |
| MEDIUM | …/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt | 366 | // ── Scalar reduction mod L (512-bit → 256-bit), table-driven ────────────── | COMMENT |
| MEDIUM | …/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt | 481 | // ── Public API ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt | 585 | // ── Key generation ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/com/ismartcoding/plain/crypto/XChaCha20Poly1305.kt | 89 | // ── Poly1305 ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/com/ismartcoding/plain/crypto/XChaCha20Poly1305.kt | 185 | // ── XChaCha20-Poly1305 AEAD ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …lin/com/ismartcoding/plain/crypto/XChaCha20Poly1305.kt | 251 | // ── Internal test helpers ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt | 64 | // ── ECDH P-256 ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt | 102 | // ── Ed25519 ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt | 137 | // ── XChaCha20-Poly1305 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt | 180 | // ── base64 / hex known-answer vectors ───────────────────────────────────── | COMMENT |
| MEDIUM | …com/ismartcoding/plain/crypto/CryptoVectorGenerator.kt | 208 | // ── JSON builder ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …n/com/ismartcoding/plain/crypto/WebCryptoVectorTest.kt | 136 | // ── Vector loading ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/com/ismartcoding/plain/tests/FilePathValidatorTest.kt | 20 | // ── Blank / non-absolute ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/com/ismartcoding/plain/tests/FilePathValidatorTest.kt | 31 | // ── Root / single-component paths ───────────────────────────────────────── | COMMENT |
| MEDIUM | …/com/ismartcoding/plain/tests/FilePathValidatorTest.kt | 43 | // ── Forbidden system prefixes ───────────────────────────────────────────── | COMMENT |
| MEDIUM | …/com/ismartcoding/plain/tests/FilePathValidatorTest.kt | 81 | // ── Path traversal ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/com/ismartcoding/plain/tests/FilePathValidatorTest.kt | 90 | // ── allowedRoots enforcement ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/com/ismartcoding/plain/tests/FilePathValidatorTest.kt | 111 | // ── Valid paths (no allowed-roots restriction) ──────────────────────────── | COMMENT |
| MEDIUM | …/com/ismartcoding/plain/tests/FilePathValidatorTest.kt | 125 | // ── requireAllSafe ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …smartcoding/plain/tests/ScreenMirrorCaptureSizeTest.kt | 10 | // ── compute ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …smartcoding/plain/tests/ScreenMirrorCaptureSizeTest.kt | 91 | // ── maxPixels constraint ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …smartcoding/plain/tests/ScreenMirrorCaptureSizeTest.kt | 153 | // ── alignDown ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt | 25 | // ── Atomic chunk write ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt | 87 | // ── Chunk listing (uploadedChunks query pattern) ────────────────────────── | COMMENT |
| MEDIUM | …kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt | 167 | // ── Merge integrity ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …kotlin/com/ismartcoding/plain/tests/ChunkUploadTest.kt | 292 | // ── Size verification ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/kotlin/com/ismartcoding/plain/tests/H264AnnexBTest.kt | 36 | // ── avccToAnnexB ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/kotlin/com/ismartcoding/plain/tests/H264AnnexBTest.kt | 104 | // ── ensureStartCode ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/kotlin/com/ismartcoding/plain/tests/H264AnnexBTest.kt | 128 | // ── joinSpsPps ────────────────────────────────────────────────────────── | COMMENT |
| 339 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ng/plain/lib/kgraphql/schema/dsl/types/InputTypeDSL.kt | 32 | return com.ismartcoding.plain.lib.kgraphql.schema.model.TypeDef.Input( | CODE |
| CRITICAL | app/src/main/resources/web/assets/swift-DKB6_1j6.js | 1 | function 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.p | CODE |
| CRITICAL | …/main/resources/web/assets/ImageEditorView-DCpbk_LZ.js | 173 | `}function qo(e){return Lt(e,`uboWgsl`,Ko,Ht)}var Jo=class extends Bt{constructor(){super({createUboElements:Go,gen | CODE |
| CRITICAL⚡ | …in/kotlin/com/ismartcoding/plain/MainViewController.kt | 87 | com.ismartcoding.plain.platform.IosPermissionEvents.register() | CODE |
| CRITICAL⚡ | …in/kotlin/com/ismartcoding/plain/MainViewController.kt | 90 | com.ismartcoding.plain.platform.IosFilePickerEvents.register() | CODE |
| CRITICAL⚡ | …in/kotlin/com/ismartcoding/plain/MainViewController.kt | 93 | com.ismartcoding.plain.platform.IosWindowFocusEvents.register() | CODE |
| CRITICAL⚡ | …in/kotlin/com/ismartcoding/plain/MainViewController.kt | 96 | com.ismartcoding.plain.platform.IosNetworkMonitor.init() | CODE |
| CRITICAL | …in/kotlin/com/ismartcoding/plain/MainViewController.kt | 139 | MainScope().launch { com.ismartcoding.plain.enums.Language.initLocaleAsync() } | CODE |
| CRITICAL | …tlin/com/ismartcoding/plain/platform/MediaStore.ios.kt | 61 | com.ismartcoding.plain.httpserver.models.ImageSearchStatus( | CODE |
| CRITICAL | …ain/kotlin/com/ismartcoding/plain/platform/File.ios.kt | 160 | throw com.ismartcoding.plain.lib.kgraphql.GraphQLError("File already exists") | CODE |
| CRITICAL⚡ | …in/com/ismartcoding/plain/lib/kgraphql/KGraphQLTest.kt | 513 | com.ismartcoding.plain.lib.kgraphql.generated.TypeDescriptor( | CODE |
| CRITICAL⚡ | …in/com/ismartcoding/plain/lib/kgraphql/KGraphQLTest.kt | 518 | com.ismartcoding.plain.lib.kgraphql.generated.FieldDescriptor( | CODE |
| CRITICAL⚡ | …in/com/ismartcoding/plain/lib/kgraphql/KGraphQLTest.kt | 523 | com.ismartcoding.plain.lib.kgraphql.generated.FieldDescriptor( | CODE |
| CRITICAL⚡ | …tlin/com/ismartcoding/plain/preferences/Preferences.kt | 124 | TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(keyStr) | CODE |
| CRITICAL⚡ | …tlin/com/ismartcoding/plain/preferences/Preferences.kt | 131 | TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(newKeyStr) | CODE |
| CRITICAL⚡ | …tlin/com/ismartcoding/plain/preferences/Preferences.kt | 134 | TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(keyStr) | CODE |
| CRITICAL⚡ | …tlin/com/ismartcoding/plain/preferences/Preferences.kt | 140 | TempData.urlToken = com.ismartcoding.plain.helpers.Base64Lenient.decode(keyStr) | CODE |
| CRITICAL | …Main/kotlin/com/ismartcoding/plain/events/AppEvents.kt | 168 | com.ismartcoding.plain.platform.MediaDurationFixQueue.start() | CODE |
| CRITICAL | …roidMain/kotlin/com/ismartcoding/plain/MainActivity.kt | 154 | com.ismartcoding.plain.httpserver.models.PomodoroRuntimeInfo( | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 109 | ): List<DImage> = com.ismartcoding.plain.features.media.ImageSearchHelper.searchCombinedAsync( | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 119 | com.ismartcoding.plain.ai.ImageSearchManager.isModelReady() | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 122 | com.ismartcoding.plain.ai.ImageIndexManager.enqueueRemove(ids) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 171 | com.ismartcoding.plain.features.media.ImageSearchHelper.countCombinedAsync( | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 178 | com.ismartcoding.plain.ai.ImageIndexManager.fullScan(force) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 181 | com.ismartcoding.plain.ai.ImageSearchIndexer.cancel() | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 186 | return com.ismartcoding.plain.httpserver.models.ImageSearchStatus( | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 206 | com.ismartcoding.plain.features.sms.SmsConversationHelper.searchConversationsAsync(appContext, query, limit, offset) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 209 | com.ismartcoding.plain.features.sms.SmsConversationHelper.conversationCountAsync(appContext, query) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 212 | com.ismartcoding.plain.features.sms.SmsConversationHelper.getArchivedConversations(appContext) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 215 | com.ismartcoding.plain.features.sms.SmsHelper.countAllAsync(appContext).let { | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 220 | com.ismartcoding.plain.features.sms.SmsHelper.sendText(number, body, subscriptionId) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 223 | com.ismartcoding.plain.features.media.CallMediaStoreHelper.call(appContext, number, showDialer) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 226 | com.ismartcoding.plain.helpers.AppFileStore.resolveUri(uri) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 236 | com.ismartcoding.plain.features.sms.MmsHelper.launchDefaultSmsApp(number, body, attachments) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 249 | com.ismartcoding.plain.features.media.ContactMediaStoreHelper.getByIdAsync(appContext, id) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 252 | com.ismartcoding.plain.features.media.ContactMediaStoreHelper.updateAsync(id, input) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 255 | com.ismartcoding.plain.features.media.ContactMediaStoreHelper.createAsync(input) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 258 | com.ismartcoding.plain.features.media.ContactMediaStoreHelper.deleteByIdsAsync(appContext, ids) | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 294 | com.ismartcoding.plain.ai.ImageSearchManager.enableAsync() | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 298 | com.ismartcoding.plain.ai.ImageSearchManager.disableAsync() | CODE |
| CRITICAL⚡ | …/com/ismartcoding/plain/platform/MediaStore.android.kt | 302 | com.ismartcoding.plain.ai.ImageSearchManager.cancelDownload() | CODE |
| CRITICAL | …in/com/ismartcoding/plain/platform/Launcher.android.kt | 86 | com.ismartcoding.plain.helpers.AppHelper.relaunch(ctx) | CODE |
| CRITICAL | …/ismartcoding/plain/platform/FileInfoLoader.android.kt | 22 | location = com.ismartcoding.plain.httpserver.models.Location(latLong[0], latLong[1]) | CODE |
| CRITICAL | …/com/ismartcoding/plain/platform/FileSystem.android.kt | 220 | com.ismartcoding.plain.helpers.ZipHelper.zip(sourcePaths, targetPath) | CODE |
| CRITICAL | …/com/ismartcoding/plain/platform/FileSystem.android.kt | 223 | com.ismartcoding.plain.helpers.ZipHelper.unzip(File(zipPath), File(destPath)) | CODE |
| CRITICAL | …/kotlin/com/ismartcoding/plain/platform/App.android.kt | 37 | val dir = File(com.ismartcoding.plain.platform.DiskLogFormatStrategy.getLogFolder()) | CODE |
| CRITICAL | …kotlin/com/ismartcoding/plain/platform/File.android.kt | 168 | throw com.ismartcoding.plain.lib.kgraphql.GraphQLError("File already exists") | CODE |
| CRITICAL | …kotlin/com/ismartcoding/plain/httpserver/HttpModule.kt | 84 | val method = HttpMethod(call.request.local.method.value.uppercase()) | CODE |
| CRITICAL | …tlin/com/ismartcoding/plain/httpserver/KtorHttpCall.kt | 126 | applicationCall.respond(io.ktor.server.http.content.LocalFileContent(file, ContentType.parse(contentType))) | CODE |
| CRITICAL | …tlin/com/ismartcoding/plain/httpserver/KtorHttpCall.kt | 128 | applicationCall.respond(io.ktor.server.http.content.LocalFileContent(file)) | CODE |
| CRITICAL | …tlin/com/ismartcoding/plain/httpserver/KtorHttpCall.kt | 173 | applicationCall.respond(io.ktor.server.http.content.LocalFileContent(file)) | CODE |
| CRITICAL | …tlin/com/ismartcoding/plain/workers/FeedFetchWorker.kt | 47 | com.ismartcoding.plain.features.feed.FeedWorkerState.clearAll() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/src/main/resources/web/assets/gherkin-oBAE_ms0.js | 1 | var e={name:`gherkin`,startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,al | CODE |
| MEDIUM | app/src/main/resources/web/assets/dist-MtNP7Hlo.js | 1 | import{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,x | CODE |
| LOW | app/src/main/assets/editor/ace/worker-css.js | 1 | "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)retu | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-html.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-html.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-slim.js | 1 | define("ace/mode/slim_highlight_rules",["require","exports","module","ace/config","ace/lib/oop","ace/mode/text_highlight | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-slim.js | 1 | define("ace/mode/slim_highlight_rules",["require","exports","module","ace/config","ace/lib/oop","ace/mode/text_highlight | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-coldfusion.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-coldfusion.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-rhtml.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-rhtml.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-ejs.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-ejs.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM | …p/src/main/assets/editor/ace/mode-php_laravel_blade.js | 1 | define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules | CODE |
| MEDIUM | …p/src/main/assets/editor/ace/mode-php_laravel_blade.js | 1 | define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-handlebars.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-handlebars.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-curly.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-curly.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-vue.js | 1 | define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(e,t,n | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-nunjucks.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-nunjucks.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-django.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-django.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-velocity.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-velocity.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-visualforce.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-visualforce.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-astro.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-astro.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-erlang.js | 1 | define("ace/mode/erlang_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],fu | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-php.js | 1 | define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-php.js | 1 | define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-luapage.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-luapage.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-liquid.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-liquid.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-latte.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-latte.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-twig.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-twig.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-razor.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-razor.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-soy_template.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-soy_template.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-html_ruby.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-html_ruby.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-markdown.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-markdown.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM⚡ | app/src/main/assets/editor/ace/mode-html_elixir.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM⚡ | app/src/main/assets/editor/ace/mode-html_elixir.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM⚡ | app/src/main/assets/editor/ace/mode-html_elixir.js | 1 | define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highligh | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-smarty.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | app/src/main/assets/editor/ace/mode-smarty.js | 1 | define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rul | CODE |
| MEDIUM | iosApp/iosApp/iosApp.swift | 39 | // the transition is visually seamless (no more white flash). | COMMENT |
| MEDIUM | …smartcoding/plain/lib/markdown/utils/HtmlImgTagTest.kt | 124 | // is robust when handed any node — it returns null rather than | COMMENT |
| MEDIUM | apitest/setup-session.sh | 5 | # wants the apitest harness to authenticate against /graphql. | COMMENT |
| MEDIUM | apitest/setup-session.sh | 17 | # harness can hit POST /graphql with: | COMMENT |
| MEDIUM | apitest/groups/files.sh | 196 | # mergeChunks: we don't actually upload chunks via multipart in the harness. | COMMENT |
| MEDIUM⚡ | apitest/groups/discovery.sh | 11 | # only one test device, the harness verifies the API contract (calls | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …coding/plain/lib/markdown/compose/MarkdownExtension.kt | 101 | // which routes the math through an `InlineTextContent` | COMMENT |
| LOW | …coding/plain/lib/markdown/compose/MarkdownExtension.kt | 141 | // child traversal). Render `<img>` through the same MarkdownImage pipeline as | COMMENT |
| LOW | …ng/plain/lib/markdown/compose/elements/MarkdownText.kt | 401 | if (annotations.isEmpty()) return emptyMap() | COMMENT |
| LOW | …ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt | 281 | val parentType = child.parent?.type | COMMENT |
| LOW | …ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt | 301 | // `RenderMathNode`). | COMMENT |
| LOW | …ing/plain/lib/markdown/annotator/AnnotatedStringKtx.kt | 521 | // source, because entity replacement / link-unrolling may have | COMMENT |
| LOW | iosApp/iosApp/ShareController.swift | 1 | import SwiftUI | COMMENT |
| LOW | iosApp/iosApp/FilePickerController.swift | 1 | import SwiftUI | COMMENT |
| LOW | iosApp/iosApp/SslCertManager.swift | 1 | import Foundation | COMMENT |
| LOW | iosApp/iosApp/SslCertManager.swift | 261 | COMMENT | |
| LOW | …/kotlin/com/ismartcoding/plain/crypto/Ed25519Native.kt | 361 | if (feIsNegative(x) != sign) feSub(x, GF_ZERO, x) | COMMENT |
| LOW | …om/ismartcoding/plain/ui/page/settings/SettingsPage.kt | 141 | // VerticalSpace(dp = 16.dp) | COMMENT |
| LOW | …plain/lib/markdown/compose/elements/MathElementTest.kt | 421 | // Bold covers "Bold prefix " (12 chars) at the start | COMMENT |
| LOW | …oding/plain/chat/peer/transport/aware/AwarePeerLink.kt | 81 | state = LinkState.IDLE | COMMENT |
| LOW | …ismartcoding/plain/platform/CoilImageLoader.android.kt | 101 | // the lazy diskCache / memoryCache initializer lambdas held by RealImageLoader. | COMMENT |
| LOW | …martcoding/plain/lib/apk/struct/xml/XmlNodeStartTag.kt | 1 | package com.ismartcoding.plain.lib.apk.struct.xml | COMMENT |
| LOW | …kotlin/com/ismartcoding/plain/lib/pdfviewer/PDFView.kt | 481 | // As I said in this class javadoc, we can think of this canvas as a huge | COMMENT |
| LOW | apitest/setup-session.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/runner.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/setup.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/chat-messages.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/chat-channels.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/schema.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/files.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/content-provider.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/content-provider.sh | 321 | # Caveats: | COMMENT |
| LOW | apitest/groups/screen-mirror.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/media.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/discovery.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/device-read.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/app-state.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/notes.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | apitest/groups/notes.sh | 41 | adb -s "$ADB_ID" exec-out "run-as com.ismartcoding.plain.debug cat databases/plain.db" > "$DB_PULL" | COMMENT |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …n/resources/web/assets/MarkdownPreviewView-ClNszK5w.js | 9 | This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox j | CODE |
| LOW | …n/resources/web/assets/MarkdownPreviewView-ClNszK5w.js | 9 | This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox j | CODE |
| LOW | app/src/main/assets/editor/ace/ext-prompt.js | 1 | define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/e | CODE |
| LOW | …artcoding/plain/lib/readability4j/Readability4JTest.kt | 25 | <meta name="author" content="Jane Doe" /> | CODE |
| LOW | …artcoding/plain/lib/readability4j/Readability4JTest.kt | 127 | assertEquals("Jane Doe", article.byline) | STRING |
| LOW | …ing/plain/ui/page/settings/MarkdownThemePreviewPage.kt | 26 | This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox j | CODE |
| LOW | …ing/plain/ui/page/settings/MarkdownThemePreviewPage.kt | 26 | This is a regular paragraph with some content. It demonstrates the unified markdown reading theme. The quick brown fox j | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/src/main/assets/editor/ace/snippets/java.js | 1 | define("ace/snippets/java.snippets",["require","exports","module"],function(e,t,n){n.exports='## Access Modifiers\nsnipp | CODE |
| MEDIUM | app/src/main/assets/editor/ace/snippets/wollok.js | 1 | define("ace/snippets/wollok.snippets",["require","exports","module"],function(e,t,n){n.exports='##\n## Basic Java packag | CODE |
| MEDIUM | app/src/main/assets/editor/ace/snippets/edifact.js | 1 | define("ace/snippets/edifact.snippets",["require","exports","module"],function(e,t,n){n.exports='## Access Modifiers\nsn | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/delete-translation-key.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/remove_string_key_all.sh | 3 | # Usage: | COMMENT |
| LOW | scripts/build-ios-release.sh | 5 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/src/main/assets/editor/ace/worker-css.js | 1 | "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)retu | CODE |
| MEDIUM | .github/workflows/codeql.yml | 62 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test_thumbnail_exif.py | 18 | CODE | |
| LOW | scripts/test_thumbnail_exif.py | 20 | CODE | |
| LOW | scripts/test_clip_pipeline.py | 19 | CODE | |
| LOW | scripts/migrate_strings_to_kmp.py | 16 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/dedup_lib_imports.py | 38 | CODE | |
| LOW | scripts/test_thumbnail_exif.py | 36 | CODE | |
| LOW | scripts/test_thumbnail_exif.py | 156 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test_thumbnail_exif.py | 105 | except Exception: | CODE |
| LOW | scripts/test_thumbnail_exif.py | 173 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/ismartcoding/plain/lib/apk/cert/asn1/Asn1BerParser.kt | 244 | // NOTE: This method returns List rather than Set because ASN.1 SET_OF does require uniqueness | COMMENT |