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.

6.4 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,051 GitHub stars. SynthScan v2.0 examined 196,296 lines of code across 2829 source files, recording 409 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 6.4 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).

6.4
Adjusted Score
6.4
Raw Score
100%
Time Factor
2026-07-12
Last Push
6.1K
Stars
Kotlin
Language
196.3K
Lines of Code
2.8K
Files
409
Pattern Hits
2026-07-14
Scan Date
0.00
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 8HIGH 0MEDIUM 343LOW 58

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 409 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators280 hits · 976 pts
SeverityFileLineSnippetContext
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt50 // ── Baseline: naive full decode then createScaledBitmap ──────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt63 // ── Our optimised path (density trick + conditional sharpen) ─────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt79 // ── Full pipeline: decode + JPEG encode ──────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt91 // ── Disk cache: write then read-back ─────────────────────────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt113 // ── Correctness: decoded bitmap has correct dimensions ───────────────────COMMENT
MEDIUM…com/ismartcoding/plain/tests/ThumbnailBenchmarkTest.kt144 // ── Helpers ───────────────────────────────────────────────────────────────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…/com/ismartcoding/plain/tests/MdnsHostResponderTest.kt19 // ── normalizeHostname ─────────────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/MdnsHostResponderTest.kt42 // ── ipToInt ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/MdnsHostResponderTest.kt62 // ── MdnsPacketCodec round-trip ────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/MdnsHostResponderTest.kt126 // ── extractInet4Address ───────────────────────────────────────────────────COMMENT
MEDIUM…t/java/com/ismartcoding/plain/tests/ChunkUploadTest.kt25 // ── Atomic chunk write ────────────────────────────────────────────────────COMMENT
MEDIUM…t/java/com/ismartcoding/plain/tests/ChunkUploadTest.kt87 // ── Chunk listing (uploadedChunks query pattern) ──────────────────────────COMMENT
MEDIUM…t/java/com/ismartcoding/plain/tests/ChunkUploadTest.kt167 // ── Merge integrity ───────────────────────────────────────────────────────COMMENT
MEDIUM…t/java/com/ismartcoding/plain/tests/ChunkUploadTest.kt292 // ── Size verification ─────────────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/MdnsIfaceSelectorTest.kt21 // ── DatagramSocket loopback delivery (sanity: kernel UDP works) ───────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/MdnsIfaceSelectorTest.kt62 // ── isMobileDataInterface ─────────────────────────────────────────────────COMMENT
MEDIUM…/com/ismartcoding/plain/tests/MdnsIfaceSelectorTest.kt67 // ── helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…st/java/com/ismartcoding/plain/tests/H264AnnexBTest.kt36 // ── avccToAnnexB ─────────────────────────────────────────────────────────COMMENT
MEDIUM…st/java/com/ismartcoding/plain/tests/H264AnnexBTest.kt79 // ── ensureStartCode ──────────────────────────────────────────────────────COMMENT
MEDIUM…st/java/com/ismartcoding/plain/tests/H264AnnexBTest.kt103 // ── joinSpsPps ──────────────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/preferences/AndroidPreferences.kt78// ── UrlTokenPreference ───────────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/preferences/AndroidPreferences.kt104// ── ClientIdPreference ───────────────────────────────────────────────────────COMMENT
MEDIUM…m/ismartcoding/plain/preferences/AndroidPreferences.kt114// ── KeyStorePasswordPreference ───────────────────────────────────────────────COMMENT
MEDIUM…java/com/ismartcoding/plain/preferences/Preferences.kt38// ── AudioPlaylistPreference (DPlaylistAudio depends on Parcelable) ────────────COMMENT
MEDIUM…java/com/ismartcoding/plain/preferences/Preferences.kt70// ── HomeFeaturesPreference (AppFeatureType is Android-specific) ───────────────COMMENT
MEDIUM…java/com/ismartcoding/plain/preferences/Preferences.kt86// ── HomeSectionCollapsedPreference ────────────────────────────────────────────COMMENT
MEDIUM…java/com/ismartcoding/plain/features/BookmarkHelper.kt27 // ─── Bookmark Group CRUD ──────────────────────────────────────────────────COMMENT
MEDIUM…java/com/ismartcoding/plain/features/BookmarkHelper.kt61 // ─── Bookmark CRUD ────────────────────────────────────────────────────────COMMENT
MEDIUM…java/com/ismartcoding/plain/features/BookmarkHelper.kt117 // ─── Metadata fetching ────────────────────────────────────────────────────COMMENT
MEDIUM…/main/java/com/ismartcoding/plain/helpers/Mp4Helper.kt38 // ── Discover tracks ──────────────────────────────────────────COMMENT
MEDIUM…/main/java/com/ismartcoding/plain/helpers/Mp4Helper.kt67 // ── Phase 1: process video ───────────────────────────────────COMMENT
MEDIUM…/main/java/com/ismartcoding/plain/helpers/Mp4Helper.kt79 // ── Phase 2: process audio ───────────────────────────────────COMMENT
MEDIUM…/main/java/com/ismartcoding/plain/helpers/Mp4Helper.kt91 // ── Phase 3: mux into mp4 (interleaved by timestamp) ─────────COMMENT
MEDIUM…/main/java/com/ismartcoding/plain/helpers/Mp4Helper.kt140 // ── remux: copy compressed samples as-is ─────────────────────────────COMMENT
MEDIUM…/main/java/com/ismartcoding/plain/helpers/Mp4Helper.kt158 // ── H.263 → H.264 (decode → surface → encode) ──────────────────────COMMENT
MEDIUM…/main/java/com/ismartcoding/plain/helpers/Mp4Helper.kt247 // ── AMR-NB → AAC (decode → PCM → encode) ───────────────────────────COMMENT
MEDIUM…nMain/kotlin/com/ismartcoding/plain/db/DChatChannel.kt50 // ── Helpers ─────────────────────────────────────────────────────COMMENT
MEDIUM…plain/lib/markdown/compose/elements/MathElementTest.kt41 // ── BLOCK_MATH ───────────────────────────────────────────────────────COMMENT
MEDIUM…plain/lib/markdown/compose/elements/MathElementTest.kt74 // ── INLINE_MATH ──────────────────────────────────────────────────────COMMENT
MEDIUM…plain/lib/markdown/compose/elements/MathElementTest.kt90 // ── edge cases ───────────────────────────────────────────────────────COMMENT
MEDIUM…plain/lib/markdown/compose/elements/MathElementTest.kt119 // ── helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/lib/markdown/utils/HtmlImgTagTest.kt23 // ── src extraction (regex-only) ──────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/lib/markdown/utils/HtmlImgTagTest.kt85 // ── alt extraction (regex-only) ──────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/lib/markdown/utils/HtmlImgTagTest.kt101 // ── end-to-end against a real AST node ───────────────────────────────COMMENT
MEDIUM…smartcoding/plain/lib/markdown/utils/HtmlImgTagTest.kt135 // ── helpers ──────────────────────────────────────────────────────────COMMENT
MEDIUM…ing/plain/chat/channel/ChannelSystemMessageReceiver.kt35 // ── Individual handlers ────────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/chat/channel/ChannelSystemMessage.kt8 // ── Type constants ─────────────────────────────────────────────COMMENT
MEDIUM…smartcoding/plain/chat/channel/ChannelSystemMessage.kt16 // ── Action constants (signature payload) ───────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/helpers/AppFileStore.kt63 // ── Import (dedup entry point) ──────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/helpers/AppFileStore.kt92 // ── Step 1: weak check ────────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/helpers/AppFileStore.kt97 // ── Step 2: strong check ──────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/helpers/AppFileStore.kt146 // ── Reference counting ──────────────────────────────────────────────────COMMENT
MEDIUM…/kotlin/com/ismartcoding/plain/helpers/AppFileStore.kt165 // ── Internals ───────────────────────────────────────────────────────────COMMENT
220 more matches not shown…
AI Slop Vocabulary60 hits · 130 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-BqL12gUp.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
MEDIUM…smartcoding/plain/lib/markdown/utils/HtmlImgTagTest.kt121 // 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
MEDIUMapitest/lib/common.sh2# Shared helpers for the apitest harness.COMMENT
Hallucination Indicators8 hits · 80 pts
SeverityFileLineSnippetContext
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
CRITICALapp/src/main/java/com/ismartcoding/plain/MainApp.kt71 com.ismartcoding.plain.features.locale.setAppContext(this)CODE
CRITICAL…ding/plain/ui/page/chat/components/NearbyDeviceItem.kt63 subtitle = com.ismartcoding.plain.lib.helpers.NetworkHelper.getBestIp(item.ips),CODE
CRITICAL…/ismartcoding/plain/ui/page/pomodoro/PomodoroHelper.kt141 com.ismartcoding.plain.ui.page.pomodoro.playNotificationSound()CODE
CRITICAL…va/com/ismartcoding/plain/ui/models/ImagesViewModel.kt22 val combined = com.ismartcoding.plain.features.media.ImageSearchHelper.searchCombinedAsync(CODE
CRITICAL…va/com/ismartcoding/plain/ui/models/ImagesViewModel.kt30 useAiSearch.value = query.isNotEmpty() && com.ismartcoding.plain.ai.ImageSearchManager.isModelReady()CODE
CRITICAL…ng/plain/ui/components/mediaviewer/video/MediaVideo.kt71 val size = com.ismartcoding.plain.helpers.VideoHelper.getIntrinsicSize(model.path)CODE
CRITICAL…com/ismartcoding/plain/features/locale/LocaleHelper.kt17 fun currentLocale(): Locale = com.ismartcoding.plain.features.locale.currentLocale()CODE
Over-Commented Block31 hits · 29 pts
SeverityFileLineSnippetContext
LOW…ava/com/ismartcoding/plain/ui/base/coil/ImageLoader.kt21 val memoryPercent = if (activityManager.isLowRamDevice) 0.25 else 0.75COMMENT
LOW…oding/plain/ui/base/mdeditor/MdEditorSettingsDialog.kt81// PSwitch(COMMENT
LOW…artcoding/plain/preferences/DlnaCastRulesPreference.kt1// DlnaAllowedSendersPreference, DlnaDeniedSendersPreference, encodeSenderEntry,COMMENT
LOW…martcoding/plain/lib/apk/struct/xml/XmlNodeStartTag.kt1package com.ismartcoding.plain.lib.apk.struct.xmlCOMMENT
LOW…n/java/com/ismartcoding/plain/lib/pdfviewer/PDFView.kt481 returnCOMMENT
LOW…n/java/com/ismartcoding/plain/lib/pdfviewer/PDFView.kt501 // _______________________________________________COMMENT
LOW…rtcoding/plain/lib/androidsvg/utils/SVGParserImpl.java161COMMENT
LOW…rtcoding/plain/lib/androidsvg/utils/SVGParserImpl.java181 //private static final String TAG_FECONVOLVEMATRIX = "feConvolveMatrix";COMMENT
LOW…rtcoding/plain/lib/androidsvg/utils/SVGParserImpl.java201 //private static final String TAG_FILTER = "filter";COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java1021 //supportedFeatures.add("GraphicsAttribute"); // NOCOMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java1041 //supportedFeatures.add("Animation"); // NOCOMMENT
LOW…coding/plain/lib/markdown/compose/MarkdownExtension.kt101 // placeholder — but the `huarangmeng/latex` renderer ignoresCOMMENT
LOW…oding/plain/chat/peer/transport/aware/AwarePeerLink.kt81 state = LinkState.IDLECOMMENT
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
LOWopenspec/config.yaml1schema: spec-drivenCOMMENT
Structural Annotation Overuse7 hits · 14 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
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java791 // Step 1: Apply a luminanceToAlpha conversion to the mask content.COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java792 // Step 2: Multiply the mask's alpha to the alpha channel generated in step 1.COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2725 // Step 1 : Compute (x1', y1')COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2747 // Step 2 : Compute (cx1, cy1) - the transformed centre pointCOMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2755 // Step 3 : Compute (cx, cy) from (cx1, cy1)COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2761 // Step 4 : Compute the angleStart (angle1) and the angleExtent (dangle)COMMENT
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java791 // Step 1: Apply a luminanceToAlpha conversion to the mask content.COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java792 // Step 2: Multiply the mask's alpha to the alpha channel generated in step 1.COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2725 // Step 1 : Compute (x1', y1')COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2747 // Step 2 : Compute (cx1, cy1) - the transformed centre pointCOMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2755 // Step 3 : Compute (cx, cy) from (cx1, cy1)COMMENT
LOW…ing/plain/lib/androidsvg/utils/SVGAndroidRenderer.java2761 // Step 4 : Compute the angleStart (angle1) and the angleExtent (dangle)COMMENT
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
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
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWremove_string_key_all.sh3# Usage:COMMENT
LOWscripts/delete-translation-key.sh5# Usage:COMMENT
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
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
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