Framework for quickly creating connected applications in Kotlin with minimal effort
This report summarizes scanner evidence for ktorio/ktor, a Kotlin project with 14,559 GitHub stars. SynthScan examined 327,963 lines of code across 2599 source files, recording 87 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.7 (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? 55 finding(s).
Are imports declared and package/API names verified? 22 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 87 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 87 distinct pattern matches across 8 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 | …st-server/src/main/kotlin/test/server/tests/Cookies.kt | 25 | val text = call.request.cookies.rawCookies.entries.joinToString() | CODE |
| CRITICAL | …tor-test-base/jvm/src/io/ktor/test/junit/Assertions.kt | 19 | org.junit.jupiter.api.Assertions.assertTrue(predicate(item), message) | CODE |
| CRITICAL | …jvm/test/io/ktor/tests/server/netty/NettyEngineTest.kt | 475 | call.respond(object : io.ktor.http.content.OutgoingContent.WriteChannelContent() { | CODE |
| CRITICAL | …m/test/io/ktor/tests/server/netty/NettySpecificTest.kt | 849 | val headers = io.netty.handler.codec.http2.DefaultHttp2Headers().also { | CODE |
| CRITICAL | …m/test/io/ktor/tests/server/netty/NettySpecificTest.kt | 855 | io.netty.handler.codec.http2.DefaultHttp2HeadersEncoder().encodeHeaders(streamId, headers, encoded) | CODE |
| CRITICAL | …jvm/src/io/ktor/server/netty/NettyApplicationEngine.kt | 436 | .applicationProtocols(*io.netty.handler.codec.http3.Http3.supportedApplicationProtocols()) | CODE |
| CRITICAL | …o/ktor/tests/server/tomcat/jakarta/TomcatEngineTest.kt | 115 | private fun org.apache.catalina.startup.Tomcat.addAttributesFilter() { | CODE |
| CRITICAL | …m/test/io/ktor/tests/server/tomcat/TomcatEngineTest.kt | 117 | private fun org.apache.catalina.startup.Tomcat.addAttributesFilter() { | CODE |
| CRITICAL | …c/io/ktor/openapi/ir/inference/CallReceiveInference.kt | 13 | val packageFqName = call.symbol.owner.parent.kotlinFqName.asString() | CODE |
| CRITICAL | …c/io/ktor/openapi/ir/inference/CallRespondInference.kt | 23 | val packageFqName = call.symbol.owner.parent.kotlinFqName.asString() | CODE |
| CRITICAL | …src/io/ktor/openapi/ir/inference/ParameterInference.kt | 60 | val packageFqName = call.symbol.owner.parent.kotlinFqName.asString() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .gitpod.yml | 1 | ## Learn more about this file at 'https://www.gitpod.io/docs/references/gitpod-yml' | COMMENT |
| LOW | .gitpod.yml | 21 | ## The 'image' section defines which Docker image Gitpod should use. | COMMENT |
| LOW | .gitpod.yml | 41 | ## or how Gitpod can start development servers. With Gitpod, there are three | COMMENT |
| LOW | .gitpod.yml | 61 | # # and to keep your codebase DRY. | COMMENT |
| LOW | .gitpod.yml | 101 | ## the OpenVSX.org registry to be installed upon workspace startup. OpenVSX | COMMENT |
| LOW | …ommon/test/io/ktor/tests/server/http/UrlEncodedTest.kt | 61 | } | COMMENT |
| LOW | …ommon/test/io/ktor/tests/server/http/UrlEncodedTest.kt | 81 | // | COMMENT |
| LOW | …ommon/test/io/ktor/tests/server/http/UrlEncodedTest.kt | 101 | // | COMMENT |
| LOW | …ommon/test/io/ktor/tests/server/http/UrlEncodedTest.kt | 121 | // @Test | COMMENT |
| LOW | …tor-client-curl/desktop/interop/include/curl/mprintf.h | 41 | #ifdef __MINGW_PRINTF_FORMAT /* mingw-w64 3.0.0+. Needs stdio.h. */ | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 61 | COMMENT | |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 121 | COMMENT | |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 681 | #define CURLE_SSL_PEER_CERTIFICATE CURLE_PEER_FAILED_VERIFICATION | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 701 | #define CURLE_FTP_QUOTE_ERROR CURLE_QUOTE_ERROR | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 841 | #endif | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 1081 | #define CURLPROTO_SFTP (1L << 5) | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 1101 | #define CURLPROTO_GOPHER (1L << 25) | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 2341 | #define CURL_RTSPREQ_PLAY 5L | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 2361 | CURL_NETRC_LAST = 3 | COMMENT |
| LOW | …t/ktor-client-curl/desktop/interop/include/curl/curl.h | 3181 | #define CURL_VERSION_ASYNCHDNS (1<<7) /* Asynchronous DNS resolves */ | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 61 | # define CURL_TYPEOF_CURL_OFF_T __int64 | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 81 | # endif | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 101 | # endif | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 121 | # ifndef __LP64 | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 141 | # define CURL_SUFFIX_CURL_OFF_T i64 | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 161 | # define CURL_SUFFIX_CURL_OFF_TU UL | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 181 | #elif defined(__MVS__) | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 201 | # ifdef _LONG_LONG | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 221 | # define CURL_FORMAT_CURL_OFF_T "ld" | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 241 | defined(__sparcv8plus)) | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 261 | # define CURL_TYPEOF_CURL_OFF_T long long | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 281 | # define CURL_FORMAT_CURL_OFF_TU "llu" | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 301 | # include <inttypes.h> | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 321 | defined(__sparc__) || defined(__mips__) || defined(__sh__) || \ | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 341 | # define CURL_FORMAT_CURL_OFF_T "ld" | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/system.h | 361 | # define CURL_SUFFIX_CURL_OFF_TU ULL | COMMENT |
| LOW | …ktor-client-curl/desktop/interop/include/curl/urlapi.h | 81 | CURLUPART_ZONEID /* added in 7.65.0 */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | switch-base-branch.sh | 11 | # ============================================================================ | COMMENT |
| MEDIUM | switch-base-branch.sh | 13 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | switch-base-branch.sh | 26 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | switch-base-branch.sh | 28 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | switch-base-branch.sh | 34 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | switch-base-branch.sh | 36 | # ============================================================================ | COMMENT |
| MEDIUM | switch-base-branch.sh | 54 | # ============================================================================ | COMMENT |
| MEDIUM | switch-base-branch.sh | 56 | # ============================================================================ | COMMENT |
| MEDIUM | switch-base-branch.sh | 490 | # ============================================================================ | COMMENT |
| MEDIUM | switch-base-branch.sh | 492 | # ============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/fix-bug/SKILL.md | 44 | ## Step 1: Assign Issue and Set In Progress | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 56 | ## Step 2: Understand the Codebase Context | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 69 | ## Step 3: Create branch | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 84 | ## Step 4: Write a Failing Reproducer Test | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 114 | ## Step 5: Commit the Reproducer | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 126 | ## Step 6: Plan and Implement the Fix | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 138 | ## Step 7: Validate the Fix | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 158 | ## Step 8: Format and Lint | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 166 | ## Step 9: ABI Validation | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 182 | ## Step 10: Commit the Fix | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 191 | ## Step 11: Push and Create PR | COMMENT |
| LOW | .claude/skills/fix-bug/SKILL.md | 229 | ## Step 12: Documentation Issue (if needed) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-auth/jvm/test/io/ktor/tests/auth/DigestRFC7616Test.kt | 122 | val realm = "http-auth@example.org" | CODE |
| LOW | …-auth/jvm/test/io/ktor/tests/auth/DigestRFC7616Test.kt | 158 | val realm = "http-auth@example.org" | CODE |
| LOW | …-auth/jvm/test/io/ktor/tests/auth/DigestRFC7616Test.kt | 203 | val realm = "api@example.org" | CODE |
| LOW | …-auth/jvm/test/io/ktor/tests/auth/DigestRFC7616Test.kt | 242 | val realm = "http-auth@example.org" | CODE |
| LOW | …-auth/jvm/test/io/ktor/tests/auth/DigestRFC7616Test.kt | 255 | val realm = "http-auth@example.org" | CODE |
| LOW | …-auth/jvm/test/io/ktor/tests/auth/DigestRFC7616Test.kt | 543 | val realm = "http-auth@example.org" | CODE |
| LOW | …io/ktor/server/auth/oidc/OidcJwtKeyAndAlgorithmTest.kt | 211 | email = "user@example.com" | CODE |
| LOW | …ver-auth-oidc/jvm/src/io/ktor/server/auth/oidc/Oidc.kt | 150 | * email = "user@example.com" | COMMENT |
| LOW | …/test/io/ktor/client/engine/java/RequestHeadersTest.kt | 43 | assertHeaderReachesServer(HttpHeaders.From, "user@example.com") | CODE |
| LOW | …test/io/ktor/client/engine/java/RequestProducerTest.kt | 80 | append(HttpHeaders.From, "user@example.com") | CODE |
| LOW | …test/io/ktor/client/engine/java/RequestProducerTest.kt | 95 | assertEquals("user@example.com", headers.firstValue(HttpHeaders.From).get()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …or-client-core/common/src/io/ktor/client/HttpClient.kt | 29 | * # Creating a client | COMMENT |
| MEDIUM | …or-client-core/common/src/io/ktor/client/HttpClient.kt | 341 | * # Creating a client | COMMENT |
| MEDIUM | …or-client-core/common/src/io/ktor/client/HttpClient.kt | 658 | * # Creating a client | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …jvm/test/io/ktor/tests/server/netty/NettyEngineTest.kt | 897 | private class Http3ResponseHandler : ChannelInboundHandlerAdapter() { | CODE |
| LOW | …/ktor/tests/server/netty/NettyHttp3CallExecutorTest.kt | 95 | private class Http3ResponseHandler : ChannelInboundHandlerAdapter() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/automations.yml | 49 | # Check if the PR should be merged with fast-forward when: | COMMENT |