Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
This report summarizes scanner evidence for JetBrains/compose-multiplatform, a Kotlin project with 19,461 GitHub stars. SynthScan examined 224,050 lines of code across 1900 source files, recording 51 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 13 finding(s).
Are imports declared and package/API names verified? 32 finding(s).
Are wrappers, guards, and repeated structures necessary? 7 finding(s).
Which changes need focused human review? 51 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 51 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …stcases/valueClass/main/src/commonTest/kotlin/Tests.kt | 53 | // at org.jetbrains.kotlin.backend.konan.BoxingKt.getTypeConversion(Boxing.kt:30) | COMMENT |
| CRITICAL | …bMain/kotlin/org/jetbrains/compose/web/dom/Base.web.kt | 208 | private val EmptyStyleScope = org.jetbrains.compose.web.css.StyleScopeBuilder() | CODE |
| CRITICAL | …brains/compose/html/compiler/RuntimeDiagnosticsTest.kt | 72 | java.io.File(Unit::class.java.protectionDomain.codeSource.location.toURI()).path, | CODE |
| CRITICAL | …jetbrains/compose/html/compiler/WrapperLoweringTest.kt | 376 | org.jetbrains.compose.web.dom.Input(type = Mark(name), attrs = { Text("custom input") }) | CODE |
| CRITICAL | …jetbrains/compose/html/compiler/WrapperLoweringTest.kt | 377 | org.jetbrains.compose.web.dom.Input(type = InputType.Text, attrs = null as String?) | CODE |
| CRITICAL | …jetbrains/compose/html/compiler/WrapperLoweringTest.kt | 401 | fun org.jetbrains.compose.web.attributes.builders.TextAreaAttrsScope.customTextAreaHelper() { | CODE |
| CRITICAL | …lin/org/jetbrains/compose/html/compiler/TestSupport.kt | 183 | val composePlugin = File(ComposePluginRegistrar::class.java.protectionDomain.codeSource.location.toURI()) | CODE |
| CRITICAL | …commonMain/kotlin/benchmarks/compose/ContentArticle.kt | 53 | elementBuilder = org.jetbrains.compose.web.dom.ElementBuilder.createBuilder("time"), | CODE |
| CRITICAL | …kotlin/plugin/testing/CompilerPluginTestHarnessTest.kt | 99 | val stdlib = File(Unit::class.java.protectionDomain.codeSource.location.toURI()) | CODE |
| CRITICAL | …kotlin/plugin/testing/CompilerPluginTestHarnessTest.kt | 118 | val library = File(GoldenMode::class.java.protectionDomain.codeSource.location.toURI()) | CODE |
| CRITICAL | …lin/plugin/testing/AbstractCompilerPluginIrTestTest.kt | 44 | fun marker() = org.jetbrains.kotlin.plugin.testing.AbstractCompilerPluginIrTestTest() | STRING |
| CRITICAL | …lin/plugin/testing/AbstractCompilerPluginIrTestTest.kt | 127 | assertEquals(File(Unit::class.java.protectionDomain.codeSource.location.toURI()), stdlib) | CODE |
| CRITICAL | …mpose/test/tests/integration/DesktopApplicationTest.kt | 398 | org.gradle.jvm.toolchain.internal.DefaultJvmVendorSpec.of( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …tbrains/compose/web/attributes/PredefinedAttrValues.kt | 489 | * The phone number without the country or area code. This can be split further into two parts, for phone number | COMMENT |
| LOW | …n/kotlin/org/jetbrains/compose/web/attributes/Attrs.kt | 321 | attr("placeholder", value) | CODE |
| LOW | …n/kotlin/org/jetbrains/compose/web/attributes/Attrs.kt | 475 | attr("placeholder", value) | CODE |
| LOW | …g/jetbrains/compose/web/dom/CommonInputElementsTest.kt | 19 | EmailInput(value = "user@example.com") | CODE |
| LOW | …in/org/jetbrains/compose/web/dom/CommonElementsTest.kt | 428 | attr("placeholder", "Write <something>") | CODE |
| LOW | …ks/src/commonMain/kotlin/benchmarks/compose/FormApp.kt | 112 | field.placeholder?.let { attr("placeholder", it) } | CODE |
| LOW | …rks/src/commonMain/kotlin/benchmarks/model/Fixtures.kt | 174 | author = "Jane Doe", | CODE |
| LOW | …hmarks/src/jvmMain/kotlin/benchmarks/model/TextData.kt | 9 | const val BAVARIA_FOO = "Bavaria ipsum dolor sit amet gwiss Charivari Auffisteign koa. Umma pfenningguat vui huift vui b | CODE |
| LOW | …tbrains/compose/web/attributes/PredefinedAttrValues.kt | 455 | * The phone number without the country or area code. This can be split further into two parts, for phone number | COMMENT |
| LOW | …n/kotlin/org/jetbrains/compose/web/attributes/Attrs.kt | 192 | attr("placeholder", value) | CODE |
| LOW | …n/kotlin/org/jetbrains/compose/web/attributes/Attrs.kt | 292 | attr("placeholder", value) | CODE |
| LOW | …red/src/commonMain/composeResources/values/strings.xml | 4 | <string name="multi_line">Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit. | CODE |
| LOW | …red/src/commonMain/composeResources/values/strings.xml | 4 | <string name="multi_line">Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit. | CODE |
| LOW | …in/benchmarks/multipleComponents/MultipleComponents.kt | 275 | val lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do" + | CODE |
| LOW | …in/benchmarks/multipleComponents/MultipleComponents.kt | 275 | val lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do" + | CODE |
| LOW | tutorials/Signing_and_notarization_on_macOS/README.md | 187 | identity.set("John Doe") | CODE |
| LOW | tutorials/Signing_and_notarization_on_macOS/README.md | 195 | * Set the `identity` DSL property to the certificate's name, e.g. `"John Doe"`. | COMMENT |
| LOW | …ces/src/commonMain/composeResources/values/strings.xml | 4 | <string name="multi_line">Lorem ipsum dolor sit amet, | CODE |
| LOW | …ces/src/commonMain/composeResources/values/strings.xml | 4 | <string name="multi_line">Lorem ipsum dolor sit amet, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | benchmarks/multiplatform/iosApp/run_ios_benchmarks.sh | 24 | # ── Configuration ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | benchmarks/multiplatform/iosApp/run_ios_benchmarks.sh | 35 | # ── Helpers ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | benchmarks/multiplatform/iosApp/run_ios_benchmarks.sh | 39 | # ── 1. Detect target device or simulator ────────────────────────────────────── | COMMENT |
| MEDIUM | benchmarks/multiplatform/iosApp/run_ios_benchmarks.sh | 106 | # ── 2. Build ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | benchmarks/multiplatform/iosApp/run_ios_benchmarks.sh | 153 | # ── 3. Install ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | benchmarks/multiplatform/iosApp/run_ios_benchmarks.sh | 178 | # ── 4. Run benchmarks ────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/upload_package_from_prebuilts.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …cases/constructors/main/src/commonTest/kotlin/Tests.kt | 321 | fun testValueClass() = runTest { | COMMENT |
| LOW | …/generator/src/main/resources/common-dom-selection.txt | 1 | # Classifier selection for the generated common DOM facade. | COMMENT |
| LOW | …et/generator/src/main/resources/dom-api-exclusions.txt | 1 | # Declaration-level omissions that classifier selection cannot express. | COMMENT |
| LOW | …n/androidx/ui/examples/jetissues/view/JetIssuesView.kt | 1 | // READ ME FIRST! | COMMENT |
| LOW | …ndroidx/ui/examples/jetissues/data/IssuesRepository.kt | 1 | // READ ME FIRST! | COMMENT |
| LOW | benchmarks/ios/README.md | 1 | ### Moved to [multiplatform](https://github.com/JetBrains/compose-multiplatform/tree/master/benchmarks/multiplatform) | COMMENT |
| LOW | benchmarks/ios/jvm-vs-kotlin-native/README.md | 1 | ### Moved to [multiplatform](https://github.com/JetBrains/compose-multiplatform/tree/master/benchmarks/multiplatform) | COMMENT |
| LOW | benchmarks/kn-performance/README.md | 1 | ### Moved to [multiplatform](https://github.com/JetBrains/compose-multiplatform/tree/master/benchmarks/multiplatform) | COMMENT |
| LOW | benchmarks/multiplatform/iosApp/run_ios_benchmarks.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/replace_version_common.sh | 1 | # This file contains common functions for replaceVersion.sh and replaceVersionInLibs.sh scripts | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …chmarks/showcases/LazyGridImageView/download_images.sh | 24 | # Check if download was successful | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/resources/library/karma.config.d/config.js | 47 | function KarmaWebpackOutputFramework(config) { | CODE |